diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4f5f135..a2c175c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,10 +15,42 @@ jobs: npm install - run: | npm run all - test: # make sure the action works on a clean machine without building + test-mobile: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: ./ + - id: psi + uses: ./ with: - milliseconds: 1000 + url: 'https://blog.stenyan.jp/' + key: ${{ secrets.API_KEY }} + strategy: 'mobile' + - name: Echo outputs + run: | + echo "Score: ${{ steps.psi.outputs.score }}" + echo "FCP: ${{ steps.psi.outputs.first-contentful-paint }}" + echo "FID: ${{ steps.psi.outputs.first-input-delay }}" + echo "CLS: ${{ steps.psi.outputs.cumulative-layout-shift }}" + echo "LCP: ${{ steps.psi.outputs.largest-contentful-paint }}" + echo "SI: ${{ steps.psi.outputs.speed-index }}" + echo "TTI: ${{ steps.psi.outputs.time-to-interactive }}" + echo "TBT: ${{ steps.psi.outputs.total-blocking-time }}" + test-desktop: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - id: psi + uses: ./ + with: + url: 'https://blog.stenyan.jp/' + key: ${{ secrets.API_KEY }} + - name: Echo outputs + run: | + echo "Score: ${{ steps.psi.outputs.score }}" + echo "FCP: ${{ steps.psi.outputs.first-contentful-paint }}" + echo "FID: ${{ steps.psi.outputs.first-input-delay }}" + echo "CLS: ${{ steps.psi.outputs.cumulative-layout-shift }}" + echo "LCP: ${{ steps.psi.outputs.largest-contentful-paint }}" + echo "SI: ${{ steps.psi.outputs.speed-index }}" + echo "TTI: ${{ steps.psi.outputs.time-to-interactive }}" + echo "TBT: ${{ steps.psi.outputs.total-blocking-time }}" diff --git a/action.yml b/action.yml index 345e2f4..ff70e52 100644 --- a/action.yml +++ b/action.yml @@ -1,11 +1,34 @@ -name: 'Your name here' -description: 'Provide a description here' -author: 'Your name or organization here' +name: 'PageSpeed Insights Action' +description: 'This is an action that outputs PageSpeed Insights results.' +author: 'stefafafan' inputs: - milliseconds: # change this + url: required: true - description: 'input description here' - default: 'default value if applicable' + description: 'The URL to fetch PageSpeed Insights results.' + key: + required: true + description: 'API Key for the PageSpeed Insights API.' + strategy: + required: false + description: 'Strategy to fetch PageSpeed Insights results. "mobile" or "desktop".' + default: 'desktop' +outputs: + score: + description: 'Overall score of the url. Maximum is 100.' + first-contentful-paint: + description: 'First Contentful Paint (FCP) in milliseconds.' + first-input-delay: + description: 'First Input Delay (FID) in milliseconds.' + cumulative-layout-shift: + description: 'Cumulative Layout Shift (CLS) score.' + largest-contentful-paint: + description: 'Largest Contentful Paint (LCP) in milliseconds.' + speed-index: + description: 'Speed Index score. Maximum is 100.' + time-to-interactive: + description: 'Time to Interactive score. Maximum is 100.' + total-blocking-time: + description: 'Total Blocking Time score. Maximum is 100.' runs: using: 'node16' main: 'dist/index.js' diff --git a/dist/index.js b/dist/index.js index 1e9a4a8..a26e31b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 109: +/***/ 3109: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -38,18 +38,45 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; Object.defineProperty(exports, "__esModule", ({ value: true })); -const core = __importStar(__nccwpck_require__(186)); -const wait_1 = __nccwpck_require__(817); +const core = __importStar(__nccwpck_require__(42186)); +const psi_1 = __importDefault(__nccwpck_require__(50944)); function run() { + var _a, _b, _c, _d, _e, _f, _g; return __awaiter(this, void 0, void 0, function* () { try { - const ms = core.getInput('milliseconds'); - core.debug(`Waiting ${ms} milliseconds ...`); // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true - core.debug(new Date().toTimeString()); - yield (0, wait_1.wait)(parseInt(ms, 10)); - core.debug(new Date().toTimeString()); - core.setOutput('time', new Date().toTimeString()); + const url = core.getInput('url'); + const key = core.getInput('key'); + const strategyInput = core.getInput('strategy'); + let strategy = 'desktop'; + if (strategyInput === 'mobile') + strategy = strategyInput; + const data = yield (0, psi_1.default)(url, { + key, + strategy + }); + const lighthouseResult = data.data.lighthouseResult; + const fieldData = data.data.loadingExperience.metrics; + const score = Math.round(lighthouseResult.categories.performance.score * 100); + const fcp = ((_a = fieldData.FIRST_CONTENTFUL_PAINT_MS) === null || _a === void 0 ? void 0 : _a.percentile) || 0; + const fid = ((_b = fieldData.FIRST_INPUT_DELAY_MS) === null || _b === void 0 ? void 0 : _b.percentile) || 0; + const cls = ((_c = fieldData.CUMULATIVE_LAYOUT_SHIFT_SCORE) === null || _c === void 0 ? void 0 : _c.percentile) || 0; + const lcp = ((_d = fieldData.LARGEST_CONTENTFUL_PAINT_MS) === null || _d === void 0 ? void 0 : _d.percentile) || 0; + const si = ((_e = lighthouseResult.audits['speed-index']) === null || _e === void 0 ? void 0 : _e.score) * + 100 || 0; + const tti = ((_f = lighthouseResult.audits['time-to-interactive']) === null || _f === void 0 ? void 0 : _f.score) * 100 || 0; + const tbt = ((_g = lighthouseResult.audits['total-blocking-time']) === null || _g === void 0 ? void 0 : _g.score) * 100 || 0; + core.setOutput('score', score); + core.setOutput('first-contentful-paint', fcp); + core.setOutput('first-input-delay', fid); + core.setOutput('cumulative-layout-shift', cls); + core.setOutput('largest-contentful-paint', lcp); + core.setOutput('speed-index', si); + core.setOutput('time-to-interactive', tti); + core.setOutput('total-blocking-time', tbt); } catch (error) { if (error instanceof Error) @@ -62,38 +89,7 @@ run(); /***/ }), -/***/ 817: -/***/ (function(__unused_webpack_module, exports) { - -"use strict"; - -var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { - function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -}; -Object.defineProperty(exports, "__esModule", ({ value: true })); -exports.wait = void 0; -function wait(milliseconds) { - return __awaiter(this, void 0, void 0, function* () { - return new Promise(resolve => { - if (isNaN(milliseconds)) { - throw new Error('milliseconds not a number'); - } - setTimeout(() => resolve('done!'), milliseconds); - }); - }); -} -exports.wait = wait; - - -/***/ }), - -/***/ 351: +/***/ 87351: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -119,8 +115,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(37)); -const utils_1 = __nccwpck_require__(278); +const os = __importStar(__nccwpck_require__(22037)); +const utils_1 = __nccwpck_require__(5278); /** * Commands * @@ -192,7 +188,7 @@ function escapeProperty(s) { /***/ }), -/***/ 186: +/***/ 42186: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -227,12 +223,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = __nccwpck_require__(351); +const command_1 = __nccwpck_require__(87351); const file_command_1 = __nccwpck_require__(717); -const utils_1 = __nccwpck_require__(278); -const os = __importStar(__nccwpck_require__(37)); -const path = __importStar(__nccwpck_require__(17)); -const oidc_utils_1 = __nccwpck_require__(41); +const utils_1 = __nccwpck_require__(5278); +const os = __importStar(__nccwpck_require__(22037)); +const path = __importStar(__nccwpck_require__(71017)); +const oidc_utils_1 = __nccwpck_require__(98041); /** * The code to exit an action */ @@ -517,17 +513,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(327); +var summary_1 = __nccwpck_require__(81327); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(327); +var summary_2 = __nccwpck_require__(81327); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(981); +var path_utils_1 = __nccwpck_require__(2981); Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } })); Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } })); Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } })); @@ -564,10 +560,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__nccwpck_require__(147)); -const os = __importStar(__nccwpck_require__(37)); -const uuid_1 = __nccwpck_require__(840); -const utils_1 = __nccwpck_require__(278); +const fs = __importStar(__nccwpck_require__(57147)); +const os = __importStar(__nccwpck_require__(22037)); +const uuid_1 = __nccwpck_require__(75840); +const utils_1 = __nccwpck_require__(5278); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -600,7 +596,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), -/***/ 41: +/***/ 98041: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -616,9 +612,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(255); -const auth_1 = __nccwpck_require__(526); -const core_1 = __nccwpck_require__(186); +const http_client_1 = __nccwpck_require__(96255); +const auth_1 = __nccwpck_require__(35526); +const core_1 = __nccwpck_require__(42186); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -684,7 +680,7 @@ exports.OidcClient = OidcClient; /***/ }), -/***/ 981: +/***/ 2981: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -710,7 +706,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; -const path = __importStar(__nccwpck_require__(17)); +const path = __importStar(__nccwpck_require__(71017)); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be * replaced with /. @@ -749,7 +745,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 327: +/***/ 81327: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -765,8 +761,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; -const os_1 = __nccwpck_require__(37); -const fs_1 = __nccwpck_require__(147); +const os_1 = __nccwpck_require__(22037); +const fs_1 = __nccwpck_require__(57147); const { access, appendFile, writeFile } = fs_1.promises; exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; @@ -1039,7 +1035,7 @@ exports.summary = _summary; /***/ }), -/***/ 278: +/***/ 5278: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1086,7 +1082,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 526: +/***/ 35526: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -1174,7 +1170,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 255: +/***/ 96255: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1210,10 +1206,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; -const http = __importStar(__nccwpck_require__(685)); -const https = __importStar(__nccwpck_require__(687)); -const pm = __importStar(__nccwpck_require__(835)); -const tunnel = __importStar(__nccwpck_require__(294)); +const http = __importStar(__nccwpck_require__(13685)); +const https = __importStar(__nccwpck_require__(95687)); +const pm = __importStar(__nccwpck_require__(19835)); +const tunnel = __importStar(__nccwpck_require__(74294)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -1786,7 +1782,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 835: +/***/ 19835: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1854,557 +1850,307853 @@ exports.checkBypass = checkBypass; /***/ }), -/***/ 294: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 49690: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { -module.exports = __nccwpck_require__(219); +"use strict"; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +const events_1 = __nccwpck_require__(82361); +const debug_1 = __importDefault(__nccwpck_require__(38237)); +const promisify_1 = __importDefault(__nccwpck_require__(66570)); +const debug = debug_1.default('agent-base'); +function isAgent(v) { + return Boolean(v) && typeof v.addRequest === 'function'; +} +function isSecureEndpoint() { + const { stack } = new Error(); + if (typeof stack !== 'string') + return false; + return stack.split('\n').some(l => l.indexOf('(https.js:') !== -1 || l.indexOf('node:https:') !== -1); +} +function createAgent(callback, opts) { + return new createAgent.Agent(callback, opts); +} +(function (createAgent) { + /** + * Base `http.Agent` implementation. + * No pooling/keep-alive is implemented by default. + * + * @param {Function} callback + * @api public + */ + class Agent extends events_1.EventEmitter { + constructor(callback, _opts) { + super(); + let opts = _opts; + if (typeof callback === 'function') { + this.callback = callback; + } + else if (callback) { + opts = callback; + } + // Timeout for the socket to be returned from the callback + this.timeout = null; + if (opts && typeof opts.timeout === 'number') { + this.timeout = opts.timeout; + } + // These aren't actually used by `agent-base`, but are required + // for the TypeScript definition files in `@types/node` :/ + this.maxFreeSockets = 1; + this.maxSockets = 1; + this.maxTotalSockets = Infinity; + this.sockets = {}; + this.freeSockets = {}; + this.requests = {}; + this.options = {}; + } + get defaultPort() { + if (typeof this.explicitDefaultPort === 'number') { + return this.explicitDefaultPort; + } + return isSecureEndpoint() ? 443 : 80; + } + set defaultPort(v) { + this.explicitDefaultPort = v; + } + get protocol() { + if (typeof this.explicitProtocol === 'string') { + return this.explicitProtocol; + } + return isSecureEndpoint() ? 'https:' : 'http:'; + } + set protocol(v) { + this.explicitProtocol = v; + } + callback(req, opts, fn) { + throw new Error('"agent-base" has no default implementation, you must subclass and override `callback()`'); + } + /** + * Called by node-core's "_http_client.js" module when creating + * a new HTTP request with this Agent instance. + * + * @api public + */ + addRequest(req, _opts) { + const opts = Object.assign({}, _opts); + if (typeof opts.secureEndpoint !== 'boolean') { + opts.secureEndpoint = isSecureEndpoint(); + } + if (opts.host == null) { + opts.host = 'localhost'; + } + if (opts.port == null) { + opts.port = opts.secureEndpoint ? 443 : 80; + } + if (opts.protocol == null) { + opts.protocol = opts.secureEndpoint ? 'https:' : 'http:'; + } + if (opts.host && opts.path) { + // If both a `host` and `path` are specified then it's most + // likely the result of a `url.parse()` call... we need to + // remove the `path` portion so that `net.connect()` doesn't + // attempt to open that as a unix socket file. + delete opts.path; + } + delete opts.agent; + delete opts.hostname; + delete opts._defaultAgent; + delete opts.defaultPort; + delete opts.createConnection; + // Hint to use "Connection: close" + // XXX: non-documented `http` module API :( + req._last = true; + req.shouldKeepAlive = false; + let timedOut = false; + let timeoutId = null; + const timeoutMs = opts.timeout || this.timeout; + const onerror = (err) => { + if (req._hadError) + return; + req.emit('error', err); + // For Safety. Some additional errors might fire later on + // and we need to make sure we don't double-fire the error event. + req._hadError = true; + }; + const ontimeout = () => { + timeoutId = null; + timedOut = true; + const err = new Error(`A "socket" was not created for HTTP request before ${timeoutMs}ms`); + err.code = 'ETIMEOUT'; + onerror(err); + }; + const callbackError = (err) => { + if (timedOut) + return; + if (timeoutId !== null) { + clearTimeout(timeoutId); + timeoutId = null; + } + onerror(err); + }; + const onsocket = (socket) => { + if (timedOut) + return; + if (timeoutId != null) { + clearTimeout(timeoutId); + timeoutId = null; + } + if (isAgent(socket)) { + // `socket` is actually an `http.Agent` instance, so + // relinquish responsibility for this `req` to the Agent + // from here on + debug('Callback returned another Agent instance %o', socket.constructor.name); + socket.addRequest(req, opts); + return; + } + if (socket) { + socket.once('free', () => { + this.freeSocket(socket, opts); + }); + req.onSocket(socket); + return; + } + const err = new Error(`no Duplex stream was returned to agent-base for \`${req.method} ${req.path}\``); + onerror(err); + }; + if (typeof this.callback !== 'function') { + onerror(new Error('`callback` is not defined')); + return; + } + if (!this.promisifiedCallback) { + if (this.callback.length >= 3) { + debug('Converting legacy callback function to promise'); + this.promisifiedCallback = promisify_1.default(this.callback); + } + else { + this.promisifiedCallback = this.callback; + } + } + if (typeof timeoutMs === 'number' && timeoutMs > 0) { + timeoutId = setTimeout(ontimeout, timeoutMs); + } + if ('port' in opts && typeof opts.port !== 'number') { + opts.port = Number(opts.port); + } + try { + debug('Resolving socket for %o request: %o', opts.protocol, `${req.method} ${req.path}`); + Promise.resolve(this.promisifiedCallback(req, opts)).then(onsocket, callbackError); + } + catch (err) { + Promise.reject(err).catch(callbackError); + } + } + freeSocket(socket, opts) { + debug('Freeing socket %o %o', socket.constructor.name, opts); + socket.destroy(); + } + destroy() { + debug('Destroying agent %o', this.constructor.name); + } + } + createAgent.Agent = Agent; + // So that `instanceof` works correctly + createAgent.prototype = createAgent.Agent.prototype; +})(createAgent || (createAgent = {})); +module.exports = createAgent; +//# sourceMappingURL=index.js.map /***/ }), -/***/ 219: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 66570: +/***/ ((__unused_webpack_module, exports) => { "use strict"; +Object.defineProperty(exports, "__esModule", ({ value: true })); +function promisify(fn) { + return function (req, opts) { + return new Promise((resolve, reject) => { + fn.call(this, req, opts, (err, rtn) => { + if (err) { + reject(err); + } + else { + resolve(rtn); + } + }); + }); + }; +} +exports["default"] = promisify; +//# sourceMappingURL=promisify.js.map -var net = __nccwpck_require__(808); -var tls = __nccwpck_require__(404); -var http = __nccwpck_require__(685); -var https = __nccwpck_require__(687); -var events = __nccwpck_require__(361); -var assert = __nccwpck_require__(491); -var util = __nccwpck_require__(837); - - -exports.httpOverHttp = httpOverHttp; -exports.httpsOverHttp = httpsOverHttp; -exports.httpOverHttps = httpOverHttps; -exports.httpsOverHttps = httpsOverHttps; - +/***/ }), -function httpOverHttp(options) { - var agent = new TunnelingAgent(options); - agent.request = http.request; - return agent; -} +/***/ 18512: +/***/ ((module) => { -function httpsOverHttp(options) { - var agent = new TunnelingAgent(options); - agent.request = http.request; - agent.createSocket = createSecureSocket; - agent.defaultPort = 443; - return agent; -} +"use strict"; -function httpOverHttps(options) { - var agent = new TunnelingAgent(options); - agent.request = https.request; - return agent; -} +const ansiEscapes = module.exports; +// TODO: remove this in the next major version +module.exports["default"] = ansiEscapes; -function httpsOverHttps(options) { - var agent = new TunnelingAgent(options); - agent.request = https.request; - agent.createSocket = createSecureSocket; - agent.defaultPort = 443; - return agent; -} +const ESC = '\u001B['; +const OSC = '\u001B]'; +const BEL = '\u0007'; +const SEP = ';'; +const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal'; +ansiEscapes.cursorTo = (x, y) => { + if (typeof x !== 'number') { + throw new TypeError('The `x` argument is required'); + } -function TunnelingAgent(options) { - var self = this; - self.options = options || {}; - self.proxyOptions = self.options.proxy || {}; - self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; - self.requests = []; - self.sockets = []; + if (typeof y !== 'number') { + return ESC + (x + 1) + 'G'; + } - self.on('free', function onFree(socket, host, port, localAddress) { - var options = toOptions(host, port, localAddress); - for (var i = 0, len = self.requests.length; i < len; ++i) { - var pending = self.requests[i]; - if (pending.host === options.host && pending.port === options.port) { - // Detect the request to connect same origin server, - // reuse the connection. - self.requests.splice(i, 1); - pending.request.onSocket(socket); - return; - } - } - socket.destroy(); - self.removeSocket(socket); - }); -} -util.inherits(TunnelingAgent, events.EventEmitter); + return ESC + (y + 1) + ';' + (x + 1) + 'H'; +}; -TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { - var self = this; - var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); +ansiEscapes.cursorMove = (x, y) => { + if (typeof x !== 'number') { + throw new TypeError('The `x` argument is required'); + } - if (self.sockets.length >= this.maxSockets) { - // We are over limit so we'll add it to the queue. - self.requests.push(options); - return; - } + let ret = ''; - // If we are under maxSockets create a new one. - self.createSocket(options, function(socket) { - socket.on('free', onFree); - socket.on('close', onCloseOrRemove); - socket.on('agentRemove', onCloseOrRemove); - req.onSocket(socket); + if (x < 0) { + ret += ESC + (-x) + 'D'; + } else if (x > 0) { + ret += ESC + x + 'C'; + } - function onFree() { - self.emit('free', socket, options); - } + if (y < 0) { + ret += ESC + (-y) + 'A'; + } else if (y > 0) { + ret += ESC + y + 'B'; + } - function onCloseOrRemove(err) { - self.removeSocket(socket); - socket.removeListener('free', onFree); - socket.removeListener('close', onCloseOrRemove); - socket.removeListener('agentRemove', onCloseOrRemove); - } - }); + return ret; }; -TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { - var self = this; - var placeholder = {}; - self.sockets.push(placeholder); +ansiEscapes.cursorUp = (count = 1) => ESC + count + 'A'; +ansiEscapes.cursorDown = (count = 1) => ESC + count + 'B'; +ansiEscapes.cursorForward = (count = 1) => ESC + count + 'C'; +ansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D'; - var connectOptions = mergeOptions({}, self.proxyOptions, { - method: 'CONNECT', - path: options.host + ':' + options.port, - agent: false, - headers: { - host: options.host + ':' + options.port - } - }); - if (options.localAddress) { - connectOptions.localAddress = options.localAddress; - } - if (connectOptions.proxyAuth) { - connectOptions.headers = connectOptions.headers || {}; - connectOptions.headers['Proxy-Authorization'] = 'Basic ' + - new Buffer(connectOptions.proxyAuth).toString('base64'); - } +ansiEscapes.cursorLeft = ESC + 'G'; +ansiEscapes.cursorSavePosition = isTerminalApp ? '\u001B7' : ESC + 's'; +ansiEscapes.cursorRestorePosition = isTerminalApp ? '\u001B8' : ESC + 'u'; +ansiEscapes.cursorGetPosition = ESC + '6n'; +ansiEscapes.cursorNextLine = ESC + 'E'; +ansiEscapes.cursorPrevLine = ESC + 'F'; +ansiEscapes.cursorHide = ESC + '?25l'; +ansiEscapes.cursorShow = ESC + '?25h'; - debug('making CONNECT request'); - var connectReq = self.request(connectOptions); - connectReq.useChunkedEncodingByDefault = false; // for v0.6 - connectReq.once('response', onResponse); // for v0.6 - connectReq.once('upgrade', onUpgrade); // for v0.6 - connectReq.once('connect', onConnect); // for v0.7 or later - connectReq.once('error', onError); - connectReq.end(); +ansiEscapes.eraseLines = count => { + let clear = ''; - function onResponse(res) { - // Very hacky. This is necessary to avoid http-parser leaks. - res.upgrade = true; - } + for (let i = 0; i < count; i++) { + clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : ''); + } - function onUpgrade(res, socket, head) { - // Hacky. - process.nextTick(function() { - onConnect(res, socket, head); - }); - } + if (count) { + clear += ansiEscapes.cursorLeft; + } - function onConnect(res, socket, head) { - connectReq.removeAllListeners(); - socket.removeAllListeners(); + return clear; +}; - if (res.statusCode !== 200) { - debug('tunneling socket could not be established, statusCode=%d', - res.statusCode); - socket.destroy(); - var error = new Error('tunneling socket could not be established, ' + - 'statusCode=' + res.statusCode); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - return; - } - if (head.length > 0) { - debug('got illegal response body from proxy'); - socket.destroy(); - var error = new Error('got illegal response body from proxy'); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - return; - } - debug('tunneling connection has established'); - self.sockets[self.sockets.indexOf(placeholder)] = socket; - return cb(socket); - } +ansiEscapes.eraseEndLine = ESC + 'K'; +ansiEscapes.eraseStartLine = ESC + '1K'; +ansiEscapes.eraseLine = ESC + '2K'; +ansiEscapes.eraseDown = ESC + 'J'; +ansiEscapes.eraseUp = ESC + '1J'; +ansiEscapes.eraseScreen = ESC + '2J'; +ansiEscapes.scrollUp = ESC + 'S'; +ansiEscapes.scrollDown = ESC + 'T'; - function onError(cause) { - connectReq.removeAllListeners(); +ansiEscapes.clearScreen = '\u001Bc'; - debug('tunneling socket could not be established, cause=%s\n', - cause.message, cause.stack); - var error = new Error('tunneling socket could not be established, ' + - 'cause=' + cause.message); - error.code = 'ECONNRESET'; - options.request.emit('error', error); - self.removeSocket(placeholder); - } -}; +ansiEscapes.clearTerminal = process.platform === 'win32' ? + `${ansiEscapes.eraseScreen}${ESC}0f` : + // 1. Erases the screen (Only done in case `2` is not supported) + // 2. Erases the whole screen including scrollback buffer + // 3. Moves cursor to the top-left position + // More info: https://www.real-world-systems.com/docs/ANSIcode.html + `${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`; -TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { - var pos = this.sockets.indexOf(socket) - if (pos === -1) { - return; - } - this.sockets.splice(pos, 1); +ansiEscapes.beep = BEL; - var pending = this.requests.shift(); - if (pending) { - // If we have pending requests and a socket gets closed a new one - // needs to be created to take over in the pool for the one that closed. - this.createSocket(pending, function(socket) { - pending.request.onSocket(socket); - }); - } +ansiEscapes.link = (text, url) => { + return [ + OSC, + '8', + SEP, + SEP, + url, + BEL, + text, + OSC, + '8', + SEP, + SEP, + BEL + ].join(''); }; -function createSecureSocket(options, cb) { - var self = this; - TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { - var hostHeader = options.request.getHeader('host'); - var tlsOptions = mergeOptions({}, self.options, { - socket: socket, - servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host - }); +ansiEscapes.image = (buffer, options = {}) => { + let ret = `${OSC}1337;File=inline=1`; - // 0 is dummy port for v0.6 - var secureSocket = tls.connect(0, tlsOptions); - self.sockets[self.sockets.indexOf(socket)] = secureSocket; - cb(secureSocket); - }); -} + if (options.width) { + ret += `;width=${options.width}`; + } + if (options.height) { + ret += `;height=${options.height}`; + } -function toOptions(host, port, localAddress) { - if (typeof host === 'string') { // since v0.10 - return { - host: host, - port: port, - localAddress: localAddress - }; - } - return host; // for v0.11 or later -} + if (options.preserveAspectRatio === false) { + ret += ';preserveAspectRatio=0'; + } -function mergeOptions(target) { - for (var i = 1, len = arguments.length; i < len; ++i) { - var overrides = arguments[i]; - if (typeof overrides === 'object') { - var keys = Object.keys(overrides); - for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { - var k = keys[j]; - if (overrides[k] !== undefined) { - target[k] = overrides[k]; - } - } - } - } - return target; -} + return ret + ':' + buffer.toString('base64') + BEL; +}; +ansiEscapes.iTerm = { + setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`, -var debug; -if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { - debug = function() { - var args = Array.prototype.slice.call(arguments); - if (typeof args[0] === 'string') { - args[0] = 'TUNNEL: ' + args[0]; - } else { - args.unshift('TUNNEL:'); - } - console.error.apply(console, args); - } -} else { - debug = function() {}; -} -exports.debug = debug; // for test + annotation: (message, options = {}) => { + let ret = `${OSC}1337;`; + const hasX = typeof options.x !== 'undefined'; + const hasY = typeof options.y !== 'undefined'; + if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) { + throw new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined'); + } -/***/ }), + message = message.replace(/\|/g, ''); -/***/ 840: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + ret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation='; -"use strict"; + if (options.length > 0) { + ret += + (hasX ? + [message, options.length, options.x, options.y] : + [options.length, message]).join('|'); + } else { + ret += message; + } + return ret + BEL; + } +}; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -Object.defineProperty(exports, "v1", ({ - enumerable: true, - get: function () { - return _v.default; - } -})); -Object.defineProperty(exports, "v3", ({ - enumerable: true, - get: function () { - return _v2.default; - } -})); -Object.defineProperty(exports, "v4", ({ - enumerable: true, - get: function () { - return _v3.default; - } -})); -Object.defineProperty(exports, "v5", ({ - enumerable: true, - get: function () { - return _v4.default; - } -})); -Object.defineProperty(exports, "NIL", ({ - enumerable: true, - get: function () { - return _nil.default; - } -})); -Object.defineProperty(exports, "version", ({ - enumerable: true, - get: function () { - return _version.default; - } -})); -Object.defineProperty(exports, "validate", ({ - enumerable: true, - get: function () { - return _validate.default; - } -})); -Object.defineProperty(exports, "stringify", ({ - enumerable: true, - get: function () { - return _stringify.default; - } -})); -Object.defineProperty(exports, "parse", ({ - enumerable: true, - get: function () { - return _parse.default; - } -})); -var _v = _interopRequireDefault(__nccwpck_require__(628)); +/***/ }), + +/***/ 61546: +/***/ ((module) => { -var _v2 = _interopRequireDefault(__nccwpck_require__(409)); +"use strict"; -var _v3 = _interopRequireDefault(__nccwpck_require__(122)); -var _v4 = _interopRequireDefault(__nccwpck_require__(120)); +const arrify = value => { + if (value === null || value === undefined) { + return []; + } -var _nil = _interopRequireDefault(__nccwpck_require__(332)); + if (Array.isArray(value)) { + return value; + } -var _version = _interopRequireDefault(__nccwpck_require__(595)); + if (typeof value === 'string') { + return [value]; + } -var _validate = _interopRequireDefault(__nccwpck_require__(900)); + if (typeof value[Symbol.iterator] === 'function') { + return [...value]; + } -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); + return [value]; +}; -var _parse = _interopRequireDefault(__nccwpck_require__(746)); +module.exports = arrify; -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /***/ }), -/***/ 569: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 26463: +/***/ ((__unused_webpack_module, exports) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; +exports.byteLength = byteLength +exports.toByteArray = toByteArray +exports.fromByteArray = fromByteArray -var _crypto = _interopRequireDefault(__nccwpck_require__(113)); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -function md5(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } +var lookup = [] +var revLookup = [] +var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array - return _crypto.default.createHash('md5').update(bytes).digest(); +var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' +for (var i = 0, len = code.length; i < len; ++i) { + lookup[i] = code[i] + revLookup[code.charCodeAt(i)] = i } -var _default = md5; -exports["default"] = _default; +// Support decoding URL-safe base64 strings, as Node.js does. +// See: https://en.wikipedia.org/wiki/Base64#URL_applications +revLookup['-'.charCodeAt(0)] = 62 +revLookup['_'.charCodeAt(0)] = 63 -/***/ }), +function getLens (b64) { + var len = b64.length -/***/ 332: -/***/ ((__unused_webpack_module, exports) => { + if (len % 4 > 0) { + throw new Error('Invalid string. Length must be a multiple of 4') + } -"use strict"; + // Trim off extra bytes after placeholder bytes are found + // See: https://github.com/beatgammit/base64-js/issues/42 + var validLen = b64.indexOf('=') + if (validLen === -1) validLen = len + var placeHoldersLen = validLen === len + ? 0 + : 4 - (validLen % 4) -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _default = '00000000-0000-0000-0000-000000000000'; -exports["default"] = _default; + return [validLen, placeHoldersLen] +} -/***/ }), +// base64 is 4/3 + up to two characters of the original data +function byteLength (b64) { + var lens = getLens(b64) + var validLen = lens[0] + var placeHoldersLen = lens[1] + return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen +} -/***/ 746: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +function _byteLength (b64, validLen, placeHoldersLen) { + return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen +} -"use strict"; +function toByteArray (b64) { + var tmp + var lens = getLens(b64) + var validLen = lens[0] + var placeHoldersLen = lens[1] + var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen)) -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; + var curByte = 0 -var _validate = _interopRequireDefault(__nccwpck_require__(900)); + // if there are placeholders, only get up to the last complete 4 chars + var len = placeHoldersLen > 0 + ? validLen - 4 + : validLen -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + var i + for (i = 0; i < len; i += 4) { + tmp = + (revLookup[b64.charCodeAt(i)] << 18) | + (revLookup[b64.charCodeAt(i + 1)] << 12) | + (revLookup[b64.charCodeAt(i + 2)] << 6) | + revLookup[b64.charCodeAt(i + 3)] + arr[curByte++] = (tmp >> 16) & 0xFF + arr[curByte++] = (tmp >> 8) & 0xFF + arr[curByte++] = tmp & 0xFF + } -function parse(uuid) { - if (!(0, _validate.default)(uuid)) { - throw TypeError('Invalid UUID'); + if (placeHoldersLen === 2) { + tmp = + (revLookup[b64.charCodeAt(i)] << 2) | + (revLookup[b64.charCodeAt(i + 1)] >> 4) + arr[curByte++] = tmp & 0xFF } - let v; - const arr = new Uint8Array(16); // Parse ########-....-....-....-............ + if (placeHoldersLen === 1) { + tmp = + (revLookup[b64.charCodeAt(i)] << 10) | + (revLookup[b64.charCodeAt(i + 1)] << 4) | + (revLookup[b64.charCodeAt(i + 2)] >> 2) + arr[curByte++] = (tmp >> 8) & 0xFF + arr[curByte++] = tmp & 0xFF + } - arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; - arr[1] = v >>> 16 & 0xff; - arr[2] = v >>> 8 & 0xff; - arr[3] = v & 0xff; // Parse ........-####-....-....-............ + return arr +} - arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; - arr[5] = v & 0xff; // Parse ........-....-####-....-............ +function tripletToBase64 (num) { + return lookup[num >> 18 & 0x3F] + + lookup[num >> 12 & 0x3F] + + lookup[num >> 6 & 0x3F] + + lookup[num & 0x3F] +} - arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; - arr[7] = v & 0xff; // Parse ........-....-....-####-............ +function encodeChunk (uint8, start, end) { + var tmp + var output = [] + for (var i = start; i < end; i += 3) { + tmp = + ((uint8[i] << 16) & 0xFF0000) + + ((uint8[i + 1] << 8) & 0xFF00) + + (uint8[i + 2] & 0xFF) + output.push(tripletToBase64(tmp)) + } + return output.join('') +} - arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; - arr[9] = v & 0xff; // Parse ........-....-....-....-############ - // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes) +function fromByteArray (uint8) { + var tmp + var len = uint8.length + var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes + var parts = [] + var maxChunkLength = 16383 // must be multiple of 3 - arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff; - arr[11] = v / 0x100000000 & 0xff; - arr[12] = v >>> 24 & 0xff; - arr[13] = v >>> 16 & 0xff; - arr[14] = v >>> 8 & 0xff; - arr[15] = v & 0xff; - return arr; + // go through the array every three bytes, we'll deal with trailing stuff later + for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { + parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) + } + + // pad the end with zeros, but make sure to not forget the extra bytes + if (extraBytes === 1) { + tmp = uint8[len - 1] + parts.push( + lookup[tmp >> 2] + + lookup[(tmp << 4) & 0x3F] + + '==' + ) + } else if (extraBytes === 2) { + tmp = (uint8[len - 2] << 8) + uint8[len - 1] + parts.push( + lookup[tmp >> 10] + + lookup[(tmp >> 4) & 0x3F] + + lookup[(tmp << 2) & 0x3F] + + '=' + ) + } + + return parts.join('') } -var _default = parse; -exports["default"] = _default; /***/ }), -/***/ 814: -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; +/***/ 87558: +/***/ (function(module) { +;(function (globalObject) { + 'use strict'; + +/* + * bignumber.js v9.1.1 + * A JavaScript library for arbitrary-precision arithmetic. + * https://github.com/MikeMcl/bignumber.js + * Copyright (c) 2022 Michael Mclaughlin + * MIT Licensed. + * + * BigNumber.prototype methods | BigNumber methods + * | + * absoluteValue abs | clone + * comparedTo | config set + * decimalPlaces dp | DECIMAL_PLACES + * dividedBy div | ROUNDING_MODE + * dividedToIntegerBy idiv | EXPONENTIAL_AT + * exponentiatedBy pow | RANGE + * integerValue | CRYPTO + * isEqualTo eq | MODULO_MODE + * isFinite | POW_PRECISION + * isGreaterThan gt | FORMAT + * isGreaterThanOrEqualTo gte | ALPHABET + * isInteger | isBigNumber + * isLessThan lt | maximum max + * isLessThanOrEqualTo lte | minimum min + * isNaN | random + * isNegative | sum + * isPositive | + * isZero | + * minus | + * modulo mod | + * multipliedBy times | + * negated | + * plus | + * precision sd | + * shiftedBy | + * squareRoot sqrt | + * toExponential | + * toFixed | + * toFormat | + * toFraction | + * toJSON | + * toNumber | + * toPrecision | + * toString | + * valueOf | + * + */ + + + var BigNumber, + isNumeric = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, + mathceil = Math.ceil, + mathfloor = Math.floor, + + bignumberError = '[BigNumber Error] ', + tooManyDigits = bignumberError + 'Number primitive has more than 15 significant digits: ', + + BASE = 1e14, + LOG_BASE = 14, + MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1 + // MAX_INT32 = 0x7fffffff, // 2^31 - 1 + POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], + SQRT_BASE = 1e7, + + // EDITABLE + // The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and + // the arguments to toExponential, toFixed, toFormat, and toPrecision. + MAX = 1E9; // 0 to MAX_INT32 + + + /* + * Create and return a BigNumber constructor. + */ + function clone(configObject) { + var div, convertBase, parseNumeric, + P = BigNumber.prototype = { constructor: BigNumber, toString: null, valueOf: null }, + ONE = new BigNumber(1), + + + //----------------------------- EDITABLE CONFIG DEFAULTS ------------------------------- + + + // The default values below must be integers within the inclusive ranges stated. + // The values can also be changed at run-time using BigNumber.set. + + // The maximum number of decimal places for operations involving division. + DECIMAL_PLACES = 20, // 0 to MAX + + // The rounding mode used when rounding to the above decimal places, and when using + // toExponential, toFixed, toFormat and toPrecision, and round (default value). + // UP 0 Away from zero. + // DOWN 1 Towards zero. + // CEIL 2 Towards +Infinity. + // FLOOR 3 Towards -Infinity. + // HALF_UP 4 Towards nearest neighbour. If equidistant, up. + // HALF_DOWN 5 Towards nearest neighbour. If equidistant, down. + // HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour. + // HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity. + // HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity. + ROUNDING_MODE = 4, // 0 to 8 + + // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS] + + // The exponent value at and beneath which toString returns exponential notation. + // Number type: -7 + TO_EXP_NEG = -7, // 0 to -MAX + + // The exponent value at and above which toString returns exponential notation. + // Number type: 21 + TO_EXP_POS = 21, // 0 to MAX + + // RANGE : [MIN_EXP, MAX_EXP] + + // The minimum exponent value, beneath which underflow to zero occurs. + // Number type: -324 (5e-324) + MIN_EXP = -1e7, // -1 to -MAX + + // The maximum exponent value, above which overflow to Infinity occurs. + // Number type: 308 (1.7976931348623157e+308) + // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow. + MAX_EXP = 1e7, // 1 to MAX + + // Whether to use cryptographically-secure random number generation, if available. + CRYPTO = false, // true or false + + // The modulo mode used when calculating the modulus: a mod n. + // The quotient (q = a / n) is calculated according to the corresponding rounding mode. + // The remainder (r) is calculated as: r = a - n * q. + // + // UP 0 The remainder is positive if the dividend is negative, else is negative. + // DOWN 1 The remainder has the same sign as the dividend. + // This modulo mode is commonly known as 'truncated division' and is + // equivalent to (a % n) in JavaScript. + // FLOOR 3 The remainder has the same sign as the divisor (Python %). + // HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function. + // EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)). + // The remainder is always positive. + // + // The truncated division, floored division, Euclidian division and IEEE 754 remainder + // modes are commonly used for the modulus operation. + // Although the other rounding modes can also be used, they may not give useful results. + MODULO_MODE = 1, // 0 to 9 + + // The maximum number of significant digits of the result of the exponentiatedBy operation. + // If POW_PRECISION is 0, there will be unlimited significant digits. + POW_PRECISION = 0, // 0 to MAX + + // The format specification used by the BigNumber.prototype.toFormat method. + FORMAT = { + prefix: '', + groupSize: 3, + secondaryGroupSize: 0, + groupSeparator: ',', + decimalSeparator: '.', + fractionGroupSize: 0, + fractionGroupSeparator: '\xA0', // non-breaking space + suffix: '' + }, + + // The alphabet used for base conversion. It must be at least 2 characters long, with no '+', + // '-', '.', whitespace, or repeated character. + // '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_' + ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz', + alphabetHasNormalDecimalDigits = true; + + + //------------------------------------------------------------------------------------------ + + + // CONSTRUCTOR + + + /* + * The BigNumber constructor and exported function. + * Create and return a new instance of a BigNumber object. + * + * v {number|string|BigNumber} A numeric value. + * [b] {number} The base of v. Integer, 2 to ALPHABET.length inclusive. + */ + function BigNumber(v, b) { + var alphabet, c, caseChanged, e, i, isNum, len, str, + x = this; + + // Enable constructor call without `new`. + if (!(x instanceof BigNumber)) return new BigNumber(v, b); + + if (b == null) { + + if (v && v._isBigNumber === true) { + x.s = v.s; + + if (!v.c || v.e > MAX_EXP) { + x.c = x.e = null; + } else if (v.e < MIN_EXP) { + x.c = [x.e = 0]; + } else { + x.e = v.e; + x.c = v.c.slice(); + } + + return; + } + + if ((isNum = typeof v == 'number') && v * 0 == 0) { + + // Use `1 / n` to handle minus zero also. + x.s = 1 / v < 0 ? (v = -v, -1) : 1; + + // Fast path for integers, where n < 2147483648 (2**31). + if (v === ~~v) { + for (e = 0, i = v; i >= 10; i /= 10, e++); + + if (e > MAX_EXP) { + x.c = x.e = null; + } else { + x.e = e; + x.c = [v]; + } + + return; + } + + str = String(v); + } else { + + if (!isNumeric.test(str = String(v))) return parseNumeric(x, str, isNum); + + x.s = str.charCodeAt(0) == 45 ? (str = str.slice(1), -1) : 1; + } + + // Decimal point? + if ((e = str.indexOf('.')) > -1) str = str.replace('.', ''); + + // Exponential form? + if ((i = str.search(/e/i)) > 0) { + + // Determine exponent. + if (e < 0) e = i; + e += +str.slice(i + 1); + str = str.substring(0, i); + } else if (e < 0) { + + // Integer. + e = str.length; + } + + } else { + + // '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}' + intCheck(b, 2, ALPHABET.length, 'Base'); + + // Allow exponential notation to be used with base 10 argument, while + // also rounding to DECIMAL_PLACES as with other bases. + if (b == 10 && alphabetHasNormalDecimalDigits) { + x = new BigNumber(v); + return round(x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE); + } + + str = String(v); + + if (isNum = typeof v == 'number') { + + // Avoid potential interpretation of Infinity and NaN as base 44+ values. + if (v * 0 != 0) return parseNumeric(x, str, isNum, b); + + x.s = 1 / v < 0 ? (str = str.slice(1), -1) : 1; + + // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}' + if (BigNumber.DEBUG && str.replace(/^0\.0*|\./, '').length > 15) { + throw Error + (tooManyDigits + v); + } + } else { + x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1; + } + + alphabet = ALPHABET.slice(0, b); + e = i = 0; + + // Check that str is a valid base b number. + // Don't use RegExp, so alphabet can contain special characters. + for (len = str.length; i < len; i++) { + if (alphabet.indexOf(c = str.charAt(i)) < 0) { + if (c == '.') { + + // If '.' is not the first character and it has not be found before. + if (i > e) { + e = len; + continue; + } + } else if (!caseChanged) { + + // Allow e.g. hexadecimal 'FF' as well as 'ff'. + if (str == str.toUpperCase() && (str = str.toLowerCase()) || + str == str.toLowerCase() && (str = str.toUpperCase())) { + caseChanged = true; + i = -1; + e = 0; + continue; + } + } + + return parseNumeric(x, String(v), isNum, b); + } + } + + // Prevent later check for length on converted number. + isNum = false; + str = convertBase(str, b, 10, x.s); + + // Decimal point? + if ((e = str.indexOf('.')) > -1) str = str.replace('.', ''); + else e = str.length; + } + + // Determine leading zeros. + for (i = 0; str.charCodeAt(i) === 48; i++); + + // Determine trailing zeros. + for (len = str.length; str.charCodeAt(--len) === 48;); + + if (str = str.slice(i, ++len)) { + len -= i; + + // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}' + if (isNum && BigNumber.DEBUG && + len > 15 && (v > MAX_SAFE_INTEGER || v !== mathfloor(v))) { + throw Error + (tooManyDigits + (x.s * v)); + } + + // Overflow? + if ((e = e - i - 1) > MAX_EXP) { + + // Infinity. + x.c = x.e = null; + + // Underflow? + } else if (e < MIN_EXP) { + + // Zero. + x.c = [x.e = 0]; + } else { + x.e = e; + x.c = []; + + // Transform base + + // e is the base 10 exponent. + // i is where to slice str to get the first element of the coefficient array. + i = (e + 1) % LOG_BASE; + if (e < 0) i += LOG_BASE; // i < 1 + + if (i < len) { + if (i) x.c.push(+str.slice(0, i)); + + for (len -= LOG_BASE; i < len;) { + x.c.push(+str.slice(i, i += LOG_BASE)); + } + + i = LOG_BASE - (str = str.slice(i)).length; + } else { + i -= len; + } + + for (; i--; str += '0'); + x.c.push(+str); + } + } else { + + // Zero. + x.c = [x.e = 0]; + } + } + + + // CONSTRUCTOR PROPERTIES + + + BigNumber.clone = clone; + + BigNumber.ROUND_UP = 0; + BigNumber.ROUND_DOWN = 1; + BigNumber.ROUND_CEIL = 2; + BigNumber.ROUND_FLOOR = 3; + BigNumber.ROUND_HALF_UP = 4; + BigNumber.ROUND_HALF_DOWN = 5; + BigNumber.ROUND_HALF_EVEN = 6; + BigNumber.ROUND_HALF_CEIL = 7; + BigNumber.ROUND_HALF_FLOOR = 8; + BigNumber.EUCLID = 9; + + + /* + * Configure infrequently-changing library-wide settings. + * + * Accept an object with the following optional properties (if the value of a property is + * a number, it must be an integer within the inclusive range stated): + * + * DECIMAL_PLACES {number} 0 to MAX + * ROUNDING_MODE {number} 0 to 8 + * EXPONENTIAL_AT {number|number[]} -MAX to MAX or [-MAX to 0, 0 to MAX] + * RANGE {number|number[]} -MAX to MAX (not zero) or [-MAX to -1, 1 to MAX] + * CRYPTO {boolean} true or false + * MODULO_MODE {number} 0 to 9 + * POW_PRECISION {number} 0 to MAX + * ALPHABET {string} A string of two or more unique characters which does + * not contain '.'. + * FORMAT {object} An object with some of the following properties: + * prefix {string} + * groupSize {number} + * secondaryGroupSize {number} + * groupSeparator {string} + * decimalSeparator {string} + * fractionGroupSize {number} + * fractionGroupSeparator {string} + * suffix {string} + * + * (The values assigned to the above FORMAT object properties are not checked for validity.) + * + * E.g. + * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 }) + * + * Ignore properties/parameters set to null or undefined, except for ALPHABET. + * + * Return an object with the properties current values. + */ + BigNumber.config = BigNumber.set = function (obj) { + var p, v; + + if (obj != null) { + + if (typeof obj == 'object') { + + // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive. + // '[BigNumber Error] DECIMAL_PLACES {not a primitive number|not an integer|out of range}: {v}' + if (obj.hasOwnProperty(p = 'DECIMAL_PLACES')) { + v = obj[p]; + intCheck(v, 0, MAX, p); + DECIMAL_PLACES = v; + } + + // ROUNDING_MODE {number} Integer, 0 to 8 inclusive. + // '[BigNumber Error] ROUNDING_MODE {not a primitive number|not an integer|out of range}: {v}' + if (obj.hasOwnProperty(p = 'ROUNDING_MODE')) { + v = obj[p]; + intCheck(v, 0, 8, p); + ROUNDING_MODE = v; + } + + // EXPONENTIAL_AT {number|number[]} + // Integer, -MAX to MAX inclusive or + // [integer -MAX to 0 inclusive, 0 to MAX inclusive]. + // '[BigNumber Error] EXPONENTIAL_AT {not a primitive number|not an integer|out of range}: {v}' + if (obj.hasOwnProperty(p = 'EXPONENTIAL_AT')) { + v = obj[p]; + if (v && v.pop) { + intCheck(v[0], -MAX, 0, p); + intCheck(v[1], 0, MAX, p); + TO_EXP_NEG = v[0]; + TO_EXP_POS = v[1]; + } else { + intCheck(v, -MAX, MAX, p); + TO_EXP_NEG = -(TO_EXP_POS = v < 0 ? -v : v); + } + } + + // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or + // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive]. + // '[BigNumber Error] RANGE {not a primitive number|not an integer|out of range|cannot be zero}: {v}' + if (obj.hasOwnProperty(p = 'RANGE')) { + v = obj[p]; + if (v && v.pop) { + intCheck(v[0], -MAX, -1, p); + intCheck(v[1], 1, MAX, p); + MIN_EXP = v[0]; + MAX_EXP = v[1]; + } else { + intCheck(v, -MAX, MAX, p); + if (v) { + MIN_EXP = -(MAX_EXP = v < 0 ? -v : v); + } else { + throw Error + (bignumberError + p + ' cannot be zero: ' + v); + } + } + } + + // CRYPTO {boolean} true or false. + // '[BigNumber Error] CRYPTO not true or false: {v}' + // '[BigNumber Error] crypto unavailable' + if (obj.hasOwnProperty(p = 'CRYPTO')) { + v = obj[p]; + if (v === !!v) { + if (v) { + if (typeof crypto != 'undefined' && crypto && + (crypto.getRandomValues || crypto.randomBytes)) { + CRYPTO = v; + } else { + CRYPTO = !v; + throw Error + (bignumberError + 'crypto unavailable'); + } + } else { + CRYPTO = v; + } + } else { + throw Error + (bignumberError + p + ' not true or false: ' + v); + } + } + + // MODULO_MODE {number} Integer, 0 to 9 inclusive. + // '[BigNumber Error] MODULO_MODE {not a primitive number|not an integer|out of range}: {v}' + if (obj.hasOwnProperty(p = 'MODULO_MODE')) { + v = obj[p]; + intCheck(v, 0, 9, p); + MODULO_MODE = v; + } + + // POW_PRECISION {number} Integer, 0 to MAX inclusive. + // '[BigNumber Error] POW_PRECISION {not a primitive number|not an integer|out of range}: {v}' + if (obj.hasOwnProperty(p = 'POW_PRECISION')) { + v = obj[p]; + intCheck(v, 0, MAX, p); + POW_PRECISION = v; + } + + // FORMAT {object} + // '[BigNumber Error] FORMAT not an object: {v}' + if (obj.hasOwnProperty(p = 'FORMAT')) { + v = obj[p]; + if (typeof v == 'object') FORMAT = v; + else throw Error + (bignumberError + p + ' not an object: ' + v); + } + + // ALPHABET {string} + // '[BigNumber Error] ALPHABET invalid: {v}' + if (obj.hasOwnProperty(p = 'ALPHABET')) { + v = obj[p]; + + // Disallow if less than two characters, + // or if it contains '+', '-', '.', whitespace, or a repeated character. + if (typeof v == 'string' && !/^.?$|[+\-.\s]|(.).*\1/.test(v)) { + alphabetHasNormalDecimalDigits = v.slice(0, 10) == '0123456789'; + ALPHABET = v; + } else { + throw Error + (bignumberError + p + ' invalid: ' + v); + } + } + + } else { + + // '[BigNumber Error] Object expected: {v}' + throw Error + (bignumberError + 'Object expected: ' + obj); + } + } + + return { + DECIMAL_PLACES: DECIMAL_PLACES, + ROUNDING_MODE: ROUNDING_MODE, + EXPONENTIAL_AT: [TO_EXP_NEG, TO_EXP_POS], + RANGE: [MIN_EXP, MAX_EXP], + CRYPTO: CRYPTO, + MODULO_MODE: MODULO_MODE, + POW_PRECISION: POW_PRECISION, + FORMAT: FORMAT, + ALPHABET: ALPHABET + }; + }; + + + /* + * Return true if v is a BigNumber instance, otherwise return false. + * + * If BigNumber.DEBUG is true, throw if a BigNumber instance is not well-formed. + * + * v {any} + * + * '[BigNumber Error] Invalid BigNumber: {v}' + */ + BigNumber.isBigNumber = function (v) { + if (!v || v._isBigNumber !== true) return false; + if (!BigNumber.DEBUG) return true; + + var i, n, + c = v.c, + e = v.e, + s = v.s; + + out: if ({}.toString.call(c) == '[object Array]') { + + if ((s === 1 || s === -1) && e >= -MAX && e <= MAX && e === mathfloor(e)) { + + // If the first element is zero, the BigNumber value must be zero. + if (c[0] === 0) { + if (e === 0 && c.length === 1) return true; + break out; + } + + // Calculate number of digits that c[0] should have, based on the exponent. + i = (e + 1) % LOG_BASE; + if (i < 1) i += LOG_BASE; + + // Calculate number of digits of c[0]. + //if (Math.ceil(Math.log(c[0] + 1) / Math.LN10) == i) { + if (String(c[0]).length == i) { + + for (i = 0; i < c.length; i++) { + n = c[i]; + if (n < 0 || n >= BASE || n !== mathfloor(n)) break out; + } + + // Last element cannot be zero, unless it is the only element. + if (n !== 0) return true; + } + } + + // Infinity/NaN + } else if (c === null && e === null && (s === null || s === 1 || s === -1)) { + return true; + } + + throw Error + (bignumberError + 'Invalid BigNumber: ' + v); + }; + + + /* + * Return a new BigNumber whose value is the maximum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.maximum = BigNumber.max = function () { + return maxOrMin(arguments, P.lt); + }; + + + /* + * Return a new BigNumber whose value is the minimum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.minimum = BigNumber.min = function () { + return maxOrMin(arguments, P.gt); + }; + + + /* + * Return a new BigNumber with a random value equal to or greater than 0 and less than 1, + * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing + * zeros are produced). + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp}' + * '[BigNumber Error] crypto unavailable' + */ + BigNumber.random = (function () { + var pow2_53 = 0x20000000000000; + + // Return a 53 bit integer n, where 0 <= n < 9007199254740992. + // Check if Math.random() produces more than 32 bits of randomness. + // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits. + // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1. + var random53bitInt = (Math.random() * pow2_53) & 0x1fffff + ? function () { return mathfloor(Math.random() * pow2_53); } + : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) + + (Math.random() * 0x800000 | 0); }; + + return function (dp) { + var a, b, e, k, v, + i = 0, + c = [], + rand = new BigNumber(ONE); + + if (dp == null) dp = DECIMAL_PLACES; + else intCheck(dp, 0, MAX); + + k = mathceil(dp / LOG_BASE); + + if (CRYPTO) { + + // Browsers supporting crypto.getRandomValues. + if (crypto.getRandomValues) { + + a = crypto.getRandomValues(new Uint32Array(k *= 2)); + + for (; i < k;) { + + // 53 bits: + // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2) + // 11111 11111111 11111111 11111111 11100000 00000000 00000000 + // ((Math.pow(2, 32) - 1) >>> 11).toString(2) + // 11111 11111111 11111111 + // 0x20000 is 2^21. + v = a[i] * 0x20000 + (a[i + 1] >>> 11); + + // Rejection sampling: + // 0 <= v < 9007199254740992 + // Probability that v >= 9e15, is + // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251 + if (v >= 9e15) { + b = crypto.getRandomValues(new Uint32Array(2)); + a[i] = b[0]; + a[i + 1] = b[1]; + } else { + + // 0 <= v <= 8999999999999999 + // 0 <= (v % 1e14) <= 99999999999999 + c.push(v % 1e14); + i += 2; + } + } + i = k / 2; + + // Node.js supporting crypto.randomBytes. + } else if (crypto.randomBytes) { + + // buffer + a = crypto.randomBytes(k *= 7); + + for (; i < k;) { + + // 0x1000000000000 is 2^48, 0x10000000000 is 2^40 + // 0x100000000 is 2^32, 0x1000000 is 2^24 + // 11111 11111111 11111111 11111111 11111111 11111111 11111111 + // 0 <= v < 9007199254740992 + v = ((a[i] & 31) * 0x1000000000000) + (a[i + 1] * 0x10000000000) + + (a[i + 2] * 0x100000000) + (a[i + 3] * 0x1000000) + + (a[i + 4] << 16) + (a[i + 5] << 8) + a[i + 6]; + + if (v >= 9e15) { + crypto.randomBytes(7).copy(a, i); + } else { + + // 0 <= (v % 1e14) <= 99999999999999 + c.push(v % 1e14); + i += 7; + } + } + i = k / 7; + } else { + CRYPTO = false; + throw Error + (bignumberError + 'crypto unavailable'); + } + } + + // Use Math.random. + if (!CRYPTO) { + + for (; i < k;) { + v = random53bitInt(); + if (v < 9e15) c[i++] = v % 1e14; + } + } + + k = c[--i]; + dp %= LOG_BASE; + + // Convert trailing digits to zeros according to dp. + if (k && dp) { + v = POWS_TEN[LOG_BASE - dp]; + c[i] = mathfloor(k / v) * v; + } + + // Remove trailing elements which are zero. + for (; c[i] === 0; c.pop(), i--); + + // Zero? + if (i < 0) { + c = [e = 0]; + } else { + + // Remove leading elements which are zero and adjust exponent accordingly. + for (e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE); + + // Count the digits of the first element of c to determine leading zeros, and... + for (i = 1, v = c[0]; v >= 10; v /= 10, i++); + + // adjust the exponent accordingly. + if (i < LOG_BASE) e -= LOG_BASE - i; + } + + rand.e = e; + rand.c = c; + return rand; + }; + })(); + + + /* + * Return a BigNumber whose value is the sum of the arguments. + * + * arguments {number|string|BigNumber} + */ + BigNumber.sum = function () { + var i = 1, + args = arguments, + sum = new BigNumber(args[0]); + for (; i < args.length;) sum = sum.plus(args[i++]); + return sum; + }; + + + // PRIVATE FUNCTIONS + + + // Called by BigNumber and BigNumber.prototype.toString. + convertBase = (function () { + var decimal = '0123456789'; + + /* + * Convert string of baseIn to an array of numbers of baseOut. + * Eg. toBaseOut('255', 10, 16) returns [15, 15]. + * Eg. toBaseOut('ff', 16, 10) returns [2, 5, 5]. + */ + function toBaseOut(str, baseIn, baseOut, alphabet) { + var j, + arr = [0], + arrL, + i = 0, + len = str.length; + + for (; i < len;) { + for (arrL = arr.length; arrL--; arr[arrL] *= baseIn); + + arr[0] += alphabet.indexOf(str.charAt(i++)); + + for (j = 0; j < arr.length; j++) { + + if (arr[j] > baseOut - 1) { + if (arr[j + 1] == null) arr[j + 1] = 0; + arr[j + 1] += arr[j] / baseOut | 0; + arr[j] %= baseOut; + } + } + } + + return arr.reverse(); + } + + // Convert a numeric string of baseIn to a numeric string of baseOut. + // If the caller is toString, we are converting from base 10 to baseOut. + // If the caller is BigNumber, we are converting from baseIn to base 10. + return function (str, baseIn, baseOut, sign, callerIsToString) { + var alphabet, d, e, k, r, x, xc, y, + i = str.indexOf('.'), + dp = DECIMAL_PLACES, + rm = ROUNDING_MODE; + + // Non-integer. + if (i >= 0) { + k = POW_PRECISION; + + // Unlimited precision. + POW_PRECISION = 0; + str = str.replace('.', ''); + y = new BigNumber(baseIn); + x = y.pow(str.length - i); + POW_PRECISION = k; + + // Convert str as if an integer, then restore the fraction part by dividing the + // result by its base raised to a power. + + y.c = toBaseOut(toFixedPoint(coeffToString(x.c), x.e, '0'), + 10, baseOut, decimal); + y.e = y.c.length; + } + + // Convert the number as integer. + + xc = toBaseOut(str, baseIn, baseOut, callerIsToString + ? (alphabet = ALPHABET, decimal) + : (alphabet = decimal, ALPHABET)); + + // xc now represents str as an integer and converted to baseOut. e is the exponent. + e = k = xc.length; + + // Remove trailing zeros. + for (; xc[--k] == 0; xc.pop()); + + // Zero? + if (!xc[0]) return alphabet.charAt(0); + + // Does str represent an integer? If so, no need for the division. + if (i < 0) { + --e; + } else { + x.c = xc; + x.e = e; + + // The sign is needed for correct rounding. + x.s = sign; + x = div(x, y, dp, rm, baseOut); + xc = x.c; + r = x.r; + e = x.e; + } + + // xc now represents str converted to baseOut. + + // THe index of the rounding digit. + d = e + dp + 1; + + // The rounding digit: the digit to the right of the digit that may be rounded up. + i = xc[d]; + + // Look at the rounding digits and mode to determine whether to round up. + + k = baseOut / 2; + r = r || d < 0 || xc[d + 1] != null; + + r = rm < 4 ? (i != null || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) + : i > k || i == k &&(rm == 4 || r || rm == 6 && xc[d - 1] & 1 || + rm == (x.s < 0 ? 8 : 7)); + + // If the index of the rounding digit is not greater than zero, or xc represents + // zero, then the result of the base conversion is zero or, if rounding up, a value + // such as 0.00001. + if (d < 1 || !xc[0]) { + + // 1^-dp or 0 + str = r ? toFixedPoint(alphabet.charAt(1), -dp, alphabet.charAt(0)) : alphabet.charAt(0); + } else { + + // Truncate xc to the required number of decimal places. + xc.length = d; + + // Round up? + if (r) { + + // Rounding up may mean the previous digit has to be rounded up and so on. + for (--baseOut; ++xc[--d] > baseOut;) { + xc[d] = 0; + + if (!d) { + ++e; + xc = [1].concat(xc); + } + } + } + + // Determine trailing zeros. + for (k = xc.length; !xc[--k];); + + // E.g. [4, 11, 15] becomes 4bf. + for (i = 0, str = ''; i <= k; str += alphabet.charAt(xc[i++])); + + // Add leading zeros, decimal point and trailing zeros as required. + str = toFixedPoint(str, e, alphabet.charAt(0)); + } + + // The caller will add the sign. + return str; + }; + })(); + + + // Perform division in the specified base. Called by div and convertBase. + div = (function () { + + // Assume non-zero x and k. + function multiply(x, k, base) { + var m, temp, xlo, xhi, + carry = 0, + i = x.length, + klo = k % SQRT_BASE, + khi = k / SQRT_BASE | 0; + + for (x = x.slice(); i--;) { + xlo = x[i] % SQRT_BASE; + xhi = x[i] / SQRT_BASE | 0; + m = khi * xlo + xhi * klo; + temp = klo * xlo + ((m % SQRT_BASE) * SQRT_BASE) + carry; + carry = (temp / base | 0) + (m / SQRT_BASE | 0) + khi * xhi; + x[i] = temp % base; + } + + if (carry) x = [carry].concat(x); + + return x; + } + + function compare(a, b, aL, bL) { + var i, cmp; + + if (aL != bL) { + cmp = aL > bL ? 1 : -1; + } else { + + for (i = cmp = 0; i < aL; i++) { + + if (a[i] != b[i]) { + cmp = a[i] > b[i] ? 1 : -1; + break; + } + } + } + + return cmp; + } + + function subtract(a, b, aL, base) { + var i = 0; + + // Subtract b from a. + for (; aL--;) { + a[aL] -= i; + i = a[aL] < b[aL] ? 1 : 0; + a[aL] = i * base + a[aL] - b[aL]; + } + + // Remove leading zeros. + for (; !a[0] && a.length > 1; a.splice(0, 1)); + } + + // x: dividend, y: divisor. + return function (x, y, dp, rm, base) { + var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0, + yL, yz, + s = x.s == y.s ? 1 : -1, + xc = x.c, + yc = y.c; + + // Either NaN, Infinity or 0? + if (!xc || !xc[0] || !yc || !yc[0]) { + + return new BigNumber( + + // Return NaN if either NaN, or both Infinity or 0. + !x.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) ? NaN : + + // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0. + xc && xc[0] == 0 || !yc ? s * 0 : s / 0 + ); + } + + q = new BigNumber(s); + qc = q.c = []; + e = x.e - y.e; + s = dp + e + 1; + + if (!base) { + base = BASE; + e = bitFloor(x.e / LOG_BASE) - bitFloor(y.e / LOG_BASE); + s = s / LOG_BASE | 0; + } + + // Result exponent may be one less then the current value of e. + // The coefficients of the BigNumbers from convertBase may have trailing zeros. + for (i = 0; yc[i] == (xc[i] || 0); i++); + + if (yc[i] > (xc[i] || 0)) e--; + + if (s < 0) { + qc.push(1); + more = true; + } else { + xL = xc.length; + yL = yc.length; + i = 0; + s += 2; + + // Normalise xc and yc so highest order digit of yc is >= base / 2. + + n = mathfloor(base / (yc[0] + 1)); + + // Not necessary, but to handle odd bases where yc[0] == (base / 2) - 1. + // if (n > 1 || n++ == 1 && yc[0] < base / 2) { + if (n > 1) { + yc = multiply(yc, n, base); + xc = multiply(xc, n, base); + yL = yc.length; + xL = xc.length; + } + + xi = yL; + rem = xc.slice(0, yL); + remL = rem.length; + + // Add zeros to make remainder as long as divisor. + for (; remL < yL; rem[remL++] = 0); + yz = yc.slice(); + yz = [0].concat(yz); + yc0 = yc[0]; + if (yc[1] >= base / 2) yc0++; + // Not necessary, but to prevent trial digit n > base, when using base 3. + // else if (base == 3 && yc0 == 1) yc0 = 1 + 1e-15; + + do { + n = 0; + + // Compare divisor and remainder. + cmp = compare(yc, rem, yL, remL); + + // If divisor < remainder. + if (cmp < 0) { + + // Calculate trial digit, n. + + rem0 = rem[0]; + if (yL != remL) rem0 = rem0 * base + (rem[1] || 0); + + // n is how many times the divisor goes into the current remainder. + n = mathfloor(rem0 / yc0); + + // Algorithm: + // product = divisor multiplied by trial digit (n). + // Compare product and remainder. + // If product is greater than remainder: + // Subtract divisor from product, decrement trial digit. + // Subtract product from remainder. + // If product was less than remainder at the last compare: + // Compare new remainder and divisor. + // If remainder is greater than divisor: + // Subtract divisor from remainder, increment trial digit. + + if (n > 1) { + + // n may be > base only when base is 3. + if (n >= base) n = base - 1; + + // product = divisor * trial digit. + prod = multiply(yc, n, base); + prodL = prod.length; + remL = rem.length; + + // Compare product and remainder. + // If product > remainder then trial digit n too high. + // n is 1 too high about 5% of the time, and is not known to have + // ever been more than 1 too high. + while (compare(prod, rem, prodL, remL) == 1) { + n--; + + // Subtract divisor from product. + subtract(prod, yL < prodL ? yz : yc, prodL, base); + prodL = prod.length; + cmp = 1; + } + } else { + + // n is 0 or 1, cmp is -1. + // If n is 0, there is no need to compare yc and rem again below, + // so change cmp to 1 to avoid it. + // If n is 1, leave cmp as -1, so yc and rem are compared again. + if (n == 0) { + + // divisor < remainder, so n must be at least 1. + cmp = n = 1; + } + + // product = divisor + prod = yc.slice(); + prodL = prod.length; + } + + if (prodL < remL) prod = [0].concat(prod); + + // Subtract product from remainder. + subtract(rem, prod, remL, base); + remL = rem.length; + + // If product was < remainder. + if (cmp == -1) { + + // Compare divisor and new remainder. + // If divisor < new remainder, subtract divisor from remainder. + // Trial digit n too low. + // n is 1 too low about 5% of the time, and very rarely 2 too low. + while (compare(yc, rem, yL, remL) < 1) { + n++; + + // Subtract divisor from remainder. + subtract(rem, yL < remL ? yz : yc, remL, base); + remL = rem.length; + } + } + } else if (cmp === 0) { + n++; + rem = [0]; + } // else cmp === 1 and n will be 0 + + // Add the next digit, n, to the result array. + qc[i++] = n; + + // Update the remainder. + if (rem[0]) { + rem[remL++] = xc[xi] || 0; + } else { + rem = [xc[xi]]; + remL = 1; + } + } while ((xi++ < xL || rem[0] != null) && s--); + + more = rem[0] != null; + + // Leading zero? + if (!qc[0]) qc.splice(0, 1); + } + + if (base == BASE) { + + // To calculate q.e, first get the number of digits of qc[0]. + for (i = 1, s = qc[0]; s >= 10; s /= 10, i++); + + round(q, dp + (q.e = i + e * LOG_BASE - 1) + 1, rm, more); + + // Caller is convertBase. + } else { + q.e = e; + q.r = +more; + } + + return q; + }; + })(); + + + /* + * Return a string representing the value of BigNumber n in fixed-point or exponential + * notation rounded to the specified decimal places or significant digits. + * + * n: a BigNumber. + * i: the index of the last digit required (i.e. the digit that may be rounded up). + * rm: the rounding mode. + * id: 1 (toExponential) or 2 (toPrecision). + */ + function format(n, i, rm, id) { + var c0, e, ne, len, str; + + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); + + if (!n.c) return n.toString(); + + c0 = n.c[0]; + ne = n.e; + + if (i == null) { + str = coeffToString(n.c); + str = id == 1 || id == 2 && (ne <= TO_EXP_NEG || ne >= TO_EXP_POS) + ? toExponential(str, ne) + : toFixedPoint(str, ne, '0'); + } else { + n = round(new BigNumber(n), i, rm); + + // n.e may have changed if the value was rounded up. + e = n.e; + + str = coeffToString(n.c); + len = str.length; + + // toPrecision returns exponential notation if the number of significant digits + // specified is less than the number of digits necessary to represent the integer + // part of the value in fixed-point notation. + + // Exponential notation. + if (id == 1 || id == 2 && (i <= e || e <= TO_EXP_NEG)) { + + // Append zeros? + for (; len < i; str += '0', len++); + str = toExponential(str, e); + + // Fixed-point notation. + } else { + i -= ne; + str = toFixedPoint(str, e, '0'); + + // Append zeros? + if (e + 1 > len) { + if (--i > 0) for (str += '.'; i--; str += '0'); + } else { + i += e - len; + if (i > 0) { + if (e + 1 == len) str += '.'; + for (; i--; str += '0'); + } + } + } + } + + return n.s < 0 && c0 ? '-' + str : str; + } + + + // Handle BigNumber.max and BigNumber.min. + function maxOrMin(args, method) { + var n, + i = 1, + m = new BigNumber(args[0]); + + for (; i < args.length; i++) { + n = new BigNumber(args[i]); + + // If any number is NaN, return NaN. + if (!n.s) { + m = n; + break; + } else if (method.call(m, n)) { + m = n; + } + } + + return m; + } + + + /* + * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP. + * Called by minus, plus and times. + */ + function normalise(n, c, e) { + var i = 1, + j = c.length; + + // Remove trailing zeros. + for (; !c[--j]; c.pop()); + + // Calculate the base 10 exponent. First get the number of digits of c[0]. + for (j = c[0]; j >= 10; j /= 10, i++); + + // Overflow? + if ((e = i + e * LOG_BASE - 1) > MAX_EXP) { + + // Infinity. + n.c = n.e = null; + + // Underflow? + } else if (e < MIN_EXP) { + + // Zero. + n.c = [n.e = 0]; + } else { + n.e = e; + n.c = c; + } + + return n; + } + + + // Handle values that fail the validity test in BigNumber. + parseNumeric = (function () { + var basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i, + dotAfter = /^([^.]+)\.$/, + dotBefore = /^\.([^.]+)$/, + isInfinityOrNaN = /^-?(Infinity|NaN)$/, + whitespaceOrPlus = /^\s*\+(?=[\w.])|^\s+|\s+$/g; + + return function (x, str, isNum, b) { + var base, + s = isNum ? str : str.replace(whitespaceOrPlus, ''); + + // No exception on ±Infinity or NaN. + if (isInfinityOrNaN.test(s)) { + x.s = isNaN(s) ? null : s < 0 ? -1 : 1; + } else { + if (!isNum) { + + // basePrefix = /^(-?)0([xbo])(?=\w[\w.]*$)/i + s = s.replace(basePrefix, function (m, p1, p2) { + base = (p2 = p2.toLowerCase()) == 'x' ? 16 : p2 == 'b' ? 2 : 8; + return !b || b == base ? p1 : m; + }); + + if (b) { + base = b; + + // E.g. '1.' to '1', '.1' to '0.1' + s = s.replace(dotAfter, '$1').replace(dotBefore, '0.$1'); + } + + if (str != s) return new BigNumber(s, base); + } + + // '[BigNumber Error] Not a number: {n}' + // '[BigNumber Error] Not a base {b} number: {n}' + if (BigNumber.DEBUG) { + throw Error + (bignumberError + 'Not a' + (b ? ' base ' + b : '') + ' number: ' + str); + } + + // NaN + x.s = null; + } + + x.c = x.e = null; + } + })(); + + + /* + * Round x to sd significant digits using rounding mode rm. Check for over/under-flow. + * If r is truthy, it is known that there are more digits after the rounding digit. + */ + function round(x, sd, rm, r) { + var d, i, j, k, n, ni, rd, + xc = x.c, + pows10 = POWS_TEN; + + // if x is not Infinity or NaN... + if (xc) { + + // rd is the rounding digit, i.e. the digit after the digit that may be rounded up. + // n is a base 1e14 number, the value of the element of array x.c containing rd. + // ni is the index of n within x.c. + // d is the number of digits of n. + // i is the index of rd within n including leading zeros. + // j is the actual index of rd within n (if < 0, rd is a leading zero). + out: { + + // Get the number of digits of the first element of xc. + for (d = 1, k = xc[0]; k >= 10; k /= 10, d++); + i = sd - d; + + // If the rounding digit is in the first element of xc... + if (i < 0) { + i += LOG_BASE; + j = sd; + n = xc[ni = 0]; + + // Get the rounding digit at index j of n. + rd = n / pows10[d - j - 1] % 10 | 0; + } else { + ni = mathceil((i + 1) / LOG_BASE); + + if (ni >= xc.length) { + + if (r) { + + // Needed by sqrt. + for (; xc.length <= ni; xc.push(0)); + n = rd = 0; + d = 1; + i %= LOG_BASE; + j = i - LOG_BASE + 1; + } else { + break out; + } + } else { + n = k = xc[ni]; + + // Get the number of digits of n. + for (d = 1; k >= 10; k /= 10, d++); + + // Get the index of rd within n. + i %= LOG_BASE; + + // Get the index of rd within n, adjusted for leading zeros. + // The number of leading zeros of n is given by LOG_BASE - d. + j = i - LOG_BASE + d; + + // Get the rounding digit at index j of n. + rd = j < 0 ? 0 : n / pows10[d - j - 1] % 10 | 0; + } + } + + r = r || sd < 0 || + + // Are there any non-zero digits after the rounding digit? + // The expression n % pows10[d - j - 1] returns all digits of n to the right + // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714. + xc[ni + 1] != null || (j < 0 ? n : n % pows10[d - j - 1]); + + r = rm < 4 + ? (rd || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2)) + : rd > 5 || rd == 5 && (rm == 4 || r || rm == 6 && + + // Check whether the digit to the left of the rounding digit is odd. + ((i > 0 ? j > 0 ? n / pows10[d - j] : 0 : xc[ni - 1]) % 10) & 1 || + rm == (x.s < 0 ? 8 : 7)); + + if (sd < 1 || !xc[0]) { + xc.length = 0; + + if (r) { + + // Convert sd to decimal places. + sd -= x.e + 1; + + // 1, 0.1, 0.01, 0.001, 0.0001 etc. + xc[0] = pows10[(LOG_BASE - sd % LOG_BASE) % LOG_BASE]; + x.e = -sd || 0; + } else { + + // Zero. + xc[0] = x.e = 0; + } + + return x; + } + + // Remove excess digits. + if (i == 0) { + xc.length = ni; + k = 1; + ni--; + } else { + xc.length = ni + 1; + k = pows10[LOG_BASE - i]; + + // E.g. 56700 becomes 56000 if 7 is the rounding digit. + // j > 0 means i > number of leading zeros of n. + xc[ni] = j > 0 ? mathfloor(n / pows10[d - j] % pows10[j]) * k : 0; + } + + // Round up? + if (r) { + + for (; ;) { + + // If the digit to be rounded up is in the first element of xc... + if (ni == 0) { + + // i will be the length of xc[0] before k is added. + for (i = 1, j = xc[0]; j >= 10; j /= 10, i++); + j = xc[0] += k; + for (k = 1; j >= 10; j /= 10, k++); + + // if i != k the length has increased. + if (i != k) { + x.e++; + if (xc[0] == BASE) xc[0] = 1; + } + + break; + } else { + xc[ni] += k; + if (xc[ni] != BASE) break; + xc[ni--] = 0; + k = 1; + } + } + } + + // Remove trailing zeros. + for (i = xc.length; xc[--i] === 0; xc.pop()); + } + + // Overflow? Infinity. + if (x.e > MAX_EXP) { + x.c = x.e = null; + + // Underflow? Zero. + } else if (x.e < MIN_EXP) { + x.c = [x.e = 0]; + } + } + + return x; + } + + + function valueOf(n) { + var str, + e = n.e; + + if (e === null) return n.toString(); + + str = coeffToString(n.c); + + str = e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential(str, e) + : toFixedPoint(str, e, '0'); + + return n.s < 0 ? '-' + str : str; + } + + + // PROTOTYPE/INSTANCE METHODS + + + /* + * Return a new BigNumber whose value is the absolute value of this BigNumber. + */ + P.absoluteValue = P.abs = function () { + var x = new BigNumber(this); + if (x.s < 0) x.s = 1; + return x; + }; + + + /* + * Return + * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b), + * -1 if the value of this BigNumber is less than the value of BigNumber(y, b), + * 0 if they have the same value, + * or null if the value of either is NaN. + */ + P.comparedTo = function (y, b) { + return compare(this, new BigNumber(y, b)); + }; + + + /* + * If dp is undefined or null or true or false, return the number of decimal places of the + * value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN. + * + * Otherwise, if dp is a number, return a new BigNumber whose value is the value of this + * BigNumber rounded to a maximum of dp decimal places using rounding mode rm, or + * ROUNDING_MODE if rm is omitted. + * + * [dp] {number} Decimal places: integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}' + */ + P.decimalPlaces = P.dp = function (dp, rm) { + var c, n, v, + x = this; + + if (dp != null) { + intCheck(dp, 0, MAX); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); + + return round(new BigNumber(x), dp + x.e + 1, rm); + } + + if (!(c = x.c)) return null; + n = ((v = c.length - 1) - bitFloor(this.e / LOG_BASE)) * LOG_BASE; + + // Subtract the number of trailing zeros of the last number. + if (v = c[v]) for (; v % 10 == 0; v /= 10, n--); + if (n < 0) n = 0; + + return n; + }; + + + /* + * n / 0 = I + * n / N = N + * n / I = 0 + * 0 / n = 0 + * 0 / 0 = N + * 0 / N = N + * 0 / I = 0 + * N / n = N + * N / 0 = N + * N / N = N + * N / I = N + * I / n = I + * I / 0 = I + * I / N = N + * I / I = N + * + * Return a new BigNumber whose value is the value of this BigNumber divided by the value of + * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE. + */ + P.dividedBy = P.div = function (y, b) { + return div(this, new BigNumber(y, b), DECIMAL_PLACES, ROUNDING_MODE); + }; + + + /* + * Return a new BigNumber whose value is the integer part of dividing the value of this + * BigNumber by the value of BigNumber(y, b). + */ + P.dividedToIntegerBy = P.idiv = function (y, b) { + return div(this, new BigNumber(y, b), 0, 1); + }; + + + /* + * Return a BigNumber whose value is the value of this BigNumber exponentiated by n. + * + * If m is present, return the result modulo m. + * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE. + * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using ROUNDING_MODE. + * + * The modular power operation works efficiently when x, n, and m are integers, otherwise it + * is equivalent to calculating x.exponentiatedBy(n).modulo(m) with a POW_PRECISION of 0. + * + * n {number|string|BigNumber} The exponent. An integer. + * [m] {number|string|BigNumber} The modulus. + * + * '[BigNumber Error] Exponent not an integer: {n}' + */ + P.exponentiatedBy = P.pow = function (n, m) { + var half, isModExp, i, k, more, nIsBig, nIsNeg, nIsOdd, y, + x = this; + + n = new BigNumber(n); + + // Allow NaN and ±Infinity, but not other non-integers. + if (n.c && !n.isInteger()) { + throw Error + (bignumberError + 'Exponent not an integer: ' + valueOf(n)); + } + + if (m != null) m = new BigNumber(m); + + // Exponent of MAX_SAFE_INTEGER is 15. + nIsBig = n.e > 14; + + // If x is NaN, ±Infinity, ±0 or ±1, or n is ±Infinity, NaN or ±0. + if (!x.c || !x.c[0] || x.c[0] == 1 && !x.e && x.c.length == 1 || !n.c || !n.c[0]) { + + // The sign of the result of pow when x is negative depends on the evenness of n. + // If +n overflows to ±Infinity, the evenness of n would be not be known. + y = new BigNumber(Math.pow(+valueOf(x), nIsBig ? n.s * (2 - isOdd(n)) : +valueOf(n))); + return m ? y.mod(m) : y; + } + + nIsNeg = n.s < 0; + + if (m) { + + // x % m returns NaN if abs(m) is zero, or m is NaN. + if (m.c ? !m.c[0] : !m.s) return new BigNumber(NaN); + + isModExp = !nIsNeg && x.isInteger() && m.isInteger(); + + if (isModExp) x = x.mod(m); + + // Overflow to ±Infinity: >=2**1e10 or >=1.0000024**1e15. + // Underflow to ±0: <=0.79**1e10 or <=0.9999975**1e15. + } else if (n.e > 9 && (x.e > 0 || x.e < -1 || (x.e == 0 + // [1, 240000000] + ? x.c[0] > 1 || nIsBig && x.c[1] >= 24e7 + // [80000000000000] [99999750000000] + : x.c[0] < 8e13 || nIsBig && x.c[0] <= 9999975e7))) { + + // If x is negative and n is odd, k = -0, else k = 0. + k = x.s < 0 && isOdd(n) ? -0 : 0; + + // If x >= 1, k = ±Infinity. + if (x.e > -1) k = 1 / k; + + // If n is negative return ±0, else return ±Infinity. + return new BigNumber(nIsNeg ? 1 / k : k); + + } else if (POW_PRECISION) { + + // Truncating each coefficient array to a length of k after each multiplication + // equates to truncating significant digits to POW_PRECISION + [28, 41], + // i.e. there will be a minimum of 28 guard digits retained. + k = mathceil(POW_PRECISION / LOG_BASE + 2); + } + + if (nIsBig) { + half = new BigNumber(0.5); + if (nIsNeg) n.s = 1; + nIsOdd = isOdd(n); + } else { + i = Math.abs(+valueOf(n)); + nIsOdd = i % 2; + } + + y = new BigNumber(ONE); + + // Performs 54 loop iterations for n of 9007199254740991. + for (; ;) { + + if (nIsOdd) { + y = y.times(x); + if (!y.c) break; + + if (k) { + if (y.c.length > k) y.c.length = k; + } else if (isModExp) { + y = y.mod(m); //y = y.minus(div(y, m, 0, MODULO_MODE).times(m)); + } + } + + if (i) { + i = mathfloor(i / 2); + if (i === 0) break; + nIsOdd = i % 2; + } else { + n = n.times(half); + round(n, n.e + 1, 1); + + if (n.e > 14) { + nIsOdd = isOdd(n); + } else { + i = +valueOf(n); + if (i === 0) break; + nIsOdd = i % 2; + } + } + + x = x.times(x); + + if (k) { + if (x.c && x.c.length > k) x.c.length = k; + } else if (isModExp) { + x = x.mod(m); //x = x.minus(div(x, m, 0, MODULO_MODE).times(m)); + } + } + + if (isModExp) return y; + if (nIsNeg) y = ONE.div(y); + + return m ? y.mod(m) : k ? round(y, POW_PRECISION, ROUNDING_MODE, more) : y; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber rounded to an integer + * using rounding mode rm, or ROUNDING_MODE if rm is omitted. + * + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {rm}' + */ + P.integerValue = function (rm) { + var n = new BigNumber(this); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); + return round(n, n.e + 1, rm); + }; + + + /* + * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b), + * otherwise return false. + */ + P.isEqualTo = P.eq = function (y, b) { + return compare(this, new BigNumber(y, b)) === 0; + }; + + + /* + * Return true if the value of this BigNumber is a finite number, otherwise return false. + */ + P.isFinite = function () { + return !!this.c; + }; + + + /* + * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b), + * otherwise return false. + */ + P.isGreaterThan = P.gt = function (y, b) { + return compare(this, new BigNumber(y, b)) > 0; + }; + + + /* + * Return true if the value of this BigNumber is greater than or equal to the value of + * BigNumber(y, b), otherwise return false. + */ + P.isGreaterThanOrEqualTo = P.gte = function (y, b) { + return (b = compare(this, new BigNumber(y, b))) === 1 || b === 0; + + }; + + + /* + * Return true if the value of this BigNumber is an integer, otherwise return false. + */ + P.isInteger = function () { + return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2; + }; + + + /* + * Return true if the value of this BigNumber is less than the value of BigNumber(y, b), + * otherwise return false. + */ + P.isLessThan = P.lt = function (y, b) { + return compare(this, new BigNumber(y, b)) < 0; + }; + + + /* + * Return true if the value of this BigNumber is less than or equal to the value of + * BigNumber(y, b), otherwise return false. + */ + P.isLessThanOrEqualTo = P.lte = function (y, b) { + return (b = compare(this, new BigNumber(y, b))) === -1 || b === 0; + }; + + + /* + * Return true if the value of this BigNumber is NaN, otherwise return false. + */ + P.isNaN = function () { + return !this.s; + }; + + + /* + * Return true if the value of this BigNumber is negative, otherwise return false. + */ + P.isNegative = function () { + return this.s < 0; + }; + + + /* + * Return true if the value of this BigNumber is positive, otherwise return false. + */ + P.isPositive = function () { + return this.s > 0; + }; + + + /* + * Return true if the value of this BigNumber is 0 or -0, otherwise return false. + */ + P.isZero = function () { + return !!this.c && this.c[0] == 0; + }; + + + /* + * n - 0 = n + * n - N = N + * n - I = -I + * 0 - n = -n + * 0 - 0 = 0 + * 0 - N = N + * 0 - I = -I + * N - n = N + * N - 0 = N + * N - N = N + * N - I = N + * I - n = I + * I - 0 = I + * I - N = N + * I - I = N + * + * Return a new BigNumber whose value is the value of this BigNumber minus the value of + * BigNumber(y, b). + */ + P.minus = function (y, b) { + var i, j, t, xLTy, + x = this, + a = x.s; + + y = new BigNumber(y, b); + b = y.s; + + // Either NaN? + if (!a || !b) return new BigNumber(NaN); + + // Signs differ? + if (a != b) { + y.s = -b; + return x.plus(y); + } + + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; + + if (!xe || !ye) { + + // Either Infinity? + if (!xc || !yc) return xc ? (y.s = -b, y) : new BigNumber(yc ? x : NaN); + + // Either zero? + if (!xc[0] || !yc[0]) { + + // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. + return yc[0] ? (y.s = -b, y) : new BigNumber(xc[0] ? x : + + // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity + ROUNDING_MODE == 3 ? -0 : 0); + } + } + + xe = bitFloor(xe); + ye = bitFloor(ye); + xc = xc.slice(); + + // Determine which is the bigger number. + if (a = xe - ye) { + + if (xLTy = a < 0) { + a = -a; + t = xc; + } else { + ye = xe; + t = yc; + } + + t.reverse(); + + // Prepend zeros to equalise exponents. + for (b = a; b--; t.push(0)); + t.reverse(); + } else { + + // Exponents equal. Check digit by digit. + j = (xLTy = (a = xc.length) < (b = yc.length)) ? a : b; + + for (a = b = 0; b < j; b++) { + + if (xc[b] != yc[b]) { + xLTy = xc[b] < yc[b]; + break; + } + } + } + + // x < y? Point xc to the array of the bigger number. + if (xLTy) { + t = xc; + xc = yc; + yc = t; + y.s = -y.s; + } + + b = (j = yc.length) - (i = xc.length); + + // Append zeros to xc if shorter. + // No need to add zeros to yc if shorter as subtract only needs to start at yc.length. + if (b > 0) for (; b--; xc[i++] = 0); + b = BASE - 1; + + // Subtract yc from xc. + for (; j > a;) { + + if (xc[--j] < yc[j]) { + for (i = j; i && !xc[--i]; xc[i] = b); + --xc[i]; + xc[j] += BASE; + } + + xc[j] -= yc[j]; + } + + // Remove leading zeros and adjust exponent accordingly. + for (; xc[0] == 0; xc.splice(0, 1), --ye); + + // Zero? + if (!xc[0]) { + + // Following IEEE 754 (2008) 6.3, + // n - n = +0 but n - n = -0 when rounding towards -Infinity. + y.s = ROUNDING_MODE == 3 ? -1 : 1; + y.c = [y.e = 0]; + return y; + } + + // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity + // for finite x and y. + return normalise(y, xc, ye); + }; + + + /* + * n % 0 = N + * n % N = N + * n % I = n + * 0 % n = 0 + * -0 % n = -0 + * 0 % 0 = N + * 0 % N = N + * 0 % I = 0 + * N % n = N + * N % 0 = N + * N % N = N + * N % I = N + * I % n = N + * I % 0 = N + * I % N = N + * I % I = N + * + * Return a new BigNumber whose value is the value of this BigNumber modulo the value of + * BigNumber(y, b). The result depends on the value of MODULO_MODE. + */ + P.modulo = P.mod = function (y, b) { + var q, s, + x = this; + + y = new BigNumber(y, b); + + // Return NaN if x is Infinity or NaN, or y is NaN or zero. + if (!x.c || !y.s || y.c && !y.c[0]) { + return new BigNumber(NaN); + + // Return x if y is Infinity or x is zero. + } else if (!y.c || x.c && !x.c[0]) { + return new BigNumber(x); + } + + if (MODULO_MODE == 9) { + + // Euclidian division: q = sign(y) * floor(x / abs(y)) + // r = x - qy where 0 <= r < abs(y) + s = y.s; + y.s = 1; + q = div(x, y, 0, 3); + y.s = s; + q.s *= s; + } else { + q = div(x, y, 0, MODULO_MODE); + } + + y = x.minus(q.times(y)); + + // To match JavaScript %, ensure sign of zero is sign of dividend. + if (!y.c[0] && MODULO_MODE == 1) y.s = x.s; + + return y; + }; + + + /* + * n * 0 = 0 + * n * N = N + * n * I = I + * 0 * n = 0 + * 0 * 0 = 0 + * 0 * N = N + * 0 * I = N + * N * n = N + * N * 0 = N + * N * N = N + * N * I = N + * I * n = I + * I * 0 = N + * I * N = N + * I * I = I + * + * Return a new BigNumber whose value is the value of this BigNumber multiplied by the value + * of BigNumber(y, b). + */ + P.multipliedBy = P.times = function (y, b) { + var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc, + base, sqrtBase, + x = this, + xc = x.c, + yc = (y = new BigNumber(y, b)).c; + + // Either NaN, ±Infinity or ±0? + if (!xc || !yc || !xc[0] || !yc[0]) { + + // Return NaN if either is NaN, or one is 0 and the other is Infinity. + if (!x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) { + y.c = y.e = y.s = null; + } else { + y.s *= x.s; + + // Return ±Infinity if either is ±Infinity. + if (!xc || !yc) { + y.c = y.e = null; + + // Return ±0 if either is ±0. + } else { + y.c = [0]; + y.e = 0; + } + } + + return y; + } + + e = bitFloor(x.e / LOG_BASE) + bitFloor(y.e / LOG_BASE); + y.s *= x.s; + xcL = xc.length; + ycL = yc.length; + + // Ensure xc points to longer array and xcL to its length. + if (xcL < ycL) { + zc = xc; + xc = yc; + yc = zc; + i = xcL; + xcL = ycL; + ycL = i; + } + + // Initialise the result array with zeros. + for (i = xcL + ycL, zc = []; i--; zc.push(0)); + + base = BASE; + sqrtBase = SQRT_BASE; + + for (i = ycL; --i >= 0;) { + c = 0; + ylo = yc[i] % sqrtBase; + yhi = yc[i] / sqrtBase | 0; + + for (k = xcL, j = i + k; j > i;) { + xlo = xc[--k] % sqrtBase; + xhi = xc[k] / sqrtBase | 0; + m = yhi * xlo + xhi * ylo; + xlo = ylo * xlo + ((m % sqrtBase) * sqrtBase) + zc[j] + c; + c = (xlo / base | 0) + (m / sqrtBase | 0) + yhi * xhi; + zc[j--] = xlo % base; + } + + zc[j] = c; + } + + if (c) { + ++e; + } else { + zc.splice(0, 1); + } + + return normalise(y, zc, e); + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber negated, + * i.e. multiplied by -1. + */ + P.negated = function () { + var x = new BigNumber(this); + x.s = -x.s || null; + return x; + }; + + + /* + * n + 0 = n + * n + N = N + * n + I = I + * 0 + n = n + * 0 + 0 = 0 + * 0 + N = N + * 0 + I = I + * N + n = N + * N + 0 = N + * N + N = N + * N + I = N + * I + n = I + * I + 0 = I + * I + N = N + * I + I = I + * + * Return a new BigNumber whose value is the value of this BigNumber plus the value of + * BigNumber(y, b). + */ + P.plus = function (y, b) { + var t, + x = this, + a = x.s; + + y = new BigNumber(y, b); + b = y.s; + + // Either NaN? + if (!a || !b) return new BigNumber(NaN); + + // Signs differ? + if (a != b) { + y.s = -b; + return x.minus(y); + } + + var xe = x.e / LOG_BASE, + ye = y.e / LOG_BASE, + xc = x.c, + yc = y.c; + + if (!xe || !ye) { + + // Return ±Infinity if either ±Infinity. + if (!xc || !yc) return new BigNumber(a / 0); + + // Either zero? + // Return y if y is non-zero, x if x is non-zero, or zero if both are zero. + if (!xc[0] || !yc[0]) return yc[0] ? y : new BigNumber(xc[0] ? x : a * 0); + } + + xe = bitFloor(xe); + ye = bitFloor(ye); + xc = xc.slice(); + + // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts. + if (a = xe - ye) { + if (a > 0) { + ye = xe; + t = yc; + } else { + a = -a; + t = xc; + } + + t.reverse(); + for (; a--; t.push(0)); + t.reverse(); + } + + a = xc.length; + b = yc.length; + + // Point xc to the longer array, and b to the shorter length. + if (a - b < 0) { + t = yc; + yc = xc; + xc = t; + b = a; + } + + // Only start adding at yc.length - 1 as the further digits of xc can be ignored. + for (a = 0; b;) { + a = (xc[--b] = xc[b] + yc[b] + a) / BASE | 0; + xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE; + } + + if (a) { + xc = [a].concat(xc); + ++ye; + } + + // No need to check for zero, as +x + +y != 0 && -x + -y != 0 + // ye = MAX_EXP + 1 possible + return normalise(y, xc, ye); + }; + + + /* + * If sd is undefined or null or true or false, return the number of significant digits of + * the value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN. + * If sd is true include integer-part trailing zeros in the count. + * + * Otherwise, if sd is a number, return a new BigNumber whose value is the value of this + * BigNumber rounded to a maximum of sd significant digits using rounding mode rm, or + * ROUNDING_MODE if rm is omitted. + * + * sd {number|boolean} number: significant digits: integer, 1 to MAX inclusive. + * boolean: whether to count integer-part trailing zeros: true or false. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}' + */ + P.precision = P.sd = function (sd, rm) { + var c, n, v, + x = this; + + if (sd != null && sd !== !!sd) { + intCheck(sd, 1, MAX); + if (rm == null) rm = ROUNDING_MODE; + else intCheck(rm, 0, 8); + + return round(new BigNumber(x), sd, rm); + } + + if (!(c = x.c)) return null; + v = c.length - 1; + n = v * LOG_BASE + 1; + + if (v = c[v]) { + + // Subtract the number of trailing zeros of the last element. + for (; v % 10 == 0; v /= 10, n--); + + // Add the number of digits of the first element. + for (v = c[0]; v >= 10; v /= 10, n++); + } + + if (sd && x.e + 1 > n) n = x.e + 1; + + return n; + }; + + + /* + * Return a new BigNumber whose value is the value of this BigNumber shifted by k places + * (powers of 10). Shift to the right if n > 0, and to the left if n < 0. + * + * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {k}' + */ + P.shiftedBy = function (k) { + intCheck(k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER); + return this.times('1e' + k); + }; + + + /* + * sqrt(-n) = N + * sqrt(N) = N + * sqrt(-I) = N + * sqrt(I) = I + * sqrt(0) = 0 + * sqrt(-0) = -0 + * + * Return a new BigNumber whose value is the square root of the value of this BigNumber, + * rounded according to DECIMAL_PLACES and ROUNDING_MODE. + */ + P.squareRoot = P.sqrt = function () { + var m, n, r, rep, t, + x = this, + c = x.c, + s = x.s, + e = x.e, + dp = DECIMAL_PLACES + 4, + half = new BigNumber('0.5'); + + // Negative/NaN/Infinity/zero? + if (s !== 1 || !c || !c[0]) { + return new BigNumber(!s || s < 0 && (!c || c[0]) ? NaN : c ? x : 1 / 0); + } + + // Initial estimate. + s = Math.sqrt(+valueOf(x)); + + // Math.sqrt underflow/overflow? + // Pass x to Math.sqrt as integer, then adjust the exponent of the result. + if (s == 0 || s == 1 / 0) { + n = coeffToString(c); + if ((n.length + e) % 2 == 0) n += '0'; + s = Math.sqrt(+n); + e = bitFloor((e + 1) / 2) - (e < 0 || e % 2); + + if (s == 1 / 0) { + n = '5e' + e; + } else { + n = s.toExponential(); + n = n.slice(0, n.indexOf('e') + 1) + e; + } + + r = new BigNumber(n); + } else { + r = new BigNumber(s + ''); + } + + // Check for zero. + // r could be zero if MIN_EXP is changed after the this value was created. + // This would cause a division by zero (x/t) and hence Infinity below, which would cause + // coeffToString to throw. + if (r.c[0]) { + e = r.e; + s = e + dp; + if (s < 3) s = 0; + + // Newton-Raphson iteration. + for (; ;) { + t = r; + r = half.times(t.plus(div(x, t, dp, 1))); + + if (coeffToString(t.c).slice(0, s) === (n = coeffToString(r.c)).slice(0, s)) { + + // The exponent of r may here be one less than the final result exponent, + // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits + // are indexed correctly. + if (r.e < e) --s; + n = n.slice(s - 3, s + 1); + + // The 4th rounding digit may be in error by -1 so if the 4 rounding digits + // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the + // iteration. + if (n == '9999' || !rep && n == '4999') { + + // On the first iteration only, check to see if rounding up gives the + // exact result as the nines may infinitely repeat. + if (!rep) { + round(t, t.e + DECIMAL_PLACES + 2, 0); + + if (t.times(t).eq(x)) { + r = t; + break; + } + } + + dp += 4; + s += 4; + rep = 1; + } else { + + // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact + // result. If not, then there are further digits and m will be truthy. + if (!+n || !+n.slice(1) && n.charAt(0) == '5') { + + // Truncate to the first rounding digit. + round(r, r.e + DECIMAL_PLACES + 2, 1); + m = !r.times(r).eq(x); + } + + break; + } + } + } + } + + return round(r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m); + }; + + + /* + * Return a string representing the value of this BigNumber in exponential notation and + * rounded using ROUNDING_MODE to dp fixed decimal places. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}' + */ + P.toExponential = function (dp, rm) { + if (dp != null) { + intCheck(dp, 0, MAX); + dp++; + } + return format(this, dp, rm, 1); + }; + + + /* + * Return a string representing the value of this BigNumber in fixed-point notation rounding + * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted. + * + * Note: as with JavaScript's number type, (-0).toFixed(0) is '0', + * but e.g. (-0.00001).toFixed(0) is '-0'. + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}' + */ + P.toFixed = function (dp, rm) { + if (dp != null) { + intCheck(dp, 0, MAX); + dp = dp + this.e + 1; + } + return format(this, dp, rm); + }; + + + /* + * Return a string representing the value of this BigNumber in fixed-point notation rounded + * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties + * of the format or FORMAT object (see BigNumber.set). + * + * The formatting object may contain some or all of the properties shown below. + * + * FORMAT = { + * prefix: '', + * groupSize: 3, + * secondaryGroupSize: 0, + * groupSeparator: ',', + * decimalSeparator: '.', + * fractionGroupSize: 0, + * fractionGroupSeparator: '\xA0', // non-breaking space + * suffix: '' + * }; + * + * [dp] {number} Decimal places. Integer, 0 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * [format] {object} Formatting options. See FORMAT pbject above. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}' + * '[BigNumber Error] Argument not an object: {format}' + */ + P.toFormat = function (dp, rm, format) { + var str, + x = this; + + if (format == null) { + if (dp != null && rm && typeof rm == 'object') { + format = rm; + rm = null; + } else if (dp && typeof dp == 'object') { + format = dp; + dp = rm = null; + } else { + format = FORMAT; + } + } else if (typeof format != 'object') { + throw Error + (bignumberError + 'Argument not an object: ' + format); + } + + str = x.toFixed(dp, rm); + + if (x.c) { + var i, + arr = str.split('.'), + g1 = +format.groupSize, + g2 = +format.secondaryGroupSize, + groupSeparator = format.groupSeparator || '', + intPart = arr[0], + fractionPart = arr[1], + isNeg = x.s < 0, + intDigits = isNeg ? intPart.slice(1) : intPart, + len = intDigits.length; + + if (g2) { + i = g1; + g1 = g2; + g2 = i; + len -= i; + } + + if (g1 > 0 && len > 0) { + i = len % g1 || g1; + intPart = intDigits.substr(0, i); + for (; i < len; i += g1) intPart += groupSeparator + intDigits.substr(i, g1); + if (g2 > 0) intPart += groupSeparator + intDigits.slice(i); + if (isNeg) intPart = '-' + intPart; + } + + str = fractionPart + ? intPart + (format.decimalSeparator || '') + ((g2 = +format.fractionGroupSize) + ? fractionPart.replace(new RegExp('\\d{' + g2 + '}\\B', 'g'), + '$&' + (format.fractionGroupSeparator || '')) + : fractionPart) + : intPart; + } + + return (format.prefix || '') + str + (format.suffix || ''); + }; + + + /* + * Return an array of two BigNumbers representing the value of this BigNumber as a simple + * fraction with an integer numerator and an integer denominator. + * The denominator will be a positive non-zero value less than or equal to the specified + * maximum denominator. If a maximum denominator is not specified, the denominator will be + * the lowest value necessary to represent the number exactly. + * + * [md] {number|string|BigNumber} Integer >= 1, or Infinity. The maximum denominator. + * + * '[BigNumber Error] Argument {not an integer|out of range} : {md}' + */ + P.toFraction = function (md) { + var d, d0, d1, d2, e, exp, n, n0, n1, q, r, s, + x = this, + xc = x.c; + + if (md != null) { + n = new BigNumber(md); + + // Throw if md is less than one or is not an integer, unless it is Infinity. + if (!n.isInteger() && (n.c || n.s !== 1) || n.lt(ONE)) { + throw Error + (bignumberError + 'Argument ' + + (n.isInteger() ? 'out of range: ' : 'not an integer: ') + valueOf(n)); + } + } + + if (!xc) return new BigNumber(x); + + d = new BigNumber(ONE); + n1 = d0 = new BigNumber(ONE); + d1 = n0 = new BigNumber(ONE); + s = coeffToString(xc); + + // Determine initial denominator. + // d is a power of 10 and the minimum max denominator that specifies the value exactly. + e = d.e = s.length - x.e - 1; + d.c[0] = POWS_TEN[(exp = e % LOG_BASE) < 0 ? LOG_BASE + exp : exp]; + md = !md || n.comparedTo(d) > 0 ? (e > 0 ? d : n1) : n; + + exp = MAX_EXP; + MAX_EXP = 1 / 0; + n = new BigNumber(s); + + // n0 = d1 = 0 + n0.c[0] = 0; + + for (; ;) { + q = div(n, d, 0, 1); + d2 = d0.plus(q.times(d1)); + if (d2.comparedTo(md) == 1) break; + d0 = d1; + d1 = d2; + n1 = n0.plus(q.times(d2 = n1)); + n0 = d2; + d = n.minus(q.times(d2 = d)); + n = d2; + } + + d2 = div(md.minus(d0), d1, 0, 1); + n0 = n0.plus(d2.times(n1)); + d0 = d0.plus(d2.times(d1)); + n0.s = n1.s = x.s; + e = e * 2; + + // Determine which fraction is closer to x, n0/d0 or n1/d1 + r = div(n1, d1, e, ROUNDING_MODE).minus(x).abs().comparedTo( + div(n0, d0, e, ROUNDING_MODE).minus(x).abs()) < 1 ? [n1, d1] : [n0, d0]; + + MAX_EXP = exp; + + return r; + }; + + + /* + * Return the value of this BigNumber converted to a number primitive. + */ + P.toNumber = function () { + return +valueOf(this); + }; + + + /* + * Return a string representing the value of this BigNumber rounded to sd significant digits + * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits + * necessary to represent the integer part of the value in fixed-point notation, then use + * exponential notation. + * + * [sd] {number} Significant digits. Integer, 1 to MAX inclusive. + * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive. + * + * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}' + */ + P.toPrecision = function (sd, rm) { + if (sd != null) intCheck(sd, 1, MAX); + return format(this, sd, rm, 2); + }; + + + /* + * Return a string representing the value of this BigNumber in base b, or base 10 if b is + * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and + * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent + * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than + * TO_EXP_NEG, return exponential notation. + * + * [b] {number} Integer, 2 to ALPHABET.length inclusive. + * + * '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}' + */ + P.toString = function (b) { + var str, + n = this, + s = n.s, + e = n.e; + + // Infinity or NaN? + if (e === null) { + if (s) { + str = 'Infinity'; + if (s < 0) str = '-' + str; + } else { + str = 'NaN'; + } + } else { + if (b == null) { + str = e <= TO_EXP_NEG || e >= TO_EXP_POS + ? toExponential(coeffToString(n.c), e) + : toFixedPoint(coeffToString(n.c), e, '0'); + } else if (b === 10 && alphabetHasNormalDecimalDigits) { + n = round(new BigNumber(n), DECIMAL_PLACES + e + 1, ROUNDING_MODE); + str = toFixedPoint(coeffToString(n.c), n.e, '0'); + } else { + intCheck(b, 2, ALPHABET.length, 'Base'); + str = convertBase(toFixedPoint(coeffToString(n.c), e, '0'), 10, b, s, true); + } + + if (s < 0 && n.c[0]) str = '-' + str; + } + + return str; + }; + + + /* + * Return as toString, but do not accept a base argument, and include the minus sign for + * negative zero. + */ + P.valueOf = P.toJSON = function () { + return valueOf(this); + }; + + + P._isBigNumber = true; + + if (configObject != null) BigNumber.set(configObject); + + return BigNumber; + } + + + // PRIVATE HELPER FUNCTIONS + + // These functions don't need access to variables, + // e.g. DECIMAL_PLACES, in the scope of the `clone` function above. + + + function bitFloor(n) { + var i = n | 0; + return n > 0 || n === i ? i : i - 1; + } + + + // Return a coefficient array as a string of base 10 digits. + function coeffToString(a) { + var s, z, + i = 1, + j = a.length, + r = a[0] + ''; + + for (; i < j;) { + s = a[i++] + ''; + z = LOG_BASE - s.length; + for (; z--; s = '0' + s); + r += s; + } + + // Determine trailing zeros. + for (j = r.length; r.charCodeAt(--j) === 48;); + + return r.slice(0, j + 1 || 1); + } + + + // Compare the value of BigNumbers x and y. + function compare(x, y) { + var a, b, + xc = x.c, + yc = y.c, + i = x.s, + j = y.s, + k = x.e, + l = y.e; + + // Either NaN? + if (!i || !j) return null; + + a = xc && !xc[0]; + b = yc && !yc[0]; + + // Either zero? + if (a || b) return a ? b ? 0 : -j : i; + + // Signs differ? + if (i != j) return i; + + a = i < 0; + b = k == l; + + // Either Infinity? + if (!xc || !yc) return b ? 0 : !xc ^ a ? 1 : -1; + + // Compare exponents. + if (!b) return k > l ^ a ? 1 : -1; + + j = (k = xc.length) < (l = yc.length) ? k : l; + + // Compare digit by digit. + for (i = 0; i < j; i++) if (xc[i] != yc[i]) return xc[i] > yc[i] ^ a ? 1 : -1; + + // Compare lengths. + return k == l ? 0 : k > l ^ a ? 1 : -1; + } + + + /* + * Check that n is a primitive number, an integer, and in range, otherwise throw. + */ + function intCheck(n, min, max, name) { + if (n < min || n > max || n !== mathfloor(n)) { + throw Error + (bignumberError + (name || 'Argument') + (typeof n == 'number' + ? n < min || n > max ? ' out of range: ' : ' not an integer: ' + : ' not a primitive number: ') + String(n)); + } + } + + + // Assumes finite n. + function isOdd(n) { + var k = n.c.length - 1; + return bitFloor(n.e / LOG_BASE) == k && n.c[k] % 2 != 0; + } + + + function toExponential(str, e) { + return (str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str) + + (e < 0 ? 'e' : 'e+') + e; + } + + + function toFixedPoint(str, e, z) { + var len, zs; + + // Negative exponent? + if (e < 0) { + + // Prepend zeros. + for (zs = z + '.'; ++e; zs += z); + str = zs + str; + + // Positive exponent + } else { + len = str.length; + + // Append zeros. + if (++e > len) { + for (zs = z, e -= len; --e; zs += z); + str += zs; + } else if (e < len) { + str = str.slice(0, e) + '.' + str.slice(e); + } + } + + return str; + } + + + // EXPORT + + + BigNumber = clone(); + BigNumber['default'] = BigNumber.BigNumber = BigNumber; + + // AMD. + if (typeof define == 'function' && define.amd) { + define(function () { return BigNumber; }); + + // Node.js and other environments that support module.exports. + } else if ( true && module.exports) { + module.exports = BigNumber; + + // Browser. + } else { + if (!globalObject) { + globalObject = typeof self != 'undefined' && self ? self : window; + } + + globalObject.BigNumber = BigNumber; + } +})(this); -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -exports["default"] = _default; /***/ }), -/***/ 807: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 9239: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; +/*jshint node:true */ +var Buffer = (__nccwpck_require__(14300).Buffer); // browserify +var SlowBuffer = (__nccwpck_require__(14300).SlowBuffer); -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = rng; +module.exports = bufferEq; -var _crypto = _interopRequireDefault(__nccwpck_require__(113)); +function bufferEq(a, b) { -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + // shortcutting on type is necessary for correctness + if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { + return false; + } -const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate + // buffer sizes should be well-known information, so despite this + // shortcutting, it doesn't leak any information about the *contents* of the + // buffers. + if (a.length !== b.length) { + return false; + } -let poolPtr = rnds8Pool.length; + var c = 0; + for (var i = 0; i < a.length; i++) { + /*jshint bitwise:false */ + c |= a[i] ^ b[i]; // XOR + } + return c === 0; +} -function rng() { - if (poolPtr > rnds8Pool.length - 16) { - _crypto.default.randomFillSync(rnds8Pool); +bufferEq.install = function() { + Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) { + return bufferEq(this, that); + }; +}; - poolPtr = 0; - } +var origBufEqual = Buffer.prototype.equal; +var origSlowBufEqual = SlowBuffer.prototype.equal; +bufferEq.restore = function() { + Buffer.prototype.equal = origBufEqual; + SlowBuffer.prototype.equal = origSlowBufEqual; +}; - return rnds8Pool.slice(poolPtr, poolPtr += 16); -} /***/ }), -/***/ 274: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 28803: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; - -var _crypto = _interopRequireDefault(__nccwpck_require__(113)); +var GetIntrinsic = __nccwpck_require__(74538); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var callBind = __nccwpck_require__(62977); -function sha1(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); - return _crypto.default.createHash('sha1').update(bytes).digest(); -} +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; -var _default = sha1; -exports["default"] = _default; /***/ }), -/***/ 950: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +/***/ 62977: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true +var bind = __nccwpck_require__(88334); +var GetIntrinsic = __nccwpck_require__(74538); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; + +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} + + +/***/ }), + +/***/ 28222: +/***/ ((module, exports, __nccwpck_require__) => { + +/* eslint-env browser */ + +/** + * This is the web browser implementation of `debug()`. + */ + +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); +exports.destroy = (() => { + let warned = false; + + return () => { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; +})(); + +/** + * Colors. + */ + +exports.colors = [ + '#0000CC', + '#0000FF', + '#0033CC', + '#0033FF', + '#0066CC', + '#0066FF', + '#0099CC', + '#0099FF', + '#00CC00', + '#00CC33', + '#00CC66', + '#00CC99', + '#00CCCC', + '#00CCFF', + '#3300CC', + '#3300FF', + '#3333CC', + '#3333FF', + '#3366CC', + '#3366FF', + '#3399CC', + '#3399FF', + '#33CC00', + '#33CC33', + '#33CC66', + '#33CC99', + '#33CCCC', + '#33CCFF', + '#6600CC', + '#6600FF', + '#6633CC', + '#6633FF', + '#66CC00', + '#66CC33', + '#9900CC', + '#9900FF', + '#9933CC', + '#9933FF', + '#99CC00', + '#99CC33', + '#CC0000', + '#CC0033', + '#CC0066', + '#CC0099', + '#CC00CC', + '#CC00FF', + '#CC3300', + '#CC3333', + '#CC3366', + '#CC3399', + '#CC33CC', + '#CC33FF', + '#CC6600', + '#CC6633', + '#CC9900', + '#CC9933', + '#CCCC00', + '#CCCC33', + '#FF0000', + '#FF0033', + '#FF0066', + '#FF0099', + '#FF00CC', + '#FF00FF', + '#FF3300', + '#FF3333', + '#FF3366', + '#FF3399', + '#FF33CC', + '#FF33FF', + '#FF6600', + '#FF6633', + '#FF9900', + '#FF9933', + '#FFCC00', + '#FFCC33' +]; + +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } + + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } + + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +} + +/** + * Colorize log arguments if enabled. + * + * @api public + */ + +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); +} + +/** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ +exports.log = console.debug || console.log || (() => {}); + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug'); + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; +} + +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +module.exports = __nccwpck_require__(46243)(exports); + +const {formatters} = module.exports; + +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; + + +/***/ }), + +/***/ 46243: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + + +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = __nccwpck_require__(80900); + createDebug.destroy = destroy; + + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); + + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; + + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + let enableOverride = null; + let namespacesCache; + let enabledCache; + + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } + + const self = debug; + + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } + + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); + + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); + + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. + + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: () => { + if (enableOverride !== null) { + return enableOverride; + } + if (namespacesCache !== createDebug.namespaces) { + namespacesCache = createDebug.namespaces; + enabledCache = createDebug.enabled(namespace); + } + + return enabledCache; + }, + set: v => { + enableOverride = v; + } + }); + + // Env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + return debug; + } + + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.namespaces = namespaces; + + createDebug.names = []; + createDebug.skips = []; + + let i; + const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + const len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + } + + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names.map(toNamespace), + ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + let i; + let len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + function toNamespace(regexp) { + return regexp.toString() + .substring(2, regexp.toString().length - 2) + .replace(/\.\*\?$/, '*'); + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } + + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + + createDebug.enable(createDebug.load()); + + return createDebug; +} + +module.exports = setup; + + +/***/ }), + +/***/ 38237: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Detect Electron renderer / nwjs process, which is node, but we should + * treat as a browser. + */ + +if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { + module.exports = __nccwpck_require__(28222); +} else { + module.exports = __nccwpck_require__(35332); +} + + +/***/ }), + +/***/ 35332: +/***/ ((module, exports, __nccwpck_require__) => { + +/** + * Module dependencies. + */ + +const tty = __nccwpck_require__(76224); +const util = __nccwpck_require__(73837); + +/** + * This is the Node.js implementation of `debug()`. + */ + +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.destroy = util.deprecate( + () => {}, + 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' +); + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = __nccwpck_require__(59318); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. +} + +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ + +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); + + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } + + obj[prop] = val; + return obj; +}, {}); + +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); +} + +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ + +function formatArgs(args) { + const {namespace: name, useColors} = this; + + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; + + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} + +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} + +/** + * Invokes `util.format()` with the specified arguments and writes to stderr. + */ + +function log(...args) { + return process.stderr.write(util.format(...args) + '\n'); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + +function load() { + return process.env.DEBUG; +} + +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ + +function init(debug) { + debug.inspectOpts = {}; + + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} + +module.exports = __nccwpck_require__(46243)(exports); + +const {formatters} = module.exports; + +/** + * Map %o to `util.inspect()`, all on a single line. + */ + +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .split('\n') + .map(str => str.trim()) + .join(' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; + + +/***/ }), + +/***/ 82042: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const isObj = __nccwpck_require__(51389); + +const disallowedKeys = [ + '__proto__', + 'prototype', + 'constructor' +]; + +const isValidPath = pathSegments => !pathSegments.some(segment => disallowedKeys.includes(segment)); + +function getPathSegments(path) { + const pathArray = path.split('.'); + const parts = []; + + for (let i = 0; i < pathArray.length; i++) { + let p = pathArray[i]; + + while (p[p.length - 1] === '\\' && pathArray[i + 1] !== undefined) { + p = p.slice(0, -1) + '.'; + p += pathArray[++i]; + } + + parts.push(p); + } + + if (!isValidPath(parts)) { + return []; + } + + return parts; +} + +module.exports = { + get(object, path, value) { + if (!isObj(object) || typeof path !== 'string') { + return value === undefined ? object : value; + } + + const pathArray = getPathSegments(path); + if (pathArray.length === 0) { + return; + } + + for (let i = 0; i < pathArray.length; i++) { + if (!Object.prototype.propertyIsEnumerable.call(object, pathArray[i])) { + return value; + } + + object = object[pathArray[i]]; + + if (object === undefined || object === null) { + // `object` is either `undefined` or `null` so we want to stop the loop, and + // if this is not the last bit of the path, and + // if it did't return `undefined` + // it would return `null` if `object` is `null` + // but we want `get({foo: null}, 'foo.bar')` to equal `undefined`, or the supplied value, not `null` + if (i !== pathArray.length - 1) { + return value; + } + + break; + } + } + + return object; + }, + + set(object, path, value) { + if (!isObj(object) || typeof path !== 'string') { + return object; + } + + const root = object; + const pathArray = getPathSegments(path); + + for (let i = 0; i < pathArray.length; i++) { + const p = pathArray[i]; + + if (!isObj(object[p])) { + object[p] = {}; + } + + if (i === pathArray.length - 1) { + object[p] = value; + } + + object = object[p]; + } + + return root; + }, + + delete(object, path) { + if (!isObj(object) || typeof path !== 'string') { + return false; + } + + const pathArray = getPathSegments(path); + + for (let i = 0; i < pathArray.length; i++) { + const p = pathArray[i]; + + if (i === pathArray.length - 1) { + delete object[p]; + return true; + } + + object = object[p]; + + if (!isObj(object)) { + return false; + } + } + }, + + has(object, path) { + if (!isObj(object) || typeof path !== 'string') { + return false; + } + + const pathArray = getPathSegments(path); + if (pathArray.length === 0) { + return false; + } + + // eslint-disable-next-line unicorn/no-for-loop + for (let i = 0; i < pathArray.length; i++) { + if (isObj(object)) { + if (!(pathArray[i] in object)) { + return false; + } + + object = object[pathArray[i]]; + } else { + return false; + } + } + + return true; + } +}; + + +/***/ }), + +/***/ 11728: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var Buffer = (__nccwpck_require__(21867).Buffer); + +var getParamBytesForAlg = __nccwpck_require__(30528); + +var MAX_OCTET = 0x80, + CLASS_UNIVERSAL = 0, + PRIMITIVE_BIT = 0x20, + TAG_SEQ = 0x10, + TAG_INT = 0x02, + ENCODED_TAG_SEQ = (TAG_SEQ | PRIMITIVE_BIT) | (CLASS_UNIVERSAL << 6), + ENCODED_TAG_INT = TAG_INT | (CLASS_UNIVERSAL << 6); + +function base64Url(base64) { + return base64 + .replace(/=/g, '') + .replace(/\+/g, '-') + .replace(/\//g, '_'); +} + +function signatureAsBuffer(signature) { + if (Buffer.isBuffer(signature)) { + return signature; + } else if ('string' === typeof signature) { + return Buffer.from(signature, 'base64'); + } + + throw new TypeError('ECDSA signature must be a Base64 string or a Buffer'); +} + +function derToJose(signature, alg) { + signature = signatureAsBuffer(signature); + var paramBytes = getParamBytesForAlg(alg); + + // the DER encoded param should at most be the param size, plus a padding + // zero, since due to being a signed integer + var maxEncodedParamLength = paramBytes + 1; + + var inputLength = signature.length; + + var offset = 0; + if (signature[offset++] !== ENCODED_TAG_SEQ) { + throw new Error('Could not find expected "seq"'); + } + + var seqLength = signature[offset++]; + if (seqLength === (MAX_OCTET | 1)) { + seqLength = signature[offset++]; + } + + if (inputLength - offset < seqLength) { + throw new Error('"seq" specified length of "' + seqLength + '", only "' + (inputLength - offset) + '" remaining'); + } + + if (signature[offset++] !== ENCODED_TAG_INT) { + throw new Error('Could not find expected "int" for "r"'); + } + + var rLength = signature[offset++]; + + if (inputLength - offset - 2 < rLength) { + throw new Error('"r" specified length of "' + rLength + '", only "' + (inputLength - offset - 2) + '" available'); + } + + if (maxEncodedParamLength < rLength) { + throw new Error('"r" specified length of "' + rLength + '", max of "' + maxEncodedParamLength + '" is acceptable'); + } + + var rOffset = offset; + offset += rLength; + + if (signature[offset++] !== ENCODED_TAG_INT) { + throw new Error('Could not find expected "int" for "s"'); + } + + var sLength = signature[offset++]; + + if (inputLength - offset !== sLength) { + throw new Error('"s" specified length of "' + sLength + '", expected "' + (inputLength - offset) + '"'); + } + + if (maxEncodedParamLength < sLength) { + throw new Error('"s" specified length of "' + sLength + '", max of "' + maxEncodedParamLength + '" is acceptable'); + } + + var sOffset = offset; + offset += sLength; + + if (offset !== inputLength) { + throw new Error('Expected to consume entire buffer, but "' + (inputLength - offset) + '" bytes remain'); + } + + var rPadding = paramBytes - rLength, + sPadding = paramBytes - sLength; + + var dst = Buffer.allocUnsafe(rPadding + rLength + sPadding + sLength); + + for (offset = 0; offset < rPadding; ++offset) { + dst[offset] = 0; + } + signature.copy(dst, offset, rOffset + Math.max(-rPadding, 0), rOffset + rLength); + + offset = paramBytes; + + for (var o = offset; offset < o + sPadding; ++offset) { + dst[offset] = 0; + } + signature.copy(dst, offset, sOffset + Math.max(-sPadding, 0), sOffset + sLength); + + dst = dst.toString('base64'); + dst = base64Url(dst); + + return dst; +} + +function countPadding(buf, start, stop) { + var padding = 0; + while (start + padding < stop && buf[start + padding] === 0) { + ++padding; + } + + var needsSign = buf[start + padding] >= MAX_OCTET; + if (needsSign) { + --padding; + } + + return padding; +} + +function joseToDer(signature, alg) { + signature = signatureAsBuffer(signature); + var paramBytes = getParamBytesForAlg(alg); + + var signatureBytes = signature.length; + if (signatureBytes !== paramBytes * 2) { + throw new TypeError('"' + alg + '" signatures must be "' + paramBytes * 2 + '" bytes, saw "' + signatureBytes + '"'); + } + + var rPadding = countPadding(signature, 0, paramBytes); + var sPadding = countPadding(signature, paramBytes, signature.length); + var rLength = paramBytes - rPadding; + var sLength = paramBytes - sPadding; + + var rsBytes = 1 + 1 + rLength + 1 + 1 + sLength; + + var shortLength = rsBytes < MAX_OCTET; + + var dst = Buffer.allocUnsafe((shortLength ? 2 : 3) + rsBytes); + + var offset = 0; + dst[offset++] = ENCODED_TAG_SEQ; + if (shortLength) { + // Bit 8 has value "0" + // bits 7-1 give the length. + dst[offset++] = rsBytes; + } else { + // Bit 8 of first octet has value "1" + // bits 7-1 give the number of additional length octets. + dst[offset++] = MAX_OCTET | 1; + // length, base 256 + dst[offset++] = rsBytes & 0xff; + } + dst[offset++] = ENCODED_TAG_INT; + dst[offset++] = rLength; + if (rPadding < 0) { + dst[offset++] = 0; + offset += signature.copy(dst, offset, 0, paramBytes); + } else { + offset += signature.copy(dst, offset, rPadding, paramBytes); + } + dst[offset++] = ENCODED_TAG_INT; + dst[offset++] = sLength; + if (sPadding < 0) { + dst[offset++] = 0; + signature.copy(dst, offset, paramBytes); + } else { + signature.copy(dst, offset, paramBytes + sPadding); + } + + return dst; +} + +module.exports = { + derToJose: derToJose, + joseToDer: joseToDer +}; + + +/***/ }), + +/***/ 30528: +/***/ ((module) => { + +"use strict"; + + +function getParamSize(keySize) { + var result = ((keySize / 8) | 0) + (keySize % 8 === 0 ? 0 : 1); + return result; +} + +var paramBytesForAlg = { + ES256: getParamSize(256), + ES384: getParamSize(384), + ES512: getParamSize(521) +}; + +function getParamBytesForAlg(alg) { + var paramBytes = paramBytesForAlg[alg]; + if (paramBytes) { + return paramBytes; + } + + throw new Error('Unknown algorithm "' + alg + '"'); +} + +module.exports = getParamBytesForAlg; + + +/***/ }), + +/***/ 38171: +/***/ ((module) => { + +"use strict"; + + +var hasOwn = Object.prototype.hasOwnProperty; +var toStr = Object.prototype.toString; +var defineProperty = Object.defineProperty; +var gOPD = Object.getOwnPropertyDescriptor; + +var isArray = function isArray(arr) { + if (typeof Array.isArray === 'function') { + return Array.isArray(arr); + } + + return toStr.call(arr) === '[object Array]'; +}; + +var isPlainObject = function isPlainObject(obj) { + if (!obj || toStr.call(obj) !== '[object Object]') { + return false; + } + + var hasOwnConstructor = hasOwn.call(obj, 'constructor'); + var hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf'); + // Not own constructor property must be Object + if (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) { + return false; + } + + // Own properties are enumerated firstly, so to speed up, + // if last one is own, then all properties are own. + var key; + for (key in obj) { /**/ } + + return typeof key === 'undefined' || hasOwn.call(obj, key); +}; + +// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target +var setProperty = function setProperty(target, options) { + if (defineProperty && options.name === '__proto__') { + defineProperty(target, options.name, { + enumerable: true, + configurable: true, + value: options.newValue, + writable: true + }); + } else { + target[options.name] = options.newValue; + } +}; + +// Return undefined instead of __proto__ if '__proto__' is not an own property +var getProperty = function getProperty(obj, name) { + if (name === '__proto__') { + if (!hasOwn.call(obj, name)) { + return void 0; + } else if (gOPD) { + // In early versions of node, obj['__proto__'] is buggy when obj has + // __proto__ as an own property. Object.getOwnPropertyDescriptor() works. + return gOPD(obj, name).value; + } + } + + return obj[name]; +}; + +module.exports = function extend() { + var options, name, src, copy, copyIsArray, clone; + var target = arguments[0]; + var i = 1; + var length = arguments.length; + var deep = false; + + // Handle a deep copy situation + if (typeof target === 'boolean') { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + if (target == null || (typeof target !== 'object' && typeof target !== 'function')) { + target = {}; + } + + for (; i < length; ++i) { + options = arguments[i]; + // Only deal with non-null/undefined values + if (options != null) { + // Extend the base object + for (name in options) { + src = getProperty(target, name); + copy = getProperty(options, name); + + // Prevent never-ending loop + if (target !== copy) { + // Recurse if we're merging plain objects or arrays + if (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) { + if (copyIsArray) { + copyIsArray = false; + clone = src && isArray(src) ? src : []; + } else { + clone = src && isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + setProperty(target, { name: name, newValue: extend(deep, clone, copy) }); + + // Don't bring in undefined values + } else if (typeof copy !== 'undefined') { + setProperty(target, { name: name, newValue: copy }); + } + } + } + } + } + + // Return the modified object + return target; +}; + + +/***/ }), + +/***/ 21917: +/***/ (function() { + +(function(scope) {'use strict'; +function B(r,e){var f;return r instanceof Buffer?f=r:f=Buffer.from(r.buffer,r.byteOffset,r.byteLength),f.toString(e)}var w=function(r){return Buffer.from(r)};function h(r){for(var e=0,f=Math.min(256*256,r.length+1),n=new Uint16Array(f),i=[],o=0;;){var t=e=f-1){var s=n.subarray(0,o),m=s;if(i.push(String.fromCharCode.apply(null,m)),!t)return i.join("");r=r.subarray(e),e=0,o=0}var a=r[e++];if((a&128)===0)n[o++]=a;else if((a&224)===192){var d=r[e++]&63;n[o++]=(a&31)<<6|d}else if((a&240)===224){var d=r[e++]&63,l=r[e++]&63;n[o++]=(a&31)<<12|d<<6|l}else if((a&248)===240){var d=r[e++]&63,l=r[e++]&63,R=r[e++]&63,c=(a&7)<<18|d<<12|l<<6|R;c>65535&&(c-=65536,n[o++]=c>>>10&1023|55296,c=56320|c&1023),n[o++]=c}}}function F(r){for(var e=0,f=r.length,n=0,i=Math.max(32,f+(f>>>1)+7),o=new Uint8Array(i>>>3<<3);e=55296&&t<=56319){if(e=55296&&t<=56319)continue}if(n+4>o.length){i+=8,i*=1+e/r.length*2,i=i>>>3<<3;var m=new Uint8Array(i);m.set(o),o=m}if((t&4294967168)===0){o[n++]=t;continue}else if((t&4294965248)===0)o[n++]=t>>>6&31|192;else if((t&4294901760)===0)o[n++]=t>>>12&15|224,o[n++]=t>>>6&63|128;else if((t&4292870144)===0)o[n++]=t>>>18&7|240,o[n++]=t>>>12&63|128,o[n++]=t>>>6&63|128;else continue;o[n++]=t&63|128}return o.slice?o.slice(0,n):o.subarray(0,n)}var u="Failed to ",p=function(r,e,f){if(r)throw new Error("".concat(u).concat(e,": the '").concat(f,"' option is unsupported."))};var x=typeof Buffer=="function"&&Buffer.from;var A=x?w:F;function v(){this.encoding="utf-8"}v.prototype.encode=function(r,e){return p(e&&e.stream,"encode","stream"),A(r)};function U(r){var e;try{var f=new Blob([r],{type:"text/plain;charset=UTF-8"});e=URL.createObjectURL(f);var n=new XMLHttpRequest;return n.open("GET",e,!1),n.send(),n.responseText}finally{e&&URL.revokeObjectURL(e)}}var O=!x&&typeof Blob=="function"&&typeof URL=="function"&&typeof URL.createObjectURL=="function",S=["utf-8","utf8","unicode-1-1-utf-8"],T=h;x?T=B:O&&(T=function(r){try{return U(r)}catch(e){return h(r)}});var y="construct 'TextDecoder'",E="".concat(u," ").concat(y,": the ");function g(r,e){p(e&&e.fatal,y,"fatal"),r=r||"utf-8";var f;if(x?f=Buffer.isEncoding(r):f=S.indexOf(r.toLowerCase())!==-1,!f)throw new RangeError("".concat(E," encoding label provided ('").concat(r,"') is invalid."));this.encoding=r,this.fatal=!1,this.ignoreBOM=!1}g.prototype.decode=function(r,e){p(e&&e.stream,"decode","stream");var f;return r instanceof Uint8Array?f=r:r.buffer instanceof ArrayBuffer?f=new Uint8Array(r.buffer):f=new Uint8Array(r),T(f,this.encoding)};scope.TextEncoder=scope.TextEncoder||v;scope.TextDecoder=scope.TextDecoder||g; +}(typeof window !== 'undefined' ? window : (typeof global !== 'undefined' ? global : this))); + + +/***/ }), + +/***/ 19320: +/***/ ((module) => { + +"use strict"; + + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; + + +/***/ }), + +/***/ 88334: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var implementation = __nccwpck_require__(19320); + +module.exports = Function.prototype.bind || implementation; + + +/***/ }), + +/***/ 66129: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2018 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +// tslint:disable no-any +class GaxiosError extends Error { + constructor(message, options, response) { + super(message); + this.response = response; + this.config = options; + this.code = response.status.toString(); + } +} +exports.GaxiosError = GaxiosError; +//# sourceMappingURL=common.js.map + +/***/ }), + +/***/ 28133: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// Copyright 2018 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const extend_1 = __importDefault(__nccwpck_require__(38171)); +const node_fetch_1 = __importDefault(__nccwpck_require__(80467)); +const querystring_1 = __importDefault(__nccwpck_require__(63477)); +const is_stream_1 = __importDefault(__nccwpck_require__(41554)); +const url_1 = __importDefault(__nccwpck_require__(57310)); +const common_1 = __nccwpck_require__(66129); +const retry_1 = __nccwpck_require__(31052); +// tslint:disable no-any +const URL = hasURL() ? window.URL : url_1.default.URL; +const fetch = hasFetch() ? window.fetch : node_fetch_1.default; +function hasWindow() { + return typeof window !== 'undefined' && !!window; +} +function hasURL() { + return hasWindow() && !!window.URL; +} +function hasFetch() { + return hasWindow() && !!window.fetch; +} +// tslint:disable-next-line variable-name +let HttpsProxyAgent; +// Figure out if we should be using a proxy. Only if it's required, load +// the https-proxy-agent module as it adds startup cost. +function loadProxy() { + const proxy = process.env.HTTPS_PROXY || + process.env.https_proxy || + process.env.HTTP_PROXY || + process.env.http_proxy; + if (proxy) { + HttpsProxyAgent = __nccwpck_require__(77219); + } + return proxy; +} +loadProxy(); +class Gaxios { + /** + * The Gaxios class is responsible for making HTTP requests. + * @param defaults The default set of options to be used for this instance. + */ + constructor(defaults) { + this.agentCache = new Map(); + this.defaults = defaults || {}; + } + /** + * Perform an HTTP request with the given options. + * @param opts Set of HTTP options that will be used for this HTTP request. + */ + async request(opts = {}) { + opts = this.validateOpts(opts); + return this._request(opts); + } + /** + * Internal, retryable version of the `request` method. + * @param opts Set of HTTP options that will be used for this HTTP request. + */ + async _request(opts = {}) { + try { + let translatedResponse; + if (opts.adapter) { + translatedResponse = await opts.adapter(opts); + } + else { + const res = await fetch(opts.url, opts); + const data = await this.getResponseData(opts, res); + translatedResponse = this.translateResponse(opts, res, data); + } + if (!opts.validateStatus(translatedResponse.status)) { + throw new common_1.GaxiosError(`Request failed with status code ${translatedResponse.status}`, opts, translatedResponse); + } + return translatedResponse; + } + catch (e) { + const err = e; + err.config = opts; + const { shouldRetry, config } = await retry_1.getRetryConfig(e); + if (shouldRetry && config) { + err.config.retryConfig.currentRetryAttempt = config.retryConfig.currentRetryAttempt; + return this._request(err.config); + } + throw err; + } + } + async getResponseData(opts, res) { + switch (opts.responseType) { + case 'stream': + return res.body; + case 'json': + let data = await res.text(); + try { + data = JSON.parse(data); + } + catch (e) { } + return data; + case 'arraybuffer': + return res.arrayBuffer(); + case 'blob': + return res.blob(); + default: + return res.text(); + } + } + /** + * Validates the options, and merges them with defaults. + * @param opts The original options passed from the client. + */ + validateOpts(options) { + const opts = extend_1.default(true, {}, this.defaults, options); + if (!opts.url) { + throw new Error('URL is required.'); + } + // baseUrl has been deprecated, remove in 2.0 + const baseUrl = opts.baseUrl || opts.baseURL; + if (baseUrl) { + opts.url = baseUrl + opts.url; + } + const parsedUrl = new URL(opts.url); + opts.url = `${parsedUrl.origin}${parsedUrl.pathname}`; + opts.params = extend_1.default(querystring_1.default.parse(parsedUrl.search.substr(1)), // removes leading ? + opts.params); + opts.paramsSerializer = opts.paramsSerializer || this.paramsSerializer; + if (opts.params) { + parsedUrl.search = opts.paramsSerializer(opts.params); + } + opts.url = parsedUrl.href; + if (typeof options.maxContentLength === 'number') { + opts.size = options.maxContentLength; + } + if (typeof options.maxRedirects === 'number') { + opts.follow = options.maxRedirects; + } + opts.headers = opts.headers || {}; + if (opts.data) { + if (is_stream_1.default.readable(opts.data)) { + opts.body = opts.data; + } + else if (typeof opts.data === 'object') { + opts.body = JSON.stringify(opts.data); + // Allow the user to specifiy their own content type, + // such as application/json-patch+json; for historical reasons this + // content type must currently be a json type, as we are relying on + // application/x-www-form-urlencoded (which is incompatible with + // upstream GCP APIs) being rewritten to application/json. + // + // TODO: refactor upstream dependencies to stop relying on this + // side-effect. + if (!opts.headers['Content-Type'] || + !opts.headers['Content-Type'].includes('json')) { + opts.headers['Content-Type'] = 'application/json'; + } + } + else { + opts.body = opts.data; + } + } + opts.validateStatus = opts.validateStatus || this.validateStatus; + opts.responseType = opts.responseType || 'json'; + if (!opts.headers['Accept'] && opts.responseType === 'json') { + opts.headers['Accept'] = 'application/json'; + } + opts.method = opts.method || 'GET'; + const proxy = loadProxy(); + if (proxy) { + if (this.agentCache.has(proxy)) { + opts.agent = this.agentCache.get(proxy); + } + else { + opts.agent = new HttpsProxyAgent(proxy); + this.agentCache.set(proxy, opts.agent); + } + } + return opts; + } + /** + * By default, throw for any non-2xx status code + * @param status status code from the HTTP response + */ + validateStatus(status) { + return status >= 200 && status < 300; + } + /** + * Encode a set of key/value pars into a querystring format (?foo=bar&baz=boo) + * @param params key value pars to encode + */ + paramsSerializer(params) { + return querystring_1.default.stringify(params); + } + translateResponse(opts, res, data) { + // headers need to be converted from a map to an obj + const headers = {}; + res.headers.forEach((value, key) => { + headers[key] = value; + }); + return { + config: opts, + data: data, + headers, + status: res.status, + statusText: res.statusText, + // XMLHttpRequestLike + request: { + responseURL: res.url, + }, + }; + } +} +exports.Gaxios = Gaxios; +//# sourceMappingURL=gaxios.js.map + +/***/ }), + +/***/ 59555: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2018 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const gaxios_1 = __nccwpck_require__(28133); +exports.Gaxios = gaxios_1.Gaxios; +var common_1 = __nccwpck_require__(66129); +exports.GaxiosError = common_1.GaxiosError; +/** + * The default instance used when the `request` method is directly + * invoked. + */ +exports.instance = new gaxios_1.Gaxios(); +/** + * Make an HTTP request using the given options. + * @param opts Options for the request + */ +async function request(opts) { + return exports.instance.request(opts); +} +exports.request = request; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 31052: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2018 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +async function getRetryConfig(err) { + let config = getConfig(err); + if (!err || !err.config || (!config && !err.config.retry)) { + return { shouldRetry: false }; + } + config = config || {}; + config.currentRetryAttempt = config.currentRetryAttempt || 0; + config.retry = + config.retry === undefined || config.retry === null ? 3 : config.retry; + config.httpMethodsToRetry = config.httpMethodsToRetry || [ + 'GET', + 'HEAD', + 'PUT', + 'OPTIONS', + 'DELETE', + ]; + config.noResponseRetries = + config.noResponseRetries === undefined || config.noResponseRetries === null + ? 2 + : config.noResponseRetries; + // If this wasn't in the list of status codes where we want + // to automatically retry, return. + const retryRanges = [ + // https://en.wikipedia.org/wiki/List_of_HTTP_status_codes + // 1xx - Retry (Informational, request still processing) + // 2xx - Do not retry (Success) + // 3xx - Do not retry (Redirect) + // 4xx - Do not retry (Client errors) + // 429 - Retry ("Too Many Requests") + // 5xx - Retry (Server errors) + [100, 199], + [429, 429], + [500, 599], + ]; + config.statusCodesToRetry = config.statusCodesToRetry || retryRanges; + // Put the config back into the err + err.config.retryConfig = config; + // Determine if we should retry the request + const shouldRetryFn = config.shouldRetry || shouldRetryRequest; + if (!(await shouldRetryFn(err))) { + return { shouldRetry: false, config: err.config }; + } + // Calculate time to wait with exponential backoff. + // Formula: (2^c - 1 / 2) * 1000 + const delay = ((Math.pow(2, config.currentRetryAttempt) - 1) / 2) * 1000; + // We're going to retry! Incremenent the counter. + err.config.retryConfig.currentRetryAttempt += 1; + // Create a promise that invokes the retry after the backOffDelay + const backoff = new Promise(resolve => { + setTimeout(resolve, delay); + }); + // Notify the user if they added an `onRetryAttempt` handler + if (config.onRetryAttempt) { + config.onRetryAttempt(err); + } + // Return the promise in which recalls Gaxios to retry the request + await backoff; + return { shouldRetry: true, config: err.config }; +} +exports.getRetryConfig = getRetryConfig; +/** + * Determine based on config if we should retry the request. + * @param err The GaxiosError passed to the interceptor. + */ +function shouldRetryRequest(err) { + const config = getConfig(err); + // node-fetch raises an AbortError if signaled: + // https://github.com/bitinn/node-fetch#request-cancellation-with-abortsignal + if (err.name === 'AbortError') { + return false; + } + // If there's no config, or retries are disabled, return. + if (!config || config.retry === 0) { + return false; + } + // Check if this error has no response (ETIMEDOUT, ENOTFOUND, etc) + if (!err.response && + (config.currentRetryAttempt || 0) >= config.noResponseRetries) { + return false; + } + // Only retry with configured HttpMethods. + if (!err.config.method || + config.httpMethodsToRetry.indexOf(err.config.method.toUpperCase()) < 0) { + return false; + } + // If this wasn't in the list of status codes where we want + // to automatically retry, return. + if (err.response && err.response.status) { + let isInRange = false; + for (const [min, max] of config.statusCodesToRetry) { + const status = err.response.status; + if (status >= min && status <= max) { + isInRange = true; + break; + } + } + if (!isInRange) { + return false; + } + } + // If we are out of retry attempts, return + config.currentRetryAttempt = config.currentRetryAttempt || 0; + if (config.currentRetryAttempt >= config.retry) { + return false; + } + return true; +} +/** + * Acquire the raxConfig object from an GaxiosError if available. + * @param err The Gaxios error with a config object. + */ +function getConfig(err) { + if (err && err.config && err.config.retryConfig) { + return err.config.retryConfig; + } + return; +} +//# sourceMappingURL=retry.js.map + +/***/ }), + +/***/ 3563: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +/** + * Copyright 2018 Google LLC + * + * Distributed under MIT license. + * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +const gaxios_1 = __nccwpck_require__(59555); +const jsonBigint = __nccwpck_require__(55031); +exports.HOST_ADDRESS = 'http://169.254.169.254'; +exports.BASE_PATH = '/computeMetadata/v1'; +exports.BASE_URL = exports.HOST_ADDRESS + exports.BASE_PATH; +exports.SECONDARY_HOST_ADDRESS = 'http://metadata.google.internal.'; +exports.SECONDARY_BASE_URL = exports.SECONDARY_HOST_ADDRESS + exports.BASE_PATH; +exports.HEADER_NAME = 'Metadata-Flavor'; +exports.HEADER_VALUE = 'Google'; +exports.HEADERS = Object.freeze({ [exports.HEADER_NAME]: exports.HEADER_VALUE }); +// Accepts an options object passed from the user to the API. In previous +// versions of the API, it referred to a `Request` or an `Axios` request +// options object. Now it refers to an object with very limited property +// names. This is here to help ensure users don't pass invalid options when +// they upgrade from 0.4 to 0.5 to 0.8. +function validate(options) { + Object.keys(options).forEach(key => { + switch (key) { + case 'params': + case 'property': + case 'headers': + break; + case 'qs': + throw new Error(`'qs' is not a valid configuration option. Please use 'params' instead.`); + default: + throw new Error(`'${key}' is not a valid configuration option.`); + } + }); +} +async function metadataAccessor(type, options, noResponseRetries = 3, fastFail = false) { + options = options || {}; + if (typeof options === 'string') { + options = { property: options }; + } + let property = ''; + if (typeof options === 'object' && options.property) { + property = '/' + options.property; + } + validate(options); + try { + const requestMethod = fastFail ? fastFailMetadataRequest : gaxios_1.request; + const res = await requestMethod({ + url: `${exports.BASE_URL}/${type}${property}`, + headers: Object.assign({}, exports.HEADERS, options.headers), + retryConfig: { noResponseRetries }, + params: options.params, + responseType: 'text', + timeout: requestTimeout(), + }); + // NOTE: node.js converts all incoming headers to lower case. + if (res.headers[exports.HEADER_NAME.toLowerCase()] !== exports.HEADER_VALUE) { + throw new Error(`Invalid response from metadata service: incorrect ${exports.HEADER_NAME} header.`); + } + else if (!res.data) { + throw new Error('Invalid response from the metadata service'); + } + if (typeof res.data === 'string') { + try { + return jsonBigint.parse(res.data); + } + catch (_a) { + /* ignore */ + } + } + return res.data; + } + catch (e) { + if (e.response && e.response.status !== 200) { + e.message = `Unsuccessful response status code. ${e.message}`; + } + throw e; + } +} +async function fastFailMetadataRequest(options) { + const secondaryOptions = Object.assign(Object.assign({}, options), { url: options.url.replace(exports.BASE_URL, exports.SECONDARY_BASE_URL) }); + // We race a connection between DNS/IP to metadata server. There are a couple + // reasons for this: + // + // 1. the DNS is slow in some GCP environments; by checking both, we might + // detect the runtime environment signficantly faster. + // 2. we can't just check the IP, which is tarpitted and slow to respond + // on a user's local machine. + // + // Additional logic has been added to make sure that we don't create an + // unhandled rejection in scenarios where a failure happens sometime + // after a success. + // + // Note, however, if a failure happens prior to a success, a rejection should + // occur, this is for folks running locally. + // + let responded = false; + const r1 = gaxios_1.request(options) + .then(res => { + responded = true; + return res; + }) + .catch(err => { + if (responded) { + return r2; + } + else { + responded = true; + throw err; + } + }); + const r2 = gaxios_1.request(secondaryOptions) + .then(res => { + responded = true; + return res; + }) + .catch(err => { + if (responded) { + return r1; + } + else { + responded = true; + throw err; + } + }); + return Promise.race([r1, r2]); +} +// tslint:disable-next-line no-any +function instance(options) { + return metadataAccessor('instance', options); +} +exports.instance = instance; +// tslint:disable-next-line no-any +function project(options) { + return metadataAccessor('project', options); +} +exports.project = project; +/* + * How many times should we retry detecting GCP environment. + */ +function detectGCPAvailableRetries() { + return process.env.DETECT_GCP_RETRIES + ? Number(process.env.DETECT_GCP_RETRIES) + : 0; +} +/** + * Determine if the metadata server is currently available. + */ +let cachedIsAvailableResponse; +async function isAvailable() { + try { + // If a user is instantiating several GCP libraries at the same time, + // this may result in multiple calls to isAvailable(), to detect the + // runtime environment. We use the same promise for each of these calls + // to reduce the network load. + if (cachedIsAvailableResponse === undefined) { + cachedIsAvailableResponse = metadataAccessor('instance', undefined, detectGCPAvailableRetries(), true); + } + await cachedIsAvailableResponse; + return true; + } + catch (err) { + if (process.env.DEBUG_AUTH) { + console.info(err); + } + if (err.type === 'request-timeout') { + // If running in a GCP environment, metadata endpoint should return + // within ms. + return false; + } + else if (err.code && + [ + 'EHOSTDOWN', + 'EHOSTUNREACH', + 'ENETUNREACH', + 'ENOENT', + 'ENOTFOUND', + 'ECONNREFUSED', + ].includes(err.code)) { + // Failure to resolve the metadata service means that it is not available. + return false; + } + else if (err.response && err.response.status === 404) { + return false; + } + // Throw unexpected errors. + throw err; + } +} +exports.isAvailable = isAvailable; +/** + * reset the memoized isAvailable() lookup. + */ +function resetIsAvailableCache() { + cachedIsAvailableResponse = undefined; +} +exports.resetIsAvailableCache = resetIsAvailableCache; +function requestTimeout() { + // In testing, we were able to reproduce behavior similar to + // https://github.com/googleapis/google-auth-library-nodejs/issues/798 + // by making many concurrent network requests. Requests do not actually fail, + // rather they take significantly longer to complete (and we hit our + // default 3000ms timeout). + // + // This logic detects a GCF environment, using the documented environment + // variables K_SERVICE and FUNCTION_NAME: + // https://cloud.google.com/functions/docs/env-var and, in a GCF environment + // eliminates timeouts (by setting the value to 0 to disable). + return process.env.K_SERVICE || process.env.FUNCTION_NAME ? 0 : 3000; +} +exports.requestTimeout = requestTimeout; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 74538: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var undefined; + +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = __nccwpck_require__(40587)(); + +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = __nccwpck_require__(88334); +var hasOwn = __nccwpck_require__(76339); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; + + +/***/ }), + +/***/ 44627: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2012 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const events_1 = __nccwpck_require__(82361); +const transporters_1 = __nccwpck_require__(72649); +class AuthClient extends events_1.EventEmitter { + constructor() { + super(...arguments); + this.transporter = new transporters_1.DefaultTransporter(); + this.credentials = {}; + } + /** + * Sets the auth credentials. + */ + setCredentials(credentials) { + this.credentials = credentials; + } + /** + * Append additional headers, e.g., x-goog-user-project, shared across the + * classes inheriting AuthClient. This method should be used by any method + * that overrides getRequestMetadataAsync(), which is a shared helper for + * setting request information in both gRPC and HTTP API calls. + * + * @param headers objedcdt to append additional headers to. + */ + addSharedMetadataHeaders(headers) { + // quota_project_id, stored in application_default_credentials.json, is set in + // the x-goog-user-project header, to indicate an alternate account for + // billing and quota: + if (!headers['x-goog-user-project'] && // don't override a value the user sets. + this.quotaProjectId) { + headers['x-goog-user-project'] = this.quotaProjectId; + } + return headers; + } +} +exports.AuthClient = AuthClient; +//# sourceMappingURL=authclient.js.map + +/***/ }), + +/***/ 96875: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2013 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const arrify = __nccwpck_require__(61546); +const gcpMetadata = __nccwpck_require__(3563); +const messages = __nccwpck_require__(38227); +const oauth2client_1 = __nccwpck_require__(3936); +class Compute extends oauth2client_1.OAuth2Client { + /** + * Google Compute Engine service account credentials. + * + * Retrieve access token from the metadata server. + * See: https://developers.google.com/compute/docs/authentication + */ + constructor(options = {}) { + super(options); + // Start with an expired refresh token, which will automatically be + // refreshed before the first API call is made. + this.credentials = { expiry_date: 1, refresh_token: 'compute-placeholder' }; + this.serviceAccountEmail = options.serviceAccountEmail || 'default'; + this.scopes = arrify(options.scopes); + } + /** + * Indicates whether the credential requires scopes to be created by calling + * createdScoped before use. + * @deprecated + * @return Boolean indicating if scope is required. + */ + createScopedRequired() { + // On compute engine, scopes are specified at the compute instance's + // creation time, and cannot be changed. For this reason, always return + // false. + messages.warn(messages.COMPUTE_CREATE_SCOPED_DEPRECATED); + return false; + } + /** + * Refreshes the access token. + * @param refreshToken Unused parameter + */ + async refreshTokenNoCache(refreshToken) { + const tokenPath = `service-accounts/${this.serviceAccountEmail}/token`; + let data; + try { + const instanceOptions = { + property: tokenPath, + }; + if (this.scopes.length > 0) { + instanceOptions.params = { + scopes: this.scopes.join(','), + }; + } + data = await gcpMetadata.instance(instanceOptions); + } + catch (e) { + e.message = `Could not refresh access token: ${e.message}`; + this.wrapError(e); + throw e; + } + const tokens = data; + if (data && data.expires_in) { + tokens.expiry_date = new Date().getTime() + data.expires_in * 1000; + delete tokens.expires_in; + } + this.emit('tokens', tokens); + return { tokens, res: null }; + } + /** + * Fetches an ID token. + * @param targetAudience the audience for the fetched ID token. + */ + async fetchIdToken(targetAudience) { + const idTokenPath = `service-accounts/${this.serviceAccountEmail}/identity` + + `?format=full&audience=${targetAudience}`; + let idToken; + try { + const instanceOptions = { + property: idTokenPath, + }; + idToken = await gcpMetadata.instance(instanceOptions); + } + catch (e) { + e.message = `Could not fetch ID token: ${e.message}`; + throw e; + } + return idToken; + } + wrapError(e) { + const res = e.response; + if (res && res.status) { + e.code = res.status.toString(); + if (res.status === 403) { + e.message = + 'A Forbidden error was returned while attempting to retrieve an access ' + + 'token for the Compute Engine built-in service account. This may be because the Compute ' + + 'Engine instance does not have the correct permission scopes specified: ' + + e.message; + } + else if (res.status === 404) { + e.message = + 'A Not Found error was returned while attempting to retrieve an access' + + 'token for the Compute Engine built-in service account. This may be because the Compute ' + + 'Engine instance does not have any permission scopes specified: ' + + e.message; + } + } + } +} +exports.Compute = Compute; +//# sourceMappingURL=computeclient.js.map + +/***/ }), + +/***/ 21380: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const gcpMetadata = __nccwpck_require__(3563); +var GCPEnv; +(function (GCPEnv) { + GCPEnv["APP_ENGINE"] = "APP_ENGINE"; + GCPEnv["KUBERNETES_ENGINE"] = "KUBERNETES_ENGINE"; + GCPEnv["CLOUD_FUNCTIONS"] = "CLOUD_FUNCTIONS"; + GCPEnv["COMPUTE_ENGINE"] = "COMPUTE_ENGINE"; + GCPEnv["NONE"] = "NONE"; +})(GCPEnv = exports.GCPEnv || (exports.GCPEnv = {})); +let envPromise; +function clear() { + envPromise = undefined; +} +exports.clear = clear; +async function getEnv() { + if (envPromise) { + return envPromise; + } + envPromise = getEnvMemoized(); + return envPromise; +} +exports.getEnv = getEnv; +async function getEnvMemoized() { + let env = GCPEnv.NONE; + if (isAppEngine()) { + env = GCPEnv.APP_ENGINE; + } + else if (isCloudFunction()) { + env = GCPEnv.CLOUD_FUNCTIONS; + } + else if (await isComputeEngine()) { + if (await isKubernetesEngine()) { + env = GCPEnv.KUBERNETES_ENGINE; + } + else { + env = GCPEnv.COMPUTE_ENGINE; + } + } + else { + env = GCPEnv.NONE; + } + return env; +} +function isAppEngine() { + return !!(process.env.GAE_SERVICE || process.env.GAE_MODULE_NAME); +} +function isCloudFunction() { + return !!(process.env.FUNCTION_NAME || process.env.FUNCTION_TARGET); +} +async function isKubernetesEngine() { + try { + await gcpMetadata.instance('attributes/cluster-name'); + return true; + } + catch (e) { + return false; + } +} +async function isComputeEngine() { + return gcpMetadata.isAvailable(); +} +//# sourceMappingURL=envDetect.js.map + +/***/ }), + +/***/ 20695: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const child_process_1 = __nccwpck_require__(32081); +const fs = __nccwpck_require__(57147); +const gcpMetadata = __nccwpck_require__(3563); +const os = __nccwpck_require__(22037); +const path = __nccwpck_require__(71017); +const crypto_1 = __nccwpck_require__(78043); +const messages = __nccwpck_require__(38227); +const transporters_1 = __nccwpck_require__(72649); +const computeclient_1 = __nccwpck_require__(96875); +const idtokenclient_1 = __nccwpck_require__(80298); +const envDetect_1 = __nccwpck_require__(21380); +const jwtclient_1 = __nccwpck_require__(13959); +const refreshclient_1 = __nccwpck_require__(98790); +exports.CLOUD_SDK_CLIENT_ID = '764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com'; +class GoogleAuth { + constructor(opts) { + /** + * Caches a value indicating whether the auth layer is running on Google + * Compute Engine. + * @private + */ + this.checkIsGCE = undefined; + // To save the contents of the JSON credential file + this.jsonContent = null; + this.cachedCredential = null; + opts = opts || {}; + this._cachedProjectId = opts.projectId || null; + this.keyFilename = opts.keyFilename || opts.keyFile; + this.scopes = opts.scopes; + this.jsonContent = opts.credentials || null; + this.clientOptions = opts.clientOptions; + } + // Note: this properly is only public to satisify unit tests. + // https://github.com/Microsoft/TypeScript/issues/5228 + get isGCE() { + return this.checkIsGCE; + } + getDefaultProjectId(callback) { + messages.warn(messages.DEFAULT_PROJECT_ID_DEPRECATED); + if (callback) { + this.getProjectIdAsync().then(r => callback(null, r), callback); + } + else { + return this.getProjectIdAsync(); + } + } + getProjectId(callback) { + if (callback) { + this.getProjectIdAsync().then(r => callback(null, r), callback); + } + else { + return this.getProjectIdAsync(); + } + } + getProjectIdAsync() { + if (this._cachedProjectId) { + return Promise.resolve(this._cachedProjectId); + } + // In implicit case, supports three environments. In order of precedence, + // the implicit environments are: + // - GCLOUD_PROJECT or GOOGLE_CLOUD_PROJECT environment variable + // - GOOGLE_APPLICATION_CREDENTIALS JSON file + // - Cloud SDK: `gcloud config config-helper --format json` + // - GCE project ID from metadata server) + if (!this._getDefaultProjectIdPromise) { + this._getDefaultProjectIdPromise = new Promise(async (resolve, reject) => { + try { + const projectId = this.getProductionProjectId() || + (await this.getFileProjectId()) || + (await this.getDefaultServiceProjectId()) || + (await this.getGCEProjectId()); + this._cachedProjectId = projectId; + if (!projectId) { + throw new Error('Unable to detect a Project Id in the current environment. \n' + + 'To learn more about authentication and Google APIs, visit: \n' + + 'https://cloud.google.com/docs/authentication/getting-started'); + } + resolve(projectId); + } + catch (e) { + reject(e); + } + }); + } + return this._getDefaultProjectIdPromise; + } + getApplicationDefault(optionsOrCallback = {}, callback) { + let options; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + } + else { + options = optionsOrCallback; + } + if (callback) { + this.getApplicationDefaultAsync(options).then(r => callback(null, r.credential, r.projectId), callback); + } + else { + return this.getApplicationDefaultAsync(options); + } + } + async getApplicationDefaultAsync(options = {}) { + // If we've already got a cached credential, just return it. + if (this.cachedCredential) { + return { + credential: this.cachedCredential, + projectId: await this.getProjectIdAsync(), + }; + } + let credential; + let projectId; + // Check for the existence of a local environment variable pointing to the + // location of the credential file. This is typically used in local + // developer scenarios. + credential = await this._tryGetApplicationCredentialsFromEnvironmentVariable(options); + if (credential) { + if (credential instanceof jwtclient_1.JWT) { + credential.scopes = this.scopes; + } + this.cachedCredential = credential; + projectId = await this.getProjectId(); + return { credential, projectId }; + } + // Look in the well-known credential file location. + credential = await this._tryGetApplicationCredentialsFromWellKnownFile(options); + if (credential) { + if (credential instanceof jwtclient_1.JWT) { + credential.scopes = this.scopes; + } + this.cachedCredential = credential; + projectId = await this.getProjectId(); + return { credential, projectId }; + } + // Determine if we're running on GCE. + let isGCE; + try { + isGCE = await this._checkIsGCE(); + } + catch (e) { + e.message = `Unexpected error determining execution environment: ${e.message}`; + throw e; + } + if (!isGCE) { + // We failed to find the default credentials. Bail out with an error. + throw new Error('Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.'); + } + // For GCE, just return a default ComputeClient. It will take care of + // the rest. + options.scopes = this.scopes; + this.cachedCredential = new computeclient_1.Compute(options); + projectId = await this.getProjectId(); + return { projectId, credential: this.cachedCredential }; + } + /** + * Determines whether the auth layer is running on Google Compute Engine. + * @returns A promise that resolves with the boolean. + * @api private + */ + async _checkIsGCE() { + if (this.checkIsGCE === undefined) { + this.checkIsGCE = await gcpMetadata.isAvailable(); + } + return this.checkIsGCE; + } + /** + * Attempts to load default credentials from the environment variable path.. + * @returns Promise that resolves with the OAuth2Client or null. + * @api private + */ + async _tryGetApplicationCredentialsFromEnvironmentVariable(options) { + const credentialsPath = process.env['GOOGLE_APPLICATION_CREDENTIALS'] || + process.env['google_application_credentials']; + if (!credentialsPath || credentialsPath.length === 0) { + return null; + } + try { + return this._getApplicationCredentialsFromFilePath(credentialsPath, options); + } + catch (e) { + e.message = `Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${e.message}`; + throw e; + } + } + /** + * Attempts to load default credentials from a well-known file location + * @return Promise that resolves with the OAuth2Client or null. + * @api private + */ + async _tryGetApplicationCredentialsFromWellKnownFile(options) { + // First, figure out the location of the file, depending upon the OS type. + let location = null; + if (this._isWindows()) { + // Windows + location = process.env['APPDATA']; + } + else { + // Linux or Mac + const home = process.env['HOME']; + if (home) { + location = path.join(home, '.config'); + } + } + // If we found the root path, expand it. + if (location) { + location = path.join(location, 'gcloud', 'application_default_credentials.json'); + if (!fs.existsSync(location)) { + location = null; + } + } + // The file does not exist. + if (!location) { + return null; + } + // The file seems to exist. Try to use it. + const client = await this._getApplicationCredentialsFromFilePath(location, options); + this.warnOnProblematicCredentials(client); + return client; + } + /** + * Attempts to load default credentials from a file at the given path.. + * @param filePath The path to the file to read. + * @returns Promise that resolves with the OAuth2Client + * @api private + */ + async _getApplicationCredentialsFromFilePath(filePath, options = {}) { + // Make sure the path looks like a string. + if (!filePath || filePath.length === 0) { + throw new Error('The file path is invalid.'); + } + // Make sure there is a file at the path. lstatSync will throw if there is + // nothing there. + try { + // Resolve path to actual file in case of symlink. Expect a thrown error + // if not resolvable. + filePath = fs.realpathSync(filePath); + if (!fs.lstatSync(filePath).isFile()) { + throw new Error(); + } + } + catch (err) { + err.message = `The file at ${filePath} does not exist, or it is not a file. ${err.message}`; + throw err; + } + // Now open a read stream on the file, and parse it. + const readStream = fs.createReadStream(filePath); + return this.fromStream(readStream, options); + } + /** + * Credentials from the Cloud SDK that are associated with Cloud SDK's project + * are problematic because they may not have APIs enabled and have limited + * quota. If this is the case, warn about it. + */ + warnOnProblematicCredentials(client) { + if (client.email === exports.CLOUD_SDK_CLIENT_ID) { + messages.warn(messages.PROBLEMATIC_CREDENTIALS_WARNING); + } + } + /** + * Create a credentials instance using the given input options. + * @param json The input object. + * @param options The JWT or UserRefresh options for the client + * @returns JWT or UserRefresh Client with data + */ + fromJSON(json, options) { + let client; + if (!json) { + throw new Error('Must pass in a JSON object containing the Google auth settings.'); + } + options = options || {}; + if (json.type === 'authorized_user') { + client = new refreshclient_1.UserRefreshClient(options); + } + else { + options.scopes = this.scopes; + client = new jwtclient_1.JWT(options); + } + client.fromJSON(json); + return client; + } + /** + * Return a JWT or UserRefreshClient from JavaScript object, caching both the + * object used to instantiate and the client. + * @param json The input object. + * @param options The JWT or UserRefresh options for the client + * @returns JWT or UserRefresh Client with data + */ + _cacheClientFromJSON(json, options) { + let client; + // create either a UserRefreshClient or JWT client. + options = options || {}; + if (json.type === 'authorized_user') { + client = new refreshclient_1.UserRefreshClient(options); + } + else { + options.scopes = this.scopes; + client = new jwtclient_1.JWT(options); + } + client.fromJSON(json); + // cache both raw data used to instantiate client and client itself. + this.jsonContent = json; + this.cachedCredential = client; + return this.cachedCredential; + } + fromStream(inputStream, optionsOrCallback = {}, callback) { + let options = {}; + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + } + else { + options = optionsOrCallback; + } + if (callback) { + this.fromStreamAsync(inputStream, options).then(r => callback(null, r), callback); + } + else { + return this.fromStreamAsync(inputStream, options); + } + } + fromStreamAsync(inputStream, options) { + return new Promise((resolve, reject) => { + if (!inputStream) { + throw new Error('Must pass in a stream containing the Google auth settings.'); + } + let s = ''; + inputStream + .setEncoding('utf8') + .on('error', reject) + .on('data', chunk => (s += chunk)) + .on('end', () => { + try { + const data = JSON.parse(s); + const r = this._cacheClientFromJSON(data, options); + return resolve(r); + } + catch (err) { + return reject(err); + } + }); + }); + } + /** + * Create a credentials instance using the given API key string. + * @param apiKey The API key string + * @param options An optional options object. + * @returns A JWT loaded from the key + */ + fromAPIKey(apiKey, options) { + options = options || {}; + const client = new jwtclient_1.JWT(options); + client.fromAPIKey(apiKey); + return client; + } + /** + * Determines whether the current operating system is Windows. + * @api private + */ + _isWindows() { + const sys = os.platform(); + if (sys && sys.length >= 3) { + if (sys.substring(0, 3).toLowerCase() === 'win') { + return true; + } + } + return false; + } + /** + * Run the Google Cloud SDK command that prints the default project ID + */ + async getDefaultServiceProjectId() { + return new Promise(resolve => { + child_process_1.exec('gcloud config config-helper --format json', (err, stdout, stderr) => { + if (!err && stdout) { + try { + const projectId = JSON.parse(stdout).configuration.properties.core + .project; + resolve(projectId); + return; + } + catch (e) { + // ignore errors + } + } + resolve(null); + }); + }); + } + /** + * Loads the project id from environment variables. + * @api private + */ + getProductionProjectId() { + return (process.env['GCLOUD_PROJECT'] || + process.env['GOOGLE_CLOUD_PROJECT'] || + process.env['gcloud_project'] || + process.env['google_cloud_project']); + } + /** + * Loads the project id from the GOOGLE_APPLICATION_CREDENTIALS json file. + * @api private + */ + async getFileProjectId() { + if (this.cachedCredential) { + // Try to read the project ID from the cached credentials file + return this.cachedCredential.projectId; + } + // Ensure the projectId is loaded from the keyFile if available. + if (this.keyFilename) { + const creds = await this.getClient(); + if (creds && creds.projectId) { + return creds.projectId; + } + } + // Try to load a credentials file and read its project ID + const r = await this._tryGetApplicationCredentialsFromEnvironmentVariable(); + if (r) { + return r.projectId; + } + else { + return null; + } + } + /** + * Gets the Compute Engine project ID if it can be inferred. + */ + async getGCEProjectId() { + try { + const r = await gcpMetadata.project('project-id'); + return r; + } + catch (e) { + // Ignore any errors + return null; + } + } + getCredentials(callback) { + if (callback) { + this.getCredentialsAsync().then(r => callback(null, r), callback); + } + else { + return this.getCredentialsAsync(); + } + } + async getCredentialsAsync() { + await this.getClient(); + if (this.jsonContent) { + const credential = { + client_email: this.jsonContent.client_email, + private_key: this.jsonContent.private_key, + }; + return credential; + } + const isGCE = await this._checkIsGCE(); + if (!isGCE) { + throw new Error('Unknown error.'); + } + // For GCE, return the service account details from the metadata server + // NOTE: The trailing '/' at the end of service-accounts/ is very important! + // The GCF metadata server doesn't respect querystring params if this / is + // not included. + const data = await gcpMetadata.instance({ + property: 'service-accounts/', + params: { recursive: 'true' }, + }); + if (!data || !data.default || !data.default.email) { + throw new Error('Failure from metadata server.'); + } + return { client_email: data.default.email }; + } + /** + * Automatically obtain a client based on the provided configuration. If no + * options were passed, use Application Default Credentials. + */ + async getClient(options) { + if (options) { + throw new Error('Passing options to getClient is forbidden in v5.0.0. Use new GoogleAuth(opts) instead.'); + } + if (!this.cachedCredential) { + if (this.jsonContent) { + this._cacheClientFromJSON(this.jsonContent, this.clientOptions); + } + else if (this.keyFilename) { + const filePath = path.resolve(this.keyFilename); + const stream = fs.createReadStream(filePath); + await this.fromStreamAsync(stream, this.clientOptions); + } + else { + await this.getApplicationDefaultAsync(this.clientOptions); + } + } + return this.cachedCredential; + } + /** + * Creates a client which will fetch an ID token for authorization. + * @param targetAudience the audience for the fetched ID token. + * @returns IdTokenClient for making HTTP calls authenticated with ID tokens. + */ + async getIdTokenClient(targetAudience) { + const client = await this.getClient(); + if (!('fetchIdToken' in client)) { + throw new Error('Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.'); + } + return new idtokenclient_1.IdTokenClient({ targetAudience, idTokenProvider: client }); + } + /** + * Automatically obtain application default credentials, and return + * an access token for making requests. + */ + async getAccessToken() { + const client = await this.getClient(); + return (await client.getAccessToken()).token; + } + /** + * Obtain the HTTP headers that will provide authorization for a given + * request. + */ + async getRequestHeaders(url) { + const client = await this.getClient(); + return client.getRequestHeaders(url); + } + /** + * Obtain credentials for a request, then attach the appropriate headers to + * the request options. + * @param opts Axios or Request options on which to attach the headers + */ + async authorizeRequest(opts) { + opts = opts || {}; + const url = opts.url || opts.uri; + const client = await this.getClient(); + const headers = await client.getRequestHeaders(url); + opts.headers = Object.assign(opts.headers || {}, headers); + return opts; + } + /** + * Automatically obtain application default credentials, and make an + * HTTP request using the given options. + * @param opts Axios request options for the HTTP request. + */ + // tslint:disable-next-line no-any + async request(opts) { + const client = await this.getClient(); + return client.request(opts); + } + /** + * Determine the compute environment in which the code is running. + */ + getEnv() { + return envDetect_1.getEnv(); + } + /** + * Sign the given data with the current private key, or go out + * to the IAM API to sign it. + * @param data The data to be signed. + */ + async sign(data) { + const client = await this.getClient(); + const crypto = crypto_1.createCrypto(); + if (client instanceof jwtclient_1.JWT && client.key) { + const sign = await crypto.sign(client.key, data); + return sign; + } + const projectId = await this.getProjectId(); + if (!projectId) { + throw new Error('Cannot sign data without a project ID.'); + } + const creds = await this.getCredentials(); + if (!creds.client_email) { + throw new Error('Cannot sign data without `client_email`.'); + } + const id = `projects/${projectId}/serviceAccounts/${creds.client_email}`; + const res = await this.request({ + method: 'POST', + url: `https://iam.googleapis.com/v1/${id}:signBlob`, + data: { bytesToSign: crypto.encodeBase64StringUtf8(data) }, + }); + return res.data.signature; + } +} +exports.GoogleAuth = GoogleAuth; +/** + * Export DefaultTransporter as a static property of the class. + */ +GoogleAuth.DefaultTransporter = transporters_1.DefaultTransporter; +//# sourceMappingURL=googleauth.js.map + +/***/ }), + +/***/ 39735: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2014 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const messages = __nccwpck_require__(38227); +class IAMAuth { + /** + * IAM credentials. + * + * @param selector the iam authority selector + * @param token the token + * @constructor + */ + constructor(selector, token) { + this.selector = selector; + this.token = token; + this.selector = selector; + this.token = token; + } + /** + * Indicates whether the credential requires scopes to be created by calling + * createdScoped before use. + * @deprecated + * @return always false + */ + createScopedRequired() { + // IAM authorization does not use scopes. + messages.warn(messages.IAM_CREATE_SCOPED_DEPRECATED); + return false; + } + /** + * Pass the selector and token to the metadataFn callback. + * @deprecated + * @param unused_uri is required of the credentials interface + * @param metadataFn a callback invoked with object containing request + * metadata. + */ + getRequestMetadata(unusedUri, metadataFn) { + messages.warn(messages.IAM_GET_REQUEST_METADATA_DEPRECATED); + metadataFn(null, this.getRequestHeaders()); + } + /** + * Acquire the HTTP headers required to make an authenticated request. + */ + getRequestHeaders() { + return { + 'x-goog-iam-authority-selector': this.selector, + 'x-goog-iam-authorization-token': this.token, + }; + } +} +exports.IAMAuth = IAMAuth; +//# sourceMappingURL=iam.js.map + +/***/ }), + +/***/ 80298: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const oauth2client_1 = __nccwpck_require__(3936); +class IdTokenClient extends oauth2client_1.OAuth2Client { + /** + * Google ID Token client + * + * Retrieve access token from the metadata server. + * See: https://developers.google.com/compute/docs/authentication + */ + constructor(options) { + super(); + this.targetAudience = options.targetAudience; + this.idTokenProvider = options.idTokenProvider; + } + async getRequestMetadataAsync(url) { + if (!this.credentials.id_token || + (this.credentials.expiry_date || 0) < Date.now()) { + const idToken = await this.idTokenProvider.fetchIdToken(this.targetAudience); + this.credentials = { + id_token: idToken, + expiry_date: this.getIdTokenExpiryDate(idToken), + }; + } + const headers = { + Authorization: 'Bearer ' + this.credentials.id_token, + }; + return { headers }; + } + getIdTokenExpiryDate(idToken) { + const payloadB64 = idToken.split('.')[1]; + if (payloadB64) { + const payload = JSON.parse(Buffer.from(payloadB64, 'base64').toString('ascii')); + return payload.exp * 1000; + } + } +} +exports.IdTokenClient = IdTokenClient; +//# sourceMappingURL=idtokenclient.js.map + +/***/ }), + +/***/ 68740: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const jws = __nccwpck_require__(4636); +const LRU = __nccwpck_require__(31212); +const messages = __nccwpck_require__(38227); +const DEFAULT_HEADER = { + alg: 'RS256', + typ: 'JWT', +}; +class JWTAccess { + /** + * JWTAccess service account credentials. + * + * Create a new access token by using the credential to create a new JWT token + * that's recognized as the access token. + * + * @param email the service account email address. + * @param key the private key that will be used to sign the token. + * @param keyId the ID of the private key used to sign the token. + */ + constructor(email, key, keyId) { + this.cache = new LRU({ max: 500, maxAge: 60 * 60 * 1000 }); + this.email = email; + this.key = key; + this.keyId = keyId; + } + /** + * Indicates whether the credential requires scopes to be created by calling + * createdScoped before use. + * @deprecated + * @return always false + */ + createScopedRequired() { + // JWT Header authentication does not use scopes. + messages.warn(messages.JWT_ACCESS_CREATE_SCOPED_DEPRECATED); + return false; + } + /** + * Get a non-expired access token, after refreshing if necessary. + * + * @param authURI The URI being authorized. + * @param additionalClaims An object with a set of additional claims to + * include in the payload. + * @deprecated Please use `getRequestHeaders` instead. + * @returns An object that includes the authorization header. + */ + getRequestMetadata(url, additionalClaims) { + messages.warn(messages.JWT_ACCESS_GET_REQUEST_METADATA_DEPRECATED); + return { headers: this.getRequestHeaders(url, additionalClaims) }; + } + /** + * Get a non-expired access token, after refreshing if necessary. + * + * @param url The URI being authorized. + * @param additionalClaims An object with a set of additional claims to + * include in the payload. + * @returns An object that includes the authorization header. + */ + getRequestHeaders(url, additionalClaims) { + const cachedToken = this.cache.get(url); + if (cachedToken) { + return cachedToken; + } + const iat = Math.floor(new Date().getTime() / 1000); + const exp = iat + 3600; // 3600 seconds = 1 hour + // The payload used for signed JWT headers has: + // iss == sub == + // aud == + const defaultClaims = { + iss: this.email, + sub: this.email, + aud: url, + exp, + iat, + }; + // if additionalClaims are provided, ensure they do not collide with + // other required claims. + if (additionalClaims) { + for (const claim in defaultClaims) { + if (additionalClaims[claim]) { + throw new Error(`The '${claim}' property is not allowed when passing additionalClaims. This claim is included in the JWT by default.`); + } + } + } + const header = this.keyId + ? Object.assign(Object.assign({}, DEFAULT_HEADER), { kid: this.keyId }) : DEFAULT_HEADER; + const payload = Object.assign(defaultClaims, additionalClaims); + // Sign the jwt and add it to the cache + const signedJWT = jws.sign({ header, payload, secret: this.key }); + const headers = { Authorization: `Bearer ${signedJWT}` }; + this.cache.set(url, headers); + return headers; + } + /** + * Create a JWTAccess credentials instance using the given input options. + * @param json The input object. + */ + fromJSON(json) { + if (!json) { + throw new Error('Must pass in a JSON object containing the service account auth settings.'); + } + if (!json.client_email) { + throw new Error('The incoming JSON object does not contain a client_email field'); + } + if (!json.private_key) { + throw new Error('The incoming JSON object does not contain a private_key field'); + } + // Extract the relevant information from the json key file. + this.email = json.client_email; + this.key = json.private_key; + this.keyId = json.private_key_id; + this.projectId = json.project_id; + } + fromStream(inputStream, callback) { + if (callback) { + this.fromStreamAsync(inputStream).then(r => callback(), callback); + } + else { + return this.fromStreamAsync(inputStream); + } + } + fromStreamAsync(inputStream) { + return new Promise((resolve, reject) => { + if (!inputStream) { + reject(new Error('Must pass in a stream containing the service account auth settings.')); + } + let s = ''; + inputStream + .setEncoding('utf8') + .on('data', chunk => (s += chunk)) + .on('error', reject) + .on('end', () => { + try { + const data = JSON.parse(s); + this.fromJSON(data); + resolve(); + } + catch (err) { + reject(err); + } + }); + }); + } +} +exports.JWTAccess = JWTAccess; +//# sourceMappingURL=jwtaccess.js.map + +/***/ }), + +/***/ 13959: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2013 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const gtoken_1 = __nccwpck_require__(76031); +const messages = __nccwpck_require__(38227); +const jwtaccess_1 = __nccwpck_require__(68740); +const oauth2client_1 = __nccwpck_require__(3936); +class JWT extends oauth2client_1.OAuth2Client { + constructor(optionsOrEmail, keyFile, key, scopes, subject, keyId) { + const opts = optionsOrEmail && typeof optionsOrEmail === 'object' + ? optionsOrEmail + : { email: optionsOrEmail, keyFile, key, keyId, scopes, subject }; + super({ + eagerRefreshThresholdMillis: opts.eagerRefreshThresholdMillis, + forceRefreshOnFailure: opts.forceRefreshOnFailure, + }); + this.email = opts.email; + this.keyFile = opts.keyFile; + this.key = opts.key; + this.keyId = opts.keyId; + this.scopes = opts.scopes; + this.subject = opts.subject; + this.additionalClaims = opts.additionalClaims; + this.credentials = { refresh_token: 'jwt-placeholder', expiry_date: 1 }; + } + /** + * Creates a copy of the credential with the specified scopes. + * @param scopes List of requested scopes or a single scope. + * @return The cloned instance. + */ + createScoped(scopes) { + return new JWT({ + email: this.email, + keyFile: this.keyFile, + key: this.key, + keyId: this.keyId, + scopes, + subject: this.subject, + additionalClaims: this.additionalClaims, + }); + } + /** + * Obtains the metadata to be sent with the request. + * + * @param url the URI being authorized. + */ + async getRequestMetadataAsync(url) { + if (!this.apiKey && !this.hasScopes() && url) { + if (this.additionalClaims && + this.additionalClaims.target_audience) { + const { tokens } = await this.refreshToken(); + return { + headers: this.addSharedMetadataHeaders({ + Authorization: `Bearer ${tokens.id_token}`, + }), + }; + } + else { + // no scopes have been set, but a uri has been provided. Use JWTAccess + // credentials. + if (!this.access) { + this.access = new jwtaccess_1.JWTAccess(this.email, this.key, this.keyId); + } + const headers = await this.access.getRequestHeaders(url, this.additionalClaims); + return { headers: this.addSharedMetadataHeaders(headers) }; + } + } + else { + return super.getRequestMetadataAsync(url); + } + } + /** + * Fetches an ID token. + * @param targetAudience the audience for the fetched ID token. + */ + async fetchIdToken(targetAudience) { + // Create a new gToken for fetching an ID token + const gtoken = new gtoken_1.GoogleToken({ + iss: this.email, + sub: this.subject, + scope: this.scopes, + keyFile: this.keyFile, + key: this.key, + additionalClaims: { target_audience: targetAudience }, + }); + await gtoken.getToken({ + forceRefresh: true, + }); + if (!gtoken.idToken) { + throw new Error('Unknown error: Failed to fetch ID token'); + } + return gtoken.idToken; + } + /** + * Indicates whether the credential requires scopes to be created by calling + * createScoped before use. + * @deprecated + * @return false if createScoped does not need to be called. + */ + createScopedRequired() { + messages.warn(messages.JWT_CREATE_SCOPED_DEPRECATED); + return !this.hasScopes(); + } + /** + * Determine if there are currently scopes available. + */ + hasScopes() { + if (!this.scopes) { + return false; + } + // For arrays, check the array length. + if (this.scopes instanceof Array) { + return this.scopes.length > 0; + } + // For others, convert to a string and check the length. + return String(this.scopes).length > 0; + } + authorize(callback) { + if (callback) { + this.authorizeAsync().then(r => callback(null, r), callback); + } + else { + return this.authorizeAsync(); + } + } + async authorizeAsync() { + const result = await this.refreshToken(); + if (!result) { + throw new Error('No result returned'); + } + this.credentials = result.tokens; + this.credentials.refresh_token = 'jwt-placeholder'; + this.key = this.gtoken.key; + this.email = this.gtoken.iss; + return result.tokens; + } + /** + * Refreshes the access token. + * @param refreshToken ignored + * @private + */ + async refreshTokenNoCache(refreshToken) { + const gtoken = this.createGToken(); + const token = await gtoken.getToken({ + forceRefresh: this.isTokenExpiring(), + }); + const tokens = { + access_token: token.access_token, + token_type: 'Bearer', + expiry_date: gtoken.expiresAt, + id_token: gtoken.idToken, + }; + this.emit('tokens', tokens); + return { res: null, tokens }; + } + /** + * Create a gToken if it doesn't already exist. + */ + createGToken() { + if (!this.gtoken) { + this.gtoken = new gtoken_1.GoogleToken({ + iss: this.email, + sub: this.subject, + scope: this.scopes, + keyFile: this.keyFile, + key: this.key, + additionalClaims: this.additionalClaims, + }); + } + return this.gtoken; + } + /** + * Create a JWT credentials instance using the given input options. + * @param json The input object. + */ + fromJSON(json) { + if (!json) { + throw new Error('Must pass in a JSON object containing the service account auth settings.'); + } + if (!json.client_email) { + throw new Error('The incoming JSON object does not contain a client_email field'); + } + if (!json.private_key) { + throw new Error('The incoming JSON object does not contain a private_key field'); + } + // Extract the relevant information from the json key file. + this.email = json.client_email; + this.key = json.private_key; + this.keyId = json.private_key_id; + this.projectId = json.project_id; + this.quotaProjectId = json.quota_project_id; + } + fromStream(inputStream, callback) { + if (callback) { + this.fromStreamAsync(inputStream).then(r => callback(), callback); + } + else { + return this.fromStreamAsync(inputStream); + } + } + fromStreamAsync(inputStream) { + return new Promise((resolve, reject) => { + if (!inputStream) { + throw new Error('Must pass in a stream containing the service account auth settings.'); + } + let s = ''; + inputStream + .setEncoding('utf8') + .on('error', reject) + .on('data', chunk => (s += chunk)) + .on('end', () => { + try { + const data = JSON.parse(s); + this.fromJSON(data); + resolve(); + } + catch (e) { + reject(e); + } + }); + }); + } + /** + * Creates a JWT credentials instance using an API Key for authentication. + * @param apiKey The API Key in string form. + */ + fromAPIKey(apiKey) { + if (typeof apiKey !== 'string') { + throw new Error('Must provide an API Key string.'); + } + this.apiKey = apiKey; + } + /** + * Using the key or keyFile on the JWT client, obtain an object that contains + * the key and the client email. + */ + async getCredentials() { + if (this.key) { + return { private_key: this.key, client_email: this.email }; + } + else if (this.keyFile) { + const gtoken = this.createGToken(); + const creds = await gtoken.getCredentials(this.keyFile); + return { private_key: creds.privateKey, client_email: creds.clientEmail }; + } + throw new Error('A key or a keyFile must be provided to getCredentials.'); + } +} +exports.JWT = JWT; +//# sourceMappingURL=jwtclient.js.map + +/***/ }), + +/***/ 74524: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2014 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +class LoginTicket { + /** + * Create a simple class to extract user ID from an ID Token + * + * @param {string} env Envelope of the jwt + * @param {TokenPayload} pay Payload of the jwt + * @constructor + */ + constructor(env, pay) { + this.envelope = env; + this.payload = pay; + } + getEnvelope() { + return this.envelope; + } + getPayload() { + return this.payload; + } + /** + * Create a simple class to extract user ID from an ID Token + * + * @return The user ID + */ + getUserId() { + const payload = this.getPayload(); + if (payload && payload.sub) { + return payload.sub; + } + return null; + } + /** + * Returns attributes from the login ticket. This can contain + * various information about the user session. + * + * @return The envelope and payload + */ + getAttributes() { + return { envelope: this.getEnvelope(), payload: this.getPayload() }; + } +} +exports.LoginTicket = LoginTicket; +//# sourceMappingURL=loginticket.js.map + +/***/ }), + +/***/ 3936: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const querystring = __nccwpck_require__(63477); +const stream = __nccwpck_require__(12781); +const formatEcdsa = __nccwpck_require__(11728); +const crypto_1 = __nccwpck_require__(78043); +const messages = __nccwpck_require__(38227); +const authclient_1 = __nccwpck_require__(44627); +const loginticket_1 = __nccwpck_require__(74524); +var CodeChallengeMethod; +(function (CodeChallengeMethod) { + CodeChallengeMethod["Plain"] = "plain"; + CodeChallengeMethod["S256"] = "S256"; +})(CodeChallengeMethod = exports.CodeChallengeMethod || (exports.CodeChallengeMethod = {})); +var CertificateFormat; +(function (CertificateFormat) { + CertificateFormat["PEM"] = "PEM"; + CertificateFormat["JWK"] = "JWK"; +})(CertificateFormat = exports.CertificateFormat || (exports.CertificateFormat = {})); +class OAuth2Client extends authclient_1.AuthClient { + constructor(optionsOrClientId, clientSecret, redirectUri) { + super(); + this.certificateCache = {}; + this.certificateExpiry = null; + this.certificateCacheFormat = CertificateFormat.PEM; + this.refreshTokenPromises = new Map(); + const opts = optionsOrClientId && typeof optionsOrClientId === 'object' + ? optionsOrClientId + : { clientId: optionsOrClientId, clientSecret, redirectUri }; + this._clientId = opts.clientId; + this._clientSecret = opts.clientSecret; + this.redirectUri = opts.redirectUri; + this.eagerRefreshThresholdMillis = + opts.eagerRefreshThresholdMillis || 5 * 60 * 1000; + this.forceRefreshOnFailure = !!opts.forceRefreshOnFailure; + } + /** + * Generates URL for consent page landing. + * @param opts Options. + * @return URL to consent page. + */ + generateAuthUrl(opts = {}) { + if (opts.code_challenge_method && !opts.code_challenge) { + throw new Error('If a code_challenge_method is provided, code_challenge must be included.'); + } + opts.response_type = opts.response_type || 'code'; + opts.client_id = opts.client_id || this._clientId; + opts.redirect_uri = opts.redirect_uri || this.redirectUri; + // Allow scopes to be passed either as array or a string + if (opts.scope instanceof Array) { + opts.scope = opts.scope.join(' '); + } + const rootUrl = OAuth2Client.GOOGLE_OAUTH2_AUTH_BASE_URL_; + return rootUrl + '?' + querystring.stringify(opts); + } + generateCodeVerifier() { + // To make the code compatible with browser SubtleCrypto we need to make + // this method async. + throw new Error('generateCodeVerifier is removed, please use generateCodeVerifierAsync instead.'); + } + /** + * Convenience method to automatically generate a code_verifier, and it's + * resulting SHA256. If used, this must be paired with a S256 + * code_challenge_method. + * + * For a full example see: + * https://github.com/googleapis/google-auth-library-nodejs/blob/master/samples/oauth2-codeVerifier.js + */ + async generateCodeVerifierAsync() { + // base64 encoding uses 6 bits per character, and we want to generate128 + // characters. 6*128/8 = 96. + const crypto = crypto_1.createCrypto(); + const randomString = crypto.randomBytesBase64(96); + // The valid characters in the code_verifier are [A-Z]/[a-z]/[0-9]/ + // "-"/"."/"_"/"~". Base64 encoded strings are pretty close, so we're just + // swapping out a few chars. + const codeVerifier = randomString + .replace(/\+/g, '~') + .replace(/=/g, '_') + .replace(/\//g, '-'); + // Generate the base64 encoded SHA256 + const unencodedCodeChallenge = await crypto.sha256DigestBase64(codeVerifier); + // We need to use base64UrlEncoding instead of standard base64 + const codeChallenge = unencodedCodeChallenge + .split('=')[0] + .replace(/\+/g, '-') + .replace(/\//g, '_'); + return { codeVerifier, codeChallenge }; + } + getToken(codeOrOptions, callback) { + const options = typeof codeOrOptions === 'string' ? { code: codeOrOptions } : codeOrOptions; + if (callback) { + this.getTokenAsync(options).then(r => callback(null, r.tokens, r.res), e => callback(e, null, e.response)); + } + else { + return this.getTokenAsync(options); + } + } + async getTokenAsync(options) { + const url = OAuth2Client.GOOGLE_OAUTH2_TOKEN_URL_; + const values = { + code: options.code, + client_id: options.client_id || this._clientId, + client_secret: this._clientSecret, + redirect_uri: options.redirect_uri || this.redirectUri, + grant_type: 'authorization_code', + code_verifier: options.codeVerifier, + }; + const res = await this.transporter.request({ + method: 'POST', + url, + data: querystring.stringify(values), + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + }); + const tokens = res.data; + if (res.data && res.data.expires_in) { + tokens.expiry_date = new Date().getTime() + res.data.expires_in * 1000; + delete tokens.expires_in; + } + this.emit('tokens', tokens); + return { tokens, res }; + } + /** + * Refreshes the access token. + * @param refresh_token Existing refresh token. + * @private + */ + async refreshToken(refreshToken) { + if (!refreshToken) { + return this.refreshTokenNoCache(refreshToken); + } + // If a request to refresh using the same token has started, + // return the same promise. + if (this.refreshTokenPromises.has(refreshToken)) { + return this.refreshTokenPromises.get(refreshToken); + } + const p = this.refreshTokenNoCache(refreshToken).then(r => { + this.refreshTokenPromises.delete(refreshToken); + return r; + }, e => { + this.refreshTokenPromises.delete(refreshToken); + throw e; + }); + this.refreshTokenPromises.set(refreshToken, p); + return p; + } + async refreshTokenNoCache(refreshToken) { + if (!refreshToken) { + throw new Error('No refresh token is set.'); + } + const url = OAuth2Client.GOOGLE_OAUTH2_TOKEN_URL_; + const data = { + refresh_token: refreshToken, + client_id: this._clientId, + client_secret: this._clientSecret, + grant_type: 'refresh_token', + }; + // request for new token + const res = await this.transporter.request({ + method: 'POST', + url, + data: querystring.stringify(data), + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + }); + const tokens = res.data; + // TODO: de-duplicate this code from a few spots + if (res.data && res.data.expires_in) { + tokens.expiry_date = new Date().getTime() + res.data.expires_in * 1000; + delete tokens.expires_in; + } + this.emit('tokens', tokens); + return { tokens, res }; + } + refreshAccessToken(callback) { + if (callback) { + this.refreshAccessTokenAsync().then(r => callback(null, r.credentials, r.res), callback); + } + else { + return this.refreshAccessTokenAsync(); + } + } + async refreshAccessTokenAsync() { + const r = await this.refreshToken(this.credentials.refresh_token); + const tokens = r.tokens; + tokens.refresh_token = this.credentials.refresh_token; + this.credentials = tokens; + return { credentials: this.credentials, res: r.res }; + } + getAccessToken(callback) { + if (callback) { + this.getAccessTokenAsync().then(r => callback(null, r.token, r.res), callback); + } + else { + return this.getAccessTokenAsync(); + } + } + async getAccessTokenAsync() { + const shouldRefresh = !this.credentials.access_token || this.isTokenExpiring(); + if (shouldRefresh) { + if (!this.credentials.refresh_token) { + throw new Error('No refresh token is set.'); + } + const r = await this.refreshAccessTokenAsync(); + if (!r.credentials || (r.credentials && !r.credentials.access_token)) { + throw new Error('Could not refresh access token.'); + } + return { token: r.credentials.access_token, res: r.res }; + } + else { + return { token: this.credentials.access_token }; + } + } + getRequestMetadata(url, callback) { + messages.warn(messages.OAUTH_GET_REQUEST_METADATA_DEPRECATED); + if (callback) { + this.getRequestMetadataAsync(url).then(r => callback(null, r.headers, r.res), callback); + } + else { + return this.getRequestMetadataAsync(); + } + } + /** + * The main authentication interface. It takes an optional url which when + * present is the endpoint being accessed, and returns a Promise which + * resolves with authorization header fields. + * + * In OAuth2Client, the result has the form: + * { Authorization: 'Bearer ' } + * @param url The optional url being authorized + */ + async getRequestHeaders(url) { + const headers = (await this.getRequestMetadataAsync(url)).headers; + return headers; + } + async getRequestMetadataAsync(url) { + const thisCreds = this.credentials; + if (!thisCreds.access_token && !thisCreds.refresh_token && !this.apiKey) { + throw new Error('No access, refresh token or API key is set.'); + } + if (thisCreds.access_token && !this.isTokenExpiring()) { + thisCreds.token_type = thisCreds.token_type || 'Bearer'; + const headers = { + Authorization: thisCreds.token_type + ' ' + thisCreds.access_token, + }; + return { headers }; + } + if (this.apiKey) { + return { headers: { 'X-Goog-Api-Key': this.apiKey } }; + } + let r = null; + let tokens = null; + try { + r = await this.refreshToken(thisCreds.refresh_token); + tokens = r.tokens; + } + catch (err) { + const e = err; + if (e.response && + (e.response.status === 403 || e.response.status === 404)) { + e.message = `Could not refresh access token: ${e.message}`; + } + throw e; + } + const credentials = this.credentials; + credentials.token_type = credentials.token_type || 'Bearer'; + tokens.refresh_token = credentials.refresh_token; + this.credentials = tokens; + const headers = { + Authorization: credentials.token_type + ' ' + tokens.access_token, + }; + return { headers: this.addSharedMetadataHeaders(headers), res: r.res }; + } + /** + * Generates an URL to revoke the given token. + * @param token The existing token to be revoked. + */ + static getRevokeTokenUrl(token) { + const parameters = querystring.stringify({ token }); + return `${OAuth2Client.GOOGLE_OAUTH2_REVOKE_URL_}?${parameters}`; + } + revokeToken(token, callback) { + const opts = { + url: OAuth2Client.getRevokeTokenUrl(token), + method: 'POST', + }; + if (callback) { + this.transporter + .request(opts) + .then(r => callback(null, r), callback); + } + else { + return this.transporter.request(opts); + } + } + revokeCredentials(callback) { + if (callback) { + this.revokeCredentialsAsync().then(res => callback(null, res), callback); + } + else { + return this.revokeCredentialsAsync(); + } + } + async revokeCredentialsAsync() { + const token = this.credentials.access_token; + this.credentials = {}; + if (token) { + return this.revokeToken(token); + } + else { + throw new Error('No access token to revoke.'); + } + } + request(opts, callback) { + if (callback) { + this.requestAsync(opts).then(r => callback(null, r), e => { + return callback(e, e.response); + }); + } + else { + return this.requestAsync(opts); + } + } + async requestAsync(opts, retry = false) { + let r2; + try { + const r = await this.getRequestMetadataAsync(opts.url); + opts.headers = opts.headers || {}; + if (r.headers && r.headers['x-goog-user-project']) { + opts.headers['x-goog-user-project'] = r.headers['x-goog-user-project']; + } + if (r.headers && r.headers.Authorization) { + opts.headers.Authorization = r.headers.Authorization; + } + if (this.apiKey) { + opts.headers['X-Goog-Api-Key'] = this.apiKey; + } + r2 = await this.transporter.request(opts); + } + catch (e) { + const res = e.response; + if (res) { + const statusCode = res.status; + // Retry the request for metadata if the following criteria are true: + // - We haven't already retried. It only makes sense to retry once. + // - The response was a 401 or a 403 + // - The request didn't send a readableStream + // - An access_token and refresh_token were available, but either no + // expiry_date was available or the forceRefreshOnFailure flag is set. + // The absent expiry_date case can happen when developers stash the + // access_token and refresh_token for later use, but the access_token + // fails on the first try because it's expired. Some developers may + // choose to enable forceRefreshOnFailure to mitigate time-related + // errors. + const mayRequireRefresh = this.credentials && + this.credentials.access_token && + this.credentials.refresh_token && + (!this.credentials.expiry_date || this.forceRefreshOnFailure); + const isReadableStream = res.config.data instanceof stream.Readable; + const isAuthErr = statusCode === 401 || statusCode === 403; + if (!retry && isAuthErr && !isReadableStream && mayRequireRefresh) { + await this.refreshAccessTokenAsync(); + return this.requestAsync(opts, true); + } + } + throw e; + } + return r2; + } + verifyIdToken(options, callback) { + // This function used to accept two arguments instead of an options object. + // Check the types to help users upgrade with less pain. + // This check can be removed after a 2.0 release. + if (callback && typeof callback !== 'function') { + throw new Error('This method accepts an options object as the first parameter, which includes the idToken, audience, and maxExpiry.'); + } + if (callback) { + this.verifyIdTokenAsync(options).then(r => callback(null, r), callback); + } + else { + return this.verifyIdTokenAsync(options); + } + } + async verifyIdTokenAsync(options) { + if (!options.idToken) { + throw new Error('The verifyIdToken method requires an ID Token'); + } + const response = await this.getFederatedSignonCertsAsync(); + const login = await this.verifySignedJwtWithCertsAsync(options.idToken, response.certs, options.audience, OAuth2Client.ISSUERS_, options.maxExpiry); + return login; + } + /** + * Obtains information about the provisioned access token. Especially useful + * if you want to check the scopes that were provisioned to a given token. + * + * @param accessToken Required. The Access Token for which you want to get + * user info. + */ + async getTokenInfo(accessToken) { + const { data } = await this.transporter.request({ + method: 'GET', + url: OAuth2Client.GOOGLE_TOKEN_INFO_URL, + params: { access_token: accessToken }, + }); + const info = Object.assign({ + expiry_date: new Date().getTime() + data.expires_in * 1000, + scopes: data.scope.split(' '), + }, data); + delete info.expires_in; + delete info.scope; + return info; + } + getFederatedSignonCerts(callback) { + if (callback) { + this.getFederatedSignonCertsAsync().then(r => callback(null, r.certs, r.res), callback); + } + else { + return this.getFederatedSignonCertsAsync(); + } + } + async getFederatedSignonCertsAsync() { + const nowTime = new Date().getTime(); + const format = crypto_1.hasBrowserCrypto() + ? CertificateFormat.JWK + : CertificateFormat.PEM; + if (this.certificateExpiry && + nowTime < this.certificateExpiry.getTime() && + this.certificateCacheFormat === format) { + return { certs: this.certificateCache, format }; + } + let res; + let url; + switch (format) { + case CertificateFormat.PEM: + url = OAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_; + break; + case CertificateFormat.JWK: + url = OAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_; + break; + default: + throw new Error(`Unsupported certificate format ${format}`); + } + try { + res = await this.transporter.request({ url }); + } + catch (e) { + e.message = `Failed to retrieve verification certificates: ${e.message}`; + throw e; + } + const cacheControl = res ? res.headers['cache-control'] : undefined; + let cacheAge = -1; + if (cacheControl) { + const pattern = new RegExp('max-age=([0-9]*)'); + const regexResult = pattern.exec(cacheControl); + if (regexResult && regexResult.length === 2) { + // Cache results with max-age (in seconds) + cacheAge = Number(regexResult[1]) * 1000; // milliseconds + } + } + let certificates = {}; + switch (format) { + case CertificateFormat.PEM: + certificates = res.data; + break; + case CertificateFormat.JWK: + for (const key of res.data.keys) { + certificates[key.kid] = key; + } + break; + default: + throw new Error(`Unsupported certificate format ${format}`); + } + const now = new Date(); + this.certificateExpiry = + cacheAge === -1 ? null : new Date(now.getTime() + cacheAge); + this.certificateCache = certificates; + this.certificateCacheFormat = format; + return { certs: certificates, format, res }; + } + getIapPublicKeys(callback) { + if (callback) { + this.getIapPublicKeysAsync().then(r => callback(null, r.pubkeys, r.res), callback); + } + else { + return this.getIapPublicKeysAsync(); + } + } + async getIapPublicKeysAsync() { + const nowTime = new Date().getTime(); + let res; + const url = OAuth2Client.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_; + try { + res = await this.transporter.request({ url }); + } + catch (e) { + e.message = `Failed to retrieve verification certificates: ${e.message}`; + throw e; + } + return { pubkeys: res.data, res }; + } + verifySignedJwtWithCerts() { + // To make the code compatible with browser SubtleCrypto we need to make + // this method async. + throw new Error('verifySignedJwtWithCerts is removed, please use verifySignedJwtWithCertsAsync instead.'); + } + /** + * Verify the id token is signed with the correct certificate + * and is from the correct audience. + * @param jwt The jwt to verify (The ID Token in this case). + * @param certs The array of certs to test the jwt against. + * @param requiredAudience The audience to test the jwt against. + * @param issuers The allowed issuers of the jwt (Optional). + * @param maxExpiry The max expiry the certificate can be (Optional). + * @return Returns a promise resolving to LoginTicket on verification. + */ + async verifySignedJwtWithCertsAsync(jwt, certs, requiredAudience, issuers, maxExpiry) { + const crypto = crypto_1.createCrypto(); + if (!maxExpiry) { + maxExpiry = OAuth2Client.MAX_TOKEN_LIFETIME_SECS_; + } + const segments = jwt.split('.'); + if (segments.length !== 3) { + throw new Error('Wrong number of segments in token: ' + jwt); + } + const signed = segments[0] + '.' + segments[1]; + let signature = segments[2]; + let envelope; + let payload; + try { + envelope = JSON.parse(crypto.decodeBase64StringUtf8(segments[0])); + } + catch (err) { + err.message = `Can't parse token envelope: ${segments[0]}': ${err.message}`; + throw err; + } + if (!envelope) { + throw new Error("Can't parse token envelope: " + segments[0]); + } + try { + payload = JSON.parse(crypto.decodeBase64StringUtf8(segments[1])); + } + catch (err) { + err.message = `Can't parse token payload '${segments[0]}`; + throw err; + } + if (!payload) { + throw new Error("Can't parse token payload: " + segments[1]); + } + if (!certs.hasOwnProperty(envelope.kid)) { + // If this is not present, then there's no reason to attempt verification + throw new Error('No pem found for envelope: ' + JSON.stringify(envelope)); + } + const cert = certs[envelope.kid]; + if (envelope.alg === 'ES256') { + signature = formatEcdsa.joseToDer(signature, 'ES256').toString('base64'); + } + const verified = await crypto.verify(cert, signed, signature); + if (!verified) { + throw new Error('Invalid token signature: ' + jwt); + } + if (!payload.iat) { + throw new Error('No issue time in token: ' + JSON.stringify(payload)); + } + if (!payload.exp) { + throw new Error('No expiration time in token: ' + JSON.stringify(payload)); + } + const iat = Number(payload.iat); + if (isNaN(iat)) + throw new Error('iat field using invalid format'); + const exp = Number(payload.exp); + if (isNaN(exp)) + throw new Error('exp field using invalid format'); + const now = new Date().getTime() / 1000; + if (exp >= now + maxExpiry) { + throw new Error('Expiration time too far in future: ' + JSON.stringify(payload)); + } + const earliest = iat - OAuth2Client.CLOCK_SKEW_SECS_; + const latest = exp + OAuth2Client.CLOCK_SKEW_SECS_; + if (now < earliest) { + throw new Error('Token used too early, ' + + now + + ' < ' + + earliest + + ': ' + + JSON.stringify(payload)); + } + if (now > latest) { + throw new Error('Token used too late, ' + + now + + ' > ' + + latest + + ': ' + + JSON.stringify(payload)); + } + if (issuers && issuers.indexOf(payload.iss) < 0) { + throw new Error('Invalid issuer, expected one of [' + + issuers + + '], but got ' + + payload.iss); + } + // Check the audience matches if we have one + if (typeof requiredAudience !== 'undefined' && requiredAudience !== null) { + const aud = payload.aud; + let audVerified = false; + // If the requiredAudience is an array, check if it contains token + // audience + if (requiredAudience.constructor === Array) { + audVerified = requiredAudience.indexOf(aud) > -1; + } + else { + audVerified = aud === requiredAudience; + } + if (!audVerified) { + throw new Error('Wrong recipient, payload audience != requiredAudience'); + } + } + return new loginticket_1.LoginTicket(envelope, payload); + } + /** + * Returns true if a token is expired or will expire within + * eagerRefreshThresholdMillismilliseconds. + * If there is no expiry time, assumes the token is not expired or expiring. + */ + isTokenExpiring() { + const expiryDate = this.credentials.expiry_date; + return expiryDate + ? expiryDate <= new Date().getTime() + this.eagerRefreshThresholdMillis + : false; + } +} +exports.OAuth2Client = OAuth2Client; +OAuth2Client.GOOGLE_TOKEN_INFO_URL = 'https://oauth2.googleapis.com/tokeninfo'; +/** + * The base URL for auth endpoints. + */ +OAuth2Client.GOOGLE_OAUTH2_AUTH_BASE_URL_ = 'https://accounts.google.com/o/oauth2/v2/auth'; +/** + * The base endpoint for token retrieval. + */ +OAuth2Client.GOOGLE_OAUTH2_TOKEN_URL_ = 'https://oauth2.googleapis.com/token'; +/** + * The base endpoint to revoke tokens. + */ +OAuth2Client.GOOGLE_OAUTH2_REVOKE_URL_ = 'https://oauth2.googleapis.com/revoke'; +/** + * Google Sign on certificates in PEM format. + */ +OAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_ = 'https://www.googleapis.com/oauth2/v1/certs'; +/** + * Google Sign on certificates in JWK format. + */ +OAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_ = 'https://www.googleapis.com/oauth2/v3/certs'; +/** + * Google Sign on certificates in JWK format. + */ +OAuth2Client.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_ = 'https://www.gstatic.com/iap/verify/public_key'; +/** + * Clock skew - five minutes in seconds + */ +OAuth2Client.CLOCK_SKEW_SECS_ = 300; +/** + * Max Token Lifetime is one day in seconds + */ +OAuth2Client.MAX_TOKEN_LIFETIME_SECS_ = 86400; +/** + * The allowed oauth token issuers. + */ +OAuth2Client.ISSUERS_ = [ + 'accounts.google.com', + 'https://accounts.google.com', +]; +//# sourceMappingURL=oauth2client.js.map + +/***/ }), + +/***/ 98790: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2015 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const oauth2client_1 = __nccwpck_require__(3936); +class UserRefreshClient extends oauth2client_1.OAuth2Client { + constructor(optionsOrClientId, clientSecret, refreshToken, eagerRefreshThresholdMillis, forceRefreshOnFailure) { + const opts = optionsOrClientId && typeof optionsOrClientId === 'object' + ? optionsOrClientId + : { + clientId: optionsOrClientId, + clientSecret, + refreshToken, + eagerRefreshThresholdMillis, + forceRefreshOnFailure, + }; + super({ + clientId: opts.clientId, + clientSecret: opts.clientSecret, + eagerRefreshThresholdMillis: opts.eagerRefreshThresholdMillis, + forceRefreshOnFailure: opts.forceRefreshOnFailure, + }); + this._refreshToken = opts.refreshToken; + this.credentials.refresh_token = opts.refreshToken; + } + /** + * Refreshes the access token. + * @param refreshToken An ignored refreshToken.. + * @param callback Optional callback. + */ + async refreshTokenNoCache(refreshToken) { + return super.refreshTokenNoCache(this._refreshToken); + } + /** + * Create a UserRefreshClient credentials instance using the given input + * options. + * @param json The input object. + */ + fromJSON(json) { + if (!json) { + throw new Error('Must pass in a JSON object containing the user refresh token'); + } + if (json.type !== 'authorized_user') { + throw new Error('The incoming JSON object does not have the "authorized_user" type'); + } + if (!json.client_id) { + throw new Error('The incoming JSON object does not contain a client_id field'); + } + if (!json.client_secret) { + throw new Error('The incoming JSON object does not contain a client_secret field'); + } + if (!json.refresh_token) { + throw new Error('The incoming JSON object does not contain a refresh_token field'); + } + this._clientId = json.client_id; + this._clientSecret = json.client_secret; + this._refreshToken = json.refresh_token; + this.credentials.refresh_token = json.refresh_token; + this.quotaProjectId = json.quota_project_id; + } + fromStream(inputStream, callback) { + if (callback) { + this.fromStreamAsync(inputStream).then(r => callback(), callback); + } + else { + return this.fromStreamAsync(inputStream); + } + } + async fromStreamAsync(inputStream) { + return new Promise((resolve, reject) => { + if (!inputStream) { + return reject(new Error('Must pass in a stream containing the user refresh token.')); + } + let s = ''; + inputStream + .setEncoding('utf8') + .on('error', reject) + .on('data', chunk => (s += chunk)) + .on('end', () => { + try { + const data = JSON.parse(s); + this.fromJSON(data); + return resolve(); + } + catch (err) { + return reject(err); + } + }); + }); + } +} +exports.UserRefreshClient = UserRefreshClient; +//# sourceMappingURL=refreshclient.js.map + +/***/ }), + +/***/ 14693: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +// This file implements crypto functions we need using in-browser +// SubtleCrypto interface `window.crypto.subtle`. +const base64js = __nccwpck_require__(26463); +// Not all browsers support `TextEncoder`. The following `require` will +// provide a fast UTF8-only replacement for those browsers that don't support +// text encoding natively. +if (typeof process === 'undefined' && typeof TextEncoder === 'undefined') { + __nccwpck_require__(21917); +} +class BrowserCrypto { + constructor() { + if (typeof window === 'undefined' || + window.crypto === undefined || + window.crypto.subtle === undefined) { + throw new Error("SubtleCrypto not found. Make sure it's an https:// website."); + } + } + async sha256DigestBase64(str) { + // SubtleCrypto digest() method is async, so we must make + // this method async as well. + // To calculate SHA256 digest using SubtleCrypto, we first + // need to convert an input string to an ArrayBuffer: + const inputBuffer = new TextEncoder().encode(str); + // Result is ArrayBuffer as well. + const outputBuffer = await window.crypto.subtle.digest('SHA-256', inputBuffer); + return base64js.fromByteArray(new Uint8Array(outputBuffer)); + } + randomBytesBase64(count) { + const array = new Uint8Array(count); + window.crypto.getRandomValues(array); + return base64js.fromByteArray(array); + } + static padBase64(base64) { + // base64js requires padding, so let's add some '=' + while (base64.length % 4 !== 0) { + base64 += '='; + } + return base64; + } + async verify(pubkey, data, signature) { + const algo = { + name: 'RSASSA-PKCS1-v1_5', + hash: { name: 'SHA-256' }, + }; + const dataArray = new TextEncoder().encode(data); + const signatureArray = base64js.toByteArray(BrowserCrypto.padBase64(signature)); + const cryptoKey = await window.crypto.subtle.importKey('jwk', pubkey, algo, true, ['verify']); + // SubtleCrypto's verify method is async so we must make + // this method async as well. + const result = await window.crypto.subtle.verify(algo, cryptoKey, signatureArray, dataArray); + return result; + } + async sign(privateKey, data) { + const algo = { + name: 'RSASSA-PKCS1-v1_5', + hash: { name: 'SHA-256' }, + }; + const dataArray = new TextEncoder().encode(data); + const cryptoKey = await window.crypto.subtle.importKey('jwk', privateKey, algo, true, ['sign']); + // SubtleCrypto's sign method is async so we must make + // this method async as well. + const result = await window.crypto.subtle.sign(algo, cryptoKey, dataArray); + return base64js.fromByteArray(new Uint8Array(result)); + } + decodeBase64StringUtf8(base64) { + const uint8array = base64js.toByteArray(BrowserCrypto.padBase64(base64)); + const result = new TextDecoder().decode(uint8array); + return result; + } + encodeBase64StringUtf8(text) { + const uint8array = new TextEncoder().encode(text); + const result = base64js.fromByteArray(uint8array); + return result; + } +} +exports.BrowserCrypto = BrowserCrypto; +//# sourceMappingURL=crypto.js.map + +/***/ }), + +/***/ 78043: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const crypto_1 = __nccwpck_require__(14693); +const crypto_2 = __nccwpck_require__(30757); +function createCrypto() { + if (hasBrowserCrypto()) { + return new crypto_1.BrowserCrypto(); + } + return new crypto_2.NodeCrypto(); +} +exports.createCrypto = createCrypto; +function hasBrowserCrypto() { + return (typeof window !== 'undefined' && + typeof window.crypto !== 'undefined' && + typeof window.crypto.subtle !== 'undefined'); +} +exports.hasBrowserCrypto = hasBrowserCrypto; +//# sourceMappingURL=crypto.js.map + +/***/ }), + +/***/ 30757: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const crypto = __nccwpck_require__(6113); +class NodeCrypto { + async sha256DigestBase64(str) { + return crypto + .createHash('sha256') + .update(str) + .digest('base64'); + } + randomBytesBase64(count) { + return crypto.randomBytes(count).toString('base64'); + } + async verify(pubkey, data, signature) { + const verifier = crypto.createVerify('sha256'); + verifier.update(data); + verifier.end(); + return verifier.verify(pubkey, signature, 'base64'); + } + async sign(privateKey, data) { + const signer = crypto.createSign('RSA-SHA256'); + signer.update(data); + signer.end(); + return signer.sign(privateKey, 'base64'); + } + decodeBase64StringUtf8(base64) { + return Buffer.from(base64, 'base64').toString('utf-8'); + } + encodeBase64StringUtf8(text) { + return Buffer.from(text, 'utf-8').toString('base64'); + } +} +exports.NodeCrypto = NodeCrypto; +//# sourceMappingURL=crypto.js.map + +/***/ }), + +/***/ 20810: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Copyright 2017 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +const googleauth_1 = __nccwpck_require__(20695); +exports.GoogleAuth = googleauth_1.GoogleAuth; +var computeclient_1 = __nccwpck_require__(96875); +exports.Compute = computeclient_1.Compute; +var envDetect_1 = __nccwpck_require__(21380); +exports.GCPEnv = envDetect_1.GCPEnv; +var iam_1 = __nccwpck_require__(39735); +exports.IAMAuth = iam_1.IAMAuth; +var idtokenclient_1 = __nccwpck_require__(80298); +exports.IdTokenClient = idtokenclient_1.IdTokenClient; +var jwtaccess_1 = __nccwpck_require__(68740); +exports.JWTAccess = jwtaccess_1.JWTAccess; +var jwtclient_1 = __nccwpck_require__(13959); +exports.JWT = jwtclient_1.JWT; +var oauth2client_1 = __nccwpck_require__(3936); +exports.CodeChallengeMethod = oauth2client_1.CodeChallengeMethod; +exports.OAuth2Client = oauth2client_1.OAuth2Client; +var loginticket_1 = __nccwpck_require__(74524); +exports.LoginTicket = loginticket_1.LoginTicket; +var refreshclient_1 = __nccwpck_require__(98790); +exports.UserRefreshClient = refreshclient_1.UserRefreshClient; +var transporters_1 = __nccwpck_require__(72649); +exports.DefaultTransporter = transporters_1.DefaultTransporter; +const auth = new googleauth_1.GoogleAuth(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 38227: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2018 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +var WarningTypes; +(function (WarningTypes) { + WarningTypes["WARNING"] = "Warning"; + WarningTypes["DEPRECATION"] = "DeprecationWarning"; +})(WarningTypes = exports.WarningTypes || (exports.WarningTypes = {})); +function warn(warning) { + // Only show a given warning once + if (warning.warned) { + return; + } + warning.warned = true; + if (typeof process !== 'undefined' && process.emitWarning) { + // @types/node doesn't recognize the emitWarning syntax which + // accepts a config object, so `as any` it is + // https://nodejs.org/docs/latest-v8.x/api/process.html#process_process_emitwarning_warning_options + // tslint:disable-next-line no-any + process.emitWarning(warning.message, warning); + } + else { + console.warn(warning.message); + } +} +exports.warn = warn; +exports.PROBLEMATIC_CREDENTIALS_WARNING = { + code: 'google-auth-library:00001', + type: WarningTypes.WARNING, + message: [ + 'Your application has authenticated using end user credentials from Google', + 'Cloud SDK. We recommend that most server applications use service accounts', + 'instead. If your application continues to use end user credentials from', + 'Cloud SDK, you might receive a "quota exceeded" or "API not enabled" error.', + 'For more information about service accounts, see', + 'https://cloud.google.com/docs/authentication/.', + ].join(' '), +}; +exports.DEFAULT_PROJECT_ID_DEPRECATED = { + code: 'google-auth-library:DEP002', + type: WarningTypes.DEPRECATION, + message: [ + 'The `getDefaultProjectId` method has been deprecated, and will be removed', + 'in the 3.0 release of google-auth-library. Please use the `getProjectId`', + 'method instead.', + ].join(' '), +}; +exports.COMPUTE_CREATE_SCOPED_DEPRECATED = { + code: 'google-auth-library:DEP003', + type: WarningTypes.DEPRECATION, + message: [ + 'The `createScopedRequired` method on the `Compute` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library.', + ].join(' '), +}; +exports.JWT_CREATE_SCOPED_DEPRECATED = { + code: 'google-auth-library:DEP004', + type: WarningTypes.DEPRECATION, + message: [ + 'The `createScopedRequired` method on the `JWT` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library.', + ].join(' '), +}; +exports.IAM_CREATE_SCOPED_DEPRECATED = { + code: 'google-auth-library:DEP005', + type: WarningTypes.DEPRECATION, + message: [ + 'The `createScopedRequired` method on the `IAM` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library.', + ].join(' '), +}; +exports.JWT_ACCESS_CREATE_SCOPED_DEPRECATED = { + code: 'google-auth-library:DEP006', + type: WarningTypes.DEPRECATION, + message: [ + 'The `createScopedRequired` method on the `JWTAccess` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library.', + ].join(' '), +}; +exports.OAUTH_GET_REQUEST_METADATA_DEPRECATED = { + code: 'google-auth-library:DEP004', + type: WarningTypes.DEPRECATION, + message: [ + 'The `getRequestMetadata` method on the `OAuth2` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library. Please use', + 'the `getRequestHeaders` method instead.', + ].join(' '), +}; +exports.IAM_GET_REQUEST_METADATA_DEPRECATED = { + code: 'google-auth-library:DEP005', + type: WarningTypes.DEPRECATION, + message: [ + 'The `getRequestMetadata` method on the `IAM` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library. Please use', + 'the `getRequestHeaders` method instead.', + ].join(' '), +}; +exports.JWT_ACCESS_GET_REQUEST_METADATA_DEPRECATED = { + code: 'google-auth-library:DEP006', + type: WarningTypes.DEPRECATION, + message: [ + 'The `getRequestMetadata` method on the `JWTAccess` class has been deprecated,', + 'and will be removed in the 3.0 release of google-auth-library. Please use', + 'the `getRequestHeaders` method instead.', + ].join(' '), +}; +//# sourceMappingURL=messages.js.map + +/***/ }), + +/***/ 16608: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2017 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +// Accepts an options object passed from the user to the API. In the +// previous version of the API, it referred to a `Request` options object. +// Now it refers to an Axiox Request Config object. This is here to help +// ensure users don't pass invalid options when they upgrade from 0.x to 1.x. +// tslint:disable-next-line no-any +function validate(options) { + const vpairs = [ + { invalid: 'uri', expected: 'url' }, + { invalid: 'json', expected: 'data' }, + { invalid: 'qs', expected: 'params' }, + ]; + for (const pair of vpairs) { + if (options[pair.invalid]) { + const e = `'${pair.invalid}' is not a valid configuration option. Please use '${pair.expected}' instead. This library is using Axios for requests. Please see https://github.com/axios/axios to learn more about the valid request options.`; + throw new Error(e); + } + } +} +exports.validate = validate; +//# sourceMappingURL=options.js.map + +/***/ }), + +/***/ 72649: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const gaxios_1 = __nccwpck_require__(59555); +const options_1 = __nccwpck_require__(16608); +// tslint:disable-next-line no-var-requires +const pkg = __nccwpck_require__(51402); +const PRODUCT_NAME = 'google-api-nodejs-client'; +class DefaultTransporter { + /** + * Configures request options before making a request. + * @param opts GaxiosOptions options. + * @return Configured options. + */ + configure(opts = {}) { + opts.headers = opts.headers || {}; + if (typeof window === 'undefined') { + // set transporter user agent if not in browser + const uaValue = opts.headers['User-Agent']; + if (!uaValue) { + opts.headers['User-Agent'] = DefaultTransporter.USER_AGENT; + } + else if (!uaValue.includes(`${PRODUCT_NAME}/`)) { + opts.headers['User-Agent'] = `${uaValue} ${DefaultTransporter.USER_AGENT}`; + } + // track google-auth-library-nodejs version: + const authVersion = `auth/${pkg.version}`; + if (opts.headers['x-goog-api-client'] && + !opts.headers['x-goog-api-client'].includes(authVersion)) { + opts.headers['x-goog-api-client'] = `${opts.headers['x-goog-api-client']} ${authVersion}`; + } + else if (!opts.headers['x-goog-api-client']) { + const nodeVersion = process.version.replace(/^v/, ''); + opts.headers['x-goog-api-client'] = `gl-node/${nodeVersion} ${authVersion}`; + } + } + return opts; + } + request(opts, callback) { + // ensure the user isn't passing in request-style options + opts = this.configure(opts); + try { + options_1.validate(opts); + } + catch (e) { + if (callback) { + return callback(e); + } + else { + throw e; + } + } + if (callback) { + gaxios_1.request(opts).then(r => { + callback(null, r); + }, e => { + callback(this.processError(e)); + }); + } + else { + return gaxios_1.request(opts).catch(e => { + throw this.processError(e); + }); + } + } + /** + * Changes the error to include details from the body. + */ + processError(e) { + const res = e.response; + const err = e; + const body = res ? res.data : null; + if (res && body && body.error && res.status !== 200) { + if (typeof body.error === 'string') { + err.message = body.error; + err.code = res.status.toString(); + } + else if (Array.isArray(body.error.errors)) { + err.message = body.error.errors + .map((err2) => err2.message) + .join('\n'); + err.code = body.error.code; + err.errors = body.error.errors; + } + else { + err.message = body.error.message; + err.code = body.error.code || res.status; + } + } + else if (res && res.status >= 400) { + // Consider all 4xx and 5xx responses errors. + err.message = body; + err.code = res.status.toString(); + } + return err; + } +} +exports.DefaultTransporter = DefaultTransporter; +/** + * Default user agent. + */ +DefaultTransporter.USER_AGENT = `${PRODUCT_NAME}/${pkg.version}`; +//# sourceMappingURL=transporters.js.map + +/***/ }), + +/***/ 31212: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +// A linked list to keep track of recently-used-ness +const Yallist = __nccwpck_require__(31452) + +const MAX = Symbol('max') +const LENGTH = Symbol('length') +const LENGTH_CALCULATOR = Symbol('lengthCalculator') +const ALLOW_STALE = Symbol('allowStale') +const MAX_AGE = Symbol('maxAge') +const DISPOSE = Symbol('dispose') +const NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet') +const LRU_LIST = Symbol('lruList') +const CACHE = Symbol('cache') +const UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet') + +const naiveLength = () => 1 + +// lruList is a yallist where the head is the youngest +// item, and the tail is the oldest. the list contains the Hit +// objects as the entries. +// Each Hit object has a reference to its Yallist.Node. This +// never changes. +// +// cache is a Map (or PseudoMap) that matches the keys to +// the Yallist.Node object. +class LRUCache { + constructor (options) { + if (typeof options === 'number') + options = { max: options } + + if (!options) + options = {} + + if (options.max && (typeof options.max !== 'number' || options.max < 0)) + throw new TypeError('max must be a non-negative number') + // Kind of weird to have a default max of Infinity, but oh well. + const max = this[MAX] = options.max || Infinity + + const lc = options.length || naiveLength + this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc + this[ALLOW_STALE] = options.stale || false + if (options.maxAge && typeof options.maxAge !== 'number') + throw new TypeError('maxAge must be a number') + this[MAX_AGE] = options.maxAge || 0 + this[DISPOSE] = options.dispose + this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false + this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false + this.reset() + } + + // resize the cache when the max changes. + set max (mL) { + if (typeof mL !== 'number' || mL < 0) + throw new TypeError('max must be a non-negative number') + + this[MAX] = mL || Infinity + trim(this) + } + get max () { + return this[MAX] + } + + set allowStale (allowStale) { + this[ALLOW_STALE] = !!allowStale + } + get allowStale () { + return this[ALLOW_STALE] + } + + set maxAge (mA) { + if (typeof mA !== 'number') + throw new TypeError('maxAge must be a non-negative number') + + this[MAX_AGE] = mA + trim(this) + } + get maxAge () { + return this[MAX_AGE] + } + + // resize the cache when the lengthCalculator changes. + set lengthCalculator (lC) { + if (typeof lC !== 'function') + lC = naiveLength + + if (lC !== this[LENGTH_CALCULATOR]) { + this[LENGTH_CALCULATOR] = lC + this[LENGTH] = 0 + this[LRU_LIST].forEach(hit => { + hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key) + this[LENGTH] += hit.length + }) + } + trim(this) + } + get lengthCalculator () { return this[LENGTH_CALCULATOR] } + + get length () { return this[LENGTH] } + get itemCount () { return this[LRU_LIST].length } + + rforEach (fn, thisp) { + thisp = thisp || this + for (let walker = this[LRU_LIST].tail; walker !== null;) { + const prev = walker.prev + forEachStep(this, fn, walker, thisp) + walker = prev + } + } + + forEach (fn, thisp) { + thisp = thisp || this + for (let walker = this[LRU_LIST].head; walker !== null;) { + const next = walker.next + forEachStep(this, fn, walker, thisp) + walker = next + } + } + + keys () { + return this[LRU_LIST].toArray().map(k => k.key) + } + + values () { + return this[LRU_LIST].toArray().map(k => k.value) + } + + reset () { + if (this[DISPOSE] && + this[LRU_LIST] && + this[LRU_LIST].length) { + this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value)) + } + + this[CACHE] = new Map() // hash of items by key + this[LRU_LIST] = new Yallist() // list of items in order of use recency + this[LENGTH] = 0 // length of items in the list + } + + dump () { + return this[LRU_LIST].map(hit => + isStale(this, hit) ? false : { + k: hit.key, + v: hit.value, + e: hit.now + (hit.maxAge || 0) + }).toArray().filter(h => h) + } + + dumpLru () { + return this[LRU_LIST] + } + + set (key, value, maxAge) { + maxAge = maxAge || this[MAX_AGE] + + if (maxAge && typeof maxAge !== 'number') + throw new TypeError('maxAge must be a number') + + const now = maxAge ? Date.now() : 0 + const len = this[LENGTH_CALCULATOR](value, key) + + if (this[CACHE].has(key)) { + if (len > this[MAX]) { + del(this, this[CACHE].get(key)) + return false + } + + const node = this[CACHE].get(key) + const item = node.value + + // dispose of the old one before overwriting + // split out into 2 ifs for better coverage tracking + if (this[DISPOSE]) { + if (!this[NO_DISPOSE_ON_SET]) + this[DISPOSE](key, item.value) + } + + item.now = now + item.maxAge = maxAge + item.value = value + this[LENGTH] += len - item.length + item.length = len + this.get(key) + trim(this) + return true + } + + const hit = new Entry(key, value, len, now, maxAge) + + // oversized objects fall out of cache automatically. + if (hit.length > this[MAX]) { + if (this[DISPOSE]) + this[DISPOSE](key, value) + + return false + } + + this[LENGTH] += hit.length + this[LRU_LIST].unshift(hit) + this[CACHE].set(key, this[LRU_LIST].head) + trim(this) + return true + } + + has (key) { + if (!this[CACHE].has(key)) return false + const hit = this[CACHE].get(key).value + return !isStale(this, hit) + } + + get (key) { + return get(this, key, true) + } + + peek (key) { + return get(this, key, false) + } + + pop () { + const node = this[LRU_LIST].tail + if (!node) + return null + + del(this, node) + return node.value + } + + del (key) { + del(this, this[CACHE].get(key)) + } + + load (arr) { + // reset the cache + this.reset() + + const now = Date.now() + // A previous serialized cache has the most recent items first + for (let l = arr.length - 1; l >= 0; l--) { + const hit = arr[l] + const expiresAt = hit.e || 0 + if (expiresAt === 0) + // the item was created without expiration in a non aged cache + this.set(hit.k, hit.v) + else { + const maxAge = expiresAt - now + // dont add already expired items + if (maxAge > 0) { + this.set(hit.k, hit.v, maxAge) + } + } + } + } + + prune () { + this[CACHE].forEach((value, key) => get(this, key, false)) + } +} + +const get = (self, key, doUse) => { + const node = self[CACHE].get(key) + if (node) { + const hit = node.value + if (isStale(self, hit)) { + del(self, node) + if (!self[ALLOW_STALE]) + return undefined + } else { + if (doUse) { + if (self[UPDATE_AGE_ON_GET]) + node.value.now = Date.now() + self[LRU_LIST].unshiftNode(node) + } + } + return hit.value + } +} + +const isStale = (self, hit) => { + if (!hit || (!hit.maxAge && !self[MAX_AGE])) + return false + + const diff = Date.now() - hit.now + return hit.maxAge ? diff > hit.maxAge + : self[MAX_AGE] && (diff > self[MAX_AGE]) +} + +const trim = self => { + if (self[LENGTH] > self[MAX]) { + for (let walker = self[LRU_LIST].tail; + self[LENGTH] > self[MAX] && walker !== null;) { + // We know that we're about to delete this one, and also + // what the next least recently used key will be, so just + // go ahead and set it now. + const prev = walker.prev + del(self, walker) + walker = prev + } + } +} + +const del = (self, node) => { + if (node) { + const hit = node.value + if (self[DISPOSE]) + self[DISPOSE](hit.key, hit.value) + + self[LENGTH] -= hit.length + self[CACHE].delete(hit.key) + self[LRU_LIST].removeNode(node) + } +} + +class Entry { + constructor (key, value, length, now, maxAge) { + this.key = key + this.value = value + this.length = length + this.now = now + this.maxAge = maxAge || 0 + } +} + +const forEachStep = (self, fn, node, thisp) => { + let hit = node.value + if (isStale(self, hit)) { + del(self, node) + if (!self[ALLOW_STALE]) + hit = undefined + } + if (hit) + fn.call(thisp, hit.value, hit.key, self) +} + +module.exports = LRUCache + + +/***/ }), + +/***/ 17143: +/***/ ((module) => { + +"use strict"; + +module.exports = function (Yallist) { + Yallist.prototype[Symbol.iterator] = function* () { + for (let walker = this.head; walker; walker = walker.next) { + yield walker.value + } + } +} + + +/***/ }), + +/***/ 31452: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +module.exports = Yallist + +Yallist.Node = Node +Yallist.create = Yallist + +function Yallist (list) { + var self = this + if (!(self instanceof Yallist)) { + self = new Yallist() + } + + self.tail = null + self.head = null + self.length = 0 + + if (list && typeof list.forEach === 'function') { + list.forEach(function (item) { + self.push(item) + }) + } else if (arguments.length > 0) { + for (var i = 0, l = arguments.length; i < l; i++) { + self.push(arguments[i]) + } + } + + return self +} + +Yallist.prototype.removeNode = function (node) { + if (node.list !== this) { + throw new Error('removing node which does not belong to this list') + } + + var next = node.next + var prev = node.prev + + if (next) { + next.prev = prev + } + + if (prev) { + prev.next = next + } + + if (node === this.head) { + this.head = next + } + if (node === this.tail) { + this.tail = prev + } + + node.list.length-- + node.next = null + node.prev = null + node.list = null + + return next +} + +Yallist.prototype.unshiftNode = function (node) { + if (node === this.head) { + return + } + + if (node.list) { + node.list.removeNode(node) + } + + var head = this.head + node.list = this + node.next = head + if (head) { + head.prev = node + } + + this.head = node + if (!this.tail) { + this.tail = node + } + this.length++ +} + +Yallist.prototype.pushNode = function (node) { + if (node === this.tail) { + return + } + + if (node.list) { + node.list.removeNode(node) + } + + var tail = this.tail + node.list = this + node.prev = tail + if (tail) { + tail.next = node + } + + this.tail = node + if (!this.head) { + this.head = node + } + this.length++ +} + +Yallist.prototype.push = function () { + for (var i = 0, l = arguments.length; i < l; i++) { + push(this, arguments[i]) + } + return this.length +} + +Yallist.prototype.unshift = function () { + for (var i = 0, l = arguments.length; i < l; i++) { + unshift(this, arguments[i]) + } + return this.length +} + +Yallist.prototype.pop = function () { + if (!this.tail) { + return undefined + } + + var res = this.tail.value + this.tail = this.tail.prev + if (this.tail) { + this.tail.next = null + } else { + this.head = null + } + this.length-- + return res +} + +Yallist.prototype.shift = function () { + if (!this.head) { + return undefined + } + + var res = this.head.value + this.head = this.head.next + if (this.head) { + this.head.prev = null + } else { + this.tail = null + } + this.length-- + return res +} + +Yallist.prototype.forEach = function (fn, thisp) { + thisp = thisp || this + for (var walker = this.head, i = 0; walker !== null; i++) { + fn.call(thisp, walker.value, i, this) + walker = walker.next + } +} + +Yallist.prototype.forEachReverse = function (fn, thisp) { + thisp = thisp || this + for (var walker = this.tail, i = this.length - 1; walker !== null; i--) { + fn.call(thisp, walker.value, i, this) + walker = walker.prev + } +} + +Yallist.prototype.get = function (n) { + for (var i = 0, walker = this.head; walker !== null && i < n; i++) { + // abort out of the list early if we hit a cycle + walker = walker.next + } + if (i === n && walker !== null) { + return walker.value + } +} + +Yallist.prototype.getReverse = function (n) { + for (var i = 0, walker = this.tail; walker !== null && i < n; i++) { + // abort out of the list early if we hit a cycle + walker = walker.prev + } + if (i === n && walker !== null) { + return walker.value + } +} + +Yallist.prototype.map = function (fn, thisp) { + thisp = thisp || this + var res = new Yallist() + for (var walker = this.head; walker !== null;) { + res.push(fn.call(thisp, walker.value, this)) + walker = walker.next + } + return res +} + +Yallist.prototype.mapReverse = function (fn, thisp) { + thisp = thisp || this + var res = new Yallist() + for (var walker = this.tail; walker !== null;) { + res.push(fn.call(thisp, walker.value, this)) + walker = walker.prev + } + return res +} + +Yallist.prototype.reduce = function (fn, initial) { + var acc + var walker = this.head + if (arguments.length > 1) { + acc = initial + } else if (this.head) { + walker = this.head.next + acc = this.head.value + } else { + throw new TypeError('Reduce of empty list with no initial value') + } + + for (var i = 0; walker !== null; i++) { + acc = fn(acc, walker.value, i) + walker = walker.next + } + + return acc +} + +Yallist.prototype.reduceReverse = function (fn, initial) { + var acc + var walker = this.tail + if (arguments.length > 1) { + acc = initial + } else if (this.tail) { + walker = this.tail.prev + acc = this.tail.value + } else { + throw new TypeError('Reduce of empty list with no initial value') + } + + for (var i = this.length - 1; walker !== null; i--) { + acc = fn(acc, walker.value, i) + walker = walker.prev + } + + return acc +} + +Yallist.prototype.toArray = function () { + var arr = new Array(this.length) + for (var i = 0, walker = this.head; walker !== null; i++) { + arr[i] = walker.value + walker = walker.next + } + return arr +} + +Yallist.prototype.toArrayReverse = function () { + var arr = new Array(this.length) + for (var i = 0, walker = this.tail; walker !== null; i++) { + arr[i] = walker.value + walker = walker.prev + } + return arr +} + +Yallist.prototype.slice = function (from, to) { + to = to || this.length + if (to < 0) { + to += this.length + } + from = from || 0 + if (from < 0) { + from += this.length + } + var ret = new Yallist() + if (to < from || to < 0) { + return ret + } + if (from < 0) { + from = 0 + } + if (to > this.length) { + to = this.length + } + for (var i = 0, walker = this.head; walker !== null && i < from; i++) { + walker = walker.next + } + for (; walker !== null && i < to; i++, walker = walker.next) { + ret.push(walker.value) + } + return ret +} + +Yallist.prototype.sliceReverse = function (from, to) { + to = to || this.length + if (to < 0) { + to += this.length + } + from = from || 0 + if (from < 0) { + from += this.length + } + var ret = new Yallist() + if (to < from || to < 0) { + return ret + } + if (from < 0) { + from = 0 + } + if (to > this.length) { + to = this.length + } + for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) { + walker = walker.prev + } + for (; walker !== null && i > from; i--, walker = walker.prev) { + ret.push(walker.value) + } + return ret +} + +Yallist.prototype.splice = function (start, deleteCount /*, ...nodes */) { + if (start > this.length) { + start = this.length - 1 + } + if (start < 0) { + start = this.length + start; + } + + for (var i = 0, walker = this.head; walker !== null && i < start; i++) { + walker = walker.next + } + + var ret = [] + for (var i = 0; walker && i < deleteCount; i++) { + ret.push(walker.value) + walker = this.removeNode(walker) + } + if (walker === null) { + walker = this.tail + } + + if (walker !== this.head && walker !== this.tail) { + walker = walker.prev + } + + for (var i = 2; i < arguments.length; i++) { + walker = insert(this, walker, arguments[i]) + } + return ret; +} + +Yallist.prototype.reverse = function () { + var head = this.head + var tail = this.tail + for (var walker = head; walker !== null; walker = walker.prev) { + var p = walker.prev + walker.prev = walker.next + walker.next = p + } + this.head = tail + this.tail = head + return this +} + +function insert (self, node, value) { + var inserted = node === self.head ? + new Node(value, null, node, self) : + new Node(value, node, node.next, self) + + if (inserted.next === null) { + self.tail = inserted + } + if (inserted.prev === null) { + self.head = inserted + } + + self.length++ + + return inserted +} + +function push (self, item) { + self.tail = new Node(item, self.tail, null, self) + if (!self.head) { + self.head = self.tail + } + self.length++ +} + +function unshift (self, item) { + self.head = new Node(item, null, self.head, self) + if (!self.tail) { + self.tail = self.head + } + self.length++ +} + +function Node (value, prev, next, list) { + if (!(this instanceof Node)) { + return new Node(value, prev, next, list) + } + + this.list = list + this.value = value + + if (prev) { + prev.next = this + this.prev = prev + } else { + this.prev = null + } + + if (next) { + next.prev = this + this.next = next + } else { + this.next = null + } +} + +try { + // add if support for Symbol.iterator is present + __nccwpck_require__(17143)(Yallist) +} catch (er) {} + + +/***/ }), + +/***/ 92098: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +/** + * Copyright 2018 Google LLC + * + * Distributed under MIT license. + * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +const fs = __nccwpck_require__(57147); +const forge = __nccwpck_require__(57655); +const util_1 = __nccwpck_require__(73837); +const readFile = util_1.promisify(fs.readFile); +function getPem(filename, callback) { + if (callback) { + getPemAsync(filename) + .then(pem => callback(null, pem)) + .catch(err => callback(err, null)); + } + else { + return getPemAsync(filename); + } +} +exports.getPem = getPem; +function getPemAsync(filename) { + return readFile(filename, { encoding: 'base64' }).then(keyp12 => { + return convertToPem(keyp12); + }); +} +/** + * Converts a P12 in base64 encoding to a pem. + * @param p12base64 String containing base64 encoded p12. + * @returns a string containing the pem. + */ +function convertToPem(p12base64) { + const p12Der = forge.util.decode64(p12base64); + const p12Asn1 = forge.asn1.fromDer(p12Der); + const p12 = forge.pkcs12.pkcs12FromAsn1(p12Asn1, 'notasecret'); + const bags = p12.getBags({ friendlyName: 'privatekey' }); + if (bags.friendlyName) { + const privateKey = bags.friendlyName[0].key; + const pem = forge.pki.privateKeyToPem(privateKey); + return pem.replace(/\r\n/g, '\n'); + } + else { + throw new Error('Unable to get friendly name.'); + } +} +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 12036: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2018, Google, LLC. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +function getAPI(api, options, +// tslint:disable-next-line no-any +versions, context) { + let version; + if (typeof options === 'string') { + version = options; + options = {}; + } + else if (typeof options === 'object') { + version = options.version; + delete options.version; + } + else { + throw new Error('Argument error: Accepts only string or object'); + } + try { + const ctr = versions[version]; + const ep = new ctr(options, context); + return Object.freeze(ep); + } + catch (e) { + throw new Error(`Unable to load endpoint ${api}("${version}"): ${e.message}`); + } +} +exports.getAPI = getAPI; +//# sourceMappingURL=apiIndex.js.map + +/***/ }), + +/***/ 58971: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2016 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const google_auth_library_1 = __nccwpck_require__(20810); +const qs = __nccwpck_require__(22760); +const stream = __nccwpck_require__(12781); +const urlTemplate = __nccwpck_require__(30464); +const uuid = __nccwpck_require__(76380); +const extend = __nccwpck_require__(38171); +const isbrowser_1 = __nccwpck_require__(78322); +const url_1 = __nccwpck_require__(57310); +// tslint:disable-next-line no-var-requires +const pkg = __nccwpck_require__(73396); +function isReadableStream(obj) { + return obj instanceof stream.Readable && typeof obj._read === 'function'; +} +function getMissingParams(params, required) { + const missing = new Array(); + required.forEach(param => { + // Is the required param in the params object? + if (params[param] === undefined) { + missing.push(param); + } + }); + // If there are any required params missing, return their names in array, + // otherwise return null + return missing.length > 0 ? missing : null; +} +function createAPIRequest(parameters, callback) { + if (callback) { + createAPIRequestAsync(parameters).then(r => callback(null, r), callback); + } + else { + return createAPIRequestAsync(parameters); + } +} +exports.createAPIRequest = createAPIRequest; +async function createAPIRequestAsync(parameters) { + const options = Object.assign({}, parameters.options); + // Create a new params object so it can no longer be modified from outside + // code Also support global and per-client params, but allow them to be + // overriden per-request + const globalParams = parameters.context.google && + parameters.context.google._options && + parameters.context.google._options.params + ? parameters.context.google._options.params + : {}; + const clientParams = parameters.context && + parameters.context._options && + parameters.context._options.params + ? parameters.context._options.params + : {}; + const params = Object.assign({}, // New base object + globalParams, // Global params + clientParams, // Per-client params + parameters.params // API call params + ); + // Check for user specified user agents at all levels of config + const userAgentGlobal = parameters.context.google && + parameters.context.google._options && + parameters.context.google._options.userAgentDirectives + ? parameters.context.google._options.userAgentDirectives + : []; + const userAgentClient = parameters.context && + parameters.context._options && + parameters.context._options.userAgentDirectives + ? parameters.context._options.userAgentDirectives + : []; + const userAgentDirectives = Object.assign([], userAgentGlobal, userAgentClient, parameters.options.userAgentDirectives) || []; + const media = params.media || {}; + /** + * In a previous version of this API, the request body was stuffed in a field + * named `resource`. This caused lots of problems, because it's not uncommon + * to have an actual named parameter required which is also named `resource`. + * This meant that users would have to use `resource_` in those cases, which + * pretty much nobody figures out on their own. The request body is now + * documented as being in the `requestBody` property, but we also need to keep + * using `resource` for reasons of back-compat. Cases that need to be covered + * here: + * - user provides just a `resource` with a request body + * - user provides both a `resource` and a `resource_` + * - user provides just a `requestBody` + * - user provides both a `requestBody` and a `resource` + */ + let resource = params.requestBody; + if (!params.requestBody && + params.resource && + (!parameters.requiredParams.includes('resource') || + typeof params.resource !== 'string')) { + resource = params.resource; + delete params.resource; + } + delete params.requestBody; + let authClient = params.auth || + parameters.context._options.auth || + (parameters.context.google + ? parameters.context.google._options.auth + : null); + const defaultMime = typeof media.body === 'string' ? 'text/plain' : 'application/octet-stream'; + delete params.media; + delete params.auth; + // Grab headers from user provided options + const headers = params.headers || {}; + populateAPIHeader(headers); + delete params.headers; + // Un-alias parameters that were modified due to conflicts with reserved names + Object.keys(params).forEach(key => { + if (key.slice(-1) === '_') { + const newKey = key.slice(0, -1); + params[newKey] = params[key]; + delete params[key]; + } + }); + // Check for missing required parameters in the API request + const missingParams = getMissingParams(params, parameters.requiredParams); + if (missingParams) { + // Some params are missing - stop further operations and inform the + // developer which required params are not included in the request + throw new Error('Missing required parameters: ' + missingParams.join(', ')); + } + // Parse urls + if (options.url) { + options.url = urlTemplate.parse(options.url).expand(params); + } + if (parameters.mediaUrl) { + parameters.mediaUrl = urlTemplate.parse(parameters.mediaUrl).expand(params); + } + // Rewrite url if rootUrl is globally set + if (parameters.context._options.rootUrl !== undefined && + options.url !== undefined) { + const path = options.url.slice(parameters.context._options.rootUrl.length); + options.url = url_1.resolve(parameters.context._options.rootUrl, path); + } + // When forming the querystring, override the serializer so that array + // values are serialized like this: + // myParams: ['one', 'two'] ---> 'myParams=one&myParams=two' + // This serializer also encodes spaces in the querystring as `%20`, + // whereas the default serializer in gaxios encodes to a `+`. + options.paramsSerializer = params => { + return qs.stringify(params, { arrayFormat: 'repeat' }); + }; + // delete path parameters from the params object so they do not end up in + // query + parameters.pathParams.forEach(param => { + delete params[param]; + if (parameters.context && + parameters.context._options && + parameters.context._options.params) { + delete parameters.context._options.params[param]; + } + }); + // if authClient is actually a string, use it as an API KEY + if (typeof authClient === 'string') { + params.key = params.key || authClient; + authClient = undefined; + } + if (parameters.mediaUrl && media.body) { + options.url = parameters.mediaUrl; + if (resource) { + // gaxios doesn't support multipart/related uploads, so it has to + // be implemented here. + params.uploadType = 'multipart'; + const multipart = [ + { 'Content-Type': 'application/json', body: JSON.stringify(resource) }, + { + 'Content-Type': media.mimeType || (resource && resource.mimeType) || defaultMime, + body: media.body, + }, + ]; + const boundary = uuid.v4(); + const finale = `--${boundary}--`; + const rStream = new stream.PassThrough({ + flush(callback) { + this.push('\r\n'); + this.push(finale); + callback(); + }, + }); + const pStream = new ProgressStream(); + const isStream = isReadableStream(multipart[1].body); + headers['Content-Type'] = `multipart/related; boundary=${boundary}`; + for (const part of multipart) { + const preamble = `--${boundary}\r\nContent-Type: ${part['Content-Type']}\r\n\r\n`; + rStream.push(preamble); + if (typeof part.body === 'string') { + rStream.push(part.body); + rStream.push('\r\n'); + } + else { + // Gaxios does not natively support onUploadProgress in node.js. + // Pipe through the pStream first to read the number of bytes read + // for the purpose of tracking progress. + pStream.on('progress', bytesRead => { + if (options.onUploadProgress) { + options.onUploadProgress({ bytesRead }); + } + }); + part.body.pipe(pStream).pipe(rStream); + } + } + if (!isStream) { + rStream.push(finale); + rStream.push(null); + } + options.data = rStream; + } + else { + params.uploadType = 'media'; + Object.assign(headers, { 'Content-Type': media.mimeType || defaultMime }); + options.data = media.body; + } + } + else { + options.data = resource || undefined; + } + options.headers = extend(true, options.headers || {}, headers); + options.params = params; + if (!isbrowser_1.isBrowser()) { + options.headers['Accept-Encoding'] = 'gzip'; + userAgentDirectives.push({ + product: 'google-api-nodejs-client', + version: pkg.version, + comment: 'gzip', + }); + const userAgent = userAgentDirectives + .map(d => { + let line = `${d.product}/${d.version}`; + if (d.comment) { + line += ` (${d.comment})`; + } + return line; + }) + .join(' '); + options.headers['User-Agent'] = userAgent; + } + // By default gaxios treats any 2xx as valid, and all non 2xx status + // codes as errors. This is a problem for HTTP 304s when used along + // with an eTag. + if (!options.validateStatus) { + options.validateStatus = status => { + return (status >= 200 && status < 300) || status === 304; + }; + } + // Retry by default + options.retry = options.retry === undefined ? true : options.retry; + // Combine the GaxiosOptions options passed with this specific + // API call witht the global options configured at the API Context + // level, or at the global level. + const mergedOptions = extend(true, {}, parameters.context.google ? parameters.context.google._options : {}, parameters.context._options, options); + delete mergedOptions.auth; // is overridden by our auth code + // Perform the HTTP request. NOTE: this function used to return a + // mikeal/request object. Since the transition to Axios, the method is + // now void. This may be a source of confusion for users upgrading from + // version 24.0 -> 25.0 or up. + if (authClient && typeof authClient === 'object') { + return authClient.request(mergedOptions); + } + else { + return new google_auth_library_1.DefaultTransporter().request(mergedOptions); + } +} +/** + * Basic Passthrough Stream that records the number of bytes read + * every time the cursor is moved. + */ +class ProgressStream extends stream.Transform { + constructor() { + super(...arguments); + this.bytesRead = 0; + } + // tslint:disable-next-line: no-any + _transform(chunk, encoding, callback) { + this.bytesRead += chunk.length; + this.emit('progress', this.bytesRead); + this.push(chunk); + callback(); + } +} +function populateAPIHeader(headers) { + // TODO: we should eventually think about adding browser support for this + // populating the gl-web header (web support should also be added to + // google-auth-library-nodejs). + if (!isbrowser_1.isBrowser()) { + headers['x-goog-api-client'] = `gdcl/${pkg.version} gl-node/${process.versions.node}`; + } +} +//# sourceMappingURL=apirequest.js.map + +/***/ }), + +/***/ 565: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const google_auth_library_1 = __nccwpck_require__(20810); +class AuthPlus extends google_auth_library_1.GoogleAuth { + constructor() { + super(...arguments); + // tslint:disable-next-line: variable-name + this.JWT = google_auth_library_1.JWT; + // tslint:disable-next-line: variable-name + this.Compute = google_auth_library_1.Compute; + // tslint:disable-next-line: variable-name + this.OAuth2 = google_auth_library_1.OAuth2Client; + // tslint:disable-next-line: variable-name + this.GoogleAuth = google_auth_library_1.GoogleAuth; + } + /** + * Override getClient(), memoizing an instance of auth for + * subsequent calls to getProjectId(). + */ + async getClient(options) { + this._cachedAuth = new google_auth_library_1.GoogleAuth(options); + return this._cachedAuth.getClient(); + } + getProjectId(callback) { + if (callback) { + return this._cachedAuth + ? this._cachedAuth.getProjectId(callback) + : super.getProjectId(callback); + } + else { + return this._cachedAuth + ? this._cachedAuth.getProjectId() + : super.getProjectId(); + } + } +} +exports.AuthPlus = AuthPlus; +//# sourceMappingURL=authplus.js.map + +/***/ }), + +/***/ 87258: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2014-2016, Google, Inc. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const fs = __nccwpck_require__(57147); +const google_auth_library_1 = __nccwpck_require__(20810); +const url = __nccwpck_require__(57310); +const util = __nccwpck_require__(73837); +const apirequest_1 = __nccwpck_require__(58971); +const endpoint_1 = __nccwpck_require__(84025); +const readFile = util.promisify(fs.readFile); +class Discovery { + /** + * Discovery for discovering API endpoints + * + * @param options Options for discovery + */ + constructor(options) { + this.transporter = new google_auth_library_1.DefaultTransporter(); + this.options = options || {}; + } + /** + * Generate and Endpoint from an endpoint schema object. + * + * @param schema The schema from which to generate the Endpoint. + * @return A function that creates an endpoint. + */ + makeEndpoint(schema) { + return (options) => { + const ep = new endpoint_1.Endpoint(options); + ep.applySchema(ep, schema, schema, ep); + return ep; + }; + } + /** + * Log output of generator. Works just like console.log + */ + log(...args) { + if (this.options && this.options.debug) { + console.log(...args); + } + } + /** + * Generate all APIs and return as in-memory object. + * @param discoveryUrl + */ + async discoverAllAPIs(discoveryUrl) { + const headers = this.options.includePrivate + ? {} + : { 'X-User-Ip': '0.0.0.0' }; + const res = await this.transporter.request({ + url: discoveryUrl, + headers, + }); + const items = res.data.items; + const apis = await Promise.all(items.map(async (api) => { + const endpointCreator = await this.discoverAPI(api.discoveryRestUrl); + return { api, endpointCreator }; + })); + const versionIndex = {}; + // tslint:disable-next-line no-any + const apisIndex = {}; + for (const set of apis) { + if (!apisIndex[set.api.name]) { + versionIndex[set.api.name] = {}; + apisIndex[set.api.name] = (options) => { + const type = typeof options; + let version; + if (type === 'string') { + version = options; + options = {}; + } + else if (type === 'object') { + version = options.version; + delete options.version; + } + else { + throw new Error('Argument error: Accepts only string or object'); + } + try { + const ep = + // tslint:disable-next-line: no-any + set.endpointCreator(options, this); + return Object.freeze(ep); // create new & freeze + } + catch (e) { + throw new Error(util.format('Unable to load endpoint %s("%s"): %s', set.api.name, version, e.message)); + } + }; + } + versionIndex[set.api.name][set.api.version] = set.endpointCreator; + } + return apisIndex; + } + /** + * Generate API file given discovery URL + * + * @param apiDiscoveryUrl URL or filename of discovery doc for API + * @returns A promise that resolves with a function that creates the endpoint + */ + async discoverAPI(apiDiscoveryUrl) { + if (typeof apiDiscoveryUrl === 'string') { + const parts = url.parse(apiDiscoveryUrl); + if (apiDiscoveryUrl && !parts.protocol) { + this.log('Reading from file ' + apiDiscoveryUrl); + const file = await readFile(apiDiscoveryUrl, { encoding: 'utf8' }); + return this.makeEndpoint(JSON.parse(file)); + } + else { + this.log('Requesting ' + apiDiscoveryUrl); + const res = await this.transporter.request({ + url: apiDiscoveryUrl, + }); + return this.makeEndpoint(res.data); + } + } + else { + const options = apiDiscoveryUrl; + this.log('Requesting ' + options.url); + const url = options.url; + delete options.url; + const parameters = { + options: { url, method: 'GET' }, + requiredParams: [], + pathParams: [], + params: options, + context: { google: { _options: {} }, _options: {} }, + }; + const res = await apirequest_1.createAPIRequest(parameters); + return this.makeEndpoint(res.data); + } + } +} +exports.Discovery = Discovery; +//# sourceMappingURL=discovery.js.map + +/***/ }), + +/***/ 84025: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2018, Google, LLC. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const apirequest_1 = __nccwpck_require__(58971); +class Endpoint { + constructor(options) { + this._options = options || {}; + } + /** + * Given a schema, add methods and resources to a target. + * + * @param {object} target The target to which to apply the schema. + * @param {object} rootSchema The top-level schema, so we don't lose track of it + * during recursion. + * @param {object} schema The current schema from which to extract methods and + * resources. + * @param {object} context The context to add to each method. + */ + applySchema(target, rootSchema, schema, context) { + this.applyMethodsFromSchema(target, rootSchema, schema, context); + if (schema.resources) { + for (const resourceName in schema.resources) { + if (schema.resources.hasOwnProperty(resourceName)) { + const resource = schema.resources[resourceName]; + if (!target[resourceName]) { + target[resourceName] = {}; + } + this.applySchema(target[resourceName], rootSchema, resource, context); + } + } + } + } + /** + * Given a schema, add methods to a target. + * + * @param {object} target The target to which to apply the methods. + * @param {object} rootSchema The top-level schema, so we don't lose track of it + * during recursion. + * @param {object} schema The current schema from which to extract methods. + * @param {object} context The context to add to each method. + */ + applyMethodsFromSchema(target, rootSchema, schema, context) { + if (schema.methods) { + for (const name in schema.methods) { + if (schema.methods.hasOwnProperty(name)) { + const method = schema.methods[name]; + target[name] = this.makeMethod(rootSchema, method, context); + } + } + } + } + /** + * Given a method schema, add a method to a target. + * + * @param target The target to which to add the method. + * @param schema The top-level schema that contains the rootUrl, etc. + * @param method The method schema from which to generate the method. + * @param context The context to add to the method. + */ + makeMethod(schema, method, context) { + return (paramsOrCallback, callback) => { + const params = typeof paramsOrCallback === 'function' ? {} : paramsOrCallback; + callback = + typeof paramsOrCallback === 'function' + ? paramsOrCallback + : callback; + const schemaUrl = buildurl(schema.rootUrl + schema.servicePath + method.path); + const parameters = { + options: { + url: schemaUrl.substring(1, schemaUrl.length - 1), + method: method.httpMethod, + }, + params, + requiredParams: method.parameterOrder || [], + pathParams: this.getPathParams(method.parameters), + context, + }; + if (method.mediaUpload && + method.mediaUpload.protocols && + method.mediaUpload.protocols.simple && + method.mediaUpload.protocols.simple.path) { + const mediaUrl = buildurl(schema.rootUrl + method.mediaUpload.protocols.simple.path); + parameters.mediaUrl = mediaUrl.substring(1, mediaUrl.length - 1); + } + if (!callback) { + return apirequest_1.createAPIRequest(parameters); + } + apirequest_1.createAPIRequest(parameters, callback); + return; + }; + } + getPathParams(params) { + const pathParams = new Array(); + if (typeof params !== 'object') { + params = {}; + } + Object.keys(params).forEach(key => { + if (params[key].location === 'path') { + pathParams.push(key); + } + }); + return pathParams; + } +} +exports.Endpoint = Endpoint; +/** + * Build a string used to create a URL from the discovery doc provided URL. + * replace double slashes with single slash (except in https://) + * @private + * @param input URL to build from + * @return Resulting built URL + */ +function buildurl(input) { + return input ? `'${input}'`.replace(/([^:]\/)\/+/g, '$1') : ''; +} +//# sourceMappingURL=endpoint.js.map + +/***/ }), + +/***/ 40524: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2018, Google, LLC. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +var google_auth_library_1 = __nccwpck_require__(20810); +exports.OAuth2Client = google_auth_library_1.OAuth2Client; +var apiIndex_1 = __nccwpck_require__(12036); +exports.getAPI = apiIndex_1.getAPI; +var apirequest_1 = __nccwpck_require__(58971); +exports.createAPIRequest = apirequest_1.createAPIRequest; +var authplus_1 = __nccwpck_require__(565); +exports.AuthPlus = authplus_1.AuthPlus; +var discovery_1 = __nccwpck_require__(87258); +exports.Discovery = discovery_1.Discovery; +var endpoint_1 = __nccwpck_require__(84025); +exports.Endpoint = endpoint_1.Endpoint; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 78322: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +function isBrowser() { + return typeof window !== 'undefined'; +} +exports.isBrowser = isBrowser; +//# sourceMappingURL=isbrowser.js.map + +/***/ }), + +/***/ 58390: +/***/ ((module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ +var byteToHex = []; + +for (var i = 0; i < 256; ++i) { + byteToHex[i] = (i + 0x100).toString(16).substr(1); +} + +function bytesToUuid(buf, offset) { + var i = offset || 0; + var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 + + return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join(''); +} + +var _default = bytesToUuid; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 76380: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "v1", ({ + enumerable: true, + get: function () { + return _v.default; + } +})); +Object.defineProperty(exports, "v3", ({ + enumerable: true, + get: function () { + return _v2.default; + } +})); +Object.defineProperty(exports, "v4", ({ + enumerable: true, + get: function () { + return _v3.default; + } +})); +Object.defineProperty(exports, "v5", ({ + enumerable: true, + get: function () { + return _v4.default; + } +})); + +var _v = _interopRequireDefault(__nccwpck_require__(49513)); + +var _v2 = _interopRequireDefault(__nccwpck_require__(86274)); + +var _v3 = _interopRequireDefault(__nccwpck_require__(20318)); + +var _v4 = _interopRequireDefault(__nccwpck_require__(4753)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/***/ }), + +/***/ 4707: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function md5(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + + return _crypto.default.createHash('md5').update(bytes).digest(); +} + +var _default = md5; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 13405: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = rng; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function rng() { + return _crypto.default.randomBytes(16); +} + +module.exports = exports.default; + +/***/ }), + +/***/ 68523: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function sha1(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + + return _crypto.default.createHash('sha1').update(bytes).digest(); +} + +var _default = sha1; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 49513: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _rng = _interopRequireDefault(__nccwpck_require__(13405)); + +var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(58390)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +// **`v1()` - Generate time-based UUID** +// +// Inspired by https://github.com/LiosK/UUID.js +// and http://docs.python.org/library/uuid.html +var _nodeId; + +var _clockseq; // Previous uuid creation time + + +var _lastMSecs = 0; +var _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details + +function v1(options, buf, offset) { + var i = buf && offset || 0; + var b = buf || []; + options = options || {}; + var node = options.node || _nodeId; + var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not + // specified. We do this lazily to minimize issues related to insufficient + // system entropy. See #189 + + if (node == null || clockseq == null) { + var seedBytes = options.random || (options.rng || _rng.default)(); + + if (node == null) { + // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) + node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]]; + } + + if (clockseq == null) { + // Per 4.2.2, randomize (14 bit) clockseq + clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; + } + } // UUID timestamps are 100 nano-second units since the Gregorian epoch, + // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so + // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' + // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. + + + var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); // Per 4.2.1.2, use count of uuid's generated during the current clock + // cycle to simulate higher resolution clock + + var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs) + + var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression + + if (dt < 0 && options.clockseq === undefined) { + clockseq = clockseq + 1 & 0x3fff; + } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new + // time interval + + + if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { + nsecs = 0; + } // Per 4.2.1.2 Throw error if too many uuids are requested + + + if (nsecs >= 10000) { + throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); + } + + _lastMSecs = msecs; + _lastNSecs = nsecs; + _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch + + msecs += 12219292800000; // `time_low` + + var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; + b[i++] = tl >>> 24 & 0xff; + b[i++] = tl >>> 16 & 0xff; + b[i++] = tl >>> 8 & 0xff; + b[i++] = tl & 0xff; // `time_mid` + + var tmh = msecs / 0x100000000 * 10000 & 0xfffffff; + b[i++] = tmh >>> 8 & 0xff; + b[i++] = tmh & 0xff; // `time_high_and_version` + + b[i++] = tmh >>> 24 & 0xf | 0x10; // include version + + b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) + + b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low` + + b[i++] = clockseq & 0xff; // `node` + + for (var n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } + + return buf ? buf : (0, _bytesToUuid.default)(b); +} + +var _default = v1; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 86274: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _v = _interopRequireDefault(__nccwpck_require__(82565)); + +var _md = _interopRequireDefault(__nccwpck_require__(4707)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const v3 = (0, _v.default)('v3', 0x30, _md.default); +var _default = v3; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 82565: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = _default; +exports.URL = exports.DNS = void 0; + +var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(58390)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function uuidToBytes(uuid) { + // Note: We assume we're being passed a valid uuid string + var bytes = []; + uuid.replace(/[a-fA-F0-9]{2}/g, function (hex) { + bytes.push(parseInt(hex, 16)); + }); + return bytes; +} + +function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); // UTF8 escape + + var bytes = new Array(str.length); + + for (var i = 0; i < str.length; i++) { + bytes[i] = str.charCodeAt(i); + } + + return bytes; +} + +const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; +exports.DNS = DNS; +const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; +exports.URL = URL; + +function _default(name, version, hashfunc) { + var generateUUID = function (value, namespace, buf, offset) { + var off = buf && offset || 0; + if (typeof value == 'string') value = stringToBytes(value); + if (typeof namespace == 'string') namespace = uuidToBytes(namespace); + if (!Array.isArray(value)) throw TypeError('value must be an array of bytes'); + if (!Array.isArray(namespace) || namespace.length !== 16) throw TypeError('namespace must be uuid string or an Array of 16 byte values'); // Per 4.3 + + var bytes = hashfunc(namespace.concat(value)); + bytes[6] = bytes[6] & 0x0f | version; + bytes[8] = bytes[8] & 0x3f | 0x80; + + if (buf) { + for (var idx = 0; idx < 16; ++idx) { + buf[off + idx] = bytes[idx]; + } + } + + return buf || (0, _bytesToUuid.default)(bytes); + }; // Function#name is not settable on some platforms (#270) + + + try { + generateUUID.name = name; + } catch (err) {} // For CommonJS default export support + + + generateUUID.DNS = DNS; + generateUUID.URL = URL; + return generateUUID; +} + +/***/ }), + +/***/ 20318: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _rng = _interopRequireDefault(__nccwpck_require__(13405)); + +var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(58390)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function v4(options, buf, offset) { + var i = buf && offset || 0; + + if (typeof options == 'string') { + buf = options === 'binary' ? new Array(16) : null; + options = null; + } + + options = options || {}; + + var rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` + + + rnds[6] = rnds[6] & 0x0f | 0x40; + rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided + + if (buf) { + for (var ii = 0; ii < 16; ++ii) { + buf[i + ii] = rnds[ii]; + } + } + + return buf || (0, _bytesToUuid.default)(rnds); +} + +var _default = v4; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 4753: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _v = _interopRequireDefault(__nccwpck_require__(82565)); + +var _sha = _interopRequireDefault(__nccwpck_require__(68523)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const v5 = (0, _v.default)('v5', 0x50, _sha.default); +var _default = v5; +exports["default"] = _default; +module.exports = exports.default; + +/***/ }), + +/***/ 97913: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(52957); +exports.VERSIONS = { + v1: v1_1.abusiveexperiencereport_v1.Abusiveexperiencereport, +}; +function abusiveexperiencereport(versionOrOptions) { + return googleapis_common_1.getAPI('abusiveexperiencereport', versionOrOptions, exports.VERSIONS, this); +} +exports.abusiveexperiencereport = abusiveexperiencereport; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 52957: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var abusiveexperiencereport_v1; +(function (abusiveexperiencereport_v1) { + /** + * Abusive Experience Report API + * + * Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences. + * + * @example + * const {google} = require('googleapis'); + * const abusiveexperiencereport = google.abusiveexperiencereport('v1'); + * + * @namespace abusiveexperiencereport + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Abusiveexperiencereport + */ + class Abusiveexperiencereport { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.sites = new Resource$Sites(this.context); + this.violatingSites = new Resource$Violatingsites(this.context); + } + } + abusiveexperiencereport_v1.Abusiveexperiencereport = Abusiveexperiencereport; + class Resource$Sites { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://abusiveexperiencereport.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + abusiveexperiencereport_v1.Resource$Sites = Resource$Sites; + class Resource$Violatingsites { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://abusiveexperiencereport.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/violatingSites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + abusiveexperiencereport_v1.Resource$Violatingsites = Resource$Violatingsites; +})(abusiveexperiencereport_v1 = exports.abusiveexperiencereport_v1 || (exports.abusiveexperiencereport_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 57234: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(16214); +exports.VERSIONS = { + v1: v1_1.acceleratedmobilepageurl_v1.Acceleratedmobilepageurl, +}; +function acceleratedmobilepageurl(versionOrOptions) { + return googleapis_common_1.getAPI('acceleratedmobilepageurl', versionOrOptions, exports.VERSIONS, this); +} +exports.acceleratedmobilepageurl = acceleratedmobilepageurl; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 16214: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var acceleratedmobilepageurl_v1; +(function (acceleratedmobilepageurl_v1) { + /** + * Accelerated Mobile Pages (AMP) URL API + * + * Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). + * + * @example + * const {google} = require('googleapis'); + * const acceleratedmobilepageurl = google.acceleratedmobilepageurl('v1'); + * + * @namespace acceleratedmobilepageurl + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Acceleratedmobilepageurl + */ + class Acceleratedmobilepageurl { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.ampUrls = new Resource$Ampurls(this.context); + } + } + acceleratedmobilepageurl_v1.Acceleratedmobilepageurl = Acceleratedmobilepageurl; + class Resource$Ampurls { + constructor(context) { + this.context = context; + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://acceleratedmobilepageurl.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/ampUrls:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + acceleratedmobilepageurl_v1.Resource$Ampurls = Resource$Ampurls; +})(acceleratedmobilepageurl_v1 = exports.acceleratedmobilepageurl_v1 || (exports.acceleratedmobilepageurl_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 11959: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(28967); +exports.VERSIONS = { + v1beta1: v1beta1_1.accessapproval_v1beta1.Accessapproval, +}; +function accessapproval(versionOrOptions) { + return googleapis_common_1.getAPI('accessapproval', versionOrOptions, exports.VERSIONS, this); +} +exports.accessapproval = accessapproval; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 28967: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var accessapproval_v1beta1; +(function (accessapproval_v1beta1) { + /** + * Access Approval API + * + * An API for controlling access to data by Google personnel. + * + * @example + * const {google} = require('googleapis'); + * const accessapproval = google.accessapproval('v1beta1'); + * + * @namespace accessapproval + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Accessapproval + */ + class Accessapproval { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.folders = new Resource$Folders(this.context); + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + accessapproval_v1beta1.Accessapproval = Accessapproval; + class Resource$Folders { + constructor(context) { + this.context = context; + this.approvalRequests = new Resource$Folders$Approvalrequests(this.context); + } + deleteAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accessapproval_v1beta1.Resource$Folders = Resource$Folders; + class Resource$Folders$Approvalrequests { + constructor(context) { + this.context = context; + } + approve(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:approve').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dismiss(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:dismiss').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/approvalRequests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accessapproval_v1beta1.Resource$Folders$Approvalrequests = Resource$Folders$Approvalrequests; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.approvalRequests = new Resource$Organizations$Approvalrequests(this.context); + } + deleteAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accessapproval_v1beta1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Approvalrequests { + constructor(context) { + this.context = context; + } + approve(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:approve').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dismiss(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:dismiss').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/approvalRequests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accessapproval_v1beta1.Resource$Organizations$Approvalrequests = Resource$Organizations$Approvalrequests; + class Resource$Projects { + constructor(context) { + this.context = context; + this.approvalRequests = new Resource$Projects$Approvalrequests(this.context); + } + deleteAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accessapproval_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Approvalrequests { + constructor(context) { + this.context = context; + } + approve(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:approve').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dismiss(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:dismiss').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/approvalRequests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accessapproval_v1beta1.Resource$Projects$Approvalrequests = Resource$Projects$Approvalrequests; +})(accessapproval_v1beta1 = exports.accessapproval_v1beta1 || (exports.accessapproval_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 1747: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(94531); +const v1beta_1 = __nccwpck_require__(68224); +exports.VERSIONS = { + v1: v1_1.accesscontextmanager_v1.Accesscontextmanager, + v1beta: v1beta_1.accesscontextmanager_v1beta.Accesscontextmanager, +}; +function accesscontextmanager(versionOrOptions) { + return googleapis_common_1.getAPI('accesscontextmanager', versionOrOptions, exports.VERSIONS, this); +} +exports.accesscontextmanager = accesscontextmanager; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 94531: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var accesscontextmanager_v1; +(function (accesscontextmanager_v1) { + /** + * Access Context Manager API + * + * An API for setting attribute based access control to requests to GCP services. + * + * @example + * const {google} = require('googleapis'); + * const accesscontextmanager = google.accesscontextmanager('v1'); + * + * @namespace accesscontextmanager + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Accesscontextmanager + */ + class Accesscontextmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accessPolicies = new Resource$Accesspolicies(this.context); + this.operations = new Resource$Operations(this.context); + } + } + accesscontextmanager_v1.Accesscontextmanager = Accesscontextmanager; + class Resource$Accesspolicies { + constructor(context) { + this.context = context; + this.accessLevels = new Resource$Accesspolicies$Accesslevels(this.context); + this.servicePerimeters = new Resource$Accesspolicies$Serviceperimeters(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/accessPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/accessPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1.Resource$Accesspolicies = Resource$Accesspolicies; + class Resource$Accesspolicies$Accesslevels { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/accessLevels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/accessLevels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1.Resource$Accesspolicies$Accesslevels = Resource$Accesspolicies$Accesslevels; + class Resource$Accesspolicies$Serviceperimeters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/servicePerimeters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/servicePerimeters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1.Resource$Accesspolicies$Serviceperimeters = Resource$Accesspolicies$Serviceperimeters; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1.Resource$Operations = Resource$Operations; +})(accesscontextmanager_v1 = exports.accesscontextmanager_v1 || (exports.accesscontextmanager_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 68224: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var accesscontextmanager_v1beta; +(function (accesscontextmanager_v1beta) { + /** + * Access Context Manager API + * + * An API for setting attribute based access control to requests to GCP services. + * + * @example + * const {google} = require('googleapis'); + * const accesscontextmanager = google.accesscontextmanager('v1beta'); + * + * @namespace accesscontextmanager + * @type {Function} + * @version v1beta + * @variation v1beta + * @param {object=} options Options for Accesscontextmanager + */ + class Accesscontextmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accessPolicies = new Resource$Accesspolicies(this.context); + this.operations = new Resource$Operations(this.context); + } + } + accesscontextmanager_v1beta.Accesscontextmanager = Accesscontextmanager; + class Resource$Accesspolicies { + constructor(context) { + this.context = context; + this.accessLevels = new Resource$Accesspolicies$Accesslevels(this.context); + this.servicePerimeters = new Resource$Accesspolicies$Serviceperimeters(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/accessPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/accessPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1beta.Resource$Accesspolicies = Resource$Accesspolicies; + class Resource$Accesspolicies$Accesslevels { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/accessLevels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/accessLevels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1beta.Resource$Accesspolicies$Accesslevels = Resource$Accesspolicies$Accesslevels; + class Resource$Accesspolicies$Serviceperimeters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/servicePerimeters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/servicePerimeters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1beta.Resource$Accesspolicies$Serviceperimeters = Resource$Accesspolicies$Serviceperimeters; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + accesscontextmanager_v1beta.Resource$Operations = Resource$Operations; +})(accesscontextmanager_v1beta = exports.accesscontextmanager_v1beta || (exports.accesscontextmanager_v1beta = {})); +//# sourceMappingURL=v1beta.js.map + +/***/ }), + +/***/ 67972: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_2_1 = __nccwpck_require__(73080); +const v1_3_1 = __nccwpck_require__(57099); +const v1_4_1 = __nccwpck_require__(46288); +exports.VERSIONS = { + 'v1.2': v1_2_1.adexchangebuyer_v1_2.Adexchangebuyer, + 'v1.3': v1_3_1.adexchangebuyer_v1_3.Adexchangebuyer, + 'v1.4': v1_4_1.adexchangebuyer_v1_4.Adexchangebuyer, +}; +function adexchangebuyer(versionOrOptions) { + return googleapis_common_1.getAPI('adexchangebuyer', versionOrOptions, exports.VERSIONS, this); +} +exports.adexchangebuyer = adexchangebuyer; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 73080: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adexchangebuyer_v1_2; +(function (adexchangebuyer_v1_2) { + /** + * Ad Exchange Buyer API + * + * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. + * + * @example + * const {google} = require('googleapis'); + * const adexchangebuyer = google.adexchangebuyer('v1.2'); + * + * @namespace adexchangebuyer + * @type {Function} + * @version v1.2 + * @variation v1.2 + * @param {object=} options Options for Adexchangebuyer + */ + class Adexchangebuyer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.creatives = new Resource$Creatives(this.context); + } + } + adexchangebuyer_v1_2.Adexchangebuyer = Adexchangebuyer; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.2/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.2/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.2/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.2/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_2.Resource$Accounts = Resource$Accounts; + class Resource$Creatives { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.2/creatives/{accountId}/{buyerCreativeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'buyerCreativeId'], + pathParams: ['accountId', 'buyerCreativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.2/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.2/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_2.Resource$Creatives = Resource$Creatives; +})(adexchangebuyer_v1_2 = exports.adexchangebuyer_v1_2 || (exports.adexchangebuyer_v1_2 = {})); +//# sourceMappingURL=v1.2.js.map + +/***/ }), + +/***/ 57099: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adexchangebuyer_v1_3; +(function (adexchangebuyer_v1_3) { + /** + * Ad Exchange Buyer API + * + * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. + * + * @example + * const {google} = require('googleapis'); + * const adexchangebuyer = google.adexchangebuyer('v1.3'); + * + * @namespace adexchangebuyer + * @type {Function} + * @version v1.3 + * @variation v1.3 + * @param {object=} options Options for Adexchangebuyer + */ + class Adexchangebuyer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.billingInfo = new Resource$Billinginfo(this.context); + this.budget = new Resource$Budget(this.context); + this.creatives = new Resource$Creatives(this.context); + this.directDeals = new Resource$Directdeals(this.context); + this.performanceReport = new Resource$Performancereport(this.context); + this.pretargetingConfig = new Resource$Pretargetingconfig(this.context); + } + } + adexchangebuyer_v1_3.Adexchangebuyer = Adexchangebuyer; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Accounts = Resource$Accounts; + class Resource$Billinginfo { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/billinginfo/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/billinginfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Billinginfo = Resource$Billinginfo; + class Resource$Budget { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'billingId'], + pathParams: ['accountId', 'billingId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'billingId'], + pathParams: ['accountId', 'billingId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'billingId'], + pathParams: ['accountId', 'billingId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Budget = Resource$Budget; + class Resource$Creatives { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/creatives/{accountId}/{buyerCreativeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'buyerCreativeId'], + pathParams: ['accountId', 'buyerCreativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Creatives = Resource$Creatives; + class Resource$Directdeals { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/directdeals/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/directdeals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Directdeals = Resource$Directdeals; + class Resource$Performancereport { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/performancereport').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'endDateTime', 'startDateTime'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Performancereport = Resource$Performancereport; + class Resource$Pretargetingconfig { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_3.Resource$Pretargetingconfig = Resource$Pretargetingconfig; +})(adexchangebuyer_v1_3 = exports.adexchangebuyer_v1_3 || (exports.adexchangebuyer_v1_3 = {})); +//# sourceMappingURL=v1.3.js.map + +/***/ }), + +/***/ 46288: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adexchangebuyer_v1_4; +(function (adexchangebuyer_v1_4) { + /** + * Ad Exchange Buyer API + * + * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. + * + * @example + * const {google} = require('googleapis'); + * const adexchangebuyer = google.adexchangebuyer('v1.4'); + * + * @namespace adexchangebuyer + * @type {Function} + * @version v1.4 + * @variation v1.4 + * @param {object=} options Options for Adexchangebuyer + */ + class Adexchangebuyer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.billingInfo = new Resource$Billinginfo(this.context); + this.budget = new Resource$Budget(this.context); + this.creatives = new Resource$Creatives(this.context); + this.marketplacedeals = new Resource$Marketplacedeals(this.context); + this.marketplacenotes = new Resource$Marketplacenotes(this.context); + this.marketplaceprivateauction = new Resource$Marketplaceprivateauction(this.context); + this.performanceReport = new Resource$Performancereport(this.context); + this.pretargetingConfig = new Resource$Pretargetingconfig(this.context); + this.products = new Resource$Products(this.context); + this.proposals = new Resource$Proposals(this.context); + this.pubprofiles = new Resource$Pubprofiles(this.context); + } + } + adexchangebuyer_v1_4.Adexchangebuyer = Adexchangebuyer; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Accounts = Resource$Accounts; + class Resource$Billinginfo { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/billinginfo/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/billinginfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Billinginfo = Resource$Billinginfo; + class Resource$Budget { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/billinginfo/{accountId}/{billingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'billingId'], + pathParams: ['accountId', 'billingId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/billinginfo/{accountId}/{billingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'billingId'], + pathParams: ['accountId', 'billingId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/billinginfo/{accountId}/{billingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'billingId'], + pathParams: ['accountId', 'billingId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Budget = Resource$Budget; + class Resource$Creatives { + constructor(context) { + this.context = context; + } + addDeal(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'buyerCreativeId', 'dealId'], + pathParams: ['accountId', 'buyerCreativeId', 'dealId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'buyerCreativeId'], + pathParams: ['accountId', 'buyerCreativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listDeals(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}/listDeals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'buyerCreativeId'], + pathParams: ['accountId', 'buyerCreativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeDeal(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'buyerCreativeId', 'dealId'], + pathParams: ['accountId', 'buyerCreativeId', 'dealId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Creatives = Resource$Creatives; + class Resource$Marketplacedeals { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/deals/delete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/deals/insert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/proposals/{proposalId}/deals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/deals/update').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Marketplacedeals = Resource$Marketplacedeals; + class Resource$Marketplacenotes { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/notes/insert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/proposals/{proposalId}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Marketplacenotes = Resource$Marketplacenotes; + class Resource$Marketplaceprivateauction { + constructor(context) { + this.context = context; + } + updateproposal(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/privateauction/{privateAuctionId}/updateproposal').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['privateAuctionId'], + pathParams: ['privateAuctionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Marketplaceprivateauction = Resource$Marketplaceprivateauction; + class Resource$Performancereport { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/performancereport').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'endDateTime', 'startDateTime'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Performancereport = Resource$Performancereport; + class Resource$Pretargetingconfig { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'configId'], + pathParams: ['accountId', 'configId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Pretargetingconfig = Resource$Pretargetingconfig; + class Resource$Products { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['productId'], + pathParams: ['productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/products/search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Products = Resource$Products; + class Resource$Proposals { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/proposals/{proposalId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/proposals/insert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/{revisionNumber}/{updateAction}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['proposalId', 'revisionNumber', 'updateAction'], + pathParams: ['proposalId', 'revisionNumber', 'updateAction'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/proposals/search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setupcomplete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/setupcomplete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['proposalId'], + pathParams: ['proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adexchangebuyer/v1.4/proposals/{proposalId}/{revisionNumber}/{updateAction}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['proposalId', 'revisionNumber', 'updateAction'], + pathParams: ['proposalId', 'revisionNumber', 'updateAction'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Proposals = Resource$Proposals; + class Resource$Pubprofiles { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adexchangebuyer/v1.4/publisher/{accountId}/profiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer_v1_4.Resource$Pubprofiles = Resource$Pubprofiles; +})(adexchangebuyer_v1_4 = exports.adexchangebuyer_v1_4 || (exports.adexchangebuyer_v1_4 = {})); +//# sourceMappingURL=v1.4.js.map + +/***/ }), + +/***/ 78913: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2beta1_1 = __nccwpck_require__(49104); +exports.VERSIONS = { + v2beta1: v2beta1_1.adexchangebuyer2_v2beta1.Adexchangebuyer2, +}; +function adexchangebuyer2(versionOrOptions) { + return googleapis_common_1.getAPI('adexchangebuyer2', versionOrOptions, exports.VERSIONS, this); +} +exports.adexchangebuyer2 = adexchangebuyer2; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 49104: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adexchangebuyer2_v2beta1; +(function (adexchangebuyer2_v2beta1) { + /** + * Ad Exchange Buyer API II + * + * Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. + * + * @example + * const {google} = require('googleapis'); + * const adexchangebuyer2 = google.adexchangebuyer2('v2beta1'); + * + * @namespace adexchangebuyer2 + * @type {Function} + * @version v2beta1 + * @variation v2beta1 + * @param {object=} options Options for Adexchangebuyer2 + */ + class Adexchangebuyer2 { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.bidders = new Resource$Bidders(this.context); + } + } + adexchangebuyer2_v2beta1.Adexchangebuyer2 = Adexchangebuyer2; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.clients = new Resource$Accounts$Clients(this.context); + this.creatives = new Resource$Accounts$Creatives(this.context); + this.finalizedProposals = new Resource$Accounts$Finalizedproposals(this.context); + this.products = new Resource$Accounts$Products(this.context); + this.proposals = new Resource$Accounts$Proposals(this.context); + this.publisherProfiles = new Resource$Accounts$Publisherprofiles(this.context); + } + } + adexchangebuyer2_v2beta1.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Clients { + constructor(context) { + this.context = context; + this.invitations = new Resource$Accounts$Clients$Invitations(this.context); + this.users = new Resource$Accounts$Clients$Users(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/clients').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId'], + pathParams: ['accountId', 'clientAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/clients').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId'], + pathParams: ['accountId', 'clientAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Clients = Resource$Accounts$Clients; + class Resource$Accounts$Clients$Invitations { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId'], + pathParams: ['accountId', 'clientAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId', 'invitationId'], + pathParams: ['accountId', 'clientAccountId', 'invitationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId'], + pathParams: ['accountId', 'clientAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Clients$Invitations = Resource$Accounts$Clients$Invitations; + class Resource$Accounts$Clients$Users { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId', 'userId'], + pathParams: ['accountId', 'clientAccountId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId'], + pathParams: ['accountId', 'clientAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'clientAccountId', 'userId'], + pathParams: ['accountId', 'clientAccountId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Clients$Users = Resource$Accounts$Clients$Users; + class Resource$Accounts$Creatives { + constructor(context) { + this.context = context; + this.dealAssociations = new Resource$Accounts$Creatives$Dealassociations(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives/{creativeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stopWatching(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives/{creativeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/creatives/{creativeId}:watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Creatives = Resource$Accounts$Creatives; + class Resource$Accounts$Creatives$Dealassociations { + constructor(context) { + this.context = context; + } + add(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + remove(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'creativeId'], + pathParams: ['accountId', 'creativeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Creatives$Dealassociations = Resource$Accounts$Creatives$Dealassociations; + class Resource$Accounts$Finalizedproposals { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/finalizedProposals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Finalizedproposals = Resource$Accounts$Finalizedproposals; + class Resource$Accounts$Products { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'productId'], + pathParams: ['accountId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Products = Resource$Accounts$Products; + class Resource$Accounts$Proposals { + constructor(context) { + this.context = context; + } + accept(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/proposals/{proposalId}:accept').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addNote(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancelNegotiation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + completeSetup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals/{proposalId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/proposals/{proposalId}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/proposals/{proposalId}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals/{proposalId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'proposalId'], + pathParams: ['accountId', 'proposalId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Proposals = Resource$Accounts$Proposals; + class Resource$Accounts$Publisherprofiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'publisherProfileId'], + pathParams: ['accountId', 'publisherProfileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/accounts/{accountId}/publisherProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Accounts$Publisherprofiles = Resource$Accounts$Publisherprofiles; + class Resource$Bidders { + constructor(context) { + this.context = context; + this.accounts = new Resource$Bidders$Accounts(this.context); + this.filterSets = new Resource$Bidders$Filtersets(this.context); + } + } + adexchangebuyer2_v2beta1.Resource$Bidders = Resource$Bidders; + class Resource$Bidders$Accounts { + constructor(context) { + this.context = context; + this.filterSets = new Resource$Bidders$Accounts$Filtersets(this.context); + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts = Resource$Bidders$Accounts; + class Resource$Bidders$Accounts$Filtersets { + constructor(context) { + this.context = context; + this.bidMetrics = new Resource$Bidders$Accounts$Filtersets$Bidmetrics(this.context); + this.bidResponseErrors = new Resource$Bidders$Accounts$Filtersets$Bidresponseerrors(this.context); + this.bidResponsesWithoutBids = new Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids(this.context); + this.filteredBidRequests = new Resource$Bidders$Accounts$Filtersets$Filteredbidrequests(this.context); + this.filteredBids = new Resource$Bidders$Accounts$Filtersets$Filteredbids(this.context); + this.impressionMetrics = new Resource$Bidders$Accounts$Filtersets$Impressionmetrics(this.context); + this.losingBids = new Resource$Bidders$Accounts$Filtersets$Losingbids(this.context); + this.nonBillableWinningBids = new Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['ownerName'], + pathParams: ['ownerName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ownerName'], + pathParams: ['ownerName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets = Resource$Bidders$Accounts$Filtersets; + class Resource$Bidders$Accounts$Filtersets$Bidmetrics { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/bidMetrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Bidmetrics = Resource$Bidders$Accounts$Filtersets$Bidmetrics; + class Resource$Bidders$Accounts$Filtersets$Bidresponseerrors { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponseErrors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Bidresponseerrors = Resource$Bidders$Accounts$Filtersets$Bidresponseerrors; + class Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponsesWithoutBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids = Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids; + class Resource$Bidders$Accounts$Filtersets$Filteredbidrequests { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBidRequests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbidrequests = Resource$Bidders$Accounts$Filtersets$Filteredbidrequests; + class Resource$Bidders$Accounts$Filtersets$Filteredbids { + constructor(context) { + this.context = context; + this.creatives = new Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives(this.context); + this.details = new Resource$Bidders$Accounts$Filtersets$Filteredbids$Details(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbids = Resource$Bidders$Accounts$Filtersets$Filteredbids; + class Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName', 'creativeStatusId'], + pathParams: ['creativeStatusId', 'filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives = Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives; + class Resource$Bidders$Accounts$Filtersets$Filteredbids$Details { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName', 'creativeStatusId'], + pathParams: ['creativeStatusId', 'filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbids$Details = Resource$Bidders$Accounts$Filtersets$Filteredbids$Details; + class Resource$Bidders$Accounts$Filtersets$Impressionmetrics { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/impressionMetrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Impressionmetrics = Resource$Bidders$Accounts$Filtersets$Impressionmetrics; + class Resource$Bidders$Accounts$Filtersets$Losingbids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/losingBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Losingbids = Resource$Bidders$Accounts$Filtersets$Losingbids; + class Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/nonBillableWinningBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids = Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids; + class Resource$Bidders$Filtersets { + constructor(context) { + this.context = context; + this.bidMetrics = new Resource$Bidders$Filtersets$Bidmetrics(this.context); + this.bidResponseErrors = new Resource$Bidders$Filtersets$Bidresponseerrors(this.context); + this.bidResponsesWithoutBids = new Resource$Bidders$Filtersets$Bidresponseswithoutbids(this.context); + this.filteredBidRequests = new Resource$Bidders$Filtersets$Filteredbidrequests(this.context); + this.filteredBids = new Resource$Bidders$Filtersets$Filteredbids(this.context); + this.impressionMetrics = new Resource$Bidders$Filtersets$Impressionmetrics(this.context); + this.losingBids = new Resource$Bidders$Filtersets$Losingbids(this.context); + this.nonBillableWinningBids = new Resource$Bidders$Filtersets$Nonbillablewinningbids(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['ownerName'], + pathParams: ['ownerName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ownerName'], + pathParams: ['ownerName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets = Resource$Bidders$Filtersets; + class Resource$Bidders$Filtersets$Bidmetrics { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/bidMetrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Bidmetrics = Resource$Bidders$Filtersets$Bidmetrics; + class Resource$Bidders$Filtersets$Bidresponseerrors { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponseErrors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Bidresponseerrors = Resource$Bidders$Filtersets$Bidresponseerrors; + class Resource$Bidders$Filtersets$Bidresponseswithoutbids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponsesWithoutBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Bidresponseswithoutbids = Resource$Bidders$Filtersets$Bidresponseswithoutbids; + class Resource$Bidders$Filtersets$Filteredbidrequests { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBidRequests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbidrequests = Resource$Bidders$Filtersets$Filteredbidrequests; + class Resource$Bidders$Filtersets$Filteredbids { + constructor(context) { + this.context = context; + this.creatives = new Resource$Bidders$Filtersets$Filteredbids$Creatives(this.context); + this.details = new Resource$Bidders$Filtersets$Filteredbids$Details(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbids = Resource$Bidders$Filtersets$Filteredbids; + class Resource$Bidders$Filtersets$Filteredbids$Creatives { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName', 'creativeStatusId'], + pathParams: ['creativeStatusId', 'filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbids$Creatives = Resource$Bidders$Filtersets$Filteredbids$Creatives; + class Resource$Bidders$Filtersets$Filteredbids$Details { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName', 'creativeStatusId'], + pathParams: ['creativeStatusId', 'filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbids$Details = Resource$Bidders$Filtersets$Filteredbids$Details; + class Resource$Bidders$Filtersets$Impressionmetrics { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/impressionMetrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Impressionmetrics = Resource$Bidders$Filtersets$Impressionmetrics; + class Resource$Bidders$Filtersets$Losingbids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/losingBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Losingbids = Resource$Bidders$Filtersets$Losingbids; + class Resource$Bidders$Filtersets$Nonbillablewinningbids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+filterSetName}/nonBillableWinningBids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterSetName'], + pathParams: ['filterSetName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Nonbillablewinningbids = Resource$Bidders$Filtersets$Nonbillablewinningbids; +})(adexchangebuyer2_v2beta1 = exports.adexchangebuyer2_v2beta1 || (exports.adexchangebuyer2_v2beta1 = {})); +//# sourceMappingURL=v2beta1.js.map + +/***/ }), + +/***/ 83156: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(34181); +exports.VERSIONS = { + v1: v1_1.adexperiencereport_v1.Adexperiencereport, +}; +function adexperiencereport(versionOrOptions) { + return googleapis_common_1.getAPI('adexperiencereport', versionOrOptions, exports.VERSIONS, this); +} +exports.adexperiencereport = adexperiencereport; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 34181: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adexperiencereport_v1; +(function (adexperiencereport_v1) { + /** + * Ad Experience Report API + * + * Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads. + * + * @example + * const {google} = require('googleapis'); + * const adexperiencereport = google.adexperiencereport('v1'); + * + * @namespace adexperiencereport + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Adexperiencereport + */ + class Adexperiencereport { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.sites = new Resource$Sites(this.context); + this.violatingSites = new Resource$Violatingsites(this.context); + } + } + adexperiencereport_v1.Adexperiencereport = Adexperiencereport; + class Resource$Sites { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexperiencereport.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexperiencereport_v1.Resource$Sites = Resource$Sites; + class Resource$Violatingsites { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://adexperiencereport.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/violatingSites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adexperiencereport_v1.Resource$Violatingsites = Resource$Violatingsites; +})(adexperiencereport_v1 = exports.adexperiencereport_v1 || (exports.adexperiencereport_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 42718: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var admin_datatransfer_v1; +(function (admin_datatransfer_v1) { + /** + * Admin Data Transfer API + * + * Transfers user data from one user to another. + * + * @example + * const {google} = require('googleapis'); + * const admin = google.admin('datatransfer_v1'); + * + * @namespace admin + * @type {Function} + * @version datatransfer_v1 + * @variation datatransfer_v1 + * @param {object=} options Options for Admin + */ + class Admin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.applications = new Resource$Applications(this.context); + this.transfers = new Resource$Transfers(this.context); + } + } + admin_datatransfer_v1.Admin = Admin; + class Resource$Applications { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/datatransfer/v1/applications/{applicationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/datatransfer/v1/applications').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_datatransfer_v1.Resource$Applications = Resource$Applications; + class Resource$Transfers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/datatransfer/v1/transfers/{dataTransferId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['dataTransferId'], + pathParams: ['dataTransferId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/datatransfer/v1/transfers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/datatransfer/v1/transfers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_datatransfer_v1.Resource$Transfers = Resource$Transfers; +})(admin_datatransfer_v1 = exports.admin_datatransfer_v1 || (exports.admin_datatransfer_v1 = {})); +//# sourceMappingURL=datatransfer_v1.js.map + +/***/ }), + +/***/ 63505: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var admin_directory_v1; +(function (admin_directory_v1) { + /** + * Admin Directory API + * + * Manages enterprise resources such as users and groups, administrative notifications, security features, and more. + * + * @example + * const {google} = require('googleapis'); + * const admin = google.admin('directory_v1'); + * + * @namespace admin + * @type {Function} + * @version directory_v1 + * @variation directory_v1 + * @param {object=} options Options for Admin + */ + class Admin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.asps = new Resource$Asps(this.context); + this.channels = new Resource$Channels(this.context); + this.chromeosdevices = new Resource$Chromeosdevices(this.context); + this.customers = new Resource$Customers(this.context); + this.domainAliases = new Resource$Domainaliases(this.context); + this.domains = new Resource$Domains(this.context); + this.groups = new Resource$Groups(this.context); + this.members = new Resource$Members(this.context); + this.mobiledevices = new Resource$Mobiledevices(this.context); + this.notifications = new Resource$Notifications(this.context); + this.orgunits = new Resource$Orgunits(this.context); + this.privileges = new Resource$Privileges(this.context); + this.resolvedAppAccessSettings = new Resource$Resolvedappaccesssettings(this.context); + this.resources = new Resource$Resources(this.context); + this.roleAssignments = new Resource$Roleassignments(this.context); + this.roles = new Resource$Roles(this.context); + this.schemas = new Resource$Schemas(this.context); + this.tokens = new Resource$Tokens(this.context); + this.users = new Resource$Users(this.context); + this.verificationCodes = new Resource$Verificationcodes(this.context); + } + } + admin_directory_v1.Admin = Admin; + class Resource$Asps { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/asps/{codeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userKey', 'codeId'], + pathParams: ['codeId', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/asps/{codeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey', 'codeId'], + pathParams: ['codeId', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/asps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Asps = Resource$Asps; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/admin/directory_v1/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Channels = Resource$Channels; + class Resource$Chromeosdevices { + constructor(context) { + this.context = context; + } + action(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'resourceId'], + pathParams: ['customerId', 'resourceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId', 'deviceId'], + pathParams: ['customerId', 'deviceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/chromeos').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveDevicesToOu(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'orgUnitPath'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customerId', 'deviceId'], + pathParams: ['customerId', 'deviceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customerId', 'deviceId'], + pathParams: ['customerId', 'deviceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Chromeosdevices = Resource$Chromeosdevices; + class Resource$Customers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customers/{customerKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerKey'], + pathParams: ['customerKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customers/{customerKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customerKey'], + pathParams: ['customerKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customers/{customerKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customerKey'], + pathParams: ['customerKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Customers = Resource$Customers; + class Resource$Domainaliases { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'domainAliasName'], + pathParams: ['customer', 'domainAliasName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'domainAliasName'], + pathParams: ['customer', 'domainAliasName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/domainaliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/domainaliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Domainaliases = Resource$Domainaliases; + class Resource$Domains { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/domains/{domainName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'domainName'], + pathParams: ['customer', 'domainName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/domains/{domainName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'domainName'], + pathParams: ['customer', 'domainName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/domains').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/domains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Domains = Resource$Domains; + class Resource$Groups { + constructor(context) { + this.context = context; + this.aliases = new Resource$Groups$Aliases(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Groups = Resource$Groups; + class Resource$Groups$Aliases { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/aliases/{alias}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['groupKey', 'alias'], + pathParams: ['alias', 'groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/aliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/aliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Groups$Aliases = Resource$Groups$Aliases; + class Resource$Members { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['groupKey', 'memberKey'], + pathParams: ['groupKey', 'memberKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupKey', 'memberKey'], + pathParams: ['groupKey', 'memberKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + hasMember(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/groups/{groupKey}/hasMember/{memberKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupKey', 'memberKey'], + pathParams: ['groupKey', 'memberKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/members').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/members').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupKey'], + pathParams: ['groupKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['groupKey', 'memberKey'], + pathParams: ['groupKey', 'memberKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['groupKey', 'memberKey'], + pathParams: ['groupKey', 'memberKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Members = Resource$Members; + class Resource$Mobiledevices { + constructor(context) { + this.context = context; + } + action(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}/action').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'resourceId'], + pathParams: ['customerId', 'resourceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customerId', 'resourceId'], + pathParams: ['customerId', 'resourceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId', 'resourceId'], + pathParams: ['customerId', 'resourceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/devices/mobile').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Mobiledevices = Resource$Mobiledevices; + class Resource$Notifications { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'notificationId'], + pathParams: ['customer', 'notificationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'notificationId'], + pathParams: ['customer', 'notificationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/notifications').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customer', 'notificationId'], + pathParams: ['customer', 'notificationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customer', 'notificationId'], + pathParams: ['customer', 'notificationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Notifications = Resource$Notifications; + class Resource$Orgunits { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customerId', 'orgUnitPath'], + pathParams: ['customerId', 'orgUnitPath'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId', 'orgUnitPath'], + pathParams: ['customerId', 'orgUnitPath'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customerId}/orgunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customerId}/orgunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customerId', 'orgUnitPath'], + pathParams: ['customerId', 'orgUnitPath'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customerId', 'orgUnitPath'], + pathParams: ['customerId', 'orgUnitPath'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Orgunits = Resource$Orgunits; + class Resource$Privileges { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/roles/ALL/privileges').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Privileges = Resource$Privileges; + class Resource$Resolvedappaccesssettings { + constructor(context) { + this.context = context; + } + GetSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/resolvedappaccesssettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + ListTrustedApps(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/trustedapps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Resolvedappaccesssettings = Resource$Resolvedappaccesssettings; + class Resource$Resources { + constructor(context) { + this.context = context; + this.buildings = new Resource$Resources$Buildings(this.context); + this.calendars = new Resource$Resources$Calendars(this.context); + this.features = new Resource$Resources$Features(this.context); + } + } + admin_directory_v1.Resource$Resources = Resource$Resources; + class Resource$Resources$Buildings { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'buildingId'], + pathParams: ['buildingId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'buildingId'], + pathParams: ['buildingId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/buildings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/buildings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customer', 'buildingId'], + pathParams: ['buildingId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customer', 'buildingId'], + pathParams: ['buildingId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Resources$Buildings = Resource$Resources$Buildings; + class Resource$Resources$Calendars { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'calendarResourceId'], + pathParams: ['calendarResourceId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'calendarResourceId'], + pathParams: ['calendarResourceId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/calendars').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/calendars').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customer', 'calendarResourceId'], + pathParams: ['calendarResourceId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customer', 'calendarResourceId'], + pathParams: ['calendarResourceId', 'customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Resources$Calendars = Resource$Resources$Calendars; + class Resource$Resources$Features { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'featureKey'], + pathParams: ['customer', 'featureKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'featureKey'], + pathParams: ['customer', 'featureKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customer', 'featureKey'], + pathParams: ['customer', 'featureKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rename(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer', 'oldName'], + pathParams: ['customer', 'oldName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customer', 'featureKey'], + pathParams: ['customer', 'featureKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Resources$Features = Resource$Resources$Features; + class Resource$Roleassignments { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'roleAssignmentId'], + pathParams: ['customer', 'roleAssignmentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'roleAssignmentId'], + pathParams: ['customer', 'roleAssignmentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/roleassignments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customer}/roleassignments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Roleassignments = Resource$Roleassignments; + class Resource$Roles { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customer', 'roleId'], + pathParams: ['customer', 'roleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer', 'roleId'], + pathParams: ['customer', 'roleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customer'], + pathParams: ['customer'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customer', 'roleId'], + pathParams: ['customer', 'roleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customer', 'roleId'], + pathParams: ['customer', 'roleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Roles = Resource$Roles; + class Resource$Schemas { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customerId', 'schemaKey'], + pathParams: ['customerId', 'schemaKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId', 'schemaKey'], + pathParams: ['customerId', 'schemaKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customerId}/schemas').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/customer/{customerId}/schemas').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customerId', 'schemaKey'], + pathParams: ['customerId', 'schemaKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customerId', 'schemaKey'], + pathParams: ['customerId', 'schemaKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Schemas = Resource$Schemas; + class Resource$Tokens { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/tokens/{clientId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userKey', 'clientId'], + pathParams: ['clientId', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/tokens/{clientId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey', 'clientId'], + pathParams: ['clientId', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/tokens').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Tokens = Resource$Tokens; + class Resource$Users { + constructor(context) { + this.context = context; + this.aliases = new Resource$Users$Aliases(this.context); + this.photos = new Resource$Users$Photos(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + makeAdmin(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/makeAdmin').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Users = Resource$Users; + class Resource$Users$Aliases { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases/{alias}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userKey', 'alias'], + pathParams: ['alias', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Users$Aliases = Resource$Users$Aliases; + class Resource$Users$Photos { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Users$Photos = Resource$Users$Photos; + class Resource$Verificationcodes { + constructor(context) { + this.context = context; + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/users/{userKey}/verificationCodes/generate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + invalidate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/directory/v1/users/{userKey}/verificationCodes/invalidate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/directory/v1/users/{userKey}/verificationCodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey'], + pathParams: ['userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_directory_v1.Resource$Verificationcodes = Resource$Verificationcodes; +})(admin_directory_v1 = exports.admin_directory_v1 || (exports.admin_directory_v1 = {})); +//# sourceMappingURL=directory_v1.js.map + +/***/ }), + +/***/ 40964: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const datatransfer_v1_1 = __nccwpck_require__(42718); +const directory_v1_1 = __nccwpck_require__(63505); +const reports_v1_1 = __nccwpck_require__(83699); +exports.VERSIONS = { + datatransfer_v1: datatransfer_v1_1.admin_datatransfer_v1.Admin, + directory_v1: directory_v1_1.admin_directory_v1.Admin, + reports_v1: reports_v1_1.admin_reports_v1.Admin, +}; +function admin(versionOrOptions) { + return googleapis_common_1.getAPI('admin', versionOrOptions, exports.VERSIONS, this); +} +exports.admin = admin; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 83699: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var admin_reports_v1; +(function (admin_reports_v1) { + /** + * Admin Reports API + * + * Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users. + * + * @example + * const {google} = require('googleapis'); + * const admin = google.admin('reports_v1'); + * + * @namespace admin + * @type {Function} + * @version reports_v1 + * @variation reports_v1 + * @param {object=} options Options for Admin + */ + class Admin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.activities = new Resource$Activities(this.context); + this.channels = new Resource$Channels(this.context); + this.customerUsageReports = new Resource$Customerusagereports(this.context); + this.entityUsageReports = new Resource$Entityusagereports(this.context); + this.userUsageReport = new Resource$Userusagereport(this.context); + } + } + admin_reports_v1.Admin = Admin; + class Resource$Activities { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/reports/v1/activity/users/{userKey}/applications/{applicationName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey', 'applicationName'], + pathParams: ['applicationName', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userKey', 'applicationName'], + pathParams: ['applicationName', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_reports_v1.Resource$Activities = Resource$Activities; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/reports/v1/admin/reports_v1/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_reports_v1.Resource$Channels = Resource$Channels; + class Resource$Customerusagereports { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/reports/v1/usage/dates/{date}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['date'], + pathParams: ['date'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_reports_v1.Resource$Customerusagereports = Resource$Customerusagereports; + class Resource$Entityusagereports { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['entityType', 'entityKey', 'date'], + pathParams: ['date', 'entityKey', 'entityType'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_reports_v1.Resource$Entityusagereports = Resource$Entityusagereports; + class Resource$Userusagereport { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/admin/reports/v1/usage/users/{userKey}/dates/{date}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userKey', 'date'], + pathParams: ['date', 'userKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + admin_reports_v1.Resource$Userusagereport = Resource$Userusagereport; +})(admin_reports_v1 = exports.admin_reports_v1 || (exports.admin_reports_v1 = {})); +//# sourceMappingURL=reports_v1.js.map + +/***/ }), + +/***/ 50185: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_4_1 = __nccwpck_require__(18750); +exports.VERSIONS = { + 'v1.4': v1_4_1.adsense_v1_4.Adsense, +}; +function adsense(versionOrOptions) { + return googleapis_common_1.getAPI('adsense', versionOrOptions, exports.VERSIONS, this); +} +exports.adsense = adsense; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 18750: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adsense_v1_4; +(function (adsense_v1_4) { + /** + * AdSense Management API + * + * Accesses AdSense publishers' inventory and generates performance reports. + * + * @example + * const {google} = require('googleapis'); + * const adsense = google.adsense('v1.4'); + * + * @namespace adsense + * @type {Function} + * @version v1.4 + * @variation v1.4 + * @param {object=} options Options for Adsense + */ + class Adsense { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.adclients = new Resource$Adclients(this.context); + this.adunits = new Resource$Adunits(this.context); + this.alerts = new Resource$Alerts(this.context); + this.customchannels = new Resource$Customchannels(this.context); + this.metadata = new Resource$Metadata(this.context); + this.payments = new Resource$Payments(this.context); + this.reports = new Resource$Reports(this.context); + this.savedadstyles = new Resource$Savedadstyles(this.context); + this.urlchannels = new Resource$Urlchannels(this.context); + } + } + adsense_v1_4.Adsense = Adsense; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.adclients = new Resource$Accounts$Adclients(this.context); + this.adunits = new Resource$Accounts$Adunits(this.context); + this.alerts = new Resource$Accounts$Alerts(this.context); + this.customchannels = new Resource$Accounts$Customchannels(this.context); + this.payments = new Resource$Accounts$Payments(this.context); + this.reports = new Resource$Accounts$Reports(this.context); + this.savedadstyles = new Resource$Accounts$Savedadstyles(this.context); + this.urlchannels = new Resource$Accounts$Urlchannels(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Adclients { + constructor(context) { + this.context = context; + } + getAdCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adcode').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/adclients').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Adclients = Resource$Accounts$Adclients; + class Resource$Accounts$Adunits { + constructor(context) { + this.context = context; + this.customchannels = new Resource$Accounts$Adunits$Customchannels(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAdCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Adunits = Resource$Accounts$Adunits; + class Resource$Accounts$Adunits$Customchannels { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Adunits$Customchannels = Resource$Accounts$Adunits$Customchannels; + class Resource$Accounts$Alerts { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/alerts/{alertId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'alertId'], + pathParams: ['accountId', 'alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/alerts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Alerts = Resource$Accounts$Alerts; + class Resource$Accounts$Customchannels { + constructor(context) { + this.context = context; + this.adunits = new Resource$Accounts$Customchannels$Adunits(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'customChannelId'], + pathParams: ['accountId', 'adClientId', 'customChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Customchannels = Resource$Accounts$Customchannels; + class Resource$Accounts$Customchannels$Adunits { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'customChannelId'], + pathParams: ['accountId', 'adClientId', 'customChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Customchannels$Adunits = Resource$Accounts$Customchannels$Adunits; + class Resource$Accounts$Payments { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/payments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Payments = Resource$Accounts$Payments; + class Resource$Accounts$Reports { + constructor(context) { + this.context = context; + this.saved = new Resource$Accounts$Reports$Saved(this.context); + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'startDate', 'endDate'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Reports = Resource$Accounts$Reports; + class Resource$Accounts$Reports$Saved { + constructor(context) { + this.context = context; + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/reports/{savedReportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'savedReportId'], + pathParams: ['accountId', 'savedReportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/reports/saved').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Reports$Saved = Resource$Accounts$Reports$Saved; + class Resource$Accounts$Savedadstyles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/savedadstyles/{savedAdStyleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'savedAdStyleId'], + pathParams: ['accountId', 'savedAdStyleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/savedadstyles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Savedadstyles = Resource$Accounts$Savedadstyles; + class Resource$Accounts$Urlchannels { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/urlchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Accounts$Urlchannels = Resource$Accounts$Urlchannels; + class Resource$Adclients { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/adclients').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Adclients = Resource$Adclients; + class Resource$Adunits { + constructor(context) { + this.context = context; + this.customchannels = new Resource$Adunits$Customchannels(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId', 'adUnitId'], + pathParams: ['adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAdCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/adclients/{adClientId}/adunits/{adUnitId}/adcode').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId', 'adUnitId'], + pathParams: ['adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/adclients/{adClientId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Adunits = Resource$Adunits; + class Resource$Adunits$Customchannels { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/adclients/{adClientId}/adunits/{adUnitId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId', 'adUnitId'], + pathParams: ['adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Adunits$Customchannels = Resource$Adunits$Customchannels; + class Resource$Alerts { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/alerts/{alertId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/alerts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Alerts = Resource$Alerts; + class Resource$Customchannels { + constructor(context) { + this.context = context; + this.adunits = new Resource$Customchannels$Adunits(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId', 'customChannelId'], + pathParams: ['adClientId', 'customChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/adclients/{adClientId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Customchannels = Resource$Customchannels; + class Resource$Customchannels$Adunits { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsense/v1.4/adclients/{adClientId}/customchannels/{customChannelId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId', 'customChannelId'], + pathParams: ['adClientId', 'customChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Customchannels$Adunits = Resource$Customchannels$Adunits; + class Resource$Metadata { + constructor(context) { + this.context = context; + this.dimensions = new Resource$Metadata$Dimensions(this.context); + this.metrics = new Resource$Metadata$Metrics(this.context); + } + } + adsense_v1_4.Resource$Metadata = Resource$Metadata; + class Resource$Metadata$Dimensions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/metadata/dimensions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Metadata$Dimensions = Resource$Metadata$Dimensions; + class Resource$Metadata$Metrics { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/metadata/metrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Metadata$Metrics = Resource$Metadata$Metrics; + class Resource$Payments { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/payments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Payments = Resource$Payments; + class Resource$Reports { + constructor(context) { + this.context = context; + this.saved = new Resource$Reports$Saved(this.context); + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['startDate', 'endDate'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Reports = Resource$Reports; + class Resource$Reports$Saved { + constructor(context) { + this.context = context; + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/reports/{savedReportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['savedReportId'], + pathParams: ['savedReportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/reports/saved').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Reports$Saved = Resource$Reports$Saved; + class Resource$Savedadstyles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/savedadstyles/{savedAdStyleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['savedAdStyleId'], + pathParams: ['savedAdStyleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/savedadstyles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Savedadstyles = Resource$Savedadstyles; + class Resource$Urlchannels { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsense/v1.4/adclients/{adClientId}/urlchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsense_v1_4.Resource$Urlchannels = Resource$Urlchannels; +})(adsense_v1_4 = exports.adsense_v1_4 || (exports.adsense_v1_4 = {})); +//# sourceMappingURL=v1.4.js.map + +/***/ }), + +/***/ 82048: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v4_1_1 = __nccwpck_require__(33691); +exports.VERSIONS = { + 'v4.1': v4_1_1.adsensehost_v4_1.Adsensehost, +}; +function adsensehost(versionOrOptions) { + return googleapis_common_1.getAPI('adsensehost', versionOrOptions, exports.VERSIONS, this); +} +exports.adsensehost = adsensehost; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 33691: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var adsensehost_v4_1; +(function (adsensehost_v4_1) { + /** + * AdSense Host API + * + * Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. + * + * @example + * const {google} = require('googleapis'); + * const adsensehost = google.adsensehost('v4.1'); + * + * @namespace adsensehost + * @type {Function} + * @version v4.1 + * @variation v4.1 + * @param {object=} options Options for Adsensehost + */ + class Adsensehost { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.adclients = new Resource$Adclients(this.context); + this.associationsessions = new Resource$Associationsessions(this.context); + this.customchannels = new Resource$Customchannels(this.context); + this.reports = new Resource$Reports(this.context); + this.urlchannels = new Resource$Urlchannels(this.context); + } + } + adsensehost_v4_1.Adsensehost = Adsensehost; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.adclients = new Resource$Accounts$Adclients(this.context); + this.adunits = new Resource$Accounts$Adunits(this.context); + this.reports = new Resource$Accounts$Reports(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['filterAdClientId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Adclients { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/accounts/{accountId}/adclients').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Accounts$Adclients = Resource$Accounts$Adclients; + class Resource$Accounts$Adunits { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAdCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId', 'adUnitId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'adClientId', 'adUnitId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'adClientId'], + pathParams: ['accountId', 'adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Accounts$Adunits = Resource$Accounts$Adunits; + class Resource$Accounts$Reports { + constructor(context) { + this.context = context; + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/accounts/{accountId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'startDate', 'endDate'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Accounts$Reports = Resource$Accounts$Reports; + class Resource$Adclients { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/adclients/{adClientId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/adclients').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Adclients = Resource$Adclients; + class Resource$Associationsessions { + constructor(context) { + this.context = context; + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/associationsessions/start').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['productCode', 'websiteUrl'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/associationsessions/verify').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['token'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Associationsessions = Resource$Associationsessions; + class Resource$Customchannels { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['adClientId', 'customChannelId'], + pathParams: ['adClientId', 'customChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId', 'customChannelId'], + pathParams: ['adClientId', 'customChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['adClientId', 'customChannelId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Customchannels = Resource$Customchannels; + class Resource$Reports { + constructor(context) { + this.context = context; + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['startDate', 'endDate'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Reports = Resource$Reports; + class Resource$Urlchannels { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/adsensehost/v4.1/adclients/{adClientId}/urlchannels/{urlChannelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['adClientId', 'urlChannelId'], + pathParams: ['adClientId', 'urlChannelId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/adclients/{adClientId}/urlchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/adsensehost/v4.1/adclients/{adClientId}/urlchannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['adClientId'], + pathParams: ['adClientId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + adsensehost_v4_1.Resource$Urlchannels = Resource$Urlchannels; +})(adsensehost_v4_1 = exports.adsensehost_v4_1 || (exports.adsensehost_v4_1 = {})); +//# sourceMappingURL=v4.1.js.map + +/***/ }), + +/***/ 87901: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(25151); +exports.VERSIONS = { + v1beta1: v1beta1_1.alertcenter_v1beta1.Alertcenter, +}; +function alertcenter(versionOrOptions) { + return googleapis_common_1.getAPI('alertcenter', versionOrOptions, exports.VERSIONS, this); +} +exports.alertcenter = alertcenter; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 25151: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var alertcenter_v1beta1; +(function (alertcenter_v1beta1) { + /** + * G Suite Alert Center API + * + * Manages alerts on issues affecting your domain. + * + * @example + * const {google} = require('googleapis'); + * const alertcenter = google.alertcenter('v1beta1'); + * + * @namespace alertcenter + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Alertcenter + */ + class Alertcenter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.alerts = new Resource$Alerts(this.context); + this.v1beta1 = new Resource$V1beta1(this.context); + } + } + alertcenter_v1beta1.Alertcenter = Alertcenter; + class Resource$Alerts { + constructor(context) { + this.context = context; + this.feedback = new Resource$Alerts$Feedback(this.context); + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUndelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts:batchUndelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts/{alertId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts/{alertId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts/{alertId}/metadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts/{alertId}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + alertcenter_v1beta1.Resource$Alerts = Resource$Alerts; + class Resource$Alerts$Feedback { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts/{alertId}/feedback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/alerts/{alertId}/feedback').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['alertId'], + pathParams: ['alertId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + alertcenter_v1beta1.Resource$Alerts$Feedback = Resource$Alerts$Feedback; + class Resource$V1beta1 { + constructor(context) { + this.context = context; + } + getSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/settings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/settings').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + alertcenter_v1beta1.Resource$V1beta1 = Resource$V1beta1; +})(alertcenter_v1beta1 = exports.alertcenter_v1beta1 || (exports.alertcenter_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 252: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_4_1 = __nccwpck_require__(84486); +const v3_1 = __nccwpck_require__(8074); +exports.VERSIONS = { + 'v2.4': v2_4_1.analytics_v2_4.Analytics, + v3: v3_1.analytics_v3.Analytics, +}; +function analytics(versionOrOptions) { + return googleapis_common_1.getAPI('analytics', versionOrOptions, exports.VERSIONS, this); +} +exports.analytics = analytics; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 84486: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var analytics_v2_4; +(function (analytics_v2_4) { + /** + * Google Analytics API + * + * Views and manages your Google Analytics data. + * + * @example + * const {google} = require('googleapis'); + * const analytics = google.analytics('v2.4'); + * + * @namespace analytics + * @type {Function} + * @version v2.4 + * @variation v2.4 + * @param {object=} options Options for Analytics + */ + class Analytics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.data = new Resource$Data(this.context); + this.management = new Resource$Management(this.context); + } + } + analytics_v2_4.Analytics = Analytics; + class Resource$Data { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v2.4/data').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ids', 'start-date', 'end-date', 'metrics'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v2_4.Resource$Data = Resource$Data; + class Resource$Management { + constructor(context) { + this.context = context; + this.accounts = new Resource$Management$Accounts(this.context); + this.goals = new Resource$Management$Goals(this.context); + this.profiles = new Resource$Management$Profiles(this.context); + this.segments = new Resource$Management$Segments(this.context); + this.webproperties = new Resource$Management$Webproperties(this.context); + } + } + analytics_v2_4.Resource$Management = Resource$Management; + class Resource$Management$Accounts { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v2.4/management/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v2_4.Resource$Management$Accounts = Resource$Management$Accounts; + class Resource$Management$Goals { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v2.4/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v2_4.Resource$Management$Goals = Resource$Management$Goals; + class Resource$Management$Profiles { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v2.4/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v2_4.Resource$Management$Profiles = Resource$Management$Profiles; + class Resource$Management$Segments { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v2.4/management/segments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v2_4.Resource$Management$Segments = Resource$Management$Segments; + class Resource$Management$Webproperties { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v2.4/management/accounts/{accountId}/webproperties').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v2_4.Resource$Management$Webproperties = Resource$Management$Webproperties; +})(analytics_v2_4 = exports.analytics_v2_4 || (exports.analytics_v2_4 = {})); +//# sourceMappingURL=v2.4.js.map + +/***/ }), + +/***/ 8074: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var analytics_v3; +(function (analytics_v3) { + /** + * Google Analytics API + * + * Views and manages your Google Analytics data. + * + * @example + * const {google} = require('googleapis'); + * const analytics = google.analytics('v3'); + * + * @namespace analytics + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Analytics + */ + class Analytics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.data = new Resource$Data(this.context); + this.management = new Resource$Management(this.context); + this.metadata = new Resource$Metadata(this.context); + this.provisioning = new Resource$Provisioning(this.context); + this.userDeletion = new Resource$Userdeletion(this.context); + } + } + analytics_v3.Analytics = Analytics; + class Resource$Data { + constructor(context) { + this.context = context; + this.ga = new Resource$Data$Ga(this.context); + this.mcf = new Resource$Data$Mcf(this.context); + this.realtime = new Resource$Data$Realtime(this.context); + } + } + analytics_v3.Resource$Data = Resource$Data; + class Resource$Data$Ga { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/data/ga').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ids', 'start-date', 'end-date', 'metrics'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Data$Ga = Resource$Data$Ga; + class Resource$Data$Mcf { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/data/mcf').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ids', 'start-date', 'end-date', 'metrics'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Data$Mcf = Resource$Data$Mcf; + class Resource$Data$Realtime { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/data/realtime').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ids', 'metrics'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Data$Realtime = Resource$Data$Realtime; + class Resource$Management { + constructor(context) { + this.context = context; + this.accounts = new Resource$Management$Accounts(this.context); + this.accountSummaries = new Resource$Management$Accountsummaries(this.context); + this.accountUserLinks = new Resource$Management$Accountuserlinks(this.context); + this.clientId = new Resource$Management$Clientid(this.context); + this.customDataSources = new Resource$Management$Customdatasources(this.context); + this.customDimensions = new Resource$Management$Customdimensions(this.context); + this.customMetrics = new Resource$Management$Custommetrics(this.context); + this.experiments = new Resource$Management$Experiments(this.context); + this.filters = new Resource$Management$Filters(this.context); + this.goals = new Resource$Management$Goals(this.context); + this.profileFilterLinks = new Resource$Management$Profilefilterlinks(this.context); + this.profiles = new Resource$Management$Profiles(this.context); + this.profileUserLinks = new Resource$Management$Profileuserlinks(this.context); + this.remarketingAudience = new Resource$Management$Remarketingaudience(this.context); + this.segments = new Resource$Management$Segments(this.context); + this.unsampledReports = new Resource$Management$Unsampledreports(this.context); + this.uploads = new Resource$Management$Uploads(this.context); + this.webproperties = new Resource$Management$Webproperties(this.context); + this.webPropertyAdWordsLinks = new Resource$Management$Webpropertyadwordslinks(this.context); + this.webpropertyUserLinks = new Resource$Management$Webpropertyuserlinks(this.context); + } + } + analytics_v3.Resource$Management = Resource$Management; + class Resource$Management$Accounts { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/management/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Accounts = Resource$Management$Accounts; + class Resource$Management$Accountsummaries { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/management/accountSummaries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Accountsummaries = Resource$Management$Accountsummaries; + class Resource$Management$Accountuserlinks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/entityUserLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'linkId'], + pathParams: ['accountId', 'linkId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/entityUserLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/entityUserLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/entityUserLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'linkId'], + pathParams: ['accountId', 'linkId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Accountuserlinks = Resource$Management$Accountuserlinks; + class Resource$Management$Clientid { + constructor(context) { + this.context = context; + } + hashClientId(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/management/clientId:hashClientId').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Clientid = Resource$Management$Clientid; + class Resource$Management$Customdatasources { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Customdatasources = Resource$Management$Customdatasources; + class Resource$Management$Customdimensions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customDimensionId'], + pathParams: ['accountId', 'customDimensionId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customDimensionId'], + pathParams: ['accountId', 'customDimensionId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customDimensionId'], + pathParams: ['accountId', 'customDimensionId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Customdimensions = Resource$Management$Customdimensions; + class Resource$Management$Custommetrics { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customMetricId'], + pathParams: ['accountId', 'customMetricId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customMetricId'], + pathParams: ['accountId', 'customMetricId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customMetricId'], + pathParams: ['accountId', 'customMetricId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Custommetrics = Resource$Management$Custommetrics; + class Resource$Management$Experiments { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'profileId', + 'experimentId', + ], + pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'profileId', + 'experimentId', + ], + pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'profileId', + 'experimentId', + ], + pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'profileId', + 'experimentId', + ], + pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Experiments = Resource$Management$Experiments; + class Resource$Management$Filters { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'filterId'], + pathParams: ['accountId', 'filterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'filterId'], + pathParams: ['accountId', 'filterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/management/accounts/{accountId}/filters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/management/accounts/{accountId}/filters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'filterId'], + pathParams: ['accountId', 'filterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'filterId'], + pathParams: ['accountId', 'filterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Filters = Resource$Management$Filters; + class Resource$Management$Goals { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'goalId'], + pathParams: ['accountId', 'goalId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'goalId'], + pathParams: ['accountId', 'goalId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'goalId'], + pathParams: ['accountId', 'goalId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Goals = Resource$Management$Goals; + class Resource$Management$Profilefilterlinks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'], + pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'], + pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'], + pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'], + pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Profilefilterlinks = Resource$Management$Profilefilterlinks; + class Resource$Management$Profiles { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Profiles = Resource$Management$Profiles; + class Resource$Management$Profileuserlinks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'], + pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'], + pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Profileuserlinks = Resource$Management$Profileuserlinks; + class Resource$Management$Remarketingaudience { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'], + pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'], + pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'], + pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'], + pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Remarketingaudience = Resource$Management$Remarketingaudience; + class Resource$Management$Segments { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/management/segments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Segments = Resource$Management$Segments; + class Resource$Management$Unsampledreports { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'profileId', + 'unsampledReportId', + ], + pathParams: [ + 'accountId', + 'profileId', + 'unsampledReportId', + 'webPropertyId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'profileId', + 'unsampledReportId', + ], + pathParams: [ + 'accountId', + 'profileId', + 'unsampledReportId', + 'webPropertyId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'profileId'], + pathParams: ['accountId', 'profileId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Unsampledreports = Resource$Management$Unsampledreports; + class Resource$Management$Uploads { + constructor(context) { + this.context = context; + } + deleteUploadData(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customDataSourceId'], + pathParams: ['accountId', 'customDataSourceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'customDataSourceId', + 'uploadId', + ], + pathParams: [ + 'accountId', + 'customDataSourceId', + 'uploadId', + 'webPropertyId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'customDataSourceId'], + pathParams: ['accountId', 'customDataSourceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + uploadData(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['accountId', 'webPropertyId', 'customDataSourceId'], + pathParams: ['accountId', 'customDataSourceId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Uploads = Resource$Management$Uploads; + class Resource$Management$Webproperties { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Webproperties = Resource$Management$Webproperties; + class Resource$Management$Webpropertyadwordslinks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'webPropertyAdWordsLinkId', + ], + pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'webPropertyAdWordsLinkId', + ], + pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'webPropertyAdWordsLinkId', + ], + pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [ + 'accountId', + 'webPropertyId', + 'webPropertyAdWordsLinkId', + ], + pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Webpropertyadwordslinks = Resource$Management$Webpropertyadwordslinks; + class Resource$Management$Webpropertyuserlinks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'linkId'], + pathParams: ['accountId', 'linkId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId'], + pathParams: ['accountId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'webPropertyId', 'linkId'], + pathParams: ['accountId', 'linkId', 'webPropertyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Management$Webpropertyuserlinks = Resource$Management$Webpropertyuserlinks; + class Resource$Metadata { + constructor(context) { + this.context = context; + this.columns = new Resource$Metadata$Columns(this.context); + } + } + analytics_v3.Resource$Metadata = Resource$Metadata; + class Resource$Metadata$Columns { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/metadata/{reportType}/columns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['reportType'], + pathParams: ['reportType'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Metadata$Columns = Resource$Metadata$Columns; + class Resource$Provisioning { + constructor(context) { + this.context = context; + } + createAccountTicket(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/provisioning/createAccountTicket').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createAccountTree(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/provisioning/createAccountTree').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Provisioning = Resource$Provisioning; + class Resource$Userdeletion { + constructor(context) { + this.context = context; + this.userDeletionRequest = new Resource$Userdeletion$Userdeletionrequest(this.context); + } + } + analytics_v3.Resource$Userdeletion = Resource$Userdeletion; + class Resource$Userdeletion$Userdeletionrequest { + constructor(context) { + this.context = context; + } + upsert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/analytics/v3/userDeletion/userDeletionRequests:upsert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analytics_v3.Resource$Userdeletion$Userdeletionrequest = Resource$Userdeletion$Userdeletionrequest; +})(analytics_v3 = exports.analytics_v3 || (exports.analytics_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 35568: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v4_1 = __nccwpck_require__(82755); +exports.VERSIONS = { + v4: v4_1.analyticsreporting_v4.Analyticsreporting, +}; +function analyticsreporting(versionOrOptions) { + return googleapis_common_1.getAPI('analyticsreporting', versionOrOptions, exports.VERSIONS, this); +} +exports.analyticsreporting = analyticsreporting; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 82755: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var analyticsreporting_v4; +(function (analyticsreporting_v4) { + /** + * Analytics Reporting API + * + * Accesses Analytics report data. + * + * @example + * const {google} = require('googleapis'); + * const analyticsreporting = google.analyticsreporting('v4'); + * + * @namespace analyticsreporting + * @type {Function} + * @version v4 + * @variation v4 + * @param {object=} options Options for Analyticsreporting + */ + class Analyticsreporting { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.reports = new Resource$Reports(this.context); + this.userActivity = new Resource$Useractivity(this.context); + } + } + analyticsreporting_v4.Analyticsreporting = Analyticsreporting; + class Resource$Reports { + constructor(context) { + this.context = context; + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://analyticsreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/reports:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analyticsreporting_v4.Resource$Reports = Resource$Reports; + class Resource$Useractivity { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://analyticsreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/userActivity:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + analyticsreporting_v4.Resource$Useractivity = Resource$Useractivity; +})(analyticsreporting_v4 = exports.analyticsreporting_v4 || (exports.analyticsreporting_v4 = {})); +//# sourceMappingURL=v4.js.map + +/***/ }), + +/***/ 30205: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(94747); +exports.VERSIONS = { + v1: v1_1.androiddeviceprovisioning_v1.Androiddeviceprovisioning, +}; +function androiddeviceprovisioning(versionOrOptions) { + return googleapis_common_1.getAPI('androiddeviceprovisioning', versionOrOptions, exports.VERSIONS, this); +} +exports.androiddeviceprovisioning = androiddeviceprovisioning; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 94747: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androiddeviceprovisioning_v1; +(function (androiddeviceprovisioning_v1) { + /** + * Android Device Provisioning Partner API + * + * Automates Android zero-touch enrollment for device resellers, customers, and EMMs. + * + * @example + * const {google} = require('googleapis'); + * const androiddeviceprovisioning = google.androiddeviceprovisioning('v1'); + * + * @namespace androiddeviceprovisioning + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Androiddeviceprovisioning + */ + class Androiddeviceprovisioning { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.customers = new Resource$Customers(this.context); + this.operations = new Resource$Operations(this.context); + this.partners = new Resource$Partners(this.context); + } + } + androiddeviceprovisioning_v1.Androiddeviceprovisioning = Androiddeviceprovisioning; + class Resource$Customers { + constructor(context) { + this.context = context; + this.configurations = new Resource$Customers$Configurations(this.context); + this.devices = new Resource$Customers$Devices(this.context); + this.dpcs = new Resource$Customers$Dpcs(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Customers = Resource$Customers; + class Resource$Customers$Configurations { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/configurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/configurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Customers$Configurations = Resource$Customers$Configurations; + class Resource$Customers$Devices { + constructor(context) { + this.context = context; + } + applyConfiguration(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices:applyConfiguration').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeConfiguration(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices:removeConfiguration').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unclaim(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices:unclaim').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Customers$Devices = Resource$Customers$Devices; + class Resource$Customers$Dpcs { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/dpcs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Customers$Dpcs = Resource$Customers$Dpcs; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Operations = Resource$Operations; + class Resource$Partners { + constructor(context) { + this.context = context; + this.customers = new Resource$Partners$Customers(this.context); + this.devices = new Resource$Partners$Devices(this.context); + this.vendors = new Resource$Partners$Vendors(this.context); + } + } + androiddeviceprovisioning_v1.Resource$Partners = Resource$Partners; + class Resource$Partners$Customers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Partners$Customers = Resource$Partners$Customers; + class Resource$Partners$Devices { + constructor(context) { + this.context = context; + } + claim(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:claim').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + claimAsync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:claimAsync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + findByIdentifier(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:findByIdentifier').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + findByOwner(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:findByOwner').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + metadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/partners/{+metadataOwnerId}/devices/{+deviceId}/metadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['metadataOwnerId', 'deviceId'], + pathParams: ['deviceId', 'metadataOwnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unclaim(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:unclaim').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unclaimAsync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:unclaimAsync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateMetadataAsync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/partners/{+partnerId}/devices:updateMetadataAsync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['partnerId'], + pathParams: ['partnerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Partners$Devices = Resource$Partners$Devices; + class Resource$Partners$Vendors { + constructor(context) { + this.context = context; + this.customers = new Resource$Partners$Vendors$Customers(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/vendors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Partners$Vendors = Resource$Partners$Vendors; + class Resource$Partners$Vendors$Customers { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androiddeviceprovisioning_v1.Resource$Partners$Vendors$Customers = Resource$Partners$Vendors$Customers; +})(androiddeviceprovisioning_v1 = exports.androiddeviceprovisioning_v1 || (exports.androiddeviceprovisioning_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 1792: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(57455); +exports.VERSIONS = { + v1: v1_1.androidenterprise_v1.Androidenterprise, +}; +function androidenterprise(versionOrOptions) { + return googleapis_common_1.getAPI('androidenterprise', versionOrOptions, exports.VERSIONS, this); +} +exports.androidenterprise = androidenterprise; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 57455: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androidenterprise_v1; +(function (androidenterprise_v1) { + /** + * Google Play EMM API + * + * Manages the deployment of apps to Android for Work users. + * + * @example + * const {google} = require('googleapis'); + * const androidenterprise = google.androidenterprise('v1'); + * + * @namespace androidenterprise + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Androidenterprise + */ + class Androidenterprise { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.devices = new Resource$Devices(this.context); + this.enterprises = new Resource$Enterprises(this.context); + this.entitlements = new Resource$Entitlements(this.context); + this.grouplicenses = new Resource$Grouplicenses(this.context); + this.grouplicenseusers = new Resource$Grouplicenseusers(this.context); + this.installs = new Resource$Installs(this.context); + this.managedconfigurationsfordevice = new Resource$Managedconfigurationsfordevice(this.context); + this.managedconfigurationsforuser = new Resource$Managedconfigurationsforuser(this.context); + this.managedconfigurationssettings = new Resource$Managedconfigurationssettings(this.context); + this.permissions = new Resource$Permissions(this.context); + this.products = new Resource$Products(this.context); + this.serviceaccountkeys = new Resource$Serviceaccountkeys(this.context); + this.storelayoutclusters = new Resource$Storelayoutclusters(this.context); + this.storelayoutpages = new Resource$Storelayoutpages(this.context); + this.users = new Resource$Users(this.context); + this.webapps = new Resource$Webapps(this.context); + } + } + androidenterprise_v1.Androidenterprise = Androidenterprise; + class Resource$Devices { + constructor(context) { + this.context = context; + } + forceReportUpload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getState(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setState(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Devices = Resource$Devices; + class Resource$Enterprises { + constructor(context) { + this.context = context; + } + acknowledgeNotificationSet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/acknowledgeNotificationSet').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + completeSignup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/completeSignup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createWebToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/createWebToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enroll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/enroll').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['token'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateSignupUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/signupUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/{enterpriseId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getServiceAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getStoreLayout(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['domain'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pullNotificationSet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/pullNotificationSet').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sendTestPushNotification(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/sendTestPushNotification').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/account').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setStoreLayout(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unenroll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/unenroll').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Enterprises = Resource$Enterprises; + class Resource$Entitlements { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'entitlementId'], + pathParams: ['enterpriseId', 'entitlementId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'entitlementId'], + pathParams: ['enterpriseId', 'entitlementId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'entitlementId'], + pathParams: ['enterpriseId', 'entitlementId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'entitlementId'], + pathParams: ['enterpriseId', 'entitlementId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Entitlements = Resource$Entitlements; + class Resource$Grouplicenses { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'groupLicenseId'], + pathParams: ['enterpriseId', 'groupLicenseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Grouplicenses = Resource$Grouplicenses; + class Resource$Grouplicenseusers { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'groupLicenseId'], + pathParams: ['enterpriseId', 'groupLicenseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Grouplicenseusers = Resource$Grouplicenseusers; + class Resource$Installs { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'], + pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'], + pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'], + pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'], + pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Installs = Resource$Installs; + class Resource$Managedconfigurationsfordevice { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'deviceId', + 'managedConfigurationForDeviceId', + ], + pathParams: [ + 'deviceId', + 'enterpriseId', + 'managedConfigurationForDeviceId', + 'userId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'deviceId', + 'managedConfigurationForDeviceId', + ], + pathParams: [ + 'deviceId', + 'enterpriseId', + 'managedConfigurationForDeviceId', + 'userId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId', 'deviceId'], + pathParams: ['deviceId', 'enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'deviceId', + 'managedConfigurationForDeviceId', + ], + pathParams: [ + 'deviceId', + 'enterpriseId', + 'managedConfigurationForDeviceId', + 'userId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'deviceId', + 'managedConfigurationForDeviceId', + ], + pathParams: [ + 'deviceId', + 'enterpriseId', + 'managedConfigurationForDeviceId', + 'userId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Managedconfigurationsfordevice = Resource$Managedconfigurationsfordevice; + class Resource$Managedconfigurationsforuser { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'managedConfigurationForUserId', + ], + pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'managedConfigurationForUserId', + ], + pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'managedConfigurationForUserId', + ], + pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [ + 'enterpriseId', + 'userId', + 'managedConfigurationForUserId', + ], + pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Managedconfigurationsforuser = Resource$Managedconfigurationsforuser; + class Resource$Managedconfigurationssettings { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Managedconfigurationssettings = Resource$Managedconfigurationssettings; + class Resource$Permissions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['permissionId'], + pathParams: ['permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Permissions = Resource$Permissions; + class Resource$Products { + constructor(context) { + this.context = context; + } + approve(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateApprovalUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAppRestrictionsSchema(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unapprove(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'productId'], + pathParams: ['enterpriseId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Products = Resource$Products; + class Resource$Serviceaccountkeys { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys/{keyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'keyId'], + pathParams: ['enterpriseId', 'keyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Serviceaccountkeys = Resource$Serviceaccountkeys; + class Resource$Storelayoutclusters { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId', 'clusterId'], + pathParams: ['clusterId', 'enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId', 'clusterId'], + pathParams: ['clusterId', 'enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId'], + pathParams: ['enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId'], + pathParams: ['enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId', 'clusterId'], + pathParams: ['clusterId', 'enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId', 'clusterId'], + pathParams: ['clusterId', 'enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Storelayoutclusters = Resource$Storelayoutclusters; + class Resource$Storelayoutpages { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId'], + pathParams: ['enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId'], + pathParams: ['enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId'], + pathParams: ['enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'pageId'], + pathParams: ['enterpriseId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Storelayoutpages = Resource$Storelayoutpages; + class Resource$Users { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateAuthenticationToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/authenticationToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/token').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAvailableProductSet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/{enterpriseId}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidenterprise/v1/enterprises/{enterpriseId}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'email'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revokeDeviceAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/deviceAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revokeToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/token').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAvailableProductSet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'userId'], + pathParams: ['enterpriseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Users = Resource$Users; + class Resource$Webapps { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['enterpriseId', 'webAppId'], + pathParams: ['enterpriseId', 'webAppId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId', 'webAppId'], + pathParams: ['enterpriseId', 'webAppId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/webApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/webApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['enterpriseId'], + pathParams: ['enterpriseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['enterpriseId', 'webAppId'], + pathParams: ['enterpriseId', 'webAppId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['enterpriseId', 'webAppId'], + pathParams: ['enterpriseId', 'webAppId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidenterprise_v1.Resource$Webapps = Resource$Webapps; +})(androidenterprise_v1 = exports.androidenterprise_v1 || (exports.androidenterprise_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 27951: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(3849); +exports.VERSIONS = { + v1: v1_1.androidmanagement_v1.Androidmanagement, +}; +function androidmanagement(versionOrOptions) { + return googleapis_common_1.getAPI('androidmanagement', versionOrOptions, exports.VERSIONS, this); +} +exports.androidmanagement = androidmanagement; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 3849: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androidmanagement_v1; +(function (androidmanagement_v1) { + /** + * Android Management API + * + * The Android Management API provides remote enterprise management of Android devices and apps. + * + * @example + * const {google} = require('googleapis'); + * const androidmanagement = google.androidmanagement('v1'); + * + * @namespace androidmanagement + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Androidmanagement + */ + class Androidmanagement { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.enterprises = new Resource$Enterprises(this.context); + this.signupUrls = new Resource$Signupurls(this.context); + } + } + androidmanagement_v1.Androidmanagement = Androidmanagement; + class Resource$Enterprises { + constructor(context) { + this.context = context; + this.applications = new Resource$Enterprises$Applications(this.context); + this.devices = new Resource$Enterprises$Devices(this.context); + this.enrollmentTokens = new Resource$Enterprises$Enrollmenttokens(this.context); + this.policies = new Resource$Enterprises$Policies(this.context); + this.webApps = new Resource$Enterprises$Webapps(this.context); + this.webTokens = new Resource$Enterprises$Webtokens(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/enterprises').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises = Resource$Enterprises; + class Resource$Enterprises$Applications { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Applications = Resource$Enterprises$Applications; + class Resource$Enterprises$Devices { + constructor(context) { + this.context = context; + this.operations = new Resource$Enterprises$Devices$Operations(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + issueCommand(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:issueCommand').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Devices = Resource$Enterprises$Devices; + class Resource$Enterprises$Devices$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Devices$Operations = Resource$Enterprises$Devices$Operations; + class Resource$Enterprises$Enrollmenttokens { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/enrollmentTokens').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Enrollmenttokens = Resource$Enterprises$Enrollmenttokens; + class Resource$Enterprises$Policies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Policies = Resource$Enterprises$Policies; + class Resource$Enterprises$Webapps { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/webApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/webApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Webapps = Resource$Enterprises$Webapps; + class Resource$Enterprises$Webtokens { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/webTokens').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Enterprises$Webtokens = Resource$Enterprises$Webtokens; + class Resource$Signupurls { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/signupUrls').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidmanagement_v1.Resource$Signupurls = Resource$Signupurls; +})(androidmanagement_v1 = exports.androidmanagement_v1 || (exports.androidmanagement_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 64731: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1_1 = __nccwpck_require__(81885); +const v1_1 = __nccwpck_require__(28172); +const v2_1 = __nccwpck_require__(66988); +const v3_1 = __nccwpck_require__(12460); +exports.VERSIONS = { + 'v1.1': v1_1_1.androidpublisher_v1_1.Androidpublisher, + v1: v1_1.androidpublisher_v1.Androidpublisher, + v2: v2_1.androidpublisher_v2.Androidpublisher, + v3: v3_1.androidpublisher_v3.Androidpublisher, +}; +function androidpublisher(versionOrOptions) { + return googleapis_common_1.getAPI('androidpublisher', versionOrOptions, exports.VERSIONS, this); +} +exports.androidpublisher = androidpublisher; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 81885: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androidpublisher_v1_1; +(function (androidpublisher_v1_1) { + /** + * Google Play Developer API + * + * Accesses Android application developers' Google Play accounts. + * + * @example + * const {google} = require('googleapis'); + * const androidpublisher = google.androidpublisher('v1.1'); + * + * @namespace androidpublisher + * @type {Function} + * @version v1.1 + * @variation v1.1 + * @param {object=} options Options for Androidpublisher + */ + class Androidpublisher { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.inapppurchases = new Resource$Inapppurchases(this.context); + this.purchases = new Resource$Purchases(this.context); + } + } + androidpublisher_v1_1.Androidpublisher = Androidpublisher; + class Resource$Inapppurchases { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v1.1/applications/{packageName}/inapp/{productId}/purchases/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'productId', 'token'], + pathParams: ['packageName', 'productId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v1_1.Resource$Inapppurchases = Resource$Inapppurchases; + class Resource$Purchases { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v1.1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v1.1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v1_1.Resource$Purchases = Resource$Purchases; +})(androidpublisher_v1_1 = exports.androidpublisher_v1_1 || (exports.androidpublisher_v1_1 = {})); +//# sourceMappingURL=v1.1.js.map + +/***/ }), + +/***/ 28172: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androidpublisher_v1; +(function (androidpublisher_v1) { + /** + * Google Play Developer API + * + * Accesses Android application developers' Google Play accounts. + * + * @example + * const {google} = require('googleapis'); + * const androidpublisher = google.androidpublisher('v1'); + * + * @namespace androidpublisher + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Androidpublisher + */ + class Androidpublisher { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.purchases = new Resource$Purchases(this.context); + } + } + androidpublisher_v1.Androidpublisher = Androidpublisher; + class Resource$Purchases { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v1.Resource$Purchases = Resource$Purchases; +})(androidpublisher_v1 = exports.androidpublisher_v1 || (exports.androidpublisher_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 66988: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androidpublisher_v2; +(function (androidpublisher_v2) { + /** + * Google Play Developer API + * + * Accesses Android application developers' Google Play accounts. + * + * @example + * const {google} = require('googleapis'); + * const androidpublisher = google.androidpublisher('v2'); + * + * @namespace androidpublisher + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Androidpublisher + */ + class Androidpublisher { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.edits = new Resource$Edits(this.context); + this.inappproducts = new Resource$Inappproducts(this.context); + this.orders = new Resource$Orders(this.context); + this.purchases = new Resource$Purchases(this.context); + this.reviews = new Resource$Reviews(this.context); + } + } + androidpublisher_v2.Androidpublisher = Androidpublisher; + class Resource$Edits { + constructor(context) { + this.context = context; + this.apklistings = new Resource$Edits$Apklistings(this.context); + this.apks = new Resource$Edits$Apks(this.context); + this.bundles = new Resource$Edits$Bundles(this.context); + this.deobfuscationfiles = new Resource$Edits$Deobfuscationfiles(this.context); + this.details = new Resource$Edits$Details(this.context); + this.expansionfiles = new Resource$Edits$Expansionfiles(this.context); + this.images = new Resource$Edits$Images(this.context); + this.listings = new Resource$Edits$Listings(this.context); + this.testers = new Resource$Edits$Testers(this.context); + this.tracks = new Resource$Edits$Tracks(this.context); + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidpublisher/v2/applications/{packageName}/edits').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}:validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits = Resource$Edits; + class Resource$Edits$Apklistings { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'], + pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteall(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId', 'apkVersionCode'], + pathParams: ['apkVersionCode', 'editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'], + pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'apkVersionCode'], + pathParams: ['apkVersionCode', 'editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'], + pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'], + pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Apklistings = Resource$Edits$Apklistings; + class Resource$Edits$Apks { + constructor(context) { + this.context = context; + } + addexternallyhosted(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/externallyHosted').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Apks = Resource$Edits$Apks; + class Resource$Edits$Bundles { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Bundles = Resource$Edits$Bundles; + class Resource$Edits$Deobfuscationfiles { + constructor(context) { + this.context = context; + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'deobfuscationFileType', + ], + pathParams: [ + 'apkVersionCode', + 'deobfuscationFileType', + 'editId', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Deobfuscationfiles = Resource$Edits$Deobfuscationfiles; + class Resource$Edits$Details { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Details = Resource$Edits$Details; + class Resource$Edits$Expansionfiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Expansionfiles = Resource$Edits$Expansionfiles; + class Resource$Edits$Images { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'language', + 'imageType', + 'imageId', + ], + pathParams: [ + 'editId', + 'imageId', + 'imageType', + 'language', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteall(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language', 'imageType'], + pathParams: ['editId', 'imageType', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language', 'imageType'], + pathParams: ['editId', 'imageType', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName', 'editId', 'language', 'imageType'], + pathParams: ['editId', 'imageType', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Images = Resource$Edits$Images; + class Resource$Edits$Listings { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteall(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Listings = Resource$Edits$Listings; + class Resource$Edits$Testers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Testers = Resource$Edits$Testers; + class Resource$Edits$Tracks { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Edits$Tracks = Resource$Edits$Tracks; + class Resource$Inappproducts { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/inappproducts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/inappproducts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Inappproducts = Resource$Inappproducts; + class Resource$Orders { + constructor(context) { + this.context = context; + } + refund(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/orders/{orderId}:refund').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'orderId'], + pathParams: ['orderId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Orders = Resource$Orders; + class Resource$Purchases { + constructor(context) { + this.context = context; + this.products = new Resource$Purchases$Products(this.context); + this.subscriptions = new Resource$Purchases$Subscriptions(this.context); + this.voidedpurchases = new Resource$Purchases$Voidedpurchases(this.context); + } + } + androidpublisher_v2.Resource$Purchases = Resource$Purchases; + class Resource$Purchases$Products { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/products/{productId}/tokens/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'productId', 'token'], + pathParams: ['packageName', 'productId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Purchases$Products = Resource$Purchases$Products; + class Resource$Purchases$Subscriptions { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + defer(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + refund(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revoke(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Purchases$Subscriptions = Resource$Purchases$Subscriptions; + class Resource$Purchases$Voidedpurchases { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/purchases/voidedpurchases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Purchases$Voidedpurchases = Resource$Purchases$Voidedpurchases; + class Resource$Reviews { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/reviews/{reviewId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'reviewId'], + pathParams: ['packageName', 'reviewId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/reviews').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reply(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v2/applications/{packageName}/reviews/{reviewId}:reply').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'reviewId'], + pathParams: ['packageName', 'reviewId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v2.Resource$Reviews = Resource$Reviews; +})(androidpublisher_v2 = exports.androidpublisher_v2 || (exports.androidpublisher_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 12460: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var androidpublisher_v3; +(function (androidpublisher_v3) { + /** + * Google Play Developer API + * + * Accesses Android application developers' Google Play accounts. + * + * @example + * const {google} = require('googleapis'); + * const androidpublisher = google.androidpublisher('v3'); + * + * @namespace androidpublisher + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Androidpublisher + */ + class Androidpublisher { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.edits = new Resource$Edits(this.context); + this.inappproducts = new Resource$Inappproducts(this.context); + this.internalappsharingartifacts = new Resource$Internalappsharingartifacts(this.context); + this.orders = new Resource$Orders(this.context); + this.purchases = new Resource$Purchases(this.context); + this.reviews = new Resource$Reviews(this.context); + this.systemapks = new Resource$Systemapks(this.context); + } + } + androidpublisher_v3.Androidpublisher = Androidpublisher; + class Resource$Edits { + constructor(context) { + this.context = context; + this.apks = new Resource$Edits$Apks(this.context); + this.bundles = new Resource$Edits$Bundles(this.context); + this.deobfuscationfiles = new Resource$Edits$Deobfuscationfiles(this.context); + this.details = new Resource$Edits$Details(this.context); + this.expansionfiles = new Resource$Edits$Expansionfiles(this.context); + this.images = new Resource$Edits$Images(this.context); + this.listings = new Resource$Edits$Listings(this.context); + this.testers = new Resource$Edits$Testers(this.context); + this.tracks = new Resource$Edits$Tracks(this.context); + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/androidpublisher/v3/applications/{packageName}/edits').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}:validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits = Resource$Edits; + class Resource$Edits$Apks { + constructor(context) { + this.context = context; + } + addexternallyhosted(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Apks = Resource$Edits$Apks; + class Resource$Edits$Bundles { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Bundles = Resource$Edits$Bundles; + class Resource$Edits$Deobfuscationfiles { + constructor(context) { + this.context = context; + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'deobfuscationFileType', + ], + pathParams: [ + 'apkVersionCode', + 'deobfuscationFileType', + 'editId', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Deobfuscationfiles = Resource$Edits$Deobfuscationfiles; + class Resource$Edits$Details { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/details').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Details = Resource$Edits$Details; + class Resource$Edits$Expansionfiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [ + 'packageName', + 'editId', + 'apkVersionCode', + 'expansionFileType', + ], + pathParams: [ + 'apkVersionCode', + 'editId', + 'expansionFileType', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Expansionfiles = Resource$Edits$Expansionfiles; + class Resource$Edits$Images { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [ + 'packageName', + 'editId', + 'language', + 'imageType', + 'imageId', + ], + pathParams: [ + 'editId', + 'imageId', + 'imageType', + 'language', + 'packageName', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteall(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language', 'imageType'], + pathParams: ['editId', 'imageType', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language', 'imageType'], + pathParams: ['editId', 'imageType', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName', 'editId', 'language', 'imageType'], + pathParams: ['editId', 'imageType', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Images = Resource$Edits$Images; + class Resource$Edits$Listings { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteall(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'language'], + pathParams: ['editId', 'language', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Listings = Resource$Edits$Listings; + class Resource$Edits$Testers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Testers = Resource$Edits$Testers; + class Resource$Edits$Tracks { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'editId'], + pathParams: ['editId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'editId', 'track'], + pathParams: ['editId', 'packageName', 'track'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Edits$Tracks = Resource$Edits$Tracks; + class Resource$Inappproducts { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/inappproducts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/inappproducts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['packageName', 'sku'], + pathParams: ['packageName', 'sku'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Inappproducts = Resource$Inappproducts; + class Resource$Internalappsharingartifacts { + constructor(context) { + this.context = context; + } + uploadapk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + uploadbundle(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Internalappsharingartifacts = Resource$Internalappsharingartifacts; + class Resource$Orders { + constructor(context) { + this.context = context; + } + refund(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'orderId'], + pathParams: ['orderId', 'packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Orders = Resource$Orders; + class Resource$Purchases { + constructor(context) { + this.context = context; + this.products = new Resource$Purchases$Products(this.context); + this.subscriptions = new Resource$Purchases$Subscriptions(this.context); + this.voidedpurchases = new Resource$Purchases$Voidedpurchases(this.context); + } + } + androidpublisher_v3.Resource$Purchases = Resource$Purchases; + class Resource$Purchases$Products { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'productId', 'token'], + pathParams: ['packageName', 'productId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'productId', 'token'], + pathParams: ['packageName', 'productId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Purchases$Products = Resource$Purchases$Products; + class Resource$Purchases$Subscriptions { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + defer(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + refund(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revoke(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'subscriptionId', 'token'], + pathParams: ['packageName', 'subscriptionId', 'token'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Purchases$Subscriptions = Resource$Purchases$Subscriptions; + class Resource$Purchases$Voidedpurchases { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Purchases$Voidedpurchases = Resource$Purchases$Voidedpurchases; + class Resource$Reviews { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'reviewId'], + pathParams: ['packageName', 'reviewId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/reviews').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName'], + pathParams: ['packageName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reply(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'reviewId'], + pathParams: ['packageName', 'reviewId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Reviews = Resource$Reviews; + class Resource$Systemapks { + constructor(context) { + this.context = context; + this.variants = new Resource$Systemapks$Variants(this.context); + } + } + androidpublisher_v3.Resource$Systemapks = Resource$Systemapks; + class Resource$Systemapks$Variants { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['packageName', 'versionCode'], + pathParams: ['packageName', 'versionCode'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + download(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'versionCode', 'variantId'], + pathParams: ['packageName', 'variantId', 'versionCode'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'versionCode', 'variantId'], + pathParams: ['packageName', 'variantId', 'versionCode'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['packageName', 'versionCode'], + pathParams: ['packageName', 'versionCode'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + androidpublisher_v3.Resource$Systemapks$Variants = Resource$Systemapks$Variants; +})(androidpublisher_v3 = exports.androidpublisher_v3 || (exports.androidpublisher_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 54467: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(86030); +const v1alpha_1 = __nccwpck_require__(80039); +const v1beta_1 = __nccwpck_require__(23506); +exports.VERSIONS = { + v1: v1_1.appengine_v1.Appengine, + v1alpha: v1alpha_1.appengine_v1alpha.Appengine, + v1beta: v1beta_1.appengine_v1beta.Appengine, +}; +function appengine(versionOrOptions) { + return googleapis_common_1.getAPI('appengine', versionOrOptions, exports.VERSIONS, this); +} +exports.appengine = appengine; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 86030: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var appengine_v1; +(function (appengine_v1) { + /** + * App Engine Admin API + * + * Provisions and manages developers' App Engine applications. + * + * @example + * const {google} = require('googleapis'); + * const appengine = google.appengine('v1'); + * + * @namespace appengine + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Appengine + */ + class Appengine { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.apps = new Resource$Apps(this.context); + } + } + appengine_v1.Appengine = Appengine; + class Resource$Apps { + constructor(context) { + this.context = context; + this.authorizedCertificates = new Resource$Apps$Authorizedcertificates(this.context); + this.authorizedDomains = new Resource$Apps$Authorizeddomains(this.context); + this.domainMappings = new Resource$Apps$Domainmappings(this.context); + this.firewall = new Resource$Apps$Firewall(this.context); + this.locations = new Resource$Apps$Locations(this.context); + this.operations = new Resource$Apps$Operations(this.context); + this.services = new Resource$Apps$Services(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + repair(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}:repair').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps = Resource$Apps; + class Resource$Apps$Authorizedcertificates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/authorizedCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/authorizedCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Authorizedcertificates = Resource$Apps$Authorizedcertificates; + class Resource$Apps$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/authorizedDomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Authorizeddomains = Resource$Apps$Authorizeddomains; + class Resource$Apps$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/domainMappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/domainMappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Domainmappings = Resource$Apps$Domainmappings; + class Resource$Apps$Firewall { + constructor(context) { + this.context = context; + this.ingressRules = new Resource$Apps$Firewall$Ingressrules(this.context); + } + } + appengine_v1.Resource$Apps$Firewall = Resource$Apps$Firewall; + class Resource$Apps$Firewall$Ingressrules { + constructor(context) { + this.context = context; + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/firewall/ingressRules:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/firewall/ingressRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'ingressRulesId'], + pathParams: ['appsId', 'ingressRulesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'ingressRulesId'], + pathParams: ['appsId', 'ingressRulesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/firewall/ingressRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'ingressRulesId'], + pathParams: ['appsId', 'ingressRulesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Firewall$Ingressrules = Resource$Apps$Firewall$Ingressrules; + class Resource$Apps$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/locations/{locationsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'locationsId'], + pathParams: ['appsId', 'locationsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Locations = Resource$Apps$Locations; + class Resource$Apps$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/operations/{operationsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'operationsId'], + pathParams: ['appsId', 'operationsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Operations = Resource$Apps$Operations; + class Resource$Apps$Services { + constructor(context) { + this.context = context; + this.versions = new Resource$Apps$Services$Versions(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Services = Resource$Apps$Services; + class Resource$Apps$Services$Versions { + constructor(context) { + this.context = context; + this.instances = new Resource$Apps$Services$Versions$Instances(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Services$Versions = Resource$Apps$Services$Versions; + class Resource$Apps$Services$Versions$Instances { + constructor(context) { + this.context = context; + } + debug(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'], + pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'], + pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'], + pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1.Resource$Apps$Services$Versions$Instances = Resource$Apps$Services$Versions$Instances; +})(appengine_v1 = exports.appengine_v1 || (exports.appengine_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 80039: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var appengine_v1alpha; +(function (appengine_v1alpha) { + /** + * App Engine Admin API + * + * Provisions and manages developers' App Engine applications. + * + * @example + * const {google} = require('googleapis'); + * const appengine = google.appengine('v1alpha'); + * + * @namespace appengine + * @type {Function} + * @version v1alpha + * @variation v1alpha + * @param {object=} options Options for Appengine + */ + class Appengine { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.apps = new Resource$Apps(this.context); + } + } + appengine_v1alpha.Appengine = Appengine; + class Resource$Apps { + constructor(context) { + this.context = context; + this.authorizedCertificates = new Resource$Apps$Authorizedcertificates(this.context); + this.authorizedDomains = new Resource$Apps$Authorizeddomains(this.context); + this.domainMappings = new Resource$Apps$Domainmappings(this.context); + this.locations = new Resource$Apps$Locations(this.context); + this.operations = new Resource$Apps$Operations(this.context); + } + } + appengine_v1alpha.Resource$Apps = Resource$Apps; + class Resource$Apps$Authorizedcertificates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/authorizedCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/authorizedCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1alpha.Resource$Apps$Authorizedcertificates = Resource$Apps$Authorizedcertificates; + class Resource$Apps$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/authorizedDomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1alpha.Resource$Apps$Authorizeddomains = Resource$Apps$Authorizeddomains; + class Resource$Apps$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/domainMappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/domainMappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1alpha.Resource$Apps$Domainmappings = Resource$Apps$Domainmappings; + class Resource$Apps$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/locations/{locationsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'locationsId'], + pathParams: ['appsId', 'locationsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1alpha.Resource$Apps$Locations = Resource$Apps$Locations; + class Resource$Apps$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/operations/{operationsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'operationsId'], + pathParams: ['appsId', 'operationsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/apps/{appsId}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1alpha.Resource$Apps$Operations = Resource$Apps$Operations; +})(appengine_v1alpha = exports.appengine_v1alpha || (exports.appengine_v1alpha = {})); +//# sourceMappingURL=v1alpha.js.map + +/***/ }), + +/***/ 23506: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var appengine_v1beta; +(function (appengine_v1beta) { + /** + * App Engine Admin API + * + * Provisions and manages developers' App Engine applications. + * + * @example + * const {google} = require('googleapis'); + * const appengine = google.appengine('v1beta'); + * + * @namespace appengine + * @type {Function} + * @version v1beta + * @variation v1beta + * @param {object=} options Options for Appengine + */ + class Appengine { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.apps = new Resource$Apps(this.context); + } + } + appengine_v1beta.Appengine = Appengine; + class Resource$Apps { + constructor(context) { + this.context = context; + this.authorizedCertificates = new Resource$Apps$Authorizedcertificates(this.context); + this.authorizedDomains = new Resource$Apps$Authorizeddomains(this.context); + this.domainMappings = new Resource$Apps$Domainmappings(this.context); + this.firewall = new Resource$Apps$Firewall(this.context); + this.locations = new Resource$Apps$Locations(this.context); + this.operations = new Resource$Apps$Operations(this.context); + this.services = new Resource$Apps$Services(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + repair(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}:repair').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps = Resource$Apps; + class Resource$Apps$Authorizedcertificates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/authorizedCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/authorizedCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'authorizedCertificatesId'], + pathParams: ['appsId', 'authorizedCertificatesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Authorizedcertificates = Resource$Apps$Authorizedcertificates; + class Resource$Apps$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/authorizedDomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Authorizeddomains = Resource$Apps$Authorizeddomains; + class Resource$Apps$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/domainMappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/domainMappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'domainMappingsId'], + pathParams: ['appsId', 'domainMappingsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Domainmappings = Resource$Apps$Domainmappings; + class Resource$Apps$Firewall { + constructor(context) { + this.context = context; + this.ingressRules = new Resource$Apps$Firewall$Ingressrules(this.context); + } + } + appengine_v1beta.Resource$Apps$Firewall = Resource$Apps$Firewall; + class Resource$Apps$Firewall$Ingressrules { + constructor(context) { + this.context = context; + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/firewall/ingressRules:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/firewall/ingressRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'ingressRulesId'], + pathParams: ['appsId', 'ingressRulesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'ingressRulesId'], + pathParams: ['appsId', 'ingressRulesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/firewall/ingressRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'ingressRulesId'], + pathParams: ['appsId', 'ingressRulesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Firewall$Ingressrules = Resource$Apps$Firewall$Ingressrules; + class Resource$Apps$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/locations/{locationsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'locationsId'], + pathParams: ['appsId', 'locationsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Locations = Resource$Apps$Locations; + class Resource$Apps$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/operations/{operationsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'operationsId'], + pathParams: ['appsId', 'operationsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Operations = Resource$Apps$Operations; + class Resource$Apps$Services { + constructor(context) { + this.context = context; + this.versions = new Resource$Apps$Services$Versions(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId'], + pathParams: ['appsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Services = Resource$Apps$Services; + class Resource$Apps$Services$Versions { + constructor(context) { + this.context = context; + this.instances = new Resource$Apps$Services$Versions$Instances(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId'], + pathParams: ['appsId', 'servicesId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Services$Versions = Resource$Apps$Services$Versions; + class Resource$Apps$Services$Versions$Instances { + constructor(context) { + this.context = context; + } + debug(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'], + pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'], + pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'], + pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appsId', 'servicesId', 'versionsId'], + pathParams: ['appsId', 'servicesId', 'versionsId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appengine_v1beta.Resource$Apps$Services$Versions$Instances = Resource$Apps$Services$Versions$Instances; +})(appengine_v1beta = exports.appengine_v1beta || (exports.appengine_v1beta = {})); +//# sourceMappingURL=v1beta.js.map + +/***/ }), + +/***/ 21791: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(65455); +exports.VERSIONS = { + v1: v1_1.appsactivity_v1.Appsactivity, +}; +function appsactivity(versionOrOptions) { + return googleapis_common_1.getAPI('appsactivity', versionOrOptions, exports.VERSIONS, this); +} +exports.appsactivity = appsactivity; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 65455: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var appsactivity_v1; +(function (appsactivity_v1) { + /** + * Drive Activity API + * + * Provides a historical view of activity. + * + * @example + * const {google} = require('googleapis'); + * const appsactivity = google.appsactivity('v1'); + * + * @namespace appsactivity + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Appsactivity + */ + class Appsactivity { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.activities = new Resource$Activities(this.context); + } + } + appsactivity_v1.Appsactivity = Appsactivity; + class Resource$Activities { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/appsactivity/v1/activities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + appsactivity_v1.Resource$Activities = Resource$Activities; +})(appsactivity_v1 = exports.appsactivity_v1 || (exports.appsactivity_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 52358: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(39349); +exports.VERSIONS = { + v2: v2_1.bigquery_v2.Bigquery, +}; +function bigquery(versionOrOptions) { + return googleapis_common_1.getAPI('bigquery', versionOrOptions, exports.VERSIONS, this); +} +exports.bigquery = bigquery; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 39349: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigquery_v2; +(function (bigquery_v2) { + /** + * BigQuery API + * + * A data platform for customers to create, manage, share and query data. + * + * @example + * const {google} = require('googleapis'); + * const bigquery = google.bigquery('v2'); + * + * @namespace bigquery + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Bigquery + */ + class Bigquery { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.datasets = new Resource$Datasets(this.context); + this.jobs = new Resource$Jobs(this.context); + this.models = new Resource$Models(this.context); + this.projects = new Resource$Projects(this.context); + this.routines = new Resource$Routines(this.context); + this.tabledata = new Resource$Tabledata(this.context); + this.tables = new Resource$Tables(this.context); + } + } + bigquery_v2.Bigquery = Bigquery; + class Resource$Datasets { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Datasets = Resource$Datasets; + class Resource$Jobs { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs/{jobId}/cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getQueryResults(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/queries/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/bigquery/v2/projects/{projectId}/jobs').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/queries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Jobs = Resource$Jobs; + class Resource$Models { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'modelId'], + pathParams: ['datasetId', 'modelId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'modelId'], + pathParams: ['datasetId', 'modelId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'modelId'], + pathParams: ['datasetId', 'modelId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Models = Resource$Models; + class Resource$Projects { + constructor(context) { + this.context = context; + } + getServiceAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects/{projectId}/serviceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/bigquery/v2/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Projects = Resource$Projects; + class Resource$Routines { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'routineId'], + pathParams: ['datasetId', 'projectId', 'routineId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'routineId'], + pathParams: ['datasetId', 'projectId', 'routineId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'routineId'], + pathParams: ['datasetId', 'projectId', 'routineId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Routines = Resource$Routines; + class Resource$Tabledata { + constructor(context) { + this.context = context; + } + insertAll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'tableId'], + pathParams: ['datasetId', 'projectId', 'tableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'tableId'], + pathParams: ['datasetId', 'projectId', 'tableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Tabledata = Resource$Tabledata; + class Resource$Tables { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'tableId'], + pathParams: ['datasetId', 'projectId', 'tableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'tableId'], + pathParams: ['datasetId', 'projectId', 'tableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'datasetId'], + pathParams: ['datasetId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'tableId'], + pathParams: ['datasetId', 'projectId', 'tableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'datasetId', 'tableId'], + pathParams: ['datasetId', 'projectId', 'tableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquery_v2.Resource$Tables = Resource$Tables; +})(bigquery_v2 = exports.bigquery_v2 || (exports.bigquery_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 4879: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(97250); +exports.VERSIONS = { + v1beta1: v1beta1_1.bigqueryconnection_v1beta1.Bigqueryconnection, +}; +function bigqueryconnection(versionOrOptions) { + return googleapis_common_1.getAPI('bigqueryconnection', versionOrOptions, exports.VERSIONS, this); +} +exports.bigqueryconnection = bigqueryconnection; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 97250: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigqueryconnection_v1beta1; +(function (bigqueryconnection_v1beta1) { + /** + * BigQuery Connection API + * + * Allows users to manage BigQuery connections to external data sources. + * + * @example + * const {google} = require('googleapis'); + * const bigqueryconnection = google.bigqueryconnection('v1beta1'); + * + * @namespace bigqueryconnection + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Bigqueryconnection + */ + class Bigqueryconnection { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + bigqueryconnection_v1beta1.Bigqueryconnection = Bigqueryconnection; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + bigqueryconnection_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.connections = new Resource$Projects$Locations$Connections(this.context); + } + } + bigqueryconnection_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Connections { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateCredential(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryconnection_v1beta1.Resource$Projects$Locations$Connections = Resource$Projects$Locations$Connections; +})(bigqueryconnection_v1beta1 = exports.bigqueryconnection_v1beta1 || (exports.bigqueryconnection_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 86653: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(73515); +exports.VERSIONS = { + v1: v1_1.bigquerydatatransfer_v1.Bigquerydatatransfer, +}; +function bigquerydatatransfer(versionOrOptions) { + return googleapis_common_1.getAPI('bigquerydatatransfer', versionOrOptions, exports.VERSIONS, this); +} +exports.bigquerydatatransfer = bigquerydatatransfer; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 73515: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigquerydatatransfer_v1; +(function (bigquerydatatransfer_v1) { + /** + * BigQuery Data Transfer API + * + * Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis. + * + * @example + * const {google} = require('googleapis'); + * const bigquerydatatransfer = google.bigquerydatatransfer('v1'); + * + * @namespace bigquerydatatransfer + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Bigquerydatatransfer + */ + class Bigquerydatatransfer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + bigquerydatatransfer_v1.Bigquerydatatransfer = Bigquerydatatransfer; + class Resource$Projects { + constructor(context) { + this.context = context; + this.dataSources = new Resource$Projects$Datasources(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.transferConfigs = new Resource$Projects$Transferconfigs(this.context); + } + } + bigquerydatatransfer_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Datasources { + constructor(context) { + this.context = context; + } + checkValidCreds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:checkValidCreds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/dataSources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Datasources = Resource$Projects$Datasources; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.dataSources = new Resource$Projects$Locations$Datasources(this.context); + this.transferConfigs = new Resource$Projects$Locations$Transferconfigs(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Datasources { + constructor(context) { + this.context = context; + } + checkValidCreds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:checkValidCreds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/dataSources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Locations$Datasources = Resource$Projects$Locations$Datasources; + class Resource$Projects$Locations$Transferconfigs { + constructor(context) { + this.context = context; + this.runs = new Resource$Projects$Locations$Transferconfigs$Runs(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + scheduleRuns(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:scheduleRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startManualRuns(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:startManualRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Locations$Transferconfigs = Resource$Projects$Locations$Transferconfigs; + class Resource$Projects$Locations$Transferconfigs$Runs { + constructor(context) { + this.context = context; + this.transferLogs = new Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/runs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Locations$Transferconfigs$Runs = Resource$Projects$Locations$Transferconfigs$Runs; + class Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/transferLogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs = Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs; + class Resource$Projects$Transferconfigs { + constructor(context) { + this.context = context; + this.runs = new Resource$Projects$Transferconfigs$Runs(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + scheduleRuns(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:scheduleRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startManualRuns(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:startManualRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Transferconfigs = Resource$Projects$Transferconfigs; + class Resource$Projects$Transferconfigs$Runs { + constructor(context) { + this.context = context; + this.transferLogs = new Resource$Projects$Transferconfigs$Runs$Transferlogs(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/runs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Transferconfigs$Runs = Resource$Projects$Transferconfigs$Runs; + class Resource$Projects$Transferconfigs$Runs$Transferlogs { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/transferLogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigquerydatatransfer_v1.Resource$Projects$Transferconfigs$Runs$Transferlogs = Resource$Projects$Transferconfigs$Runs$Transferlogs; +})(bigquerydatatransfer_v1 = exports.bigquerydatatransfer_v1 || (exports.bigquerydatatransfer_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 76594: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(91307); +const v1alpha2_1 = __nccwpck_require__(74332); +const v1beta1_1 = __nccwpck_require__(65051); +exports.VERSIONS = { + v1: v1_1.bigqueryreservation_v1.Bigqueryreservation, + v1alpha2: v1alpha2_1.bigqueryreservation_v1alpha2.Bigqueryreservation, + v1beta1: v1beta1_1.bigqueryreservation_v1beta1.Bigqueryreservation, +}; +function bigqueryreservation(versionOrOptions) { + return googleapis_common_1.getAPI('bigqueryreservation', versionOrOptions, exports.VERSIONS, this); +} +exports.bigqueryreservation = bigqueryreservation; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 91307: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigqueryreservation_v1; +(function (bigqueryreservation_v1) { + /** + * BigQuery Reservation API + * + * A service to modify your BigQuery flat-rate reservations. + * + * @example + * const {google} = require('googleapis'); + * const bigqueryreservation = google.bigqueryreservation('v1'); + * + * @namespace bigqueryreservation + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Bigqueryreservation + */ + class Bigqueryreservation { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + } + } + bigqueryreservation_v1.Bigqueryreservation = Bigqueryreservation; + class Resource$Operations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1.Resource$Operations = Resource$Operations; +})(bigqueryreservation_v1 = exports.bigqueryreservation_v1 || (exports.bigqueryreservation_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 74332: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigqueryreservation_v1alpha2; +(function (bigqueryreservation_v1alpha2) { + /** + * BigQuery Reservation API + * + * A service to modify your BigQuery flat-rate reservations. + * + * @example + * const {google} = require('googleapis'); + * const bigqueryreservation = google.bigqueryreservation('v1alpha2'); + * + * @namespace bigqueryreservation + * @type {Function} + * @version v1alpha2 + * @variation v1alpha2 + * @param {object=} options Options for Bigqueryreservation + */ + class Bigqueryreservation { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + bigqueryreservation_v1alpha2.Bigqueryreservation = Bigqueryreservation; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + bigqueryreservation_v1alpha2.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Locations$Operations(this.context); + this.reservationGrants = new Resource$Projects$Locations$Reservationgrants(this.context); + this.reservations = new Resource$Projects$Locations$Reservations(this.context); + } + searchReservationGrants(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}:SearchReservationGrants').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1alpha2.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1alpha2.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Locations$Reservationgrants { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}/reservationGrants').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}/reservationGrants').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1alpha2.Resource$Projects$Locations$Reservationgrants = Resource$Projects$Locations$Reservationgrants; + class Resource$Projects$Locations$Reservations { + constructor(context) { + this.context = context; + this.slotPools = new Resource$Projects$Locations$Reservations$Slotpools(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createReservation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1alpha2.Resource$Projects$Locations$Reservations = Resource$Projects$Locations$Reservations; + class Resource$Projects$Locations$Reservations$Slotpools { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+parent}/slotPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1alpha2.Resource$Projects$Locations$Reservations$Slotpools = Resource$Projects$Locations$Reservations$Slotpools; +})(bigqueryreservation_v1alpha2 = exports.bigqueryreservation_v1alpha2 || (exports.bigqueryreservation_v1alpha2 = {})); +//# sourceMappingURL=v1alpha2.js.map + +/***/ }), + +/***/ 65051: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigqueryreservation_v1beta1; +(function (bigqueryreservation_v1beta1) { + /** + * BigQuery Reservation API + * + * A service to modify your BigQuery flat-rate reservations. + * + * @example + * const {google} = require('googleapis'); + * const bigqueryreservation = google.bigqueryreservation('v1beta1'); + * + * @namespace bigqueryreservation + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Bigqueryreservation + */ + class Bigqueryreservation { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + bigqueryreservation_v1beta1.Bigqueryreservation = Bigqueryreservation; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + bigqueryreservation_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.capacityCommitments = new Resource$Projects$Locations$Capacitycommitments(this.context); + this.reservations = new Resource$Projects$Locations$Reservations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getBiReservation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchAssignments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:searchAssignments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateBiReservation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Capacitycommitments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/capacityCommitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/capacityCommitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1beta1.Resource$Projects$Locations$Capacitycommitments = Resource$Projects$Locations$Capacitycommitments; + class Resource$Projects$Locations$Reservations { + constructor(context) { + this.context = context; + this.assignments = new Resource$Projects$Locations$Reservations$Assignments(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1beta1.Resource$Projects$Locations$Reservations = Resource$Projects$Locations$Reservations; + class Resource$Projects$Locations$Reservations$Assignments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/assignments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/assignments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigqueryreservation_v1beta1.Resource$Projects$Locations$Reservations$Assignments = Resource$Projects$Locations$Reservations$Assignments; +})(bigqueryreservation_v1beta1 = exports.bigqueryreservation_v1beta1 || (exports.bigqueryreservation_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 46604: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(12678); +const v2_1 = __nccwpck_require__(27248); +exports.VERSIONS = { + v1: v1_1.bigtableadmin_v1.Bigtableadmin, + v2: v2_1.bigtableadmin_v2.Bigtableadmin, +}; +function bigtableadmin(versionOrOptions) { + return googleapis_common_1.getAPI('bigtableadmin', versionOrOptions, exports.VERSIONS, this); +} +exports.bigtableadmin = bigtableadmin; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 12678: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigtableadmin_v1; +(function (bigtableadmin_v1) { + /** + * Cloud Bigtable Admin API + * + * Administer your Cloud Bigtable tables and instances. + * + * @example + * const {google} = require('googleapis'); + * const bigtableadmin = google.bigtableadmin('v1'); + * + * @namespace bigtableadmin + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Bigtableadmin + */ + class Bigtableadmin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + } + } + bigtableadmin_v1.Bigtableadmin = Bigtableadmin; +})(bigtableadmin_v1 = exports.bigtableadmin_v1 || (exports.bigtableadmin_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 27248: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var bigtableadmin_v2; +(function (bigtableadmin_v2) { + /** + * Cloud Bigtable Admin API + * + * Administer your Cloud Bigtable tables and instances. + * + * @example + * const {google} = require('googleapis'); + * const bigtableadmin = google.bigtableadmin('v2'); + * + * @namespace bigtableadmin + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Bigtableadmin + */ + class Bigtableadmin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + bigtableadmin_v2.Bigtableadmin = Bigtableadmin; + class Resource$Operations { + constructor(context) { + this.context = context; + this.projects = new Resource$Operations$Projects(this.context); + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Operations = Resource$Operations; + class Resource$Operations$Projects { + constructor(context) { + this.context = context; + this.operations = new Resource$Operations$Projects$Operations(this.context); + } + } + bigtableadmin_v2.Resource$Operations$Projects = Resource$Operations$Projects; + class Resource$Operations$Projects$Operations { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Operations$Projects$Operations = Resource$Operations$Projects$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Instances(this.context); + this.locations = new Resource$Projects$Locations(this.context); + } + } + bigtableadmin_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Instances { + constructor(context) { + this.context = context; + this.appProfiles = new Resource$Projects$Instances$Appprofiles(this.context); + this.clusters = new Resource$Projects$Instances$Clusters(this.context); + this.tables = new Resource$Projects$Instances$Tables(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + partialUpdateInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Projects$Instances = Resource$Projects$Instances; + class Resource$Projects$Instances$Appprofiles { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/appProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/appProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Projects$Instances$Appprofiles = Resource$Projects$Instances$Appprofiles; + class Resource$Projects$Instances$Clusters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Projects$Instances$Clusters = Resource$Projects$Instances$Clusters; + class Resource$Projects$Instances$Tables { + constructor(context) { + this.context = context; + } + checkConsistency(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:checkConsistency').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/tables').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dropRowRange(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:dropRowRange').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateConsistencyToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:generateConsistencyToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/tables').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyColumnFamilies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:modifyColumnFamilies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Projects$Instances$Tables = Resource$Projects$Instances$Tables; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + bigtableadmin_v2.Resource$Projects$Locations = Resource$Projects$Locations; +})(bigtableadmin_v2 = exports.bigtableadmin_v2 || (exports.bigtableadmin_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 81089: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(32169); +exports.VERSIONS = { + v1beta1: v1beta1_1.billingbudgets_v1beta1.Billingbudgets, +}; +function billingbudgets(versionOrOptions) { + return googleapis_common_1.getAPI('billingbudgets', versionOrOptions, exports.VERSIONS, this); +} +exports.billingbudgets = billingbudgets; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 32169: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var billingbudgets_v1beta1; +(function (billingbudgets_v1beta1) { + /** + * Cloud Billing Budget API + * + * The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. + * + * @example + * const {google} = require('googleapis'); + * const billingbudgets = google.billingbudgets('v1beta1'); + * + * @namespace billingbudgets + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Billingbudgets + */ + class Billingbudgets { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.billingAccounts = new Resource$Billingaccounts(this.context); + } + } + billingbudgets_v1beta1.Billingbudgets = Billingbudgets; + class Resource$Billingaccounts { + constructor(context) { + this.context = context; + this.budgets = new Resource$Billingaccounts$Budgets(this.context); + } + } + billingbudgets_v1beta1.Resource$Billingaccounts = Resource$Billingaccounts; + class Resource$Billingaccounts$Budgets { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/budgets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/budgets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + billingbudgets_v1beta1.Resource$Billingaccounts$Budgets = Resource$Billingaccounts$Budgets; +})(billingbudgets_v1beta1 = exports.billingbudgets_v1beta1 || (exports.billingbudgets_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 37245: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(15425); +const v1beta1_1 = __nccwpck_require__(99826); +exports.VERSIONS = { + v1: v1_1.binaryauthorization_v1.Binaryauthorization, + v1beta1: v1beta1_1.binaryauthorization_v1beta1.Binaryauthorization, +}; +function binaryauthorization(versionOrOptions) { + return googleapis_common_1.getAPI('binaryauthorization', versionOrOptions, exports.VERSIONS, this); +} +exports.binaryauthorization = binaryauthorization; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 15425: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var binaryauthorization_v1; +(function (binaryauthorization_v1) { + /** + * Binary Authorization API + * + * The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters. + * + * @example + * const {google} = require('googleapis'); + * const binaryauthorization = google.binaryauthorization('v1'); + * + * @namespace binaryauthorization + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Binaryauthorization + */ + class Binaryauthorization { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + binaryauthorization_v1.Binaryauthorization = Binaryauthorization; + class Resource$Projects { + constructor(context) { + this.context = context; + this.attestors = new Resource$Projects$Attestors(this.context); + this.policy = new Resource$Projects$Policy(this.context); + } + getPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + binaryauthorization_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Attestors { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/attestors').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/attestors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + binaryauthorization_v1.Resource$Projects$Attestors = Resource$Projects$Attestors; + class Resource$Projects$Policy { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + binaryauthorization_v1.Resource$Projects$Policy = Resource$Projects$Policy; +})(binaryauthorization_v1 = exports.binaryauthorization_v1 || (exports.binaryauthorization_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 99826: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var binaryauthorization_v1beta1; +(function (binaryauthorization_v1beta1) { + /** + * Binary Authorization API + * + * The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters. + * + * @example + * const {google} = require('googleapis'); + * const binaryauthorization = google.binaryauthorization('v1beta1'); + * + * @namespace binaryauthorization + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Binaryauthorization + */ + class Binaryauthorization { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + binaryauthorization_v1beta1.Binaryauthorization = Binaryauthorization; + class Resource$Projects { + constructor(context) { + this.context = context; + this.attestors = new Resource$Projects$Attestors(this.context); + this.policy = new Resource$Projects$Policy(this.context); + } + getPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + binaryauthorization_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Attestors { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/attestors').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/attestors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + binaryauthorization_v1beta1.Resource$Projects$Attestors = Resource$Projects$Attestors; + class Resource$Projects$Policy { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + binaryauthorization_v1beta1.Resource$Projects$Policy = Resource$Projects$Policy; +})(binaryauthorization_v1beta1 = exports.binaryauthorization_v1beta1 || (exports.binaryauthorization_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 43430: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(79743); +const v3_1 = __nccwpck_require__(38264); +exports.VERSIONS = { + v2: v2_1.blogger_v2.Blogger, + v3: v3_1.blogger_v3.Blogger, +}; +function blogger(versionOrOptions) { + return googleapis_common_1.getAPI('blogger', versionOrOptions, exports.VERSIONS, this); +} +exports.blogger = blogger; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 79743: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var blogger_v2; +(function (blogger_v2) { + /** + * Blogger API + * + * API for access to the data within Blogger. + * + * @example + * const {google} = require('googleapis'); + * const blogger = google.blogger('v2'); + * + * @namespace blogger + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Blogger + */ + class Blogger { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.blogs = new Resource$Blogs(this.context); + this.comments = new Resource$Comments(this.context); + this.pages = new Resource$Pages(this.context); + this.posts = new Resource$Posts(this.context); + this.users = new Resource$Users(this.context); + } + } + blogger_v2.Blogger = Blogger; + class Resource$Blogs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/blogs/{blogId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v2.Resource$Blogs = Resource$Blogs; + class Resource$Comments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v2/blogs/{blogId}/posts/{postId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'postId', 'commentId'], + pathParams: ['blogId', 'commentId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/blogs/{blogId}/posts/{postId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v2.Resource$Comments = Resource$Comments; + class Resource$Pages { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/blogs/{blogId}/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/blogs/{blogId}/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v2.Resource$Pages = Resource$Pages; + class Resource$Posts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/blogs/{blogId}/posts/{postId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/blogs/{blogId}/posts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v2.Resource$Posts = Resource$Posts; + class Resource$Users { + constructor(context) { + this.context = context; + this.blogs = new Resource$Users$Blogs(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v2.Resource$Users = Resource$Users; + class Resource$Users$Blogs { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v2/users/{userId}/blogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v2.Resource$Users$Blogs = Resource$Users$Blogs; +})(blogger_v2 = exports.blogger_v2 || (exports.blogger_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 38264: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var blogger_v3; +(function (blogger_v3) { + /** + * Blogger API + * + * API for access to the data within Blogger. + * + * @example + * const {google} = require('googleapis'); + * const blogger = google.blogger('v3'); + * + * @namespace blogger + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Blogger + */ + class Blogger { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.blogs = new Resource$Blogs(this.context); + this.blogUserInfos = new Resource$Bloguserinfos(this.context); + this.comments = new Resource$Comments(this.context); + this.pages = new Resource$Pages(this.context); + this.pageViews = new Resource$Pageviews(this.context); + this.posts = new Resource$Posts(this.context); + this.postUserInfos = new Resource$Postuserinfos(this.context); + this.users = new Resource$Users(this.context); + } + } + blogger_v3.Blogger = Blogger; + class Resource$Blogs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getByUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/byurl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['url'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listByUser(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/users/{userId}/blogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Blogs = Resource$Blogs; + class Resource$Bloguserinfos { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/users/{userId}/blogs/{blogId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'blogId'], + pathParams: ['blogId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Bloguserinfos = Resource$Bloguserinfos; + class Resource$Comments { + constructor(context) { + this.context = context; + } + approve(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'postId', 'commentId'], + pathParams: ['blogId', 'commentId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['blogId', 'postId', 'commentId'], + pathParams: ['blogId', 'commentId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'postId', 'commentId'], + pathParams: ['blogId', 'commentId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listByBlog(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + markAsSpam(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'postId', 'commentId'], + pathParams: ['blogId', 'commentId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeContent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'postId', 'commentId'], + pathParams: ['blogId', 'commentId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Comments = Resource$Comments; + class Resource$Pages { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}/publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}/revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['blogId', 'pageId'], + pathParams: ['blogId', 'pageId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Pages = Resource$Pages; + class Resource$Pageviews { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/pageviews').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Pageviews = Resource$Pageviews; + class Resource$Posts { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getByPath(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/bypath').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'path'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}/publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}/revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['blogId', 'q'], + pathParams: ['blogId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['blogId', 'postId'], + pathParams: ['blogId', 'postId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Posts = Resource$Posts; + class Resource$Postuserinfos { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/blogger/v3/users/{userId}/blogs/{blogId}/posts/{postId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'blogId', 'postId'], + pathParams: ['blogId', 'postId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/users/{userId}/blogs/{blogId}/posts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'blogId'], + pathParams: ['blogId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Postuserinfos = Resource$Postuserinfos; + class Resource$Users { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/blogger/v3/users/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + blogger_v3.Resource$Users = Resource$Users; +})(blogger_v3 = exports.blogger_v3 || (exports.blogger_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 27911: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(14836); +exports.VERSIONS = { + v1: v1_1.books_v1.Books, +}; +function books(versionOrOptions) { + return googleapis_common_1.getAPI('books', versionOrOptions, exports.VERSIONS, this); +} +exports.books = books; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 14836: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var books_v1; +(function (books_v1) { + /** + * Books API + * + * Searches for books and manages your Google Books library. + * + * @example + * const {google} = require('googleapis'); + * const books = google.books('v1'); + * + * @namespace books + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Books + */ + class Books { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.bookshelves = new Resource$Bookshelves(this.context); + this.cloudloading = new Resource$Cloudloading(this.context); + this.dictionary = new Resource$Dictionary(this.context); + this.familysharing = new Resource$Familysharing(this.context); + this.layers = new Resource$Layers(this.context); + this.myconfig = new Resource$Myconfig(this.context); + this.mylibrary = new Resource$Mylibrary(this.context); + this.notification = new Resource$Notification(this.context); + this.onboarding = new Resource$Onboarding(this.context); + this.personalizedstream = new Resource$Personalizedstream(this.context); + this.promooffer = new Resource$Promooffer(this.context); + this.series = new Resource$Series(this.context); + this.volumes = new Resource$Volumes(this.context); + } + } + books_v1.Books = Books; + class Resource$Bookshelves { + constructor(context) { + this.context = context; + this.volumes = new Resource$Bookshelves$Volumes(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/users/{userId}/bookshelves/{shelf}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'shelf'], + pathParams: ['shelf', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/users/{userId}/bookshelves').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Bookshelves = Resource$Bookshelves; + class Resource$Bookshelves$Volumes { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/users/{userId}/bookshelves/{shelf}/volumes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'shelf'], + pathParams: ['shelf', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Bookshelves$Volumes = Resource$Bookshelves$Volumes; + class Resource$Cloudloading { + constructor(context) { + this.context = context; + } + addBook(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/cloudloading/addBook').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteBook(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/cloudloading/deleteBook').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['volumeId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateBook(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/cloudloading/updateBook').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Cloudloading = Resource$Cloudloading; + class Resource$Dictionary { + constructor(context) { + this.context = context; + } + listOfflineMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/dictionary/listOfflineMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['cpksver'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Dictionary = Resource$Dictionary; + class Resource$Familysharing { + constructor(context) { + this.context = context; + } + getFamilyInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/familysharing/getFamilyInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + share(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/familysharing/share').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unshare(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/familysharing/unshare').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Familysharing = Resource$Familysharing; + class Resource$Layers { + constructor(context) { + this.context = context; + this.annotationData = new Resource$Layers$Annotationdata(this.context); + this.volumeAnnotations = new Resource$Layers$Volumeannotations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/{volumeId}/layersummary/{summaryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId', 'summaryId'], + pathParams: ['summaryId', 'volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/{volumeId}/layersummary').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId'], + pathParams: ['volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Layers = Resource$Layers; + class Resource$Layers$Annotationdata { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'volumeId', + 'layerId', + 'annotationDataId', + 'contentVersion', + ], + pathParams: ['annotationDataId', 'layerId', 'volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/{volumeId}/layers/{layerId}/data').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId', 'layerId', 'contentVersion'], + pathParams: ['layerId', 'volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Layers$Annotationdata = Resource$Layers$Annotationdata; + class Resource$Layers$Volumeannotations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId', 'layerId', 'annotationId'], + pathParams: ['annotationId', 'layerId', 'volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/{volumeId}/layers/{layerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId', 'layerId', 'contentVersion'], + pathParams: ['layerId', 'volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Layers$Volumeannotations = Resource$Layers$Volumeannotations; + class Resource$Myconfig { + constructor(context) { + this.context = context; + } + getUserSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/myconfig/getUserSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + releaseDownloadAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/myconfig/releaseDownloadAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['volumeIds', 'cpksver'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + requestAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/myconfig/requestAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['source', 'volumeId', 'nonce', 'cpksver'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + syncVolumeLicenses(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/myconfig/syncVolumeLicenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['source', 'nonce', 'cpksver'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateUserSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/myconfig/updateUserSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Myconfig = Resource$Myconfig; + class Resource$Mylibrary { + constructor(context) { + this.context = context; + this.annotations = new Resource$Mylibrary$Annotations(this.context); + this.bookshelves = new Resource$Mylibrary$Bookshelves(this.context); + this.readingpositions = new Resource$Mylibrary$Readingpositions(this.context); + } + } + books_v1.Resource$Mylibrary = Resource$Mylibrary; + class Resource$Mylibrary$Annotations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/annotations/{annotationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['annotationId'], + pathParams: ['annotationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/annotations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/annotations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + summary(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/annotations/summary').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['layerIds', 'volumeId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/annotations/{annotationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['annotationId'], + pathParams: ['annotationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Mylibrary$Annotations = Resource$Mylibrary$Annotations; + class Resource$Mylibrary$Bookshelves { + constructor(context) { + this.context = context; + this.volumes = new Resource$Mylibrary$Bookshelves$Volumes(this.context); + } + addVolume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/addVolume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['shelf', 'volumeId'], + pathParams: ['shelf'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + clearVolumes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/clearVolumes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['shelf'], + pathParams: ['shelf'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['shelf'], + pathParams: ['shelf'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveVolume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/moveVolume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['shelf', 'volumeId', 'volumePosition'], + pathParams: ['shelf'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeVolume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/removeVolume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['shelf', 'volumeId'], + pathParams: ['shelf'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Mylibrary$Bookshelves = Resource$Mylibrary$Bookshelves; + class Resource$Mylibrary$Bookshelves$Volumes { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/volumes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['shelf'], + pathParams: ['shelf'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Mylibrary$Bookshelves$Volumes = Resource$Mylibrary$Bookshelves$Volumes; + class Resource$Mylibrary$Readingpositions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/mylibrary/readingpositions/{volumeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId'], + pathParams: ['volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setPosition(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/books/v1/mylibrary/readingpositions/{volumeId}/setPosition').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['volumeId', 'timestamp', 'position'], + pathParams: ['volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Mylibrary$Readingpositions = Resource$Mylibrary$Readingpositions; + class Resource$Notification { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/notification/get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['notification_id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Notification = Resource$Notification; + class Resource$Onboarding { + constructor(context) { + this.context = context; + } + listCategories(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/onboarding/listCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listCategoryVolumes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/onboarding/listCategoryVolumes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Onboarding = Resource$Onboarding; + class Resource$Personalizedstream { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/personalizedstream/get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Personalizedstream = Resource$Personalizedstream; + class Resource$Promooffer { + constructor(context) { + this.context = context; + } + accept(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/promooffer/accept').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dismiss(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/promooffer/dismiss').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/promooffer/get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Promooffer = Resource$Promooffer; + class Resource$Series { + constructor(context) { + this.context = context; + this.membership = new Resource$Series$Membership(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/series/get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['series_id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Series = Resource$Series; + class Resource$Series$Membership { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/series/membership/get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['series_id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Series$Membership = Resource$Series$Membership; + class Resource$Volumes { + constructor(context) { + this.context = context; + this.associated = new Resource$Volumes$Associated(this.context); + this.mybooks = new Resource$Volumes$Mybooks(this.context); + this.recommended = new Resource$Volumes$Recommended(this.context); + this.useruploaded = new Resource$Volumes$Useruploaded(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/{volumeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId'], + pathParams: ['volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['q'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Volumes = Resource$Volumes; + class Resource$Volumes$Associated { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/{volumeId}/associated').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['volumeId'], + pathParams: ['volumeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Volumes$Associated = Resource$Volumes$Associated; + class Resource$Volumes$Mybooks { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/mybooks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Volumes$Mybooks = Resource$Volumes$Mybooks; + class Resource$Volumes$Recommended { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/recommended').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/recommended/rate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['rating', 'volumeId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Volumes$Recommended = Resource$Volumes$Recommended; + class Resource$Volumes$Useruploaded { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/books/v1/volumes/useruploaded').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + books_v1.Resource$Volumes$Useruploaded = Resource$Volumes$Useruploaded; +})(books_v1 = exports.books_v1 || (exports.books_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 2285: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v3_1 = __nccwpck_require__(19829); +exports.VERSIONS = { + v3: v3_1.calendar_v3.Calendar, +}; +function calendar(versionOrOptions) { + return googleapis_common_1.getAPI('calendar', versionOrOptions, exports.VERSIONS, this); +} +exports.calendar = calendar; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 19829: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var calendar_v3; +(function (calendar_v3) { + /** + * Calendar API + * + * Manipulates events and other calendar data. + * + * @example + * const {google} = require('googleapis'); + * const calendar = google.calendar('v3'); + * + * @namespace calendar + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Calendar + */ + class Calendar { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.acl = new Resource$Acl(this.context); + this.calendarList = new Resource$Calendarlist(this.context); + this.calendars = new Resource$Calendars(this.context); + this.channels = new Resource$Channels(this.context); + this.colors = new Resource$Colors(this.context); + this.events = new Resource$Events(this.context); + this.freebusy = new Resource$Freebusy(this.context); + this.settings = new Resource$Settings(this.context); + } + } + calendar_v3.Calendar = Calendar; + class Resource$Acl { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['calendarId', 'ruleId'], + pathParams: ['calendarId', 'ruleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId', 'ruleId'], + pathParams: ['calendarId', 'ruleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['calendarId', 'ruleId'], + pathParams: ['calendarId', 'ruleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['calendarId', 'ruleId'], + pathParams: ['calendarId', 'ruleId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Acl = Resource$Acl; + class Resource$Calendarlist { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/calendarList/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Calendarlist = Resource$Calendarlist; + class Resource$Calendars { + constructor(context) { + this.context = context; + } + clear(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/clear').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Calendars = Resource$Calendars; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Channels = Resource$Channels; + class Resource$Colors { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/colors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Colors = Resource$Colors; + class Resource$Events { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['calendarId', 'eventId'], + pathParams: ['calendarId', 'eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId', 'eventId'], + pathParams: ['calendarId', 'eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/calendar/v3/calendars/{calendarId}/events/{eventId}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId', 'eventId'], + pathParams: ['calendarId', 'eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/calendar/v3/calendars/{calendarId}/events/{eventId}/move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId', 'eventId', 'destination'], + pathParams: ['calendarId', 'eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['calendarId', 'eventId'], + pathParams: ['calendarId', 'eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + quickAdd(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/quickAdd').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId', 'text'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['calendarId', 'eventId'], + pathParams: ['calendarId', 'eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['calendarId'], + pathParams: ['calendarId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Events = Resource$Events; + class Resource$Freebusy { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/freeBusy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Freebusy = Resource$Freebusy; + class Resource$Settings { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/settings/{setting}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['setting'], + pathParams: ['setting'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/settings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/calendar/v3/users/me/settings/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + calendar_v3.Resource$Settings = Resource$Settings; +})(calendar_v3 = exports.calendar_v3 || (exports.calendar_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 32290: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(57677); +exports.VERSIONS = { + v1: v1_1.chat_v1.Chat, +}; +function chat(versionOrOptions) { + return googleapis_common_1.getAPI('chat', versionOrOptions, exports.VERSIONS, this); +} +exports.chat = chat; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 57677: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var chat_v1; +(function (chat_v1) { + /** + * Hangouts Chat API + * + * Enables bots to fetch information and perform actions in Hangouts Chat. + * + * @example + * const {google} = require('googleapis'); + * const chat = google.chat('v1'); + * + * @namespace chat + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Chat + */ + class Chat { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.spaces = new Resource$Spaces(this.context); + } + } + chat_v1.Chat = Chat; + class Resource$Spaces { + constructor(context) { + this.context = context; + this.members = new Resource$Spaces$Members(this.context); + this.messages = new Resource$Spaces$Messages(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/spaces').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + chat_v1.Resource$Spaces = Resource$Spaces; + class Resource$Spaces$Members { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/members').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + chat_v1.Resource$Spaces$Members = Resource$Spaces$Members; + class Resource$Spaces$Messages { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://chat.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + chat_v1.Resource$Spaces$Messages = Resource$Spaces$Messages; +})(chat_v1 = exports.chat_v1 || (exports.chat_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 14729: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(57955); +exports.VERSIONS = { + v2: v2_1.civicinfo_v2.Civicinfo, +}; +function civicinfo(versionOrOptions) { + return googleapis_common_1.getAPI('civicinfo', versionOrOptions, exports.VERSIONS, this); +} +exports.civicinfo = civicinfo; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 57955: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var civicinfo_v2; +(function (civicinfo_v2) { + /** + * Google Civic Information API + * + * Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses. + * + * @example + * const {google} = require('googleapis'); + * const civicinfo = google.civicinfo('v2'); + * + * @namespace civicinfo + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Civicinfo + */ + class Civicinfo { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.divisions = new Resource$Divisions(this.context); + this.elections = new Resource$Elections(this.context); + this.representatives = new Resource$Representatives(this.context); + } + } + civicinfo_v2.Civicinfo = Civicinfo; + class Resource$Divisions { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/civicinfo/v2/divisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + civicinfo_v2.Resource$Divisions = Resource$Divisions; + class Resource$Elections { + constructor(context) { + this.context = context; + } + electionQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/civicinfo/v2/elections').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + voterInfoQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/civicinfo/v2/voterinfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['address'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + civicinfo_v2.Resource$Elections = Resource$Elections; + class Resource$Representatives { + constructor(context) { + this.context = context; + } + representativeInfoByAddress(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/civicinfo/v2/representatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + representativeInfoByDivision(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/civicinfo/v2/representatives/{ocdId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ocdId'], + pathParams: ['ocdId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + civicinfo_v2.Resource$Representatives = Resource$Representatives; +})(civicinfo_v2 = exports.civicinfo_v2 || (exports.civicinfo_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 75054: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(52619); +exports.VERSIONS = { + v1: v1_1.classroom_v1.Classroom, +}; +function classroom(versionOrOptions) { + return googleapis_common_1.getAPI('classroom', versionOrOptions, exports.VERSIONS, this); +} +exports.classroom = classroom; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 52619: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var classroom_v1; +(function (classroom_v1) { + /** + * Google Classroom API + * + * Manages classes, rosters, and invitations in Google Classroom. + * + * @example + * const {google} = require('googleapis'); + * const classroom = google.classroom('v1'); + * + * @namespace classroom + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Classroom + */ + class Classroom { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.courses = new Resource$Courses(this.context); + this.invitations = new Resource$Invitations(this.context); + this.registrations = new Resource$Registrations(this.context); + this.userProfiles = new Resource$Userprofiles(this.context); + } + } + classroom_v1.Classroom = Classroom; + class Resource$Courses { + constructor(context) { + this.context = context; + this.aliases = new Resource$Courses$Aliases(this.context); + this.announcements = new Resource$Courses$Announcements(this.context); + this.courseWork = new Resource$Courses$Coursework(this.context); + this.students = new Resource$Courses$Students(this.context); + this.teachers = new Resource$Courses$Teachers(this.context); + this.topics = new Resource$Courses$Topics(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses = Resource$Courses; + class Resource$Courses$Aliases { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/aliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/aliases/{alias}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['courseId', 'alias'], + pathParams: ['alias', 'courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/aliases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Aliases = Resource$Courses$Aliases; + class Resource$Courses$Announcements { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/announcements').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/announcements/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/announcements/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/announcements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyAssignees(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/announcements/{id}:modifyAssignees').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/announcements/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Announcements = Resource$Courses$Announcements; + class Resource$Courses$Coursework { + constructor(context) { + this.context = context; + this.studentSubmissions = new Resource$Courses$Coursework$Studentsubmissions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/courseWork').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/courseWork').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyAssignees(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}:modifyAssignees').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Coursework = Resource$Courses$Coursework; + class Resource$Courses$Coursework$Studentsubmissions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId', 'id'], + pathParams: ['courseId', 'courseWorkId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId'], + pathParams: ['courseId', 'courseWorkId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyAttachments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId', 'id'], + pathParams: ['courseId', 'courseWorkId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId', 'id'], + pathParams: ['courseId', 'courseWorkId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reclaim(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId', 'id'], + pathParams: ['courseId', 'courseWorkId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + return(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId', 'id'], + pathParams: ['courseId', 'courseWorkId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + turnIn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId', 'courseWorkId', 'id'], + pathParams: ['courseId', 'courseWorkId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Coursework$Studentsubmissions = Resource$Courses$Coursework$Studentsubmissions; + class Resource$Courses$Students { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/students').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/students/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['courseId', 'userId'], + pathParams: ['courseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/students/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'userId'], + pathParams: ['courseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/students').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Students = Resource$Courses$Students; + class Resource$Courses$Teachers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/teachers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/teachers/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['courseId', 'userId'], + pathParams: ['courseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/teachers/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'userId'], + pathParams: ['courseId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/teachers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Teachers = Resource$Courses$Teachers; + class Resource$Courses$Topics { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/topics').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/topics/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/topics/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/topics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['courseId'], + pathParams: ['courseId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/courses/{courseId}/topics/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['courseId', 'id'], + pathParams: ['courseId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Courses$Topics = Resource$Courses$Topics; + class Resource$Invitations { + constructor(context) { + this.context = context; + } + accept(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/invitations/{id}:accept').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/invitations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/invitations/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/invitations/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/invitations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Invitations = Resource$Invitations; + class Resource$Registrations { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/registrations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/registrations/{registrationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['registrationId'], + pathParams: ['registrationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Registrations = Resource$Registrations; + class Resource$Userprofiles { + constructor(context) { + this.context = context; + this.guardianInvitations = new Resource$Userprofiles$Guardianinvitations(this.context); + this.guardians = new Resource$Userprofiles$Guardians(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/userProfiles/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Userprofiles = Resource$Userprofiles; + class Resource$Userprofiles$Guardianinvitations { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/userProfiles/{studentId}/guardianInvitations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['studentId'], + pathParams: ['studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['studentId', 'invitationId'], + pathParams: ['invitationId', 'studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/userProfiles/{studentId}/guardianInvitations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['studentId'], + pathParams: ['studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['studentId', 'invitationId'], + pathParams: ['invitationId', 'studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Userprofiles$Guardianinvitations = Resource$Userprofiles$Guardianinvitations; + class Resource$Userprofiles$Guardians { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/userProfiles/{studentId}/guardians/{guardianId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['studentId', 'guardianId'], + pathParams: ['guardianId', 'studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/userProfiles/{studentId}/guardians/{guardianId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['studentId', 'guardianId'], + pathParams: ['guardianId', 'studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/userProfiles/{studentId}/guardians').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['studentId'], + pathParams: ['studentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + classroom_v1.Resource$Userprofiles$Guardians = Resource$Userprofiles$Guardians; +})(classroom_v1 = exports.classroom_v1 || (exports.classroom_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 35333: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(97135); +const v1beta1_1 = __nccwpck_require__(171); +exports.VERSIONS = { + v1: v1_1.cloudasset_v1.Cloudasset, + v1beta1: v1beta1_1.cloudasset_v1beta1.Cloudasset, +}; +function cloudasset(versionOrOptions) { + return googleapis_common_1.getAPI('cloudasset', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudasset = cloudasset; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 97135: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudasset_v1; +(function (cloudasset_v1) { + /** + * Cloud Asset API + * + * The cloud asset API manages the history and inventory of cloud resources. + * + * @example + * const {google} = require('googleapis'); + * const cloudasset = google.cloudasset('v1'); + * + * @namespace cloudasset + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudasset + */ + class Cloudasset { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.feeds = new Resource$Feeds(this.context); + this.operations = new Resource$Operations(this.context); + this.v1 = new Resource$V1(this.context); + } + } + cloudasset_v1.Cloudasset = Cloudasset; + class Resource$Feeds { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/feeds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/feeds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1.Resource$Feeds = Resource$Feeds; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1.Resource$Operations = Resource$Operations; + class Resource$V1 { + constructor(context) { + this.context = context; + } + batchGetAssetsHistory(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:batchGetAssetsHistory').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + exportAssets(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:exportAssets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1.Resource$V1 = Resource$V1; +})(cloudasset_v1 = exports.cloudasset_v1 || (exports.cloudasset_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 171: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudasset_v1beta1; +(function (cloudasset_v1beta1) { + /** + * Cloud Asset API + * + * The cloud asset API manages the history and inventory of cloud resources. + * + * @example + * const {google} = require('googleapis'); + * const cloudasset = google.cloudasset('v1beta1'); + * + * @namespace cloudasset + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Cloudasset + */ + class Cloudasset { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.folders = new Resource$Folders(this.context); + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudasset_v1beta1.Cloudasset = Cloudasset; + class Resource$Folders { + constructor(context) { + this.context = context; + this.operations = new Resource$Folders$Operations(this.context); + } + exportAssets(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:exportAssets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1beta1.Resource$Folders = Resource$Folders; + class Resource$Folders$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1beta1.Resource$Folders$Operations = Resource$Folders$Operations; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.operations = new Resource$Organizations$Operations(this.context); + } + batchGetAssetsHistory(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:batchGetAssetsHistory').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + exportAssets(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:exportAssets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1beta1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1beta1.Resource$Organizations$Operations = Resource$Organizations$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Operations(this.context); + } + batchGetAssetsHistory(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:batchGetAssetsHistory').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + exportAssets(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:exportAssets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudasset_v1beta1.Resource$Projects$Operations = Resource$Projects$Operations; +})(cloudasset_v1beta1 = exports.cloudasset_v1beta1 || (exports.cloudasset_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 12897: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(72384); +exports.VERSIONS = { + v1: v1_1.cloudbilling_v1.Cloudbilling, +}; +function cloudbilling(versionOrOptions) { + return googleapis_common_1.getAPI('cloudbilling', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudbilling = cloudbilling; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 72384: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudbilling_v1; +(function (cloudbilling_v1) { + /** + * Cloud Billing API + * + * Allows developers to manage billing for their Google Cloud Platform projects programmatically. + * + * @example + * const {google} = require('googleapis'); + * const cloudbilling = google.cloudbilling('v1'); + * + * @namespace cloudbilling + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudbilling + */ + class Cloudbilling { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.billingAccounts = new Resource$Billingaccounts(this.context); + this.projects = new Resource$Projects(this.context); + this.services = new Resource$Services(this.context); + } + } + cloudbilling_v1.Cloudbilling = Cloudbilling; + class Resource$Billingaccounts { + constructor(context) { + this.context = context; + this.projects = new Resource$Billingaccounts$Projects(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/billingAccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/billingAccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbilling_v1.Resource$Billingaccounts = Resource$Billingaccounts; + class Resource$Billingaccounts$Projects { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbilling_v1.Resource$Billingaccounts$Projects = Resource$Billingaccounts$Projects; + class Resource$Projects { + constructor(context) { + this.context = context; + } + getBillingInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/billingInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateBillingInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/billingInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbilling_v1.Resource$Projects = Resource$Projects; + class Resource$Services { + constructor(context) { + this.context = context; + this.skus = new Resource$Services$Skus(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbilling_v1.Resource$Services = Resource$Services; + class Resource$Services$Skus { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/skus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbilling_v1.Resource$Services$Skus = Resource$Services$Skus; +})(cloudbilling_v1 = exports.cloudbilling_v1 || (exports.cloudbilling_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 69302: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(88354); +const v1alpha1_1 = __nccwpck_require__(88904); +exports.VERSIONS = { + v1: v1_1.cloudbuild_v1.Cloudbuild, + v1alpha1: v1alpha1_1.cloudbuild_v1alpha1.Cloudbuild, +}; +function cloudbuild(versionOrOptions) { + return googleapis_common_1.getAPI('cloudbuild', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudbuild = cloudbuild; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 88354: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudbuild_v1; +(function (cloudbuild_v1) { + /** + * Cloud Build API + * + * Creates and manages builds on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const cloudbuild = google.cloudbuild('v1'); + * + * @namespace cloudbuild + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudbuild + */ + class Cloudbuild { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudbuild_v1.Cloudbuild = Cloudbuild; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbuild_v1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.builds = new Resource$Projects$Builds(this.context); + this.triggers = new Resource$Projects$Triggers(this.context); + } + } + cloudbuild_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Builds { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/builds/{id}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'id'], + pathParams: ['id', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/builds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/builds/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'id'], + pathParams: ['id', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/builds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retry(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/builds/{id}:retry').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'id'], + pathParams: ['id', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbuild_v1.Resource$Projects$Builds = Resource$Projects$Builds; + class Resource$Projects$Triggers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'triggerId'], + pathParams: ['projectId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'triggerId'], + pathParams: ['projectId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'triggerId'], + pathParams: ['projectId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'triggerId'], + pathParams: ['projectId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbuild_v1.Resource$Projects$Triggers = Resource$Projects$Triggers; +})(cloudbuild_v1 = exports.cloudbuild_v1 || (exports.cloudbuild_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 88904: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudbuild_v1alpha1; +(function (cloudbuild_v1alpha1) { + /** + * Cloud Build API + * + * Creates and manages builds on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const cloudbuild = google.cloudbuild('v1alpha1'); + * + * @namespace cloudbuild + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Cloudbuild + */ + class Cloudbuild { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudbuild_v1alpha1.Cloudbuild = Cloudbuild; + class Resource$Projects { + constructor(context) { + this.context = context; + this.workerPools = new Resource$Projects$Workerpools(this.context); + } + } + cloudbuild_v1alpha1.Resource$Projects = Resource$Projects; + class Resource$Projects$Workerpools { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/workerPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/workerPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudbuild_v1alpha1.Resource$Projects$Workerpools = Resource$Projects$Workerpools; +})(cloudbuild_v1alpha1 = exports.cloudbuild_v1alpha1 || (exports.cloudbuild_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 70259: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(15660); +exports.VERSIONS = { + v2: v2_1.clouddebugger_v2.Clouddebugger, +}; +function clouddebugger(versionOrOptions) { + return googleapis_common_1.getAPI('clouddebugger', versionOrOptions, exports.VERSIONS, this); +} +exports.clouddebugger = clouddebugger; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 15660: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var clouddebugger_v2; +(function (clouddebugger_v2) { + /** + * Stackdriver Debugger API + * + * Examines the call stack and variables of a running application without stopping or slowing it down. + * + * @example + * const {google} = require('googleapis'); + * const clouddebugger = google.clouddebugger('v2'); + * + * @namespace clouddebugger + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Clouddebugger + */ + class Clouddebugger { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.controller = new Resource$Controller(this.context); + this.debugger = new Resource$Debugger(this.context); + } + } + clouddebugger_v2.Clouddebugger = Clouddebugger; + class Resource$Controller { + constructor(context) { + this.context = context; + this.debuggees = new Resource$Controller$Debuggees(this.context); + } + } + clouddebugger_v2.Resource$Controller = Resource$Controller; + class Resource$Controller$Debuggees { + constructor(context) { + this.context = context; + this.breakpoints = new Resource$Controller$Debuggees$Breakpoints(this.context); + } + register(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/controller/debuggees/register').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouddebugger_v2.Resource$Controller$Debuggees = Resource$Controller$Debuggees; + class Resource$Controller$Debuggees$Breakpoints { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/controller/debuggees/{debuggeeId}/breakpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['debuggeeId'], + pathParams: ['debuggeeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/controller/debuggees/{debuggeeId}/breakpoints/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['debuggeeId', 'id'], + pathParams: ['debuggeeId', 'id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouddebugger_v2.Resource$Controller$Debuggees$Breakpoints = Resource$Controller$Debuggees$Breakpoints; + class Resource$Debugger { + constructor(context) { + this.context = context; + this.debuggees = new Resource$Debugger$Debuggees(this.context); + } + } + clouddebugger_v2.Resource$Debugger = Resource$Debugger; + class Resource$Debugger$Debuggees { + constructor(context) { + this.context = context; + this.breakpoints = new Resource$Debugger$Debuggees$Breakpoints(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/debugger/debuggees').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouddebugger_v2.Resource$Debugger$Debuggees = Resource$Debugger$Debuggees; + class Resource$Debugger$Debuggees$Breakpoints { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['debuggeeId', 'breakpointId'], + pathParams: ['breakpointId', 'debuggeeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['debuggeeId', 'breakpointId'], + pathParams: ['breakpointId', 'debuggeeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/debugger/debuggees/{debuggeeId}/breakpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['debuggeeId'], + pathParams: ['debuggeeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + set(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/debugger/debuggees/{debuggeeId}/breakpoints/set').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['debuggeeId'], + pathParams: ['debuggeeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouddebugger_v2.Resource$Debugger$Debuggees$Breakpoints = Resource$Debugger$Debuggees$Breakpoints; +})(clouddebugger_v2 = exports.clouddebugger_v2 || (exports.clouddebugger_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 32510: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(37343); +exports.VERSIONS = { + v1beta1: v1beta1_1.clouderrorreporting_v1beta1.Clouderrorreporting, +}; +function clouderrorreporting(versionOrOptions) { + return googleapis_common_1.getAPI('clouderrorreporting', versionOrOptions, exports.VERSIONS, this); +} +exports.clouderrorreporting = clouderrorreporting; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 37343: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var clouderrorreporting_v1beta1; +(function (clouderrorreporting_v1beta1) { + /** + * Stackdriver Error Reporting API + * + * Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. + * + * @example + * const {google} = require('googleapis'); + * const clouderrorreporting = google.clouderrorreporting('v1beta1'); + * + * @namespace clouderrorreporting + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Clouderrorreporting + */ + class Clouderrorreporting { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + clouderrorreporting_v1beta1.Clouderrorreporting = Clouderrorreporting; + class Resource$Projects { + constructor(context) { + this.context = context; + this.events = new Resource$Projects$Events(this.context); + this.groups = new Resource$Projects$Groups(this.context); + this.groupStats = new Resource$Projects$Groupstats(this.context); + } + deleteEvents(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+projectName}/events').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouderrorreporting_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Events { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+projectName}/events').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + report(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+projectName}/events:report').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouderrorreporting_v1beta1.Resource$Projects$Events = Resource$Projects$Events; + class Resource$Projects$Groups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+groupName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupName'], + pathParams: ['groupName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouderrorreporting_v1beta1.Resource$Projects$Groups = Resource$Projects$Groups; + class Resource$Projects$Groupstats { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+projectName}/groupStats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectName'], + pathParams: ['projectName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + clouderrorreporting_v1beta1.Resource$Projects$Groupstats = Resource$Projects$Groupstats; +})(clouderrorreporting_v1beta1 = exports.clouderrorreporting_v1beta1 || (exports.clouderrorreporting_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 82277: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(34746); +const v1beta2_1 = __nccwpck_require__(81442); +exports.VERSIONS = { + v1: v1_1.cloudfunctions_v1.Cloudfunctions, + v1beta2: v1beta2_1.cloudfunctions_v1beta2.Cloudfunctions, +}; +function cloudfunctions(versionOrOptions) { + return googleapis_common_1.getAPI('cloudfunctions', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudfunctions = cloudfunctions; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 34746: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudfunctions_v1; +(function (cloudfunctions_v1) { + /** + * Cloud Functions API + * + * Manages lightweight user-provided functions executed in response to events. + * + * @example + * const {google} = require('googleapis'); + * const cloudfunctions = google.cloudfunctions('v1'); + * + * @namespace cloudfunctions + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudfunctions + */ + class Cloudfunctions { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudfunctions_v1.Cloudfunctions = Cloudfunctions; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudfunctions_v1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudfunctions_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.functions = new Resource$Projects$Locations$Functions(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudfunctions_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Functions { + constructor(context) { + this.context = context; + } + call(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:call').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+location}/functions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateDownloadUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:generateDownloadUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateUploadUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/functions:generateUploadUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/functions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudfunctions_v1.Resource$Projects$Locations$Functions = Resource$Projects$Locations$Functions; +})(cloudfunctions_v1 = exports.cloudfunctions_v1 || (exports.cloudfunctions_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 81442: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudfunctions_v1beta2; +(function (cloudfunctions_v1beta2) { + /** + * Cloud Functions API + * + * Manages lightweight user-provided functions executed in response to events. + * + * @example + * const {google} = require('googleapis'); + * const cloudfunctions = google.cloudfunctions('v1beta2'); + * + * @namespace cloudfunctions + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Cloudfunctions + */ + class Cloudfunctions { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudfunctions_v1beta2.Cloudfunctions = Cloudfunctions; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudfunctions_v1beta2.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudfunctions_v1beta2.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.functions = new Resource$Projects$Locations$Functions(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudfunctions_v1beta2.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Functions { + constructor(context) { + this.context = context; + } + call(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:call').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+location}/functions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateDownloadUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:generateDownloadUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateUploadUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/functions:generateUploadUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+location}/functions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['location'], + pathParams: ['location'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudfunctions_v1beta2.Resource$Projects$Locations$Functions = Resource$Projects$Locations$Functions; +})(cloudfunctions_v1beta2 = exports.cloudfunctions_v1beta2 || (exports.cloudfunctions_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 33523: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(89044); +const v1beta1_1 = __nccwpck_require__(36269); +exports.VERSIONS = { + v1: v1_1.cloudidentity_v1.Cloudidentity, + v1beta1: v1beta1_1.cloudidentity_v1beta1.Cloudidentity, +}; +function cloudidentity(versionOrOptions) { + return googleapis_common_1.getAPI('cloudidentity', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudidentity = cloudidentity; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 89044: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudidentity_v1; +(function (cloudidentity_v1) { + /** + * Cloud Identity API + * + * API for provisioning and managing identity resources. + * + * @example + * const {google} = require('googleapis'); + * const cloudidentity = google.cloudidentity('v1'); + * + * @namespace cloudidentity + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudidentity + */ + class Cloudidentity { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.groups = new Resource$Groups(this.context); + } + } + cloudidentity_v1.Cloudidentity = Cloudidentity; + class Resource$Groups { + constructor(context) { + this.context = context; + this.memberships = new Resource$Groups$Memberships(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/groups:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/groups:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudidentity_v1.Resource$Groups = Resource$Groups; + class Resource$Groups$Memberships { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/memberships').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/memberships').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/memberships:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudidentity_v1.Resource$Groups$Memberships = Resource$Groups$Memberships; +})(cloudidentity_v1 = exports.cloudidentity_v1 || (exports.cloudidentity_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 36269: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudidentity_v1beta1; +(function (cloudidentity_v1beta1) { + /** + * Cloud Identity API + * + * API for provisioning and managing identity resources. + * + * @example + * const {google} = require('googleapis'); + * const cloudidentity = google.cloudidentity('v1beta1'); + * + * @namespace cloudidentity + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Cloudidentity + */ + class Cloudidentity { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.groups = new Resource$Groups(this.context); + } + } + cloudidentity_v1beta1.Cloudidentity = Cloudidentity; + class Resource$Groups { + constructor(context) { + this.context = context; + this.memberships = new Resource$Groups$Memberships(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/groups:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/groups:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudidentity_v1beta1.Resource$Groups = Resource$Groups; + class Resource$Groups$Memberships { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/memberships').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/memberships').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/memberships:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudidentity_v1beta1.Resource$Groups$Memberships = Resource$Groups$Memberships; +})(cloudidentity_v1beta1 = exports.cloudidentity_v1beta1 || (exports.cloudidentity_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 78613: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(64753); +exports.VERSIONS = { + v1: v1_1.cloudiot_v1.Cloudiot, +}; +function cloudiot(versionOrOptions) { + return googleapis_common_1.getAPI('cloudiot', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudiot = cloudiot; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 64753: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudiot_v1; +(function (cloudiot_v1) { + /** + * Cloud IoT API + * + * Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const cloudiot = google.cloudiot('v1'); + * + * @namespace cloudiot + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudiot + */ + class Cloudiot { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudiot_v1.Cloudiot = Cloudiot; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudiot_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.registries = new Resource$Projects$Locations$Registries(this.context); + } + } + cloudiot_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Registries { + constructor(context) { + this.context = context; + this.devices = new Resource$Projects$Locations$Registries$Devices(this.context); + this.groups = new Resource$Projects$Locations$Registries$Groups(this.context); + } + bindDeviceToGateway(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:bindDeviceToGateway').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/registries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/registries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unbindDeviceFromGateway(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:unbindDeviceFromGateway').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudiot_v1.Resource$Projects$Locations$Registries = Resource$Projects$Locations$Registries; + class Resource$Projects$Locations$Registries$Devices { + constructor(context) { + this.context = context; + this.configVersions = new Resource$Projects$Locations$Registries$Devices$Configversions(this.context); + this.states = new Resource$Projects$Locations$Registries$Devices$States(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyCloudToDeviceConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:modifyCloudToDeviceConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sendCommandToDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:sendCommandToDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudiot_v1.Resource$Projects$Locations$Registries$Devices = Resource$Projects$Locations$Registries$Devices; + class Resource$Projects$Locations$Registries$Devices$Configversions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/configVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudiot_v1.Resource$Projects$Locations$Registries$Devices$Configversions = Resource$Projects$Locations$Registries$Devices$Configversions; + class Resource$Projects$Locations$Registries$Devices$States { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/states').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudiot_v1.Resource$Projects$Locations$Registries$Devices$States = Resource$Projects$Locations$Registries$Devices$States; + class Resource$Projects$Locations$Registries$Groups { + constructor(context) { + this.context = context; + this.devices = new Resource$Projects$Locations$Registries$Groups$Devices(this.context); + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudiot_v1.Resource$Projects$Locations$Registries$Groups = Resource$Projects$Locations$Registries$Groups; + class Resource$Projects$Locations$Registries$Groups$Devices { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudiot_v1.Resource$Projects$Locations$Registries$Groups$Devices = Resource$Projects$Locations$Registries$Groups$Devices; +})(cloudiot_v1 = exports.cloudiot_v1 || (exports.cloudiot_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 72034: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(37661); +exports.VERSIONS = { + v1: v1_1.cloudkms_v1.Cloudkms, +}; +function cloudkms(versionOrOptions) { + return googleapis_common_1.getAPI('cloudkms', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudkms = cloudkms; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 37661: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudkms_v1; +(function (cloudkms_v1) { + /** + * Cloud Key Management Service (KMS) API + * + * Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. + * + * @example + * const {google} = require('googleapis'); + * const cloudkms = google.cloudkms('v1'); + * + * @namespace cloudkms + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudkms + */ + class Cloudkms { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudkms_v1.Cloudkms = Cloudkms; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudkms_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.keyRings = new Resource$Projects$Locations$Keyrings(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudkms_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Keyrings { + constructor(context) { + this.context = context; + this.cryptoKeys = new Resource$Projects$Locations$Keyrings$Cryptokeys(this.context); + this.importJobs = new Resource$Projects$Locations$Keyrings$Importjobs(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/keyRings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/keyRings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudkms_v1.Resource$Projects$Locations$Keyrings = Resource$Projects$Locations$Keyrings; + class Resource$Projects$Locations$Keyrings$Cryptokeys { + constructor(context) { + this.context = context; + this.cryptoKeyVersions = new Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/cryptoKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + decrypt(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:decrypt').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + encrypt(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:encrypt').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/cryptoKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePrimaryVersion(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:updatePrimaryVersion').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudkms_v1.Resource$Projects$Locations$Keyrings$Cryptokeys = Resource$Projects$Locations$Keyrings$Cryptokeys; + class Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions { + constructor(context) { + this.context = context; + } + asymmetricDecrypt(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:asymmetricDecrypt').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asymmetricSign(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:asymmetricSign').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/cryptoKeyVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + destroy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:destroy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getPublicKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/publicKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/cryptoKeyVersions:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/cryptoKeyVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restore(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:restore').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudkms_v1.Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions = Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions; + class Resource$Projects$Locations$Keyrings$Importjobs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/importJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/importJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudkms_v1.Resource$Projects$Locations$Keyrings$Importjobs = Resource$Projects$Locations$Keyrings$Importjobs; +})(cloudkms_v1 = exports.cloudkms_v1 || (exports.cloudkms_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 47500: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(940); +exports.VERSIONS = { + v1beta1: v1beta1_1.cloudprivatecatalog_v1beta1.Cloudprivatecatalog, +}; +function cloudprivatecatalog(versionOrOptions) { + return googleapis_common_1.getAPI('cloudprivatecatalog', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudprivatecatalog = cloudprivatecatalog; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 940: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudprivatecatalog_v1beta1; +(function (cloudprivatecatalog_v1beta1) { + /** + * Cloud Private Catalog API + * + * Enable cloud users to discover enterprise catalogs and products in their organizations. + * + * @example + * const {google} = require('googleapis'); + * const cloudprivatecatalog = google.cloudprivatecatalog('v1beta1'); + * + * @namespace cloudprivatecatalog + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Cloudprivatecatalog + */ + class Cloudprivatecatalog { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.folders = new Resource$Folders(this.context); + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudprivatecatalog_v1beta1.Cloudprivatecatalog = Cloudprivatecatalog; + class Resource$Folders { + constructor(context) { + this.context = context; + this.catalogs = new Resource$Folders$Catalogs(this.context); + this.products = new Resource$Folders$Products(this.context); + this.versions = new Resource$Folders$Versions(this.context); + } + } + cloudprivatecatalog_v1beta1.Resource$Folders = Resource$Folders; + class Resource$Folders$Catalogs { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/catalogs:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Folders$Catalogs = Resource$Folders$Catalogs; + class Resource$Folders$Products { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/products:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Folders$Products = Resource$Folders$Products; + class Resource$Folders$Versions { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/versions:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Folders$Versions = Resource$Folders$Versions; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.catalogs = new Resource$Organizations$Catalogs(this.context); + this.products = new Resource$Organizations$Products(this.context); + this.versions = new Resource$Organizations$Versions(this.context); + } + } + cloudprivatecatalog_v1beta1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Catalogs { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/catalogs:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Organizations$Catalogs = Resource$Organizations$Catalogs; + class Resource$Organizations$Products { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/products:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Organizations$Products = Resource$Organizations$Products; + class Resource$Organizations$Versions { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/versions:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Organizations$Versions = Resource$Organizations$Versions; + class Resource$Projects { + constructor(context) { + this.context = context; + this.catalogs = new Resource$Projects$Catalogs(this.context); + this.products = new Resource$Projects$Products(this.context); + this.versions = new Resource$Projects$Versions(this.context); + } + } + cloudprivatecatalog_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Catalogs { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/catalogs:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Projects$Catalogs = Resource$Projects$Catalogs; + class Resource$Projects$Products { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/products:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Projects$Products = Resource$Projects$Products; + class Resource$Projects$Versions { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}/versions:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalog_v1beta1.Resource$Projects$Versions = Resource$Projects$Versions; +})(cloudprivatecatalog_v1beta1 = exports.cloudprivatecatalog_v1beta1 || (exports.cloudprivatecatalog_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 30066: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(72189); +exports.VERSIONS = { + v1beta1: v1beta1_1.cloudprivatecatalogproducer_v1beta1.Cloudprivatecatalogproducer, +}; +function cloudprivatecatalogproducer(versionOrOptions) { + return googleapis_common_1.getAPI('cloudprivatecatalogproducer', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudprivatecatalogproducer = cloudprivatecatalogproducer; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 72189: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudprivatecatalogproducer_v1beta1; +(function (cloudprivatecatalogproducer_v1beta1) { + /** + * Cloud Private Catalog Producer API + * + * Enables cloud users to manage and share enterprise catalogs intheir organizations. + * + * @example + * const {google} = require('googleapis'); + * const cloudprivatecatalogproducer = google.cloudprivatecatalogproducer('v1beta1'); + * + * @namespace cloudprivatecatalogproducer + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Cloudprivatecatalogproducer + */ + class Cloudprivatecatalogproducer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.catalogs = new Resource$Catalogs(this.context); + this.operations = new Resource$Operations(this.context); + } + } + cloudprivatecatalogproducer_v1beta1.Cloudprivatecatalogproducer = Cloudprivatecatalogproducer; + class Resource$Catalogs { + constructor(context) { + this.context = context; + this.associations = new Resource$Catalogs$Associations(this.context); + this.products = new Resource$Catalogs$Products(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/catalogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/catalogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalogproducer_v1beta1.Resource$Catalogs = Resource$Catalogs; + class Resource$Catalogs$Associations { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/associations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/associations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Associations = Resource$Catalogs$Associations; + class Resource$Catalogs$Products { + constructor(context) { + this.context = context; + this.icons = new Resource$Catalogs$Products$Icons(this.context); + this.versions = new Resource$Catalogs$Products$Versions(this.context); + } + copy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:copy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Products = Resource$Catalogs$Products; + class Resource$Catalogs$Products$Icons { + constructor(context) { + this.context = context; + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+product}/icons:upload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['product'], + pathParams: ['product'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Products$Icons = Resource$Catalogs$Products$Icons; + class Resource$Catalogs$Products$Versions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Products$Versions = Resource$Catalogs$Products$Versions; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || + 'https://cloudprivatecatalogproducer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprivatecatalogproducer_v1beta1.Resource$Operations = Resource$Operations; +})(cloudprivatecatalogproducer_v1beta1 = exports.cloudprivatecatalogproducer_v1beta1 || (exports.cloudprivatecatalogproducer_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 35191: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(31415); +exports.VERSIONS = { + v2: v2_1.cloudprofiler_v2.Cloudprofiler, +}; +function cloudprofiler(versionOrOptions) { + return googleapis_common_1.getAPI('cloudprofiler', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudprofiler = cloudprofiler; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 31415: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudprofiler_v2; +(function (cloudprofiler_v2) { + /** + * Stackdriver Profiler API + * + * Manages continuous profiling information. + * + * @example + * const {google} = require('googleapis'); + * const cloudprofiler = google.cloudprofiler('v2'); + * + * @namespace cloudprofiler + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Cloudprofiler + */ + class Cloudprofiler { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudprofiler_v2.Cloudprofiler = Cloudprofiler; + class Resource$Projects { + constructor(context) { + this.context = context; + this.profiles = new Resource$Projects$Profiles(this.context); + } + } + cloudprofiler_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Profiles { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprofiler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/profiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createOffline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprofiler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/profiles:createOffline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudprofiler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudprofiler_v2.Resource$Projects$Profiles = Resource$Projects$Profiles; +})(cloudprofiler_v2 = exports.cloudprofiler_v2 || (exports.cloudprofiler_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 14621: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(70958); +const v1beta1_1 = __nccwpck_require__(14478); +const v2_1 = __nccwpck_require__(24355); +const v2beta1_1 = __nccwpck_require__(33945); +exports.VERSIONS = { + v1: v1_1.cloudresourcemanager_v1.Cloudresourcemanager, + v1beta1: v1beta1_1.cloudresourcemanager_v1beta1.Cloudresourcemanager, + v2: v2_1.cloudresourcemanager_v2.Cloudresourcemanager, + v2beta1: v2beta1_1.cloudresourcemanager_v2beta1.Cloudresourcemanager, +}; +function cloudresourcemanager(versionOrOptions) { + return googleapis_common_1.getAPI('cloudresourcemanager', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudresourcemanager = cloudresourcemanager; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 70958: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudresourcemanager_v1; +(function (cloudresourcemanager_v1) { + /** + * Cloud Resource Manager API + * + * Creates, reads, and updates metadata for Google Cloud Platform resource containers. + * + * @example + * const {google} = require('googleapis'); + * const cloudresourcemanager = google.cloudresourcemanager('v1'); + * + * @namespace cloudresourcemanager + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudresourcemanager + */ + class Cloudresourcemanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.folders = new Resource$Folders(this.context); + this.liens = new Resource$Liens(this.context); + this.operations = new Resource$Operations(this.context); + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudresourcemanager_v1.Cloudresourcemanager = Cloudresourcemanager; + class Resource$Folders { + constructor(context) { + this.context = context; + } + clearOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:clearOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getEffectiveOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getEffectiveOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAvailableOrgPolicyConstraints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:listAvailableOrgPolicyConstraints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listOrgPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:listOrgPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1.Resource$Folders = Resource$Folders; + class Resource$Liens { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/liens').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/liens').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1.Resource$Liens = Resource$Liens; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1.Resource$Operations = Resource$Operations; + class Resource$Organizations { + constructor(context) { + this.context = context; + } + clearOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:clearOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getEffectiveOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getEffectiveOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAvailableOrgPolicyConstraints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:listAvailableOrgPolicyConstraints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listOrgPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:listOrgPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/organizations:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1.Resource$Organizations = Resource$Organizations; + class Resource$Projects { + constructor(context) { + this.context = context; + } + clearOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:clearOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAncestry(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:getAncestry').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getEffectiveOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getEffectiveOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAvailableOrgPolicyConstraints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:listAvailableOrgPolicyConstraints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listOrgPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:listOrgPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setOrgPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setOrgPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1.Resource$Projects = Resource$Projects; +})(cloudresourcemanager_v1 = exports.cloudresourcemanager_v1 || (exports.cloudresourcemanager_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 14478: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudresourcemanager_v1beta1; +(function (cloudresourcemanager_v1beta1) { + /** + * Cloud Resource Manager API + * + * Creates, reads, and updates metadata for Google Cloud Platform resource containers. + * + * @example + * const {google} = require('googleapis'); + * const cloudresourcemanager = google.cloudresourcemanager('v1beta1'); + * + * @namespace cloudresourcemanager + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Cloudresourcemanager + */ + class Cloudresourcemanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + cloudresourcemanager_v1beta1.Cloudresourcemanager = Cloudresourcemanager; + class Resource$Organizations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/organizations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1beta1.Resource$Organizations = Resource$Organizations; + class Resource$Projects { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAncestry(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}:getAncestry').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v1beta1.Resource$Projects = Resource$Projects; +})(cloudresourcemanager_v1beta1 = exports.cloudresourcemanager_v1beta1 || (exports.cloudresourcemanager_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 24355: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudresourcemanager_v2; +(function (cloudresourcemanager_v2) { + /** + * Cloud Resource Manager API + * + * Creates, reads, and updates metadata for Google Cloud Platform resource containers. + * + * @example + * const {google} = require('googleapis'); + * const cloudresourcemanager = google.cloudresourcemanager('v2'); + * + * @namespace cloudresourcemanager + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Cloudresourcemanager + */ + class Cloudresourcemanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.folders = new Resource$Folders(this.context); + this.operations = new Resource$Operations(this.context); + } + } + cloudresourcemanager_v2.Cloudresourcemanager = Cloudresourcemanager; + class Resource$Folders { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/folders:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v2.Resource$Folders = Resource$Folders; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v2.Resource$Operations = Resource$Operations; +})(cloudresourcemanager_v2 = exports.cloudresourcemanager_v2 || (exports.cloudresourcemanager_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 33945: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudresourcemanager_v2beta1; +(function (cloudresourcemanager_v2beta1) { + /** + * Cloud Resource Manager API + * + * Creates, reads, and updates metadata for Google Cloud Platform resource containers. + * + * @example + * const {google} = require('googleapis'); + * const cloudresourcemanager = google.cloudresourcemanager('v2beta1'); + * + * @namespace cloudresourcemanager + * @type {Function} + * @version v2beta1 + * @variation v2beta1 + * @param {object=} options Options for Cloudresourcemanager + */ + class Cloudresourcemanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.folders = new Resource$Folders(this.context); + this.operations = new Resource$Operations(this.context); + } + } + cloudresourcemanager_v2beta1.Cloudresourcemanager = Cloudresourcemanager; + class Resource$Folders { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/folders:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v2beta1.Resource$Folders = Resource$Folders; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudresourcemanager_v2beta1.Resource$Operations = Resource$Operations; +})(cloudresourcemanager_v2beta1 = exports.cloudresourcemanager_v2beta1 || (exports.cloudresourcemanager_v2beta1 = {})); +//# sourceMappingURL=v2beta1.js.map + +/***/ }), + +/***/ 69532: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(89994); +const v1beta1_1 = __nccwpck_require__(63522); +exports.VERSIONS = { + v1: v1_1.cloudscheduler_v1.Cloudscheduler, + v1beta1: v1beta1_1.cloudscheduler_v1beta1.Cloudscheduler, +}; +function cloudscheduler(versionOrOptions) { + return googleapis_common_1.getAPI('cloudscheduler', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudscheduler = cloudscheduler; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 89994: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudscheduler_v1; +(function (cloudscheduler_v1) { + /** + * Cloud Scheduler API + * + * Creates and manages jobs run on a regular recurring schedule. + * + * @example + * const {google} = require('googleapis'); + * const cloudscheduler = google.cloudscheduler('v1'); + * + * @namespace cloudscheduler + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudscheduler + */ + class Cloudscheduler { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudscheduler_v1.Cloudscheduler = Cloudscheduler; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudscheduler_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.jobs = new Resource$Projects$Locations$Jobs(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudscheduler_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Jobs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudscheduler_v1.Resource$Projects$Locations$Jobs = Resource$Projects$Locations$Jobs; +})(cloudscheduler_v1 = exports.cloudscheduler_v1 || (exports.cloudscheduler_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 63522: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudscheduler_v1beta1; +(function (cloudscheduler_v1beta1) { + /** + * Cloud Scheduler API + * + * Creates and manages jobs run on a regular recurring schedule. + * + * @example + * const {google} = require('googleapis'); + * const cloudscheduler = google.cloudscheduler('v1beta1'); + * + * @namespace cloudscheduler + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Cloudscheduler + */ + class Cloudscheduler { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudscheduler_v1beta1.Cloudscheduler = Cloudscheduler; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudscheduler_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.jobs = new Resource$Projects$Locations$Jobs(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudscheduler_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Jobs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudscheduler_v1beta1.Resource$Projects$Locations$Jobs = Resource$Projects$Locations$Jobs; +})(cloudscheduler_v1beta1 = exports.cloudscheduler_v1beta1 || (exports.cloudscheduler_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 56916: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(85314); +exports.VERSIONS = { + v1: v1_1.cloudsearch_v1.Cloudsearch, +}; +function cloudsearch(versionOrOptions) { + return googleapis_common_1.getAPI('cloudsearch', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudsearch = cloudsearch; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 85314: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudsearch_v1; +(function (cloudsearch_v1) { + /** + * Cloud Search API + * + * Cloud Search provides cloud-based search capabilities over G Suite data. The Cloud Search API allows indexing of non-G Suite data into Cloud Search. + * + * @example + * const {google} = require('googleapis'); + * const cloudsearch = google.cloudsearch('v1'); + * + * @namespace cloudsearch + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudsearch + */ + class Cloudsearch { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.debug = new Resource$Debug(this.context); + this.indexing = new Resource$Indexing(this.context); + this.media = new Resource$Media(this.context); + this.operations = new Resource$Operations(this.context); + this.query = new Resource$Query(this.context); + this.settings = new Resource$Settings(this.context); + this.stats = new Resource$Stats(this.context); + } + } + cloudsearch_v1.Cloudsearch = Cloudsearch; + class Resource$Debug { + constructor(context) { + this.context = context; + this.datasources = new Resource$Debug$Datasources(this.context); + this.identitysources = new Resource$Debug$Identitysources(this.context); + } + } + cloudsearch_v1.Resource$Debug = Resource$Debug; + class Resource$Debug$Datasources { + constructor(context) { + this.context = context; + this.items = new Resource$Debug$Datasources$Items(this.context); + } + } + cloudsearch_v1.Resource$Debug$Datasources = Resource$Debug$Datasources; + class Resource$Debug$Datasources$Items { + constructor(context) { + this.context = context; + this.unmappedids = new Resource$Debug$Datasources$Items$Unmappedids(this.context); + } + checkAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/debug/{+name}:checkAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchByViewUrl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/debug/{+name}/items:searchByViewUrl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Debug$Datasources$Items = Resource$Debug$Datasources$Items; + class Resource$Debug$Datasources$Items$Unmappedids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/debug/{+parent}/unmappedids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Debug$Datasources$Items$Unmappedids = Resource$Debug$Datasources$Items$Unmappedids; + class Resource$Debug$Identitysources { + constructor(context) { + this.context = context; + this.items = new Resource$Debug$Identitysources$Items(this.context); + this.unmappedids = new Resource$Debug$Identitysources$Unmappedids(this.context); + } + } + cloudsearch_v1.Resource$Debug$Identitysources = Resource$Debug$Identitysources; + class Resource$Debug$Identitysources$Items { + constructor(context) { + this.context = context; + } + listForunmappedidentity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/debug/{+parent}/items:forunmappedidentity').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Debug$Identitysources$Items = Resource$Debug$Identitysources$Items; + class Resource$Debug$Identitysources$Unmappedids { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/debug/{+parent}/unmappedids').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Debug$Identitysources$Unmappedids = Resource$Debug$Identitysources$Unmappedids; + class Resource$Indexing { + constructor(context) { + this.context = context; + this.datasources = new Resource$Indexing$Datasources(this.context); + } + } + cloudsearch_v1.Resource$Indexing = Resource$Indexing; + class Resource$Indexing$Datasources { + constructor(context) { + this.context = context; + this.items = new Resource$Indexing$Datasources$Items(this.context); + } + deleteSchema(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/schema').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSchema(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/schema').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSchema(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/schema').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Indexing$Datasources = Resource$Indexing$Datasources; + class Resource$Indexing$Datasources$Items { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteQueueItems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/items:deleteQueueItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + index(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}:index').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/items').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + poll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/items:poll').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + push(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}:push').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unreserve(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}/items:unreserve').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/indexing/{+name}:upload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Indexing$Datasources$Items = Resource$Indexing$Datasources$Items; + class Resource$Media { + constructor(context) { + this.context = context; + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/v1/media/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Media = Resource$Media; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Operations = Resource$Operations; + class Resource$Query { + constructor(context) { + this.context = context; + this.sources = new Resource$Query$Sources(this.context); + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/query/search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + suggest(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/query/suggest').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Query = Resource$Query; + class Resource$Query$Sources { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/query/sources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Query$Sources = Resource$Query$Sources; + class Resource$Settings { + constructor(context) { + this.context = context; + this.datasources = new Resource$Settings$Datasources(this.context); + this.searchapplications = new Resource$Settings$Searchapplications(this.context); + } + } + cloudsearch_v1.Resource$Settings = Resource$Settings; + class Resource$Settings$Datasources { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/datasources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/datasources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Settings$Datasources = Resource$Settings$Datasources; + class Resource$Settings$Searchapplications { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/searchapplications').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/searchapplications').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}:reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Settings$Searchapplications = Resource$Settings$Searchapplications; + class Resource$Stats { + constructor(context) { + this.context = context; + this.index = new Resource$Stats$Index(this.context); + this.query = new Resource$Stats$Query(this.context); + this.session = new Resource$Stats$Session(this.context); + this.user = new Resource$Stats$User(this.context); + } + getIndex(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/index').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSession(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/session').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getUser(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/user').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Stats = Resource$Stats; + class Resource$Stats$Index { + constructor(context) { + this.context = context; + this.datasources = new Resource$Stats$Index$Datasources(this.context); + } + } + cloudsearch_v1.Resource$Stats$Index = Resource$Stats$Index; + class Resource$Stats$Index$Datasources { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/index/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Stats$Index$Datasources = Resource$Stats$Index$Datasources; + class Resource$Stats$Query { + constructor(context) { + this.context = context; + this.searchapplications = new Resource$Stats$Query$Searchapplications(this.context); + } + } + cloudsearch_v1.Resource$Stats$Query = Resource$Stats$Query; + class Resource$Stats$Query$Searchapplications { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/query/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Stats$Query$Searchapplications = Resource$Stats$Query$Searchapplications; + class Resource$Stats$Session { + constructor(context) { + this.context = context; + this.searchapplications = new Resource$Stats$Session$Searchapplications(this.context); + } + } + cloudsearch_v1.Resource$Stats$Session = Resource$Stats$Session; + class Resource$Stats$Session$Searchapplications { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/session/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Stats$Session$Searchapplications = Resource$Stats$Session$Searchapplications; + class Resource$Stats$User { + constructor(context) { + this.context = context; + this.searchapplications = new Resource$Stats$User$Searchapplications(this.context); + } + } + cloudsearch_v1.Resource$Stats$User = Resource$Stats$User; + class Resource$Stats$User$Searchapplications { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/stats/user/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudsearch_v1.Resource$Stats$User$Searchapplications = Resource$Stats$User$Searchapplications; +})(cloudsearch_v1 = exports.cloudsearch_v1 || (exports.cloudsearch_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 85465: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(5748); +const v1alpha1_1 = __nccwpck_require__(70457); +exports.VERSIONS = { + v1: v1_1.cloudshell_v1.Cloudshell, + v1alpha1: v1alpha1_1.cloudshell_v1alpha1.Cloudshell, +}; +function cloudshell(versionOrOptions) { + return googleapis_common_1.getAPI('cloudshell', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudshell = cloudshell; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 5748: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudshell_v1; +(function (cloudshell_v1) { + /** + * Cloud Shell API + * + * Allows users to start, configure, and connect to interactive shell sessions running in the cloud. + * + * @example + * const {google} = require('googleapis'); + * const cloudshell = google.cloudshell('v1'); + * + * @namespace cloudshell + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudshell + */ + class Cloudshell { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + } + } + cloudshell_v1.Cloudshell = Cloudshell; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudshell_v1.Resource$Operations = Resource$Operations; +})(cloudshell_v1 = exports.cloudshell_v1 || (exports.cloudshell_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 70457: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudshell_v1alpha1; +(function (cloudshell_v1alpha1) { + /** + * Cloud Shell API + * + * Allows users to start, configure, and connect to interactive shell sessions running in the cloud. + * + * @example + * const {google} = require('googleapis'); + * const cloudshell = google.cloudshell('v1alpha1'); + * + * @namespace cloudshell + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Cloudshell + */ + class Cloudshell { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.users = new Resource$Users(this.context); + } + } + cloudshell_v1alpha1.Cloudshell = Cloudshell; + class Resource$Users { + constructor(context) { + this.context = context; + this.environments = new Resource$Users$Environments(this.context); + } + } + cloudshell_v1alpha1.Resource$Users = Resource$Users; + class Resource$Users$Environments { + constructor(context) { + this.context = context; + this.publicKeys = new Resource$Users$Environments$Publickeys(this.context); + } + authorize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:authorize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudshell_v1alpha1.Resource$Users$Environments = Resource$Users$Environments; + class Resource$Users$Environments$Publickeys { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/publicKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudshell_v1alpha1.Resource$Users$Environments$Publickeys = Resource$Users$Environments$Publickeys; +})(cloudshell_v1alpha1 = exports.cloudshell_v1alpha1 || (exports.cloudshell_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 95235: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(21294); +const v2beta2_1 = __nccwpck_require__(19041); +const v2beta3_1 = __nccwpck_require__(61800); +exports.VERSIONS = { + v2: v2_1.cloudtasks_v2.Cloudtasks, + v2beta2: v2beta2_1.cloudtasks_v2beta2.Cloudtasks, + v2beta3: v2beta3_1.cloudtasks_v2beta3.Cloudtasks, +}; +function cloudtasks(versionOrOptions) { + return googleapis_common_1.getAPI('cloudtasks', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudtasks = cloudtasks; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 21294: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudtasks_v2; +(function (cloudtasks_v2) { + /** + * Cloud Tasks API + * + * Manages the execution of large numbers of distributed requests. + * + * @example + * const {google} = require('googleapis'); + * const cloudtasks = google.cloudtasks('v2'); + * + * @namespace cloudtasks + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Cloudtasks + */ + class Cloudtasks { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudtasks_v2.Cloudtasks = Cloudtasks; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudtasks_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.queues = new Resource$Projects$Locations$Queues(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Queues { + constructor(context) { + this.context = context; + this.tasks = new Resource$Projects$Locations$Queues$Tasks(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/queues').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/queues').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + purge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:purge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2.Resource$Projects$Locations$Queues = Resource$Projects$Locations$Queues; + class Resource$Projects$Locations$Queues$Tasks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2.Resource$Projects$Locations$Queues$Tasks = Resource$Projects$Locations$Queues$Tasks; +})(cloudtasks_v2 = exports.cloudtasks_v2 || (exports.cloudtasks_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 19041: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudtasks_v2beta2; +(function (cloudtasks_v2beta2) { + /** + * Cloud Tasks API + * + * Manages the execution of large numbers of distributed requests. + * + * @example + * const {google} = require('googleapis'); + * const cloudtasks = google.cloudtasks('v2beta2'); + * + * @namespace cloudtasks + * @type {Function} + * @version v2beta2 + * @variation v2beta2 + * @param {object=} options Options for Cloudtasks + */ + class Cloudtasks { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudtasks_v2beta2.Cloudtasks = Cloudtasks; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudtasks_v2beta2.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.queues = new Resource$Projects$Locations$Queues(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2beta2.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Queues { + constructor(context) { + this.context = context; + this.tasks = new Resource$Projects$Locations$Queues$Tasks(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+parent}/queues').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+parent}/queues').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + purge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:purge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2beta2.Resource$Projects$Locations$Queues = Resource$Projects$Locations$Queues; + class Resource$Projects$Locations$Queues$Tasks { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancelLease(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:cancelLease').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+parent}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lease(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+parent}/tasks:lease').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+parent}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + renewLease(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:renewLease').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta2/{+name}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2beta2.Resource$Projects$Locations$Queues$Tasks = Resource$Projects$Locations$Queues$Tasks; +})(cloudtasks_v2beta2 = exports.cloudtasks_v2beta2 || (exports.cloudtasks_v2beta2 = {})); +//# sourceMappingURL=v2beta2.js.map + +/***/ }), + +/***/ 61800: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudtasks_v2beta3; +(function (cloudtasks_v2beta3) { + /** + * Cloud Tasks API + * + * Manages the execution of large numbers of distributed requests. + * + * @example + * const {google} = require('googleapis'); + * const cloudtasks = google.cloudtasks('v2beta3'); + * + * @namespace cloudtasks + * @type {Function} + * @version v2beta3 + * @variation v2beta3 + * @param {object=} options Options for Cloudtasks + */ + class Cloudtasks { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudtasks_v2beta3.Cloudtasks = Cloudtasks; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + cloudtasks_v2beta3.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.queues = new Resource$Projects$Locations$Queues(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2beta3.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Queues { + constructor(context) { + this.context = context; + this.tasks = new Resource$Projects$Locations$Queues$Tasks(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+parent}/queues').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+parent}/queues').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + purge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}:purge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2beta3.Resource$Projects$Locations$Queues = Resource$Projects$Locations$Queues; + class Resource$Projects$Locations$Queues$Tasks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+parent}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+parent}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta3/{+name}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtasks_v2beta3.Resource$Projects$Locations$Queues$Tasks = Resource$Projects$Locations$Queues$Tasks; +})(cloudtasks_v2beta3 = exports.cloudtasks_v2beta3 || (exports.cloudtasks_v2beta3 = {})); +//# sourceMappingURL=v2beta3.js.map + +/***/ }), + +/***/ 15559: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(26029); +const v2_1 = __nccwpck_require__(86349); +exports.VERSIONS = { + v1: v1_1.cloudtrace_v1.Cloudtrace, + v2: v2_1.cloudtrace_v2.Cloudtrace, +}; +function cloudtrace(versionOrOptions) { + return googleapis_common_1.getAPI('cloudtrace', versionOrOptions, exports.VERSIONS, this); +} +exports.cloudtrace = cloudtrace; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 26029: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudtrace_v1; +(function (cloudtrace_v1) { + /** + * Stackdriver Trace API + * + * Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus. + * + * @example + * const {google} = require('googleapis'); + * const cloudtrace = google.cloudtrace('v1'); + * + * @namespace cloudtrace + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Cloudtrace + */ + class Cloudtrace { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudtrace_v1.Cloudtrace = Cloudtrace; + class Resource$Projects { + constructor(context) { + this.context = context; + this.traces = new Resource$Projects$Traces(this.context); + } + patchTraces(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/traces').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtrace_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Traces { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/traces/{traceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'traceId'], + pathParams: ['projectId', 'traceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/traces').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtrace_v1.Resource$Projects$Traces = Resource$Projects$Traces; +})(cloudtrace_v1 = exports.cloudtrace_v1 || (exports.cloudtrace_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 86349: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var cloudtrace_v2; +(function (cloudtrace_v2) { + /** + * Stackdriver Trace API + * + * Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus. + * + * @example + * const {google} = require('googleapis'); + * const cloudtrace = google.cloudtrace('v2'); + * + * @namespace cloudtrace + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Cloudtrace + */ + class Cloudtrace { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + cloudtrace_v2.Cloudtrace = Cloudtrace; + class Resource$Projects { + constructor(context) { + this.context = context; + this.traces = new Resource$Projects$Traces(this.context); + } + } + cloudtrace_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Traces { + constructor(context) { + this.context = context; + this.spans = new Resource$Projects$Traces$Spans(this.context); + } + batchWrite(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}/traces:batchWrite').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtrace_v2.Resource$Projects$Traces = Resource$Projects$Traces; + class Resource$Projects$Traces$Spans { + constructor(context) { + this.context = context; + } + createSpan(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + cloudtrace_v2.Resource$Projects$Traces$Spans = Resource$Projects$Traces$Spans; +})(cloudtrace_v2 = exports.cloudtrace_v2 || (exports.cloudtrace_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 61368: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1alpha1_1 = __nccwpck_require__(4630); +exports.VERSIONS = { + v1alpha1: v1alpha1_1.commentanalyzer_v1alpha1.Commentanalyzer, +}; +function commentanalyzer(versionOrOptions) { + return googleapis_common_1.getAPI('commentanalyzer', versionOrOptions, exports.VERSIONS, this); +} +exports.commentanalyzer = commentanalyzer; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 4630: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var commentanalyzer_v1alpha1; +(function (commentanalyzer_v1alpha1) { + /** + * Perspective Comment Analyzer API + * + * The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned. + * + * @example + * const {google} = require('googleapis'); + * const commentanalyzer = google.commentanalyzer('v1alpha1'); + * + * @namespace commentanalyzer + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Commentanalyzer + */ + class Commentanalyzer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.comments = new Resource$Comments(this.context); + } + } + commentanalyzer_v1alpha1.Commentanalyzer = Commentanalyzer; + class Resource$Comments { + constructor(context) { + this.context = context; + } + analyze(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://commentanalyzer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/comments:analyze').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + suggestscore(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://commentanalyzer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/comments:suggestscore').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + commentanalyzer_v1alpha1.Resource$Comments = Resource$Comments; +})(commentanalyzer_v1alpha1 = exports.commentanalyzer_v1alpha1 || (exports.commentanalyzer_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 34999: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(29383); +const v1beta1_1 = __nccwpck_require__(47216); +exports.VERSIONS = { + v1: v1_1.composer_v1.Composer, + v1beta1: v1beta1_1.composer_v1beta1.Composer, +}; +function composer(versionOrOptions) { + return googleapis_common_1.getAPI('composer', versionOrOptions, exports.VERSIONS, this); +} +exports.composer = composer; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 29383: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var composer_v1; +(function (composer_v1) { + /** + * Cloud Composer API + * + * Manages Apache Airflow environments on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const composer = google.composer('v1'); + * + * @namespace composer + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Composer + */ + class Composer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + composer_v1.Composer = Composer; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + composer_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.environments = new Resource$Projects$Locations$Environments(this.context); + this.imageVersions = new Resource$Projects$Locations$Imageversions(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + } + composer_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Environments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + composer_v1.Resource$Projects$Locations$Environments = Resource$Projects$Locations$Environments; + class Resource$Projects$Locations$Imageversions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/imageVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + composer_v1.Resource$Projects$Locations$Imageversions = Resource$Projects$Locations$Imageversions; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + composer_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(composer_v1 = exports.composer_v1 || (exports.composer_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 47216: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var composer_v1beta1; +(function (composer_v1beta1) { + /** + * Cloud Composer API + * + * Manages Apache Airflow environments on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const composer = google.composer('v1beta1'); + * + * @namespace composer + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Composer + */ + class Composer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + composer_v1beta1.Composer = Composer; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + composer_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.environments = new Resource$Projects$Locations$Environments(this.context); + this.imageVersions = new Resource$Projects$Locations$Imageversions(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + } + composer_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Environments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + composer_v1beta1.Resource$Projects$Locations$Environments = Resource$Projects$Locations$Environments; + class Resource$Projects$Locations$Imageversions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/imageVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + composer_v1beta1.Resource$Projects$Locations$Imageversions = Resource$Projects$Locations$Imageversions; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://composer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + composer_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(composer_v1beta1 = exports.composer_v1beta1 || (exports.composer_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 88951: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var compute_alpha; +(function (compute_alpha) { + /** + * Compute Engine API + * + * Creates and runs virtual machines on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const compute = google.compute('alpha'); + * + * @namespace compute + * @type {Function} + * @version alpha + * @variation alpha + * @param {object=} options Options for Compute + */ + class Compute { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.acceleratorTypes = new Resource$Acceleratortypes(this.context); + this.addresses = new Resource$Addresses(this.context); + this.autoscalers = new Resource$Autoscalers(this.context); + this.backendBuckets = new Resource$Backendbuckets(this.context); + this.backendServices = new Resource$Backendservices(this.context); + this.disks = new Resource$Disks(this.context); + this.diskTypes = new Resource$Disktypes(this.context); + this.externalVpnGateways = new Resource$Externalvpngateways(this.context); + this.firewalls = new Resource$Firewalls(this.context); + this.forwardingRules = new Resource$Forwardingrules(this.context); + this.globalAddresses = new Resource$Globaladdresses(this.context); + this.globalForwardingRules = new Resource$Globalforwardingrules(this.context); + this.globalNetworkEndpointGroups = new Resource$Globalnetworkendpointgroups(this.context); + this.globalOperations = new Resource$Globaloperations(this.context); + this.globalOrganizationOperations = new Resource$Globalorganizationoperations(this.context); + this.globalPublicDelegatedPrefixes = new Resource$Globalpublicdelegatedprefixes(this.context); + this.healthChecks = new Resource$Healthchecks(this.context); + this.httpHealthChecks = new Resource$Httphealthchecks(this.context); + this.httpsHealthChecks = new Resource$Httpshealthchecks(this.context); + this.images = new Resource$Images(this.context); + this.instanceGroupManagers = new Resource$Instancegroupmanagers(this.context); + this.instanceGroups = new Resource$Instancegroups(this.context); + this.instances = new Resource$Instances(this.context); + this.instanceTemplates = new Resource$Instancetemplates(this.context); + this.interconnectAttachments = new Resource$Interconnectattachments(this.context); + this.interconnectLocations = new Resource$Interconnectlocations(this.context); + this.interconnects = new Resource$Interconnects(this.context); + this.licenseCodes = new Resource$Licensecodes(this.context); + this.licenses = new Resource$Licenses(this.context); + this.machineImages = new Resource$Machineimages(this.context); + this.machineTypes = new Resource$Machinetypes(this.context); + this.networkEndpointGroups = new Resource$Networkendpointgroups(this.context); + this.networks = new Resource$Networks(this.context); + this.nodeGroups = new Resource$Nodegroups(this.context); + this.nodeTemplates = new Resource$Nodetemplates(this.context); + this.nodeTypes = new Resource$Nodetypes(this.context); + this.organizationSecurityPolicies = new Resource$Organizationsecuritypolicies(this.context); + this.packetMirrorings = new Resource$Packetmirrorings(this.context); + this.projects = new Resource$Projects(this.context); + this.publicAdvertisedPrefixes = new Resource$Publicadvertisedprefixes(this.context); + this.publicDelegatedPrefixes = new Resource$Publicdelegatedprefixes(this.context); + this.regionAutoscalers = new Resource$Regionautoscalers(this.context); + this.regionBackendServices = new Resource$Regionbackendservices(this.context); + this.regionCommitments = new Resource$Regioncommitments(this.context); + this.regionDisks = new Resource$Regiondisks(this.context); + this.regionDiskTypes = new Resource$Regiondisktypes(this.context); + this.regionHealthChecks = new Resource$Regionhealthchecks(this.context); + this.regionHealthCheckServices = new Resource$Regionhealthcheckservices(this.context); + this.regionInstanceGroupManagers = new Resource$Regioninstancegroupmanagers(this.context); + this.regionInstanceGroups = new Resource$Regioninstancegroups(this.context); + this.regionNetworkEndpointGroups = new Resource$Regionnetworkendpointgroups(this.context); + this.regionNotificationEndpoints = new Resource$Regionnotificationendpoints(this.context); + this.regionOperations = new Resource$Regionoperations(this.context); + this.regions = new Resource$Regions(this.context); + this.regionSslCertificates = new Resource$Regionsslcertificates(this.context); + this.regionTargetHttpProxies = new Resource$Regiontargethttpproxies(this.context); + this.regionTargetHttpsProxies = new Resource$Regiontargethttpsproxies(this.context); + this.regionUrlMaps = new Resource$Regionurlmaps(this.context); + this.reservations = new Resource$Reservations(this.context); + this.resourcePolicies = new Resource$Resourcepolicies(this.context); + this.routers = new Resource$Routers(this.context); + this.routes = new Resource$Routes(this.context); + this.securityPolicies = new Resource$Securitypolicies(this.context); + this.snapshots = new Resource$Snapshots(this.context); + this.sslCertificates = new Resource$Sslcertificates(this.context); + this.sslPolicies = new Resource$Sslpolicies(this.context); + this.subnetworks = new Resource$Subnetworks(this.context); + this.targetHttpProxies = new Resource$Targethttpproxies(this.context); + this.targetHttpsProxies = new Resource$Targethttpsproxies(this.context); + this.targetInstances = new Resource$Targetinstances(this.context); + this.targetPools = new Resource$Targetpools(this.context); + this.targetSslProxies = new Resource$Targetsslproxies(this.context); + this.targetTcpProxies = new Resource$Targettcpproxies(this.context); + this.targetVpnGateways = new Resource$Targetvpngateways(this.context); + this.urlMaps = new Resource$Urlmaps(this.context); + this.vpnGateways = new Resource$Vpngateways(this.context); + this.vpnTunnels = new Resource$Vpntunnels(this.context); + this.zoneOperations = new Resource$Zoneoperations(this.context); + this.zones = new Resource$Zones(this.context); + } + } + compute_alpha.Compute = Compute; + class Resource$Acceleratortypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'acceleratorType'], + pathParams: ['acceleratorType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Acceleratortypes = Resource$Acceleratortypes; + class Resource$Addresses { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'address'], + pathParams: ['address', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'address'], + pathParams: ['address', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/addresses/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Addresses = Resource$Addresses; + class Resource$Autoscalers { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Autoscalers = Resource$Autoscalers; + class Resource$Backendbuckets { + constructor(context) { + this.context = context; + } + addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendBucket', 'keyName'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Backendbuckets = Resource$Backendbuckets; + class Resource$Backendservices { + constructor(context) { + this.context = context; + } + addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}/addSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService', 'keyName'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSecurityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}/setSecurityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Backendservices = Resource$Backendservices; + class Resource$Disks { + constructor(context) { + this.context = context; + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSnapshot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/zones/{zone}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/zones/{zone}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Disks = Resource$Disks; + class Resource$Disktypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/diskTypes/{diskType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'diskType'], + pathParams: ['diskType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Disktypes = Resource$Disktypes; + class Resource$Externalvpngateways { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'externalVpnGateway'], + pathParams: ['externalVpnGateway', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'externalVpnGateway'], + pathParams: ['externalVpnGateway', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/externalVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/externalVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/externalVpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Externalvpngateways = Resource$Externalvpngateways; + class Resource$Firewalls { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/firewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/firewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/firewalls/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Firewalls = Resource$Firewalls; + class Resource$Forwardingrules { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTarget(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Forwardingrules = Resource$Forwardingrules; + class Resource$Globaladdresses { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'address'], + pathParams: ['address', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'address'], + pathParams: ['address', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/addresses/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/addresses/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Globaladdresses = Resource$Globaladdresses; + class Resource$Globalforwardingrules { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTarget(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Globalforwardingrules = Resource$Globalforwardingrules; + class Resource$Globalnetworkendpointgroups { + constructor(context) { + this.context = context; + } + attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Globalnetworkendpointgroups = Resource$Globalnetworkendpointgroups; + class Resource$Globaloperations { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Globaloperations = Resource$Globaloperations; + class Resource$Globalorganizationoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['operation'], + pathParams: ['operation'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['operation'], + pathParams: ['operation'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/locations/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['operation'], + pathParams: ['operation'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Globalorganizationoperations = Resource$Globalorganizationoperations; + class Resource$Globalpublicdelegatedprefixes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'publicDelegatedPrefix'], + pathParams: ['project', 'publicDelegatedPrefix'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'publicDelegatedPrefix'], + pathParams: ['project', 'publicDelegatedPrefix'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'publicDelegatedPrefix'], + pathParams: ['project', 'publicDelegatedPrefix'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Globalpublicdelegatedprefixes = Resource$Globalpublicdelegatedprefixes; + class Resource$Healthchecks { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/healthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Healthchecks = Resource$Healthchecks; + class Resource$Httphealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Httphealthchecks = Resource$Httphealthchecks; + class Resource$Httpshealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Httpshealthchecks = Resource$Httpshealthchecks; + class Resource$Images { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{image}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deprecate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{image}/deprecate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{image}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getFromFamily(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/family/{family}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'family'], + pathParams: ['family', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/images').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/images').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/images/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Images = Resource$Images; + class Resource$Instancegroupmanagers { + constructor(context) { + this.context = context; + } + abandonInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listErrors(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listManagedInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recreateInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resizeAdvanced(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTargetPools(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Instancegroupmanagers = Resource$Instancegroupmanagers; + class Resource$Instancegroups { + constructor(context) { + this.context = context; + } + addInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNamedPorts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Instancegroups = Resource$Instancegroups; + class Resource$Instances { + constructor(context) { + this.context = context; + } + addAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/attachDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'project', + 'zone', + 'instance', + 'accessConfig', + 'networkInterface', + ], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/detachDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'deviceName'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getEffectiveFirewalls(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getGuestAttributes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSerialPortOutput(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/serialPort').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getShieldedInstanceIdentity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getShieldedVmIdentity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listReferrers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/referrers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDeletionProtection(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDiskAutoDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'project', + 'zone', + 'instance', + 'autoDelete', + 'deviceName', + ], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMachineResources(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMachineType(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMachineType').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMinCpuPlatform(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setName(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setName').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setScheduling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setScheduling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setServiceAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setShieldedInstanceIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setShieldedVmIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTags(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + simulateMaintenanceEvent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startWithEncryptionKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + suspend(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/suspend').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateDisplayDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateNetworkInterface(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateShieldedInstanceConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateShieldedVmConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Instances = Resource$Instances; + class Resource$Instancetemplates { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instanceTemplate'], + pathParams: ['instanceTemplate', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instanceTemplate'], + pathParams: ['instanceTemplate', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/instanceTemplates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Instancetemplates = Resource$Instancetemplates; + class Resource$Interconnectattachments { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Interconnectattachments = Resource$Interconnectattachments; + class Resource$Interconnectlocations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnectLocations/{interconnectLocation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnectLocation'], + pathParams: ['interconnectLocation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnectLocations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnectLocations/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Interconnectlocations = Resource$Interconnectlocations; + class Resource$Interconnects { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getDiagnostics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{interconnect}/getDiagnostics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/interconnects').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/interconnects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/interconnects/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Interconnects = Resource$Interconnects; + class Resource$Licensecodes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenseCodes/{licenseCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'licenseCode'], + pathParams: ['licenseCode', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenseCodes/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenseCodes/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenseCodes/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Licensecodes = Resource$Licensecodes; + class Resource$Licenses { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenses/{license}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'license'], + pathParams: ['license', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenses/{license}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'license'], + pathParams: ['license', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenses/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/licenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/licenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenses/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/licenses/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Licenses = Resource$Licenses; + class Resource$Machineimages { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'machineImage'], + pathParams: ['machineImage', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'machineImage'], + pathParams: ['machineImage', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/machineImages/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/machineImages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/machineImages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/machineImages/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/machineImages/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Machineimages = Resource$Machineimages; + class Resource$Machinetypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/machineTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/machineTypes/{machineType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'machineType'], + pathParams: ['machineType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/machineTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Machinetypes = Resource$Machinetypes; + class Resource$Networkendpointgroups { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Networkendpointgroups = Resource$Networkendpointgroups; + class Resource$Networks { + constructor(context) { + this.context = context; + } + addPeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/addPeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getEffectiveFirewalls(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/getEffectiveFirewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/networks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/networks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listIpAddresses(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/listIpAddresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listIpOwners(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/listIpOwners').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPeeringRoutes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/listPeeringRoutes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removePeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/removePeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + switchToCustomMode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/switchToCustomMode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/networks/{network}/updatePeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Networks = Resource$Networks; + class Resource$Nodegroups { + constructor(context) { + this.context = context; + } + addNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'initialNodeCount'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoscalingPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setAutoscalingPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNodeTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Nodegroups = Resource$Nodegroups; + class Resource$Nodetemplates { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'nodeTemplate'], + pathParams: ['nodeTemplate', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'nodeTemplate'], + pathParams: ['nodeTemplate', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Nodetemplates = Resource$Nodetemplates; + class Resource$Nodetypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/nodeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeTypes/{nodeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeType'], + pathParams: ['nodeType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/nodeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Nodetypes = Resource$Nodetypes; + class Resource$Organizationsecuritypolicies { + constructor(context) { + this.context = context; + } + addAssociation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/addAssociation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + copyRules(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/copyRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAssociation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/getAssociation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAssociations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/listAssociations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeAssociation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/removeAssociation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['securityPolicy'], + pathParams: ['securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Organizationsecuritypolicies = Resource$Organizationsecuritypolicies; + class Resource$Packetmirrorings { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/packetMirrorings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'packetMirroring'], + pathParams: ['packetMirroring', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'packetMirroring'], + pathParams: ['packetMirroring', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'packetMirroring'], + pathParams: ['packetMirroring', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Packetmirrorings = Resource$Packetmirrorings; + class Resource$Projects { + constructor(context) { + this.context = context; + } + disableXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/disableXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disableXpnResource(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/disableXpnResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/enableXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableXpnResource(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/enableXpnResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/getXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getXpnResources(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/getXpnResources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listXpnHosts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/listXpnHosts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/moveDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/moveInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setCommonInstanceMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/setCommonInstanceMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDefaultNetworkTier(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/setDefaultNetworkTier').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDefaultServiceAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/setDefaultServiceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUsageExportBucket(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/setUsageExportBucket').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Projects = Resource$Projects; + class Resource$Publicadvertisedprefixes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'publicAdvertisedPrefix'], + pathParams: ['project', 'publicAdvertisedPrefix'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'publicAdvertisedPrefix'], + pathParams: ['project', 'publicAdvertisedPrefix'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'publicAdvertisedPrefix'], + pathParams: ['project', 'publicAdvertisedPrefix'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Publicadvertisedprefixes = Resource$Publicadvertisedprefixes; + class Resource$Publicdelegatedprefixes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/publicDelegatedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'publicDelegatedPrefix'], + pathParams: ['project', 'publicDelegatedPrefix', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'publicDelegatedPrefix'], + pathParams: ['project', 'publicDelegatedPrefix', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'publicDelegatedPrefix'], + pathParams: ['project', 'publicDelegatedPrefix', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Publicdelegatedprefixes = Resource$Publicdelegatedprefixes; + class Resource$Regionautoscalers { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionautoscalers = Resource$Regionautoscalers; + class Resource$Regionbackendservices { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionbackendservices = Resource$Regionbackendservices; + class Resource$Regioncommitments { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/commitments/{commitment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'commitment'], + pathParams: ['commitment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/commitments/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateReservations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/commitments/{commitment}/updateReservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'commitment'], + pathParams: ['commitment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regioncommitments = Resource$Regioncommitments; + class Resource$Regiondisks { + constructor(context) { + this.context = context; + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSnapshot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/createSnapshot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regiondisks = Resource$Regiondisks; + class Resource$Regiondisktypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/diskTypes/{diskType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'diskType'], + pathParams: ['diskType', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regiondisktypes = Resource$Regiondisktypes; + class Resource$Regionhealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionhealthchecks = Resource$Regionhealthchecks; + class Resource$Regionhealthcheckservices { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheckService'], + pathParams: ['healthCheckService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheckService'], + pathParams: ['healthCheckService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionhealthcheckservices = Resource$Regionhealthcheckservices; + class Resource$Regioninstancegroupmanagers { + constructor(context) { + this.context = context; + } + abandonInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listErrors(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listManagedInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recreateInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager', 'size'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTargetPools(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regioninstancegroupmanagers = Resource$Regioninstancegroupmanagers; + class Resource$Regioninstancegroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNamedPorts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regioninstancegroups = Resource$Regioninstancegroups; + class Resource$Regionnetworkendpointgroups { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionnetworkendpointgroups = Resource$Regionnetworkendpointgroups; + class Resource$Regionnotificationendpoints { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'notificationEndpoint'], + pathParams: ['notificationEndpoint', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'notificationEndpoint'], + pathParams: ['notificationEndpoint', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionnotificationendpoints = Resource$Regionnotificationendpoints; + class Resource$Regionoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionoperations = Resource$Regionoperations; + class Resource$Regions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/regions/{region}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/regions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regions = Resource$Regions; + class Resource$Regionsslcertificates { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'sslCertificate'], + pathParams: ['project', 'region', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'sslCertificate'], + pathParams: ['project', 'region', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionsslcertificates = Resource$Regionsslcertificates; + class Resource$Regiontargethttpproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regiontargethttpproxies = Resource$Regiontargethttpproxies; + class Resource$Regiontargethttpsproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regiontargethttpsproxies = Resource$Regiontargethttpsproxies; + class Resource$Regionurlmaps { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + invalidateCache(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}/validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Regionurlmaps = Resource$Regionurlmaps; + class Resource$Reservations { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations/{reservation}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Reservations = Resource$Reservations; + class Resource$Resourcepolicies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'resourcePolicy'], + pathParams: ['project', 'region', 'resourcePolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resourcePolicy'], + pathParams: ['project', 'region', 'resourcePolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Resourcepolicies = Resource$Resourcepolicies; + class Resource$Routers { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getNatMappingInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRouterStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}/getRouterStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + preview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}/preview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Routers = Resource$Routers; + class Resource$Routes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/routes/{route}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'route'], + pathParams: ['project', 'route'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/routes/{route}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'route'], + pathParams: ['project', 'route'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/routes/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Routes = Resource$Routes; + class Resource$Securitypolicies { + constructor(context) { + this.context = context; + } + addRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPreconfiguredExpressionSets(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/securityPolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Securitypolicies = Resource$Securitypolicies; + class Resource$Snapshots { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'snapshot'], + pathParams: ['project', 'snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'snapshot'], + pathParams: ['project', 'snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/snapshots/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/snapshots').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/snapshots/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/snapshots/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/snapshots/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Snapshots = Resource$Snapshots; + class Resource$Sslcertificates { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'sslCertificate'], + pathParams: ['project', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'sslCertificate'], + pathParams: ['project', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslCertificates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Sslcertificates = Resource$Sslcertificates; + class Resource$Sslpolicies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/sslPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/sslPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAvailableFeatures(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslPolicies/listAvailableFeatures').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/sslPolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Sslpolicies = Resource$Sslpolicies; + class Resource$Subnetworks { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + expandIpCidrRange(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listUsable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/subnetworks/listUsable').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setPrivateIpGoogleAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Subnetworks = Resource$Subnetworks; + class Resource$Targethttpproxies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targethttpproxies = Resource$Targethttpproxies; + class Resource$Targethttpsproxies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setQuicOverride(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targethttpsproxies = Resource$Targethttpsproxies; + class Resource$Targetinstances { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'targetInstance'], + pathParams: ['project', 'targetInstance', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'targetInstance'], + pathParams: ['project', 'targetInstance', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targetinstances = Resource$Targetinstances; + class Resource$Targetpools { + constructor(context) { + this.context = context; + } + addHealthCheck(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeHealthCheck(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targetpools = Resource$Targetpools; + class Resource$Targetsslproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackendService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProxyHeader(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetSslProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targetsslproxies = Resource$Targetsslproxies; + class Resource$Targettcpproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackendService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProxyHeader(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targettcpproxies = Resource$Targettcpproxies; + class Resource$Targetvpngateways { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetVpnGateway'], + pathParams: ['project', 'region', 'targetVpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetVpnGateway'], + pathParams: ['project', 'region', 'targetVpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Targetvpngateways = Resource$Targetvpngateways; + class Resource$Urlmaps { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + invalidateCache(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/global/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}/validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Urlmaps = Resource$Urlmaps; + class Resource$Vpngateways { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Vpngateways = Resource$Vpngateways; + class Resource$Vpntunnels { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/aggregated/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'vpnTunnel'], + pathParams: ['project', 'region', 'vpnTunnel'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnTunnel'], + pathParams: ['project', 'region', 'vpnTunnel'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Vpntunnels = Resource$Vpntunnels; + class Resource$Zoneoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/alpha/projects/{project}/zones/{zone}/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Zoneoperations = Resource$Zoneoperations; + class Resource$Zones { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/zones/{zone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/alpha/projects/{project}/zones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_alpha.Resource$Zones = Resource$Zones; +})(compute_alpha = exports.compute_alpha || (exports.compute_alpha = {})); +//# sourceMappingURL=alpha.js.map + +/***/ }), + +/***/ 66624: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var compute_beta; +(function (compute_beta) { + /** + * Compute Engine API + * + * Creates and runs virtual machines on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const compute = google.compute('beta'); + * + * @namespace compute + * @type {Function} + * @version beta + * @variation beta + * @param {object=} options Options for Compute + */ + class Compute { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.acceleratorTypes = new Resource$Acceleratortypes(this.context); + this.addresses = new Resource$Addresses(this.context); + this.autoscalers = new Resource$Autoscalers(this.context); + this.backendBuckets = new Resource$Backendbuckets(this.context); + this.backendServices = new Resource$Backendservices(this.context); + this.disks = new Resource$Disks(this.context); + this.diskTypes = new Resource$Disktypes(this.context); + this.externalVpnGateways = new Resource$Externalvpngateways(this.context); + this.firewalls = new Resource$Firewalls(this.context); + this.forwardingRules = new Resource$Forwardingrules(this.context); + this.globalAddresses = new Resource$Globaladdresses(this.context); + this.globalForwardingRules = new Resource$Globalforwardingrules(this.context); + this.globalOperations = new Resource$Globaloperations(this.context); + this.healthChecks = new Resource$Healthchecks(this.context); + this.httpHealthChecks = new Resource$Httphealthchecks(this.context); + this.httpsHealthChecks = new Resource$Httpshealthchecks(this.context); + this.images = new Resource$Images(this.context); + this.instanceGroupManagers = new Resource$Instancegroupmanagers(this.context); + this.instanceGroups = new Resource$Instancegroups(this.context); + this.instances = new Resource$Instances(this.context); + this.instanceTemplates = new Resource$Instancetemplates(this.context); + this.interconnectAttachments = new Resource$Interconnectattachments(this.context); + this.interconnectLocations = new Resource$Interconnectlocations(this.context); + this.interconnects = new Resource$Interconnects(this.context); + this.licenseCodes = new Resource$Licensecodes(this.context); + this.licenses = new Resource$Licenses(this.context); + this.machineImages = new Resource$Machineimages(this.context); + this.machineTypes = new Resource$Machinetypes(this.context); + this.networkEndpointGroups = new Resource$Networkendpointgroups(this.context); + this.networks = new Resource$Networks(this.context); + this.nodeGroups = new Resource$Nodegroups(this.context); + this.nodeTemplates = new Resource$Nodetemplates(this.context); + this.nodeTypes = new Resource$Nodetypes(this.context); + this.packetMirrorings = new Resource$Packetmirrorings(this.context); + this.projects = new Resource$Projects(this.context); + this.regionAutoscalers = new Resource$Regionautoscalers(this.context); + this.regionBackendServices = new Resource$Regionbackendservices(this.context); + this.regionCommitments = new Resource$Regioncommitments(this.context); + this.regionDisks = new Resource$Regiondisks(this.context); + this.regionDiskTypes = new Resource$Regiondisktypes(this.context); + this.regionHealthChecks = new Resource$Regionhealthchecks(this.context); + this.regionInstanceGroupManagers = new Resource$Regioninstancegroupmanagers(this.context); + this.regionInstanceGroups = new Resource$Regioninstancegroups(this.context); + this.regionOperations = new Resource$Regionoperations(this.context); + this.regions = new Resource$Regions(this.context); + this.regionSslCertificates = new Resource$Regionsslcertificates(this.context); + this.regionTargetHttpProxies = new Resource$Regiontargethttpproxies(this.context); + this.regionTargetHttpsProxies = new Resource$Regiontargethttpsproxies(this.context); + this.regionUrlMaps = new Resource$Regionurlmaps(this.context); + this.reservations = new Resource$Reservations(this.context); + this.resourcePolicies = new Resource$Resourcepolicies(this.context); + this.routers = new Resource$Routers(this.context); + this.routes = new Resource$Routes(this.context); + this.securityPolicies = new Resource$Securitypolicies(this.context); + this.snapshots = new Resource$Snapshots(this.context); + this.sslCertificates = new Resource$Sslcertificates(this.context); + this.sslPolicies = new Resource$Sslpolicies(this.context); + this.subnetworks = new Resource$Subnetworks(this.context); + this.targetHttpProxies = new Resource$Targethttpproxies(this.context); + this.targetHttpsProxies = new Resource$Targethttpsproxies(this.context); + this.targetInstances = new Resource$Targetinstances(this.context); + this.targetPools = new Resource$Targetpools(this.context); + this.targetSslProxies = new Resource$Targetsslproxies(this.context); + this.targetTcpProxies = new Resource$Targettcpproxies(this.context); + this.targetVpnGateways = new Resource$Targetvpngateways(this.context); + this.urlMaps = new Resource$Urlmaps(this.context); + this.vpnGateways = new Resource$Vpngateways(this.context); + this.vpnTunnels = new Resource$Vpntunnels(this.context); + this.zoneOperations = new Resource$Zoneoperations(this.context); + this.zones = new Resource$Zones(this.context); + } + } + compute_beta.Compute = Compute; + class Resource$Acceleratortypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'acceleratorType'], + pathParams: ['acceleratorType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Acceleratortypes = Resource$Acceleratortypes; + class Resource$Addresses { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'address'], + pathParams: ['address', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'address'], + pathParams: ['address', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/addresses/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Addresses = Resource$Addresses; + class Resource$Autoscalers { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Autoscalers = Resource$Autoscalers; + class Resource$Backendbuckets { + constructor(context) { + this.context = context; + } + addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendBucket', 'keyName'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/backendBuckets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/backendBuckets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Backendbuckets = Resource$Backendbuckets; + class Resource$Backendservices { + constructor(context) { + this.context = context; + } + addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}/addSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService', 'keyName'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSecurityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}/setSecurityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Backendservices = Resource$Backendservices; + class Resource$Disks { + constructor(context) { + this.context = context; + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSnapshot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/zones/{zone}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/zones/{zone}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Disks = Resource$Disks; + class Resource$Disktypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/diskTypes/{diskType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'diskType'], + pathParams: ['diskType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Disktypes = Resource$Disktypes; + class Resource$Externalvpngateways { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'externalVpnGateway'], + pathParams: ['externalVpnGateway', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'externalVpnGateway'], + pathParams: ['externalVpnGateway', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/externalVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/externalVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/externalVpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Externalvpngateways = Resource$Externalvpngateways; + class Resource$Firewalls { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/firewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/firewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/firewalls/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Firewalls = Resource$Firewalls; + class Resource$Forwardingrules { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTarget(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Forwardingrules = Resource$Forwardingrules; + class Resource$Globaladdresses { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'address'], + pathParams: ['address', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'address'], + pathParams: ['address', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/addresses/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/addresses/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Globaladdresses = Resource$Globaladdresses; + class Resource$Globalforwardingrules { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTarget(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Globalforwardingrules = Resource$Globalforwardingrules; + class Resource$Globaloperations { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Globaloperations = Resource$Globaloperations; + class Resource$Healthchecks { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/healthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Healthchecks = Resource$Healthchecks; + class Resource$Httphealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Httphealthchecks = Resource$Httphealthchecks; + class Resource$Httpshealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Httpshealthchecks = Resource$Httpshealthchecks; + class Resource$Images { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/images/{image}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deprecate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/images/{image}/deprecate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/images/{image}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getFromFamily(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/images/family/{family}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'family'], + pathParams: ['family', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/images/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/images').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/images').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/images/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/images/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/images/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Images = Resource$Images; + class Resource$Instancegroupmanagers { + constructor(context) { + this.context = context; + } + abandonInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listErrors(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listManagedInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recreateInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resizeAdvanced(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTargetPools(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Instancegroupmanagers = Resource$Instancegroupmanagers; + class Resource$Instancegroups { + constructor(context) { + this.context = context; + } + addInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNamedPorts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Instancegroups = Resource$Instancegroups; + class Resource$Instances { + constructor(context) { + this.context = context; + } + addAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/attachDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'project', + 'zone', + 'instance', + 'accessConfig', + 'networkInterface', + ], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/detachDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'deviceName'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getGuestAttributes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSerialPortOutput(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/serialPort').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getShieldedInstanceIdentity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getShieldedVmIdentity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listReferrers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/referrers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDeletionProtection(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDiskAutoDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'project', + 'zone', + 'instance', + 'autoDelete', + 'deviceName', + ], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMachineResources(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMachineType(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMachineType').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMinCpuPlatform(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setScheduling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setScheduling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setServiceAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setShieldedInstanceIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setShieldedVmIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTags(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + simulateMaintenanceEvent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startWithEncryptionKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + suspend(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/suspend').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateDisplayDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateNetworkInterface(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateShieldedInstanceConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateShieldedVmConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Instances = Resource$Instances; + class Resource$Instancetemplates { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instanceTemplate'], + pathParams: ['instanceTemplate', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instanceTemplate'], + pathParams: ['instanceTemplate', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/instanceTemplates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Instancetemplates = Resource$Instancetemplates; + class Resource$Interconnectattachments { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Interconnectattachments = Resource$Interconnectattachments; + class Resource$Interconnectlocations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnectLocations/{interconnectLocation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnectLocation'], + pathParams: ['interconnectLocation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnectLocations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Interconnectlocations = Resource$Interconnectlocations; + class Resource$Interconnects { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getDiagnostics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnects/{interconnect}/getDiagnostics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/interconnects').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/interconnects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnects/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/interconnects/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Interconnects = Resource$Interconnects; + class Resource$Licensecodes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/licenseCodes/{licenseCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'licenseCode'], + pathParams: ['licenseCode', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Licensecodes = Resource$Licensecodes; + class Resource$Licenses { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/licenses/{license}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'license'], + pathParams: ['license', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/licenses/{license}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'license'], + pathParams: ['license', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/licenses/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/licenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/licenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/licenses/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Licenses = Resource$Licenses; + class Resource$Machineimages { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'machineImage'], + pathParams: ['machineImage', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'machineImage'], + pathParams: ['machineImage', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/machineImages/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/machineImages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/machineImages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/machineImages/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/machineImages/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Machineimages = Resource$Machineimages; + class Resource$Machinetypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/machineTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/machineTypes/{machineType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'machineType'], + pathParams: ['machineType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/machineTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Machinetypes = Resource$Machinetypes; + class Resource$Networkendpointgroups { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Networkendpointgroups = Resource$Networkendpointgroups; + class Resource$Networks { + constructor(context) { + this.context = context; + } + addPeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}/addPeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/networks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/networks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPeeringRoutes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}/listPeeringRoutes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removePeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}/removePeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + switchToCustomMode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}/switchToCustomMode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/networks/{network}/updatePeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Networks = Resource$Networks; + class Resource$Nodegroups { + constructor(context) { + this.context = context; + } + addNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'initialNodeCount'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNodeTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Nodegroups = Resource$Nodegroups; + class Resource$Nodetemplates { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'nodeTemplate'], + pathParams: ['nodeTemplate', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'nodeTemplate'], + pathParams: ['nodeTemplate', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Nodetemplates = Resource$Nodetemplates; + class Resource$Nodetypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/nodeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeTypes/{nodeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeType'], + pathParams: ['nodeType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/nodeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Nodetypes = Resource$Nodetypes; + class Resource$Packetmirrorings { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/packetMirrorings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'packetMirroring'], + pathParams: ['packetMirroring', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'packetMirroring'], + pathParams: ['packetMirroring', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'packetMirroring'], + pathParams: ['packetMirroring', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Packetmirrorings = Resource$Packetmirrorings; + class Resource$Projects { + constructor(context) { + this.context = context; + } + disableXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/disableXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disableXpnResource(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/disableXpnResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/enableXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableXpnResource(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/enableXpnResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/getXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getXpnResources(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/getXpnResources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listXpnHosts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/listXpnHosts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/moveDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/moveInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setCommonInstanceMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/setCommonInstanceMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDefaultNetworkTier(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/setDefaultNetworkTier').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUsageExportBucket(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/setUsageExportBucket').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Projects = Resource$Projects; + class Resource$Regionautoscalers { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regionautoscalers = Resource$Regionautoscalers; + class Resource$Regionbackendservices { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regionbackendservices = Resource$Regionbackendservices; + class Resource$Regioncommitments { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/commitments/{commitment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'commitment'], + pathParams: ['commitment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateReservations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/commitments/{commitment}/updateReservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'commitment'], + pathParams: ['commitment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regioncommitments = Resource$Regioncommitments; + class Resource$Regiondisks { + constructor(context) { + this.context = context; + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSnapshot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/createSnapshot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regiondisks = Resource$Regiondisks; + class Resource$Regiondisktypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/diskTypes/{diskType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'diskType'], + pathParams: ['diskType', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regiondisktypes = Resource$Regiondisktypes; + class Resource$Regionhealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regionhealthchecks = Resource$Regionhealthchecks; + class Resource$Regioninstancegroupmanagers { + constructor(context) { + this.context = context; + } + abandonInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listErrors(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listManagedInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recreateInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager', 'size'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTargetPools(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regioninstancegroupmanagers = Resource$Regioninstancegroupmanagers; + class Resource$Regioninstancegroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNamedPorts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regioninstancegroups = Resource$Regioninstancegroups; + class Resource$Regionoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regionoperations = Resource$Regionoperations; + class Resource$Regions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/regions/{region}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/regions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regions = Resource$Regions; + class Resource$Regionsslcertificates { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'sslCertificate'], + pathParams: ['project', 'region', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'sslCertificate'], + pathParams: ['project', 'region', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regionsslcertificates = Resource$Regionsslcertificates; + class Resource$Regiontargethttpproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regiontargethttpproxies = Resource$Regiontargethttpproxies; + class Resource$Regiontargethttpsproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regiontargethttpsproxies = Resource$Regiontargethttpsproxies; + class Resource$Regionurlmaps { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + invalidateCache(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}/validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Regionurlmaps = Resource$Regionurlmaps; + class Resource$Reservations { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Reservations = Resource$Reservations; + class Resource$Resourcepolicies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'resourcePolicy'], + pathParams: ['project', 'region', 'resourcePolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resourcePolicy'], + pathParams: ['project', 'region', 'resourcePolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Resourcepolicies = Resource$Resourcepolicies; + class Resource$Routers { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getNatMappingInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRouterStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}/getRouterStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + preview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}/preview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Routers = Resource$Routers; + class Resource$Routes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/routes/{route}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'route'], + pathParams: ['project', 'route'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/routes/{route}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'route'], + pathParams: ['project', 'route'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/routes/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Routes = Resource$Routes; + class Resource$Securitypolicies { + constructor(context) { + this.context = context; + } + addRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPreconfiguredExpressionSets(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Securitypolicies = Resource$Securitypolicies; + class Resource$Snapshots { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'snapshot'], + pathParams: ['project', 'snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'snapshot'], + pathParams: ['project', 'snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/snapshots/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/snapshots').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/snapshots/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/snapshots/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/snapshots/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Snapshots = Resource$Snapshots; + class Resource$Sslcertificates { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'sslCertificate'], + pathParams: ['project', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'sslCertificate'], + pathParams: ['project', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslCertificates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Sslcertificates = Resource$Sslcertificates; + class Resource$Sslpolicies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/sslPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/sslPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAvailableFeatures(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslPolicies/listAvailableFeatures').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/sslPolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Sslpolicies = Resource$Sslpolicies; + class Resource$Subnetworks { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + expandIpCidrRange(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listUsable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/subnetworks/listUsable').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setPrivateIpGoogleAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Subnetworks = Resource$Subnetworks; + class Resource$Targethttpproxies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targethttpproxies = Resource$Targethttpproxies; + class Resource$Targethttpsproxies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setQuicOverride(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targethttpsproxies = Resource$Targethttpsproxies; + class Resource$Targetinstances { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'targetInstance'], + pathParams: ['project', 'targetInstance', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'targetInstance'], + pathParams: ['project', 'targetInstance', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targetinstances = Resource$Targetinstances; + class Resource$Targetpools { + constructor(context) { + this.context = context; + } + addHealthCheck(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeHealthCheck(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targetpools = Resource$Targetpools; + class Resource$Targetsslproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackendService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProxyHeader(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetSslProxies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targetsslproxies = Resource$Targetsslproxies; + class Resource$Targettcpproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetTcpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetTcpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackendService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProxyHeader(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targettcpproxies = Resource$Targettcpproxies; + class Resource$Targetvpngateways { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetVpnGateway'], + pathParams: ['project', 'region', 'targetVpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetVpnGateway'], + pathParams: ['project', 'region', 'targetVpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Targetvpngateways = Resource$Targetvpngateways; + class Resource$Urlmaps { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + invalidateCache(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/global/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/global/urlMaps/{urlMap}/validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Urlmaps = Resource$Urlmaps; + class Resource$Vpngateways { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/aggregated/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Vpngateways = Resource$Vpngateways; + class Resource$Vpntunnels { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/aggregated/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'vpnTunnel'], + pathParams: ['project', 'region', 'vpnTunnel'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnTunnel'], + pathParams: ['project', 'region', 'vpnTunnel'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Vpntunnels = Resource$Vpntunnels; + class Resource$Zoneoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Zoneoperations = Resource$Zoneoperations; + class Resource$Zones { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/zones/{zone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/beta/projects/{project}/zones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_beta.Resource$Zones = Resource$Zones; +})(compute_beta = exports.compute_beta || (exports.compute_beta = {})); +//# sourceMappingURL=beta.js.map + +/***/ }), + +/***/ 885: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const alpha_1 = __nccwpck_require__(88951); +const beta_1 = __nccwpck_require__(66624); +const v1_1 = __nccwpck_require__(89949); +exports.VERSIONS = { + alpha: alpha_1.compute_alpha.Compute, + beta: beta_1.compute_beta.Compute, + v1: v1_1.compute_v1.Compute, +}; +function compute(versionOrOptions) { + return googleapis_common_1.getAPI('compute', versionOrOptions, exports.VERSIONS, this); +} +exports.compute = compute; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 89949: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var compute_v1; +(function (compute_v1) { + /** + * Compute Engine API + * + * Creates and runs virtual machines on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const compute = google.compute('v1'); + * + * @namespace compute + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Compute + */ + class Compute { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.acceleratorTypes = new Resource$Acceleratortypes(this.context); + this.addresses = new Resource$Addresses(this.context); + this.autoscalers = new Resource$Autoscalers(this.context); + this.backendBuckets = new Resource$Backendbuckets(this.context); + this.backendServices = new Resource$Backendservices(this.context); + this.disks = new Resource$Disks(this.context); + this.diskTypes = new Resource$Disktypes(this.context); + this.externalVpnGateways = new Resource$Externalvpngateways(this.context); + this.firewalls = new Resource$Firewalls(this.context); + this.forwardingRules = new Resource$Forwardingrules(this.context); + this.globalAddresses = new Resource$Globaladdresses(this.context); + this.globalForwardingRules = new Resource$Globalforwardingrules(this.context); + this.globalOperations = new Resource$Globaloperations(this.context); + this.healthChecks = new Resource$Healthchecks(this.context); + this.httpHealthChecks = new Resource$Httphealthchecks(this.context); + this.httpsHealthChecks = new Resource$Httpshealthchecks(this.context); + this.images = new Resource$Images(this.context); + this.instanceGroupManagers = new Resource$Instancegroupmanagers(this.context); + this.instanceGroups = new Resource$Instancegroups(this.context); + this.instances = new Resource$Instances(this.context); + this.instanceTemplates = new Resource$Instancetemplates(this.context); + this.interconnectAttachments = new Resource$Interconnectattachments(this.context); + this.interconnectLocations = new Resource$Interconnectlocations(this.context); + this.interconnects = new Resource$Interconnects(this.context); + this.licenseCodes = new Resource$Licensecodes(this.context); + this.licenses = new Resource$Licenses(this.context); + this.machineTypes = new Resource$Machinetypes(this.context); + this.networkEndpointGroups = new Resource$Networkendpointgroups(this.context); + this.networks = new Resource$Networks(this.context); + this.nodeGroups = new Resource$Nodegroups(this.context); + this.nodeTemplates = new Resource$Nodetemplates(this.context); + this.nodeTypes = new Resource$Nodetypes(this.context); + this.projects = new Resource$Projects(this.context); + this.regionAutoscalers = new Resource$Regionautoscalers(this.context); + this.regionBackendServices = new Resource$Regionbackendservices(this.context); + this.regionCommitments = new Resource$Regioncommitments(this.context); + this.regionDisks = new Resource$Regiondisks(this.context); + this.regionDiskTypes = new Resource$Regiondisktypes(this.context); + this.regionHealthChecks = new Resource$Regionhealthchecks(this.context); + this.regionInstanceGroupManagers = new Resource$Regioninstancegroupmanagers(this.context); + this.regionInstanceGroups = new Resource$Regioninstancegroups(this.context); + this.regionOperations = new Resource$Regionoperations(this.context); + this.regions = new Resource$Regions(this.context); + this.regionSslCertificates = new Resource$Regionsslcertificates(this.context); + this.regionTargetHttpProxies = new Resource$Regiontargethttpproxies(this.context); + this.regionTargetHttpsProxies = new Resource$Regiontargethttpsproxies(this.context); + this.regionUrlMaps = new Resource$Regionurlmaps(this.context); + this.reservations = new Resource$Reservations(this.context); + this.resourcePolicies = new Resource$Resourcepolicies(this.context); + this.routers = new Resource$Routers(this.context); + this.routes = new Resource$Routes(this.context); + this.securityPolicies = new Resource$Securitypolicies(this.context); + this.snapshots = new Resource$Snapshots(this.context); + this.sslCertificates = new Resource$Sslcertificates(this.context); + this.sslPolicies = new Resource$Sslpolicies(this.context); + this.subnetworks = new Resource$Subnetworks(this.context); + this.targetHttpProxies = new Resource$Targethttpproxies(this.context); + this.targetHttpsProxies = new Resource$Targethttpsproxies(this.context); + this.targetInstances = new Resource$Targetinstances(this.context); + this.targetPools = new Resource$Targetpools(this.context); + this.targetSslProxies = new Resource$Targetsslproxies(this.context); + this.targetTcpProxies = new Resource$Targettcpproxies(this.context); + this.targetVpnGateways = new Resource$Targetvpngateways(this.context); + this.urlMaps = new Resource$Urlmaps(this.context); + this.vpnGateways = new Resource$Vpngateways(this.context); + this.vpnTunnels = new Resource$Vpntunnels(this.context); + this.zoneOperations = new Resource$Zoneoperations(this.context); + this.zones = new Resource$Zones(this.context); + } + } + compute_v1.Compute = Compute; + class Resource$Acceleratortypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'acceleratorType'], + pathParams: ['acceleratorType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Acceleratortypes = Resource$Acceleratortypes; + class Resource$Addresses { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'address'], + pathParams: ['address', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'address'], + pathParams: ['address', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Addresses = Resource$Addresses; + class Resource$Autoscalers { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Autoscalers = Resource$Autoscalers; + class Resource$Backendbuckets { + constructor(context) { + this.context = context; + } + addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendBucket', 'keyName'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/backendBuckets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/backendBuckets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'backendBucket'], + pathParams: ['backendBucket', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Backendbuckets = Resource$Backendbuckets; + class Resource$Backendservices { + constructor(context) { + this.context = context; + } + addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}/addSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService', 'keyName'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSecurityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}/setSecurityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'backendService'], + pathParams: ['backendService', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Backendservices = Resource$Backendservices; + class Resource$Disks { + constructor(context) { + this.context = context; + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSnapshot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'disk'], + pathParams: ['disk', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Disks = Resource$Disks; + class Resource$Disktypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/diskTypes/{diskType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'diskType'], + pathParams: ['diskType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Disktypes = Resource$Disktypes; + class Resource$Externalvpngateways { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'externalVpnGateway'], + pathParams: ['externalVpnGateway', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'externalVpnGateway'], + pathParams: ['externalVpnGateway', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/externalVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/externalVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/externalVpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Externalvpngateways = Resource$Externalvpngateways; + class Resource$Firewalls { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/firewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/firewalls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'firewall'], + pathParams: ['firewall', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Firewalls = Resource$Firewalls; + class Resource$Forwardingrules { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTarget(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'forwardingRule'], + pathParams: ['forwardingRule', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Forwardingrules = Resource$Forwardingrules; + class Resource$Globaladdresses { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'address'], + pathParams: ['address', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/addresses/{address}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'address'], + pathParams: ['address', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/addresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Globaladdresses = Resource$Globaladdresses; + class Resource$Globalforwardingrules { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/forwardingRules').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTarget(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'forwardingRule'], + pathParams: ['forwardingRule', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Globalforwardingrules = Resource$Globalforwardingrules; + class Resource$Globaloperations { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Globaloperations = Resource$Globaloperations; + class Resource$Healthchecks { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'healthCheck'], + pathParams: ['healthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Healthchecks = Resource$Healthchecks; + class Resource$Httphealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/httpHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/httpHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'httpHealthCheck'], + pathParams: ['httpHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Httphealthchecks = Resource$Httphealthchecks; + class Resource$Httpshealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'httpsHealthCheck'], + pathParams: ['httpsHealthCheck', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Httpshealthchecks = Resource$Httpshealthchecks; + class Resource$Images { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/images/{image}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deprecate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/images/{image}/deprecate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/images/{image}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'image'], + pathParams: ['image', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getFromFamily(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/images/family/{family}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'family'], + pathParams: ['family', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/images/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/images').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/images').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/images/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/images/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/images/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Images = Resource$Images; + class Resource$Instancegroupmanagers { + constructor(context) { + this.context = context; + } + abandonInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listManagedInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recreateInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTargetPools(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Instancegroupmanagers = Resource$Instancegroupmanagers; + class Resource$Instancegroups { + constructor(context) { + this.context = context; + } + addInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNamedPorts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Instancegroups = Resource$Instancegroups; + class Resource$Instances { + constructor(context) { + this.context = context; + } + addAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/attachDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'project', + 'zone', + 'instance', + 'accessConfig', + 'networkInterface', + ], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/detachDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'deviceName'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getGuestAttributes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSerialPortOutput(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/serialPort').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getShieldedInstanceIdentity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listReferrers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/referrers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDeletionProtection(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDiskAutoDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'project', + 'zone', + 'instance', + 'autoDelete', + 'deviceName', + ], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMachineResources(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMachineType(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMachineType').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMinCpuPlatform(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setScheduling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setScheduling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setServiceAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setShieldedInstanceIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTags(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + simulateMaintenanceEvent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startWithEncryptionKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAccessConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateDisplayDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateNetworkInterface(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance', 'networkInterface'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateShieldedInstanceConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'zone', 'instance'], + pathParams: ['instance', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Instances = Resource$Instances; + class Resource$Instancetemplates { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instanceTemplate'], + pathParams: ['instanceTemplate', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instanceTemplate'], + pathParams: ['instanceTemplate', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/instanceTemplates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Instancetemplates = Resource$Instancetemplates; + class Resource$Interconnectattachments { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'interconnectAttachment'], + pathParams: ['interconnectAttachment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Interconnectattachments = Resource$Interconnectattachments; + class Resource$Interconnectlocations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/interconnectLocations/{interconnectLocation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnectLocation'], + pathParams: ['interconnectLocation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/interconnectLocations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Interconnectlocations = Resource$Interconnectlocations; + class Resource$Interconnects { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getDiagnostics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/interconnects/{interconnect}/getDiagnostics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/interconnects').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/interconnects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'interconnect'], + pathParams: ['interconnect', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Interconnects = Resource$Interconnects; + class Resource$Licensecodes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenseCodes/{licenseCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'licenseCode'], + pathParams: ['licenseCode', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenseCodes/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Licensecodes = Resource$Licensecodes; + class Resource$Licenses { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenses/{license}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'license'], + pathParams: ['license', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenses/{license}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'license'], + pathParams: ['license', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenses/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/licenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/licenses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenses/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/licenses/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Licenses = Resource$Licenses; + class Resource$Machinetypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/machineTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/machineTypes/{machineType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'machineType'], + pathParams: ['machineType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/machineTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Machinetypes = Resource$Machinetypes; + class Resource$Networkendpointgroups { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Networkendpointgroups = Resource$Networkendpointgroups; + class Resource$Networks { + constructor(context) { + this.context = context; + } + addPeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}/addPeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/networks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/networks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listPeeringRoutes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}/listPeeringRoutes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removePeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}/removePeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + switchToCustomMode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}/switchToCustomMode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePeering(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/networks/{network}/updatePeering').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'network'], + pathParams: ['network', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Networks = Resource$Networks; + class Resource$Nodegroups { + constructor(context) { + this.context = context; + } + addNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'initialNodeCount'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listNodes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNodeTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeGroup'], + pathParams: ['nodeGroup', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Nodegroups = Resource$Nodegroups; + class Resource$Nodetemplates { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'nodeTemplate'], + pathParams: ['nodeTemplate', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'nodeTemplate'], + pathParams: ['nodeTemplate', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Nodetemplates = Resource$Nodetemplates; + class Resource$Nodetypes { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/nodeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/nodeTypes/{nodeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'nodeType'], + pathParams: ['nodeType', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/nodeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Nodetypes = Resource$Nodetypes; + class Resource$Projects { + constructor(context) { + this.context = context; + } + disableXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/disableXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disableXpnResource(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/disableXpnResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/enableXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableXpnResource(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/enableXpnResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getXpnHost(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/getXpnHost').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getXpnResources(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/getXpnResources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listXpnHosts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/listXpnHosts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveDisk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/moveDisk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + moveInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/moveInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setCommonInstanceMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/setCommonInstanceMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDefaultNetworkTier(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/setDefaultNetworkTier').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUsageExportBucket(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/setUsageExportBucket').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Projects = Resource$Projects; + class Resource$Regionautoscalers { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'autoscaler'], + pathParams: ['autoscaler', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regionautoscalers = Resource$Regionautoscalers; + class Resource$Regionbackendservices { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'backendService'], + pathParams: ['backendService', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regionbackendservices = Resource$Regionbackendservices; + class Resource$Regioncommitments { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/commitments/{commitment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'commitment'], + pathParams: ['commitment', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/commitments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regioncommitments = Resource$Regioncommitments; + class Resource$Regiondisks { + constructor(context) { + this.context = context; + } + addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSnapshot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/createSnapshot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/regions/{region}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/regions/{region}/disks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'disk'], + pathParams: ['disk', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regiondisks = Resource$Regiondisks; + class Resource$Regiondisktypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/diskTypes/{diskType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'diskType'], + pathParams: ['diskType', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/diskTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regiondisktypes = Resource$Regiondisktypes; + class Resource$Regionhealthchecks { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'healthCheck'], + pathParams: ['healthCheck', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regionhealthchecks = Resource$Regionhealthchecks; + class Resource$Regioninstancegroupmanagers { + constructor(context) { + this.context = context; + } + abandonInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listManagedInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recreateInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager', 'size'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setTargetPools(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroupManager'], + pathParams: ['instanceGroupManager', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regioninstancegroupmanagers = Resource$Regioninstancegroupmanagers; + class Resource$Regioninstancegroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNamedPorts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'instanceGroup'], + pathParams: ['instanceGroup', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regioninstancegroups = Resource$Regioninstancegroups; + class Resource$Regionoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'operation'], + pathParams: ['operation', 'project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regionoperations = Resource$Regionoperations; + class Resource$Regions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/regions/{region}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/regions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regions = Resource$Regions; + class Resource$Regionsslcertificates { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'sslCertificate'], + pathParams: ['project', 'region', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'sslCertificate'], + pathParams: ['project', 'region', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regionsslcertificates = Resource$Regionsslcertificates; + class Resource$Regiontargethttpproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpProxy'], + pathParams: ['project', 'region', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regiontargethttpproxies = Resource$Regiontargethttpproxies; + class Resource$Regiontargethttpsproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetHttpsProxy'], + pathParams: ['project', 'region', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regiontargethttpsproxies = Resource$Regiontargethttpsproxies; + class Resource$Regionurlmaps { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}/validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'urlMap'], + pathParams: ['project', 'region', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Regionurlmaps = Resource$Regionurlmaps; + class Resource$Reservations { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'reservation'], + pathParams: ['project', 'reservation', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Reservations = Resource$Reservations; + class Resource$Resourcepolicies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'resourcePolicy'], + pathParams: ['project', 'region', 'resourcePolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resourcePolicy'], + pathParams: ['project', 'region', 'resourcePolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Resourcepolicies = Resource$Resourcepolicies; + class Resource$Routers { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getNatMappingInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRouterStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}/getRouterStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + preview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}/preview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'region', 'router'], + pathParams: ['project', 'region', 'router'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Routers = Resource$Routers; + class Resource$Routes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/routes/{route}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'route'], + pathParams: ['project', 'route'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/routes/{route}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'route'], + pathParams: ['project', 'route'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Routes = Resource$Routes; + class Resource$Securitypolicies { + constructor(context) { + this.context = context; + } + addRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/securityPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patchRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeRule(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'securityPolicy'], + pathParams: ['project', 'securityPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Securitypolicies = Resource$Securitypolicies; + class Resource$Snapshots { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'snapshot'], + pathParams: ['project', 'snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'snapshot'], + pathParams: ['project', 'snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/snapshots/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/snapshots').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/snapshots/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/snapshots/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/snapshots/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Snapshots = Resource$Snapshots; + class Resource$Sslcertificates { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'sslCertificate'], + pathParams: ['project', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'sslCertificate'], + pathParams: ['project', 'sslCertificate'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/sslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Sslcertificates = Resource$Sslcertificates; + class Resource$Sslpolicies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/sslPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/sslPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listAvailableFeatures(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/sslPolicies/listAvailableFeatures').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'sslPolicy'], + pathParams: ['project', 'sslPolicy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Sslpolicies = Resource$Sslpolicies; + class Resource$Subnetworks { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + expandIpCidrRange(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listUsable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/subnetworks/listUsable').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setPrivateIpGoogleAccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'subnetwork'], + pathParams: ['project', 'region', 'subnetwork'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Subnetworks = Resource$Subnetworks; + class Resource$Targethttpproxies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpProxy'], + pathParams: ['project', 'targetHttpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targethttpproxies = Resource$Targethttpproxies; + class Resource$Targethttpsproxies { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpsProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setQuicOverride(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setUrlMap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetHttpsProxy'], + pathParams: ['project', 'targetHttpsProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targethttpsproxies = Resource$Targethttpsproxies; + class Resource$Targetinstances { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'targetInstance'], + pathParams: ['project', 'targetInstance', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'targetInstance'], + pathParams: ['project', 'targetInstance', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targetinstances = Resource$Targetinstances; + class Resource$Targetpools { + constructor(context) { + this.context = context; + } + addHealthCheck(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHealth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeHealthCheck(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'targetPool'], + pathParams: ['project', 'region', 'targetPool'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targetpools = Resource$Targetpools; + class Resource$Targetsslproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/targetSslProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/targetSslProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackendService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProxyHeader(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslCertificates(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSslPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetSslProxy'], + pathParams: ['project', 'targetSslProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targetsslproxies = Resource$Targetsslproxies; + class Resource$Targettcpproxies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/targetTcpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/targetTcpProxies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setBackendService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProxyHeader(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'targetTcpProxy'], + pathParams: ['project', 'targetTcpProxy'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targettcpproxies = Resource$Targettcpproxies; + class Resource$Targetvpngateways { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/aggregated/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'targetVpnGateway'], + pathParams: ['project', 'region', 'targetVpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'targetVpnGateway'], + pathParams: ['project', 'region', 'targetVpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Targetvpngateways = Resource$Targetvpngateways; + class Resource$Urlmaps { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + invalidateCache(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}/validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'urlMap'], + pathParams: ['project', 'urlMap'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Urlmaps = Resource$Urlmaps; + class Resource$Vpngateways { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnGateway'], + pathParams: ['project', 'region', 'vpnGateway'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region', 'resource'], + pathParams: ['project', 'region', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Vpngateways = Resource$Vpngateways; + class Resource$Vpntunnels { + constructor(context) { + this.context = context; + } + aggregatedList(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/aggregated/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'region', 'vpnTunnel'], + pathParams: ['project', 'region', 'vpnTunnel'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region', 'vpnTunnel'], + pathParams: ['project', 'region', 'vpnTunnel'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'region'], + pathParams: ['project', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Vpntunnels = Resource$Vpntunnels; + class Resource$Zoneoperations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/compute/v1/projects/{project}/zones/{zone}/operations/{operation}/wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'zone', 'operation'], + pathParams: ['operation', 'project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Zoneoperations = Resource$Zoneoperations; + class Resource$Zones { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://compute.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/compute/v1/projects/{project}/zones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + compute_v1.Resource$Zones = Resource$Zones; +})(compute_v1 = exports.compute_v1 || (exports.compute_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 74751: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(60208); +const v1beta1_1 = __nccwpck_require__(34529); +exports.VERSIONS = { + v1: v1_1.container_v1.Container, + v1beta1: v1beta1_1.container_v1beta1.Container, +}; +function container(versionOrOptions) { + return googleapis_common_1.getAPI('container', versionOrOptions, exports.VERSIONS, this); +} +exports.container = container; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 60208: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var container_v1; +(function (container_v1) { + /** + * Kubernetes Engine API + * + * Builds and manages container-based applications, powered by the open source Kubernetes technology. + * + * @example + * const {google} = require('googleapis'); + * const container = google.container('v1'); + * + * @namespace container + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Container + */ + class Container { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + container_v1.Container = Container; + class Resource$Projects { + constructor(context) { + this.context = context; + this.aggregated = new Resource$Projects$Aggregated(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.zones = new Resource$Projects$Zones(this.context); + } + } + container_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Aggregated { + constructor(context) { + this.context = context; + this.usableSubnetworks = new Resource$Projects$Aggregated$Usablesubnetworks(this.context); + } + } + container_v1.Resource$Projects$Aggregated = Resource$Projects$Aggregated; + class Resource$Projects$Aggregated$Usablesubnetworks { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/aggregated/usableSubnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Aggregated$Usablesubnetworks = Resource$Projects$Aggregated$Usablesubnetworks; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.clusters = new Resource$Projects$Locations$Clusters(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + getServerConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/serverConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Clusters { + constructor(context) { + this.context = context; + this.nodePools = new Resource$Projects$Locations$Clusters$Nodepools(this.context); + this.wellKnown = new Resource$Projects$Locations$Clusters$WellKnown(this.context); + } + completeIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:completeIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getJwks(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/jwks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAddons(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setAddons').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLegacyAbac(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setLegacyAbac').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLocations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setLocations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLogging(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setLogging').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setMaintenancePolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMasterAuth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setMasterAuth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMonitoring(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setMonitoring').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setNetworkPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setResourceLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setResourceLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:startIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateMaster(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:updateMaster').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters; + class Resource$Projects$Locations$Clusters$Nodepools { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoscaling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setAutoscaling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setManagement(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setManagement').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setSize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Locations$Clusters$Nodepools = Resource$Projects$Locations$Clusters$Nodepools; + class Resource$Projects$Locations$Clusters$WellKnown { + constructor(context) { + this.context = context; + } + getOpenidConfiguration(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/.well-known/openid-configuration').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Locations$Clusters$WellKnown = Resource$Projects$Locations$Clusters$WellKnown; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Zones { + constructor(context) { + this.context = context; + this.clusters = new Resource$Projects$Zones$Clusters(this.context); + this.operations = new Resource$Projects$Zones$Operations(this.context); + } + getServerconfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/serverconfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Zones = Resource$Projects$Zones; + class Resource$Projects$Zones$Clusters { + constructor(context) { + this.context = context; + this.nodePools = new Resource$Projects$Zones$Clusters$Nodepools(this.context); + } + addons(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + completeIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + legacyAbac(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + locations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + logging(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + master(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + monitoring(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resourceLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMasterAuth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Zones$Clusters = Resource$Projects$Zones$Clusters; + class Resource$Projects$Zones$Clusters$Nodepools { + constructor(context) { + this.context = context; + } + autoscaling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setManagement(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Zones$Clusters$Nodepools = Resource$Projects$Zones$Clusters$Nodepools; + class Resource$Projects$Zones$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'operationId'], + pathParams: ['operationId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/zones/{zone}/operations/{operationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'operationId'], + pathParams: ['operationId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1.Resource$Projects$Zones$Operations = Resource$Projects$Zones$Operations; +})(container_v1 = exports.container_v1 || (exports.container_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 34529: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var container_v1beta1; +(function (container_v1beta1) { + /** + * Kubernetes Engine API + * + * Builds and manages container-based applications, powered by the open source Kubernetes technology. + * + * @example + * const {google} = require('googleapis'); + * const container = google.container('v1beta1'); + * + * @namespace container + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Container + */ + class Container { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + container_v1beta1.Container = Container; + class Resource$Projects { + constructor(context) { + this.context = context; + this.aggregated = new Resource$Projects$Aggregated(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.zones = new Resource$Projects$Zones(this.context); + } + } + container_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Aggregated { + constructor(context) { + this.context = context; + this.usableSubnetworks = new Resource$Projects$Aggregated$Usablesubnetworks(this.context); + } + } + container_v1beta1.Resource$Projects$Aggregated = Resource$Projects$Aggregated; + class Resource$Projects$Aggregated$Usablesubnetworks { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/aggregated/usableSubnetworks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Aggregated$Usablesubnetworks = Resource$Projects$Aggregated$Usablesubnetworks; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.clusters = new Resource$Projects$Locations$Clusters(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + getServerConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/serverConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Clusters { + constructor(context) { + this.context = context; + this.nodePools = new Resource$Projects$Locations$Clusters$Nodepools(this.context); + this.wellKnown = new Resource$Projects$Locations$Clusters$WellKnown(this.context); + } + completeIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:completeIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getJwks(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/jwks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAddons(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setAddons').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLegacyAbac(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setLegacyAbac').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLocations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setLocations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setLogging(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setLogging').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setMaintenancePolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMasterAuth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setMasterAuth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMonitoring(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setMonitoring').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setNetworkPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setResourceLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setResourceLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:startIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateMaster(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:updateMaster').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters; + class Resource$Projects$Locations$Clusters$Nodepools { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAutoscaling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setAutoscaling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setManagement(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setManagement').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setSize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Locations$Clusters$Nodepools = Resource$Projects$Locations$Clusters$Nodepools; + class Resource$Projects$Locations$Clusters$WellKnown { + constructor(context) { + this.context = context; + } + getOpenidConfiguration(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/.well-known/openid-configuration').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Locations$Clusters$WellKnown = Resource$Projects$Locations$Clusters$WellKnown; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Zones { + constructor(context) { + this.context = context; + this.clusters = new Resource$Projects$Zones$Clusters(this.context); + this.operations = new Resource$Projects$Zones$Operations(this.context); + } + getServerconfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/serverconfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Zones = Resource$Projects$Zones; + class Resource$Projects$Zones$Clusters { + constructor(context) { + this.context = context; + this.nodePools = new Resource$Projects$Zones$Clusters$Nodepools(this.context); + } + addons(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + completeIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + legacyAbac(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + locations(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + logging(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + master(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + monitoring(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resourceLabels(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setMasterAuth(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startIpRotation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Zones$Clusters = Resource$Projects$Zones$Clusters; + class Resource$Projects$Zones$Clusters$Nodepools { + constructor(context) { + this.context = context; + } + autoscaling(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId'], + pathParams: ['clusterId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setManagement(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setSize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'], + pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Zones$Clusters$Nodepools = Resource$Projects$Zones$Clusters$Nodepools; + class Resource$Projects$Zones$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'zone', 'operationId'], + pathParams: ['operationId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone', 'operationId'], + pathParams: ['operationId', 'projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://container.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}/zones/{zone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'zone'], + pathParams: ['projectId', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + container_v1beta1.Resource$Projects$Zones$Operations = Resource$Projects$Zones$Operations; +})(container_v1beta1 = exports.container_v1beta1 || (exports.container_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 12001: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1alpha1_1 = __nccwpck_require__(7472); +const v1beta1_1 = __nccwpck_require__(55363); +exports.VERSIONS = { + v1alpha1: v1alpha1_1.containeranalysis_v1alpha1.Containeranalysis, + v1beta1: v1beta1_1.containeranalysis_v1beta1.Containeranalysis, +}; +function containeranalysis(versionOrOptions) { + return googleapis_common_1.getAPI('containeranalysis', versionOrOptions, exports.VERSIONS, this); +} +exports.containeranalysis = containeranalysis; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 7472: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var containeranalysis_v1alpha1; +(function (containeranalysis_v1alpha1) { + /** + * Container Analysis API + * + * An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts. + * + * @example + * const {google} = require('googleapis'); + * const containeranalysis = google.containeranalysis('v1alpha1'); + * + * @namespace containeranalysis + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Containeranalysis + */ + class Containeranalysis { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + this.providers = new Resource$Providers(this.context); + } + } + containeranalysis_v1alpha1.Containeranalysis = Containeranalysis; + class Resource$Projects { + constructor(context) { + this.context = context; + this.notes = new Resource$Projects$Notes(this.context); + this.occurrences = new Resource$Projects$Occurrences(this.context); + this.operations = new Resource$Projects$Operations(this.context); + this.scanConfigs = new Resource$Projects$Scanconfigs(this.context); + } + } + containeranalysis_v1alpha1.Resource$Projects = Resource$Projects; + class Resource$Projects$Notes { + constructor(context) { + this.context = context; + this.occurrences = new Resource$Projects$Notes$Occurrences(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Projects$Notes = Resource$Projects$Notes; + class Resource$Projects$Notes$Occurrences { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Projects$Notes$Occurrences = Resource$Projects$Notes$Occurrences; + class Resource$Projects$Occurrences { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getNotes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getVulnerabilitySummary(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/occurrences:vulnerabilitySummary').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Projects$Occurrences = Resource$Projects$Occurrences; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Projects$Operations = Resource$Projects$Operations; + class Resource$Projects$Scanconfigs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs; + class Resource$Providers { + constructor(context) { + this.context = context; + this.notes = new Resource$Providers$Notes(this.context); + } + } + containeranalysis_v1alpha1.Resource$Providers = Resource$Providers; + class Resource$Providers$Notes { + constructor(context) { + this.context = context; + this.occurrences = new Resource$Providers$Notes$Occurrences(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Providers$Notes = Resource$Providers$Notes; + class Resource$Providers$Notes$Occurrences { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1alpha1.Resource$Providers$Notes$Occurrences = Resource$Providers$Notes$Occurrences; +})(containeranalysis_v1alpha1 = exports.containeranalysis_v1alpha1 || (exports.containeranalysis_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 55363: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var containeranalysis_v1beta1; +(function (containeranalysis_v1beta1) { + /** + * Container Analysis API + * + * An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts. + * + * @example + * const {google} = require('googleapis'); + * const containeranalysis = google.containeranalysis('v1beta1'); + * + * @namespace containeranalysis + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Containeranalysis + */ + class Containeranalysis { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + containeranalysis_v1beta1.Containeranalysis = Containeranalysis; + class Resource$Projects { + constructor(context) { + this.context = context; + this.notes = new Resource$Projects$Notes(this.context); + this.occurrences = new Resource$Projects$Occurrences(this.context); + this.scanConfigs = new Resource$Projects$Scanconfigs(this.context); + } + } + containeranalysis_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Notes { + constructor(context) { + this.context = context; + this.occurrences = new Resource$Projects$Notes$Occurrences(this.context); + } + batchCreate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/notes:batchCreate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1beta1.Resource$Projects$Notes = Resource$Projects$Notes; + class Resource$Projects$Notes$Occurrences { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1beta1.Resource$Projects$Notes$Occurrences = Resource$Projects$Notes$Occurrences; + class Resource$Projects$Occurrences { + constructor(context) { + this.context = context; + } + batchCreate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/occurrences:batchCreate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getNotes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/notes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getVulnerabilitySummary(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/occurrences:vulnerabilitySummary').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/occurrences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1beta1.Resource$Projects$Occurrences = Resource$Projects$Occurrences; + class Resource$Projects$Scanconfigs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + containeranalysis_v1beta1.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs; +})(containeranalysis_v1beta1 = exports.containeranalysis_v1beta1 || (exports.containeranalysis_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 98817: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1_1 = __nccwpck_require__(5021); +const v2_1 = __nccwpck_require__(62523); +exports.VERSIONS = { + 'v2.1': v2_1_1.content_v2_1.Content, + v2: v2_1.content_v2.Content, +}; +function content(versionOrOptions) { + return googleapis_common_1.getAPI('content', versionOrOptions, exports.VERSIONS, this); +} +exports.content = content; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 5021: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var content_v2_1; +(function (content_v2_1) { + /** + * Content API for Shopping + * + * Manages product items, inventory, and Merchant Center accounts for Google Shopping. + * + * @example + * const {google} = require('googleapis'); + * const content = google.content('v2.1'); + * + * @namespace content + * @type {Function} + * @version v2.1 + * @variation v2.1 + * @param {object=} options Options for Content + */ + class Content { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.accountstatuses = new Resource$Accountstatuses(this.context); + this.accounttax = new Resource$Accounttax(this.context); + this.datafeeds = new Resource$Datafeeds(this.context); + this.datafeedstatuses = new Resource$Datafeedstatuses(this.context); + this.liasettings = new Resource$Liasettings(this.context); + this.orderinvoices = new Resource$Orderinvoices(this.context); + this.orderreports = new Resource$Orderreports(this.context); + this.orderreturns = new Resource$Orderreturns(this.context); + this.orders = new Resource$Orders(this.context); + this.pos = new Resource$Pos(this.context); + this.products = new Resource$Products(this.context); + this.productstatuses = new Resource$Productstatuses(this.context); + this.regionalinventory = new Resource$Regionalinventory(this.context); + this.returnaddress = new Resource$Returnaddress(this.context); + this.returnpolicy = new Resource$Returnpolicy(this.context); + this.shippingsettings = new Resource$Shippingsettings(this.context); + } + } + content_v2_1.Content = Content; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + authinfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/accounts/authinfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + claimwebsite(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/accounts/{accountId}/claimwebsite').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/accounts/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + link(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}/link').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Accounts = Resource$Accounts; + class Resource$Accountstatuses { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/accountstatuses/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accountstatuses/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accountstatuses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Accountstatuses = Resource$Accountstatuses; + class Resource$Accounttax { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/accounttax/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounttax/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounttax').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/accounttax/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Accounttax = Resource$Accounttax; + class Resource$Datafeeds { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/datafeeds/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + fetchnow(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Datafeeds = Resource$Datafeeds; + class Resource$Datafeedstatuses { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/datafeedstatuses/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/datafeedstatuses/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/datafeedstatuses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Datafeedstatuses = Resource$Datafeedstatuses; + class Resource$Liasettings { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/liasettings/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/liasettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getaccessiblegmbaccounts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/liasettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listposdataproviders(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/liasettings/posdataproviders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + requestgmbaccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/liasettings/{accountId}/requestgmbaccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId', 'gmbEmail'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + requestinventoryverification(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId', 'country'], + pathParams: ['accountId', 'country', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setinventoryverificationcontact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'merchantId', + 'accountId', + 'contactEmail', + 'contactName', + 'country', + 'language', + ], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setposdataprovider(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId', 'country'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/liasettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Liasettings = Resource$Liasettings; + class Resource$Orderinvoices { + constructor(context) { + this.context = context; + } + createchargeinvoice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orderinvoices/{orderId}/createChargeInvoice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createrefundinvoice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orderinvoices/{orderId}/createRefundInvoice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Orderinvoices = Resource$Orderinvoices; + class Resource$Orderreports { + constructor(context) { + this.context = context; + } + listdisbursements(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orderreports/disbursements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'disbursementStartDate'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listtransactions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orderreports/disbursements/{disbursementId}/transactions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'merchantId', + 'disbursementId', + 'transactionStartDate', + ], + pathParams: ['disbursementId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Orderreports = Resource$Orderreports; + class Resource$Orderreturns { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orderreturns/{returnId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'returnId'], + pathParams: ['merchantId', 'returnId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orderreturns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Orderreturns = Resource$Orderreturns; + class Resource$Orders { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + advancetestorder(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/testorders/{orderId}/advance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orders/{orderId}/cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancellineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/cancelLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + canceltestorderbycustomer(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/testorders/{orderId}/cancelByCustomer').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createtestorder(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/testorders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createtestreturn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orders/{orderId}/testreturn').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orders/{orderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getbymerchantorderid(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/ordersbymerchantid/{merchantOrderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'merchantOrderId'], + pathParams: ['merchantId', 'merchantOrderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + gettestordertemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/testordertemplates/{templateName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'templateName'], + pathParams: ['merchantId', 'templateName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instorerefundlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/inStoreRefundLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/orders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rejectreturnlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/rejectReturnLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + returnrefundlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/returnRefundLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setlineitemmetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/setLineItemMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + shiplineitems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/shipLineItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatelineitemshippingdetails(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/updateLineItemShippingDetails').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatemerchantorderid(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/updateMerchantOrderId').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateshipment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/orders/{orderId}/updateShipment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Orders = Resource$Orders; + class Resource$Pos { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/pos/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'], + pathParams: ['merchantId', 'storeCode', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'], + pathParams: ['merchantId', 'storeCode', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + inventory(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/inventory').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sale(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/sale').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Pos = Resource$Pos; + class Resource$Products { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/products/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Products = Resource$Products; + class Resource$Productstatuses { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/productstatuses/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/productstatuses/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/productstatuses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Productstatuses = Resource$Productstatuses; + class Resource$Regionalinventory { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/regionalinventory/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/products/{productId}/regionalinventory').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Regionalinventory = Resource$Regionalinventory; + class Resource$Returnaddress { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/returnaddress/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/returnaddress/{returnAddressId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'returnAddressId'], + pathParams: ['merchantId', 'returnAddressId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/returnaddress/{returnAddressId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'returnAddressId'], + pathParams: ['merchantId', 'returnAddressId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/returnaddress').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/returnaddress').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Returnaddress = Resource$Returnaddress; + class Resource$Returnpolicy { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/returnpolicy/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'returnPolicyId'], + pathParams: ['merchantId', 'returnPolicyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'returnPolicyId'], + pathParams: ['merchantId', 'returnPolicyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/returnpolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/returnpolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Returnpolicy = Resource$Returnpolicy; + class Resource$Shippingsettings { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/shippingsettings/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getsupportedcarriers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/supportedCarriers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getsupportedholidays(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/supportedHolidays').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2.1/{merchantId}/shippingsettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2.1/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2_1.Resource$Shippingsettings = Resource$Shippingsettings; +})(content_v2_1 = exports.content_v2_1 || (exports.content_v2_1 = {})); +//# sourceMappingURL=v2.1.js.map + +/***/ }), + +/***/ 62523: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var content_v2; +(function (content_v2) { + /** + * Content API for Shopping + * + * Manages product items, inventory, and Merchant Center accounts for Google Shopping. + * + * @example + * const {google} = require('googleapis'); + * const content = google.content('v2'); + * + * @namespace content + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Content + */ + class Content { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.accountstatuses = new Resource$Accountstatuses(this.context); + this.accounttax = new Resource$Accounttax(this.context); + this.datafeeds = new Resource$Datafeeds(this.context); + this.datafeedstatuses = new Resource$Datafeedstatuses(this.context); + this.inventory = new Resource$Inventory(this.context); + this.liasettings = new Resource$Liasettings(this.context); + this.orderinvoices = new Resource$Orderinvoices(this.context); + this.orderreports = new Resource$Orderreports(this.context); + this.orderreturns = new Resource$Orderreturns(this.context); + this.orders = new Resource$Orders(this.context); + this.pos = new Resource$Pos(this.context); + this.products = new Resource$Products(this.context); + this.productstatuses = new Resource$Productstatuses(this.context); + this.shippingsettings = new Resource$Shippingsettings(this.context); + } + } + content_v2.Content = Content; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + authinfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/accounts/authinfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + claimwebsite(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/accounts/{accountId}/claimwebsite').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/accounts/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + link(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}/link').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Accounts = Resource$Accounts; + class Resource$Accountstatuses { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/accountstatuses/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accountstatuses/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accountstatuses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Accountstatuses = Resource$Accountstatuses; + class Resource$Accounttax { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/accounttax/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounttax/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounttax').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/accounttax/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Accounttax = Resource$Accounttax; + class Resource$Datafeeds { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/datafeeds/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + fetchnow(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/datafeeds/{datafeedId}/fetchNow').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeeds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeeds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Datafeeds = Resource$Datafeeds; + class Resource$Datafeedstatuses { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/datafeedstatuses/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeedstatuses/{datafeedId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'datafeedId'], + pathParams: ['datafeedId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/datafeedstatuses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Datafeedstatuses = Resource$Datafeedstatuses; + class Resource$Inventory { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/inventory/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + set(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/inventory/{storeCode}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'storeCode', 'productId'], + pathParams: ['merchantId', 'productId', 'storeCode'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Inventory = Resource$Inventory; + class Resource$Liasettings { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/liasettings/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/liasettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getaccessiblegmbaccounts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/liasettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listposdataproviders(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/liasettings/posdataproviders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + requestgmbaccess(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId', 'gmbEmail'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + requestinventoryverification(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId', 'country'], + pathParams: ['accountId', 'country', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setinventoryverificationcontact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'merchantId', + 'accountId', + 'contactEmail', + 'contactName', + 'country', + 'language', + ], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setposdataprovider(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'accountId', 'country'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/liasettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Liasettings = Resource$Liasettings; + class Resource$Orderinvoices { + constructor(context) { + this.context = context; + } + createchargeinvoice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orderinvoices/{orderId}/createChargeInvoice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createrefundinvoice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orderinvoices/{orderId}/createRefundInvoice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Orderinvoices = Resource$Orderinvoices; + class Resource$Orderreports { + constructor(context) { + this.context = context; + } + listdisbursements(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orderreports/disbursements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'disbursementStartDate'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listtransactions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orderreports/disbursements/{disbursementId}/transactions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'merchantId', + 'disbursementId', + 'transactionStartDate', + ], + pathParams: ['disbursementId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Orderreports = Resource$Orderreports; + class Resource$Orderreturns { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orderreturns/{returnId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'returnId'], + pathParams: ['merchantId', 'returnId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orderreturns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Orderreturns = Resource$Orderreturns; + class Resource$Orders { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + advancetestorder(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/testorders/{orderId}/advance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + cancellineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/cancelLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + canceltestorderbycustomer(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/testorders/{orderId}/cancelByCustomer').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createtestorder(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/testorders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createtestreturn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/testreturn').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/orders/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getbymerchantorderid(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/ordersbymerchantid/{merchantOrderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'merchantOrderId'], + pathParams: ['merchantId', 'merchantOrderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + gettestordertemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/testordertemplates/{templateName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'templateName'], + pathParams: ['merchantId', 'templateName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instorerefundlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/inStoreRefundLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + refund(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/refund').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rejectreturnlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/rejectReturnLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + returnlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/returnLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + returnrefundlineitem(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/returnRefundLineItem').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setlineitemmetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/setLineItemMetadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + shiplineitems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/shipLineItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatelineitemshippingdetails(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/updateLineItemShippingDetails').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatemerchantorderid(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/updateMerchantOrderId').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateshipment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/orders/{orderId}/updateShipment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'orderId'], + pathParams: ['merchantId', 'orderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Orders = Resource$Orders; + class Resource$Pos { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/pos/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'], + pathParams: ['merchantId', 'storeCode', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'], + pathParams: ['merchantId', 'storeCode', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + inventory(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/content/v2/{merchantId}/pos/{targetMerchantId}/inventory').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sale(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/pos/{targetMerchantId}/sale').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId', 'targetMerchantId'], + pathParams: ['merchantId', 'targetMerchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Pos = Resource$Pos; + class Resource$Products { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/products/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/products/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Products = Resource$Products; + class Resource$Productstatuses { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/productstatuses/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/productstatuses/{productId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'productId'], + pathParams: ['merchantId', 'productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/productstatuses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Productstatuses = Resource$Productstatuses; + class Resource$Shippingsettings { + constructor(context) { + this.context = context; + } + custombatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/shippingsettings/batch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getsupportedcarriers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/supportedCarriers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getsupportedholidays(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/supportedHolidays').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/shippingsettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['merchantId'], + pathParams: ['merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/content/v2/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + content_v2.Resource$Shippingsettings = Resource$Shippingsettings; +})(content_v2 = exports.content_v2 || (exports.content_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 42938: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(97699); +exports.VERSIONS = { + v1: v1_1.customsearch_v1.Customsearch, +}; +function customsearch(versionOrOptions) { + return googleapis_common_1.getAPI('customsearch', versionOrOptions, exports.VERSIONS, this); +} +exports.customsearch = customsearch; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 97699: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var customsearch_v1; +(function (customsearch_v1) { + /** + * CustomSearch API + * + * Searches over a website or collection of websites + * + * @example + * const {google} = require('googleapis'); + * const customsearch = google.customsearch('v1'); + * + * @namespace customsearch + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Customsearch + */ + class Customsearch { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.cse = new Resource$Cse(this.context); + } + } + customsearch_v1.Customsearch = Customsearch; + class Resource$Cse { + constructor(context) { + this.context = context; + this.siterestrict = new Resource$Cse$Siterestrict(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/customsearch/v1').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['q'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + customsearch_v1.Resource$Cse = Resource$Cse; + class Resource$Cse$Siterestrict { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/customsearch/v1/siterestrict').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['q'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + customsearch_v1.Resource$Cse$Siterestrict = Resource$Cse$Siterestrict; +})(customsearch_v1 = exports.customsearch_v1 || (exports.customsearch_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 62519: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(69793); +exports.VERSIONS = { + v1beta1: v1beta1_1.datacatalog_v1beta1.Datacatalog, +}; +function datacatalog(versionOrOptions) { + return googleapis_common_1.getAPI('datacatalog', versionOrOptions, exports.VERSIONS, this); +} +exports.datacatalog = datacatalog; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 69793: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var datacatalog_v1beta1; +(function (datacatalog_v1beta1) { + /** + * Google Cloud Data Catalog API + * + * A fully managed and highly scalable data discovery and metadata management service. + * + * @example + * const {google} = require('googleapis'); + * const datacatalog = google.datacatalog('v1beta1'); + * + * @namespace datacatalog + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Datacatalog + */ + class Datacatalog { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.catalog = new Resource$Catalog(this.context); + this.entries = new Resource$Entries(this.context); + this.projects = new Resource$Projects(this.context); + } + } + datacatalog_v1beta1.Datacatalog = Datacatalog; + class Resource$Catalog { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/catalog:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Catalog = Resource$Catalog; + class Resource$Entries { + constructor(context) { + this.context = context; + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/entries:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Entries = Resource$Entries; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + datacatalog_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.entryGroups = new Resource$Projects$Locations$Entrygroups(this.context); + this.tagTemplates = new Resource$Projects$Locations$Tagtemplates(this.context); + this.taxonomies = new Resource$Projects$Locations$Taxonomies(this.context); + } + } + datacatalog_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Entrygroups { + constructor(context) { + this.context = context; + this.entries = new Resource$Projects$Locations$Entrygroups$Entries(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/entryGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Entrygroups = Resource$Projects$Locations$Entrygroups; + class Resource$Projects$Locations$Entrygroups$Entries { + constructor(context) { + this.context = context; + this.tags = new Resource$Projects$Locations$Entrygroups$Entries$Tags(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/entries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Entrygroups$Entries = Resource$Projects$Locations$Entrygroups$Entries; + class Resource$Projects$Locations$Entrygroups$Entries$Tags { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/tags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/tags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Entrygroups$Entries$Tags = Resource$Projects$Locations$Entrygroups$Entries$Tags; + class Resource$Projects$Locations$Tagtemplates { + constructor(context) { + this.context = context; + this.fields = new Resource$Projects$Locations$Tagtemplates$Fields(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/tagTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Tagtemplates = Resource$Projects$Locations$Tagtemplates; + class Resource$Projects$Locations$Tagtemplates$Fields { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fields').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rename(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:rename').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Tagtemplates$Fields = Resource$Projects$Locations$Tagtemplates$Fields; + class Resource$Projects$Locations$Taxonomies { + constructor(context) { + this.context = context; + this.policyTags = new Resource$Projects$Locations$Taxonomies$Policytags(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/taxonomies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/taxonomies:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/taxonomies:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/taxonomies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Taxonomies = Resource$Projects$Locations$Taxonomies; + class Resource$Projects$Locations$Taxonomies$Policytags { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/policyTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/policyTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datacatalog_v1beta1.Resource$Projects$Locations$Taxonomies$Policytags = Resource$Projects$Locations$Taxonomies$Policytags; +})(datacatalog_v1beta1 = exports.datacatalog_v1beta1 || (exports.datacatalog_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 65987: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1b3_1 = __nccwpck_require__(78925); +exports.VERSIONS = { + v1b3: v1b3_1.dataflow_v1b3.Dataflow, +}; +function dataflow(versionOrOptions) { + return googleapis_common_1.getAPI('dataflow', versionOrOptions, exports.VERSIONS, this); +} +exports.dataflow = dataflow; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 78925: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dataflow_v1b3; +(function (dataflow_v1b3) { + /** + * Dataflow API + * + * Manages Google Cloud Dataflow projects on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const dataflow = google.dataflow('v1b3'); + * + * @namespace dataflow + * @type {Function} + * @version v1b3 + * @variation v1b3 + * @param {object=} options Options for Dataflow + */ + class Dataflow { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + dataflow_v1b3.Dataflow = Dataflow; + class Resource$Projects { + constructor(context) { + this.context = context; + this.jobs = new Resource$Projects$Jobs(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.templates = new Resource$Projects$Templates(this.context); + } + workerMessages(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/WorkerMessages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects = Resource$Projects; + class Resource$Projects$Jobs { + constructor(context) { + this.context = context; + this.debug = new Resource$Projects$Jobs$Debug(this.context); + this.messages = new Resource$Projects$Jobs$Messages(this.context); + this.workItems = new Resource$Projects$Jobs$Workitems(this.context); + } + aggregated(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs:aggregated').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getMetrics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}/metrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Jobs = Resource$Projects$Jobs; + class Resource$Projects$Jobs$Debug { + constructor(context) { + this.context = context; + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sendCapture(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Jobs$Debug = Resource$Projects$Jobs$Debug; + class Resource$Projects$Jobs$Messages { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Jobs$Messages = Resource$Projects$Jobs$Messages; + class Resource$Projects$Jobs$Workitems { + constructor(context) { + this.context = context; + } + lease(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reportStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'jobId'], + pathParams: ['jobId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Jobs$Workitems = Resource$Projects$Jobs$Workitems; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.jobs = new Resource$Projects$Locations$Jobs(this.context); + this.sql = new Resource$Projects$Locations$Sql(this.context); + this.templates = new Resource$Projects$Locations$Templates(this.context); + } + workerMessages(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/WorkerMessages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Jobs { + constructor(context) { + this.context = context; + this.debug = new Resource$Projects$Locations$Jobs$Debug(this.context); + this.messages = new Resource$Projects$Locations$Jobs$Messages(this.context); + this.workItems = new Resource$Projects$Locations$Jobs$Workitems(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/locations/{location}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getMetrics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/locations/{location}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations$Jobs = Resource$Projects$Locations$Jobs; + class Resource$Projects$Locations$Jobs$Debug { + constructor(context) { + this.context = context; + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sendCapture(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations$Jobs$Debug = Resource$Projects$Locations$Jobs$Debug; + class Resource$Projects$Locations$Jobs$Messages { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations$Jobs$Messages = Resource$Projects$Locations$Jobs$Messages; + class Resource$Projects$Locations$Jobs$Workitems { + constructor(context) { + this.context = context; + } + lease(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reportStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location', 'jobId'], + pathParams: ['jobId', 'location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations$Jobs$Workitems = Resource$Projects$Locations$Jobs$Workitems; + class Resource$Projects$Locations$Sql { + constructor(context) { + this.context = context; + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/sql:validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations$Sql = Resource$Projects$Locations$Sql; + class Resource$Projects$Locations$Templates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/templates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/templates:get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + launch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1b3/projects/{projectId}/locations/{location}/templates:launch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'location'], + pathParams: ['location', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Locations$Templates = Resource$Projects$Locations$Templates; + class Resource$Projects$Templates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/templates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/templates:get').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + launch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1b3/projects/{projectId}/templates:launch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataflow_v1b3.Resource$Projects$Templates = Resource$Projects$Templates; +})(dataflow_v1b3 = exports.dataflow_v1b3 || (exports.dataflow_v1b3 = {})); +//# sourceMappingURL=v1b3.js.map + +/***/ }), + +/***/ 46033: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(71332); +exports.VERSIONS = { + v1beta1: v1beta1_1.datafusion_v1beta1.Datafusion, +}; +function datafusion(versionOrOptions) { + return googleapis_common_1.getAPI('datafusion', versionOrOptions, exports.VERSIONS, this); +} +exports.datafusion = datafusion; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 71332: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var datafusion_v1beta1; +(function (datafusion_v1beta1) { + /** + * Cloud Data Fusion API + * + * Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure. + * + * @example + * const {google} = require('googleapis'); + * const datafusion = google.datafusion('v1beta1'); + * + * @namespace datafusion + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Datafusion + */ + class Datafusion { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + datafusion_v1beta1.Datafusion = Datafusion; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + datafusion_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Instances(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datafusion_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Instances { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restart(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:restart').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upgrade(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:upgrade').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datafusion_v1beta1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datafusion_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(datafusion_v1beta1 = exports.datafusion_v1beta1 || (exports.datafusion_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 4862: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(28519); +const v1beta2_1 = __nccwpck_require__(3512); +exports.VERSIONS = { + v1: v1_1.dataproc_v1.Dataproc, + v1beta2: v1beta2_1.dataproc_v1beta2.Dataproc, +}; +function dataproc(versionOrOptions) { + return googleapis_common_1.getAPI('dataproc', versionOrOptions, exports.VERSIONS, this); +} +exports.dataproc = dataproc; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 28519: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dataproc_v1; +(function (dataproc_v1) { + /** + * Cloud Dataproc API + * + * Manages Hadoop-based clusters and jobs on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const dataproc = google.dataproc('v1'); + * + * @namespace dataproc + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Dataproc + */ + class Dataproc { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + dataproc_v1.Dataproc = Dataproc; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + this.regions = new Resource$Projects$Regions(this.context); + } + } + dataproc_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.autoscalingPolicies = new Resource$Projects$Locations$Autoscalingpolicies(this.context); + this.workflowTemplates = new Resource$Projects$Locations$Workflowtemplates(this.context); + } + } + dataproc_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Autoscalingpolicies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Locations$Autoscalingpolicies = Resource$Projects$Locations$Autoscalingpolicies; + class Resource$Projects$Locations$Workflowtemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:instantiate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiateInline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Locations$Workflowtemplates = Resource$Projects$Locations$Workflowtemplates; + class Resource$Projects$Regions { + constructor(context) { + this.context = context; + this.autoscalingPolicies = new Resource$Projects$Regions$Autoscalingpolicies(this.context); + this.clusters = new Resource$Projects$Regions$Clusters(this.context); + this.jobs = new Resource$Projects$Regions$Jobs(this.context); + this.operations = new Resource$Projects$Regions$Operations(this.context); + this.workflowTemplates = new Resource$Projects$Regions$Workflowtemplates(this.context); + } + } + dataproc_v1.Resource$Projects$Regions = Resource$Projects$Regions; + class Resource$Projects$Regions$Autoscalingpolicies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Regions$Autoscalingpolicies = Resource$Projects$Regions$Autoscalingpolicies; + class Resource$Projects$Regions$Clusters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + diagnose(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Regions$Clusters = Resource$Projects$Regions$Clusters; + class Resource$Projects$Regions$Jobs { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + submit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs:submit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Regions$Jobs = Resource$Projects$Regions$Jobs; + class Resource$Projects$Regions$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Regions$Operations = Resource$Projects$Regions$Operations; + class Resource$Projects$Regions$Workflowtemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:instantiate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiateInline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1.Resource$Projects$Regions$Workflowtemplates = Resource$Projects$Regions$Workflowtemplates; +})(dataproc_v1 = exports.dataproc_v1 || (exports.dataproc_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 3512: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dataproc_v1beta2; +(function (dataproc_v1beta2) { + /** + * Cloud Dataproc API + * + * Manages Hadoop-based clusters and jobs on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const dataproc = google.dataproc('v1beta2'); + * + * @namespace dataproc + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Dataproc + */ + class Dataproc { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + dataproc_v1beta2.Dataproc = Dataproc; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + this.regions = new Resource$Projects$Regions(this.context); + } + } + dataproc_v1beta2.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.autoscalingPolicies = new Resource$Projects$Locations$Autoscalingpolicies(this.context); + this.workflowTemplates = new Resource$Projects$Locations$Workflowtemplates(this.context); + } + } + dataproc_v1beta2.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Autoscalingpolicies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Locations$Autoscalingpolicies = Resource$Projects$Locations$Autoscalingpolicies; + class Resource$Projects$Locations$Workflowtemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:instantiate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiateInline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Locations$Workflowtemplates = Resource$Projects$Locations$Workflowtemplates; + class Resource$Projects$Regions { + constructor(context) { + this.context = context; + this.autoscalingPolicies = new Resource$Projects$Regions$Autoscalingpolicies(this.context); + this.clusters = new Resource$Projects$Regions$Clusters(this.context); + this.jobs = new Resource$Projects$Regions$Jobs(this.context); + this.operations = new Resource$Projects$Regions$Operations(this.context); + this.workflowTemplates = new Resource$Projects$Regions$Workflowtemplates(this.context); + } + } + dataproc_v1beta2.Resource$Projects$Regions = Resource$Projects$Regions; + class Resource$Projects$Regions$Autoscalingpolicies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Regions$Autoscalingpolicies = Resource$Projects$Regions$Autoscalingpolicies; + class Resource$Projects$Regions$Clusters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + diagnose(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'region', 'clusterName'], + pathParams: ['clusterName', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Regions$Clusters = Resource$Projects$Regions$Clusters; + class Resource$Projects$Regions$Jobs { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/projects/{projectId}/regions/{region}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'region', 'jobId'], + pathParams: ['jobId', 'projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + submit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1beta2/projects/{projectId}/regions/{region}/jobs:submit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'region'], + pathParams: ['projectId', 'region'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Regions$Jobs = Resource$Projects$Regions$Jobs; + class Resource$Projects$Regions$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Regions$Operations = Resource$Projects$Regions$Operations; + class Resource$Projects$Regions$Workflowtemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:instantiate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + instantiateInline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dataproc_v1beta2.Resource$Projects$Regions$Workflowtemplates = Resource$Projects$Regions$Workflowtemplates; +})(dataproc_v1beta2 = exports.dataproc_v1beta2 || (exports.dataproc_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 16341: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(73834); +const v1beta1_1 = __nccwpck_require__(42039); +const v1beta3_1 = __nccwpck_require__(52586); +exports.VERSIONS = { + v1: v1_1.datastore_v1.Datastore, + v1beta1: v1beta1_1.datastore_v1beta1.Datastore, + v1beta3: v1beta3_1.datastore_v1beta3.Datastore, +}; +function datastore(versionOrOptions) { + return googleapis_common_1.getAPI('datastore', versionOrOptions, exports.VERSIONS, this); +} +exports.datastore = datastore; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 73834: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var datastore_v1; +(function (datastore_v1) { + /** + * Cloud Datastore API + * + * Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. + * + * @example + * const {google} = require('googleapis'); + * const datastore = google.datastore('v1'); + * + * @namespace datastore + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Datastore + */ + class Datastore { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + datastore_v1.Datastore = Datastore; + class Resource$Projects { + constructor(context) { + this.context = context; + this.indexes = new Resource$Projects$Indexes(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + allocateIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:allocateIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + beginTransaction(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:beginTransaction').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reserveIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:reserveIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}:runQuery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datastore_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Indexes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/indexes/{indexId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'indexId'], + pathParams: ['indexId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/indexes/{indexId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'indexId'], + pathParams: ['indexId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datastore_v1.Resource$Projects$Indexes = Resource$Projects$Indexes; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datastore_v1.Resource$Projects$Operations = Resource$Projects$Operations; +})(datastore_v1 = exports.datastore_v1 || (exports.datastore_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 42039: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var datastore_v1beta1; +(function (datastore_v1beta1) { + /** + * Cloud Datastore API + * + * Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. + * + * @example + * const {google} = require('googleapis'); + * const datastore = google.datastore('v1beta1'); + * + * @namespace datastore + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Datastore + */ + class Datastore { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + datastore_v1beta1.Datastore = Datastore; + class Resource$Projects { + constructor(context) { + this.context = context; + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects/{projectId}:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datastore_v1beta1.Resource$Projects = Resource$Projects; +})(datastore_v1beta1 = exports.datastore_v1beta1 || (exports.datastore_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 52586: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var datastore_v1beta3; +(function (datastore_v1beta3) { + /** + * Cloud Datastore API + * + * Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. + * + * @example + * const {google} = require('googleapis'); + * const datastore = google.datastore('v1beta3'); + * + * @namespace datastore + * @type {Function} + * @version v1beta3 + * @variation v1beta3 + * @param {object=} options Options for Datastore + */ + class Datastore { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + datastore_v1beta3.Datastore = Datastore; + class Resource$Projects { + constructor(context) { + this.context = context; + } + allocateIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:allocateIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + beginTransaction(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:beginTransaction').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lookup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:lookup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reserveIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:reserveIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta3/projects/{projectId}:runQuery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + datastore_v1beta3.Resource$Projects = Resource$Projects; +})(datastore_v1beta3 = exports.datastore_v1beta3 || (exports.datastore_v1beta3 = {})); +//# sourceMappingURL=v1beta3.js.map + +/***/ }), + +/***/ 41147: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var deploymentmanager_alpha; +(function (deploymentmanager_alpha) { + /** + * Google Cloud Deployment Manager Alpha API + * + * The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const deploymentmanager = google.deploymentmanager('alpha'); + * + * @namespace deploymentmanager + * @type {Function} + * @version alpha + * @variation alpha + * @param {object=} options Options for Deploymentmanager + */ + class Deploymentmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.compositeTypes = new Resource$Compositetypes(this.context); + this.deployments = new Resource$Deployments(this.context); + this.manifests = new Resource$Manifests(this.context); + this.operations = new Resource$Operations(this.context); + this.resources = new Resource$Resources(this.context); + this.typeProviders = new Resource$Typeproviders(this.context); + this.types = new Resource$Types(this.context); + } + } + deploymentmanager_alpha.Deploymentmanager = Deploymentmanager; + class Resource$Compositetypes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/compositeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/compositeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Compositetypes = Resource$Compositetypes; + class Resource$Deployments { + constructor(context) { + this.context = context; + } + cancelPreview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/cancelPreview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Deployments = Resource$Deployments; + class Resource$Manifests { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests/{manifest}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment', 'manifest'], + pathParams: ['deployment', 'manifest', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Manifests = Resource$Manifests; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Operations = Resource$Operations; + class Resource$Resources { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources/{resource}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment', 'resource'], + pathParams: ['deployment', 'project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Resources = Resource$Resources; + class Resource$Typeproviders { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getType(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types/{type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'typeProvider', 'type'], + pathParams: ['project', 'type', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listTypes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Typeproviders = Resource$Typeproviders; + class Resource$Types { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'type'], + pathParams: ['project', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'type'], + pathParams: ['project', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/types').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/types').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'type'], + pathParams: ['project', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'type'], + pathParams: ['project', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_alpha.Resource$Types = Resource$Types; +})(deploymentmanager_alpha = exports.deploymentmanager_alpha || (exports.deploymentmanager_alpha = {})); +//# sourceMappingURL=alpha.js.map + +/***/ }), + +/***/ 97802: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const alpha_1 = __nccwpck_require__(41147); +const v2_1 = __nccwpck_require__(97525); +const v2beta_1 = __nccwpck_require__(28997); +exports.VERSIONS = { + alpha: alpha_1.deploymentmanager_alpha.Deploymentmanager, + v2: v2_1.deploymentmanager_v2.Deploymentmanager, + v2beta: v2beta_1.deploymentmanager_v2beta.Deploymentmanager, +}; +function deploymentmanager(versionOrOptions) { + return googleapis_common_1.getAPI('deploymentmanager', versionOrOptions, exports.VERSIONS, this); +} +exports.deploymentmanager = deploymentmanager; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 97525: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var deploymentmanager_v2; +(function (deploymentmanager_v2) { + /** + * Google Cloud Deployment Manager API + * + * Declares, configures, and deploys complex solutions on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const deploymentmanager = google.deploymentmanager('v2'); + * + * @namespace deploymentmanager + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Deploymentmanager + */ + class Deploymentmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.deployments = new Resource$Deployments(this.context); + this.manifests = new Resource$Manifests(this.context); + this.operations = new Resource$Operations(this.context); + this.resources = new Resource$Resources(this.context); + this.types = new Resource$Types(this.context); + } + } + deploymentmanager_v2.Deploymentmanager = Deploymentmanager; + class Resource$Deployments { + constructor(context) { + this.context = context; + } + cancelPreview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2.Resource$Deployments = Resource$Deployments; + class Resource$Manifests { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests/{manifest}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment', 'manifest'], + pathParams: ['deployment', 'manifest', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2.Resource$Manifests = Resource$Manifests; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2.Resource$Operations = Resource$Operations; + class Resource$Resources { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment', 'resource'], + pathParams: ['deployment', 'project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2.Resource$Resources = Resource$Resources; + class Resource$Types { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/deploymentmanager/v2/projects/{project}/global/types').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2.Resource$Types = Resource$Types; +})(deploymentmanager_v2 = exports.deploymentmanager_v2 || (exports.deploymentmanager_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 28997: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var deploymentmanager_v2beta; +(function (deploymentmanager_v2beta) { + /** + * Google Cloud Deployment Manager API V2Beta Methods + * + * The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const deploymentmanager = google.deploymentmanager('v2beta'); + * + * @namespace deploymentmanager + * @type {Function} + * @version v2beta + * @variation v2beta + * @param {object=} options Options for Deploymentmanager + */ + class Deploymentmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.compositeTypes = new Resource$Compositetypes(this.context); + this.deployments = new Resource$Deployments(this.context); + this.manifests = new Resource$Manifests(this.context); + this.operations = new Resource$Operations(this.context); + this.resources = new Resource$Resources(this.context); + this.typeProviders = new Resource$Typeproviders(this.context); + this.types = new Resource$Types(this.context); + } + } + deploymentmanager_v2beta.Deploymentmanager = Deploymentmanager; + class Resource$Compositetypes { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'compositeType'], + pathParams: ['compositeType', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Compositetypes = Resource$Compositetypes; + class Resource$Deployments { + constructor(context) { + this.context = context; + } + cancelPreview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/cancelPreview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'resource'], + pathParams: ['project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Deployments = Resource$Deployments; + class Resource$Manifests { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests/{manifest}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment', 'manifest'], + pathParams: ['deployment', 'manifest', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Manifests = Resource$Manifests; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Operations = Resource$Operations; + class Resource$Resources { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources/{resource}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment', 'resource'], + pathParams: ['deployment', 'project', 'resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'deployment'], + pathParams: ['deployment', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Resources = Resource$Resources; + class Resource$Typeproviders { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getType(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types/{type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'typeProvider', 'type'], + pathParams: ['project', 'type', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listTypes(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'typeProvider'], + pathParams: ['project', 'typeProvider'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Typeproviders = Resource$Typeproviders; + class Resource$Types { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/deploymentmanager/v2beta/projects/{project}/global/types').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + deploymentmanager_v2beta.Resource$Types = Resource$Types; +})(deploymentmanager_v2beta = exports.deploymentmanager_v2beta || (exports.deploymentmanager_v2beta = {})); +//# sourceMappingURL=v2beta.js.map + +/***/ }), + +/***/ 7833: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v3_3_1 = __nccwpck_require__(2186); +const v3_4_1 = __nccwpck_require__(70114); +exports.VERSIONS = { + 'v3.3': v3_3_1.dfareporting_v3_3.Dfareporting, + 'v3.4': v3_4_1.dfareporting_v3_4.Dfareporting, +}; +function dfareporting(versionOrOptions) { + return googleapis_common_1.getAPI('dfareporting', versionOrOptions, exports.VERSIONS, this); +} +exports.dfareporting = dfareporting; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 2186: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dfareporting_v3_3; +(function (dfareporting_v3_3) { + /** + * DCM/DFA Reporting And Trafficking API + * + * Manages your DoubleClick Campaign Manager ad campaigns and reports. + * + * @example + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v3.3'); + * + * @namespace dfareporting + * @type {Function} + * @version v3.3 + * @variation v3.3 + * @param {object=} options Options for Dfareporting + */ + class Dfareporting { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accountActiveAdSummaries = new Resource$Accountactiveadsummaries(this.context); + this.accountPermissionGroups = new Resource$Accountpermissiongroups(this.context); + this.accountPermissions = new Resource$Accountpermissions(this.context); + this.accounts = new Resource$Accounts(this.context); + this.accountUserProfiles = new Resource$Accountuserprofiles(this.context); + this.ads = new Resource$Ads(this.context); + this.advertiserGroups = new Resource$Advertisergroups(this.context); + this.advertiserLandingPages = new Resource$Advertiserlandingpages(this.context); + this.advertisers = new Resource$Advertisers(this.context); + this.browsers = new Resource$Browsers(this.context); + this.campaignCreativeAssociations = new Resource$Campaigncreativeassociations(this.context); + this.campaigns = new Resource$Campaigns(this.context); + this.changeLogs = new Resource$Changelogs(this.context); + this.cities = new Resource$Cities(this.context); + this.connectionTypes = new Resource$Connectiontypes(this.context); + this.contentCategories = new Resource$Contentcategories(this.context); + this.conversions = new Resource$Conversions(this.context); + this.countries = new Resource$Countries(this.context); + this.creativeAssets = new Resource$Creativeassets(this.context); + this.creativeFields = new Resource$Creativefields(this.context); + this.creativeFieldValues = new Resource$Creativefieldvalues(this.context); + this.creativeGroups = new Resource$Creativegroups(this.context); + this.creatives = new Resource$Creatives(this.context); + this.dimensionValues = new Resource$Dimensionvalues(this.context); + this.directorySites = new Resource$Directorysites(this.context); + this.dynamicTargetingKeys = new Resource$Dynamictargetingkeys(this.context); + this.eventTags = new Resource$Eventtags(this.context); + this.files = new Resource$Files(this.context); + this.floodlightActivities = new Resource$Floodlightactivities(this.context); + this.floodlightActivityGroups = new Resource$Floodlightactivitygroups(this.context); + this.floodlightConfigurations = new Resource$Floodlightconfigurations(this.context); + this.inventoryItems = new Resource$Inventoryitems(this.context); + this.languages = new Resource$Languages(this.context); + this.metros = new Resource$Metros(this.context); + this.mobileApps = new Resource$Mobileapps(this.context); + this.mobileCarriers = new Resource$Mobilecarriers(this.context); + this.operatingSystems = new Resource$Operatingsystems(this.context); + this.operatingSystemVersions = new Resource$Operatingsystemversions(this.context); + this.orderDocuments = new Resource$Orderdocuments(this.context); + this.orders = new Resource$Orders(this.context); + this.placementGroups = new Resource$Placementgroups(this.context); + this.placements = new Resource$Placements(this.context); + this.placementStrategies = new Resource$Placementstrategies(this.context); + this.platformTypes = new Resource$Platformtypes(this.context); + this.postalCodes = new Resource$Postalcodes(this.context); + this.projects = new Resource$Projects(this.context); + this.regions = new Resource$Regions(this.context); + this.remarketingLists = new Resource$Remarketinglists(this.context); + this.remarketingListShares = new Resource$Remarketinglistshares(this.context); + this.reports = new Resource$Reports(this.context); + this.sites = new Resource$Sites(this.context); + this.sizes = new Resource$Sizes(this.context); + this.subaccounts = new Resource$Subaccounts(this.context); + this.targetableRemarketingLists = new Resource$Targetableremarketinglists(this.context); + this.targetingTemplates = new Resource$Targetingtemplates(this.context); + this.userProfiles = new Resource$Userprofiles(this.context); + this.userRolePermissionGroups = new Resource$Userrolepermissiongroups(this.context); + this.userRolePermissions = new Resource$Userrolepermissions(this.context); + this.userRoles = new Resource$Userroles(this.context); + this.videoFormats = new Resource$Videoformats(this.context); + } + } + dfareporting_v3_3.Dfareporting = Dfareporting; + class Resource$Accountactiveadsummaries { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'summaryAccountId'], + pathParams: ['profileId', 'summaryAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Accountactiveadsummaries = Resource$Accountactiveadsummaries; + class Resource$Accountpermissiongroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissionGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissionGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Accountpermissiongroups = Resource$Accountpermissiongroups; + class Resource$Accountpermissions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Accountpermissions = Resource$Accountpermissions; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Accounts = Resource$Accounts; + class Resource$Accountuserprofiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Accountuserprofiles = Resource$Accountuserprofiles; + class Resource$Ads { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Ads = Resource$Ads; + class Resource$Advertisergroups { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Advertisergroups = Resource$Advertisergroups; + class Resource$Advertiserlandingpages { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Advertiserlandingpages = Resource$Advertiserlandingpages; + class Resource$Advertisers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertisers/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Advertisers = Resource$Advertisers; + class Resource$Browsers { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/browsers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Browsers = Resource$Browsers; + class Resource$Campaigncreativeassociations { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId', 'campaignId'], + pathParams: ['campaignId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'campaignId'], + pathParams: ['campaignId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Campaigncreativeassociations = Resource$Campaigncreativeassociations; + class Resource$Campaigns { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Campaigns = Resource$Campaigns; + class Resource$Changelogs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/changeLogs/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/changeLogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Changelogs = Resource$Changelogs; + class Resource$Cities { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/cities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Cities = Resource$Cities; + class Resource$Connectiontypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/connectionTypes/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/connectionTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Connectiontypes = Resource$Connectiontypes; + class Resource$Contentcategories { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Contentcategories = Resource$Contentcategories; + class Resource$Conversions { + constructor(context) { + this.context = context; + } + batchinsert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/conversions/batchinsert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchupdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/conversions/batchupdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Conversions = Resource$Conversions; + class Resource$Countries { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/countries/{dartId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'dartId'], + pathParams: ['dartId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/countries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Countries = Resource$Countries; + class Resource$Creativeassets { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/dfareporting/v3.3/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['profileId', 'advertiserId'], + pathParams: ['advertiserId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Creativeassets = Resource$Creativeassets; + class Resource$Creativefields { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Creativefields = Resource$Creativefields; + class Resource$Creativefieldvalues { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId', 'id'], + pathParams: ['creativeFieldId', 'id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId', 'id'], + pathParams: ['creativeFieldId', 'id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId', 'id'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Creativefieldvalues = Resource$Creativefieldvalues; + class Resource$Creativegroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Creativegroups = Resource$Creativegroups; + class Resource$Creatives { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/creatives/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Creatives = Resource$Creatives; + class Resource$Dimensionvalues { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/dimensionvalues/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Dimensionvalues = Resource$Dimensionvalues; + class Resource$Directorysites { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/directorySites/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/directorySites').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/directorySites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Directorysites = Resource$Directorysites; + class Resource$Dynamictargetingkeys { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'objectId', 'name', 'objectType'], + pathParams: ['objectId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Dynamictargetingkeys = Resource$Dynamictargetingkeys; + class Resource$Eventtags { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Eventtags = Resource$Eventtags; + class Resource$Files { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/reports/{reportId}/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['reportId', 'fileId'], + pathParams: ['fileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Files = Resource$Files; + class Resource$Floodlightactivities { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generatetag(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities/generatetag').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Floodlightactivities = Resource$Floodlightactivities; + class Resource$Floodlightactivitygroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Floodlightactivitygroups = Resource$Floodlightactivitygroups; + class Resource$Floodlightconfigurations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Floodlightconfigurations = Resource$Floodlightconfigurations; + class Resource$Inventoryitems { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId', 'id'], + pathParams: ['id', 'profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/inventoryItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId'], + pathParams: ['profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Inventoryitems = Resource$Inventoryitems; + class Resource$Languages { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/languages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Languages = Resource$Languages; + class Resource$Metros { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/metros').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Metros = Resource$Metros; + class Resource$Mobileapps { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/mobileApps/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/mobileApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Mobileapps = Resource$Mobileapps; + class Resource$Mobilecarriers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/mobileCarriers/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/mobileCarriers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Mobilecarriers = Resource$Mobilecarriers; + class Resource$Operatingsystems { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystems/{dartId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'dartId'], + pathParams: ['dartId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystems').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Operatingsystems = Resource$Operatingsystems; + class Resource$Operatingsystemversions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystemVersions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystemVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Operatingsystemversions = Resource$Operatingsystemversions; + class Resource$Orderdocuments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId', 'id'], + pathParams: ['id', 'profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orderDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId'], + pathParams: ['profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Orderdocuments = Resource$Orderdocuments; + class Resource$Orders { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orders/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId', 'id'], + pathParams: ['id', 'profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId'], + pathParams: ['profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Orders = Resource$Orders; + class Resource$Placementgroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Placementgroups = Resource$Placementgroups; + class Resource$Placements { + constructor(context) { + this.context = context; + } + generatetags(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placements/generatetags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placements/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Placements = Resource$Placements; + class Resource$Placementstrategies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Placementstrategies = Resource$Placementstrategies; + class Resource$Platformtypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/platformTypes/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/platformTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Platformtypes = Resource$Platformtypes; + class Resource$Postalcodes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/postalCodes/{code}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'code'], + pathParams: ['code', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/postalCodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Postalcodes = Resource$Postalcodes; + class Resource$Projects { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/projects/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Projects = Resource$Projects; + class Resource$Regions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/regions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Regions = Resource$Regions; + class Resource$Remarketinglists { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'advertiserId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Remarketinglists = Resource$Remarketinglists; + class Resource$Remarketinglistshares { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingListShares/{remarketingListId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'remarketingListId'], + pathParams: ['profileId', 'remarketingListId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'remarketingListId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Remarketinglistshares = Resource$Remarketinglistshares; + class Resource$Reports { + constructor(context) { + this.context = context; + this.compatibleFields = new Resource$Reports$Compatiblefields(this.context); + this.files = new Resource$Reports$Files(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}/run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Reports = Resource$Reports; + class Resource$Reports$Compatiblefields { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/compatiblefields/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Reports$Compatiblefields = Resource$Reports$Compatiblefields; + class Resource$Reports$Files { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'reportId', 'fileId'], + pathParams: ['fileId', 'profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Reports$Files = Resource$Reports$Files; + class Resource$Sites { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Sites = Resource$Sites; + class Resource$Sizes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sizes/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sizes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sizes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Sizes = Resource$Sizes; + class Resource$Subaccounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Subaccounts = Resource$Subaccounts; + class Resource$Targetableremarketinglists { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetableRemarketingLists/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetableRemarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'advertiserId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Targetableremarketinglists = Resource$Targetableremarketinglists; + class Resource$Targetingtemplates { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Targetingtemplates = Resource$Targetingtemplates; + class Resource$Userprofiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Userprofiles = Resource$Userprofiles; + class Resource$Userrolepermissiongroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissionGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissionGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Userrolepermissiongroups = Resource$Userrolepermissiongroups; + class Resource$Userrolepermissions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Userrolepermissions = Resource$Userrolepermissions; + class Resource$Userroles { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Userroles = Resource$Userroles; + class Resource$Videoformats { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/videoFormats/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.3/userprofiles/{profileId}/videoFormats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_3.Resource$Videoformats = Resource$Videoformats; +})(dfareporting_v3_3 = exports.dfareporting_v3_3 || (exports.dfareporting_v3_3 = {})); +//# sourceMappingURL=v3.3.js.map + +/***/ }), + +/***/ 70114: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dfareporting_v3_4; +(function (dfareporting_v3_4) { + /** + * DCM/DFA Reporting And Trafficking API + * + * Manages your DoubleClick Campaign Manager ad campaigns and reports. + * + * @example + * const {google} = require('googleapis'); + * const dfareporting = google.dfareporting('v3.4'); + * + * @namespace dfareporting + * @type {Function} + * @version v3.4 + * @variation v3.4 + * @param {object=} options Options for Dfareporting + */ + class Dfareporting { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accountActiveAdSummaries = new Resource$Accountactiveadsummaries(this.context); + this.accountPermissionGroups = new Resource$Accountpermissiongroups(this.context); + this.accountPermissions = new Resource$Accountpermissions(this.context); + this.accounts = new Resource$Accounts(this.context); + this.accountUserProfiles = new Resource$Accountuserprofiles(this.context); + this.ads = new Resource$Ads(this.context); + this.advertiserGroups = new Resource$Advertisergroups(this.context); + this.advertiserLandingPages = new Resource$Advertiserlandingpages(this.context); + this.advertisers = new Resource$Advertisers(this.context); + this.browsers = new Resource$Browsers(this.context); + this.campaignCreativeAssociations = new Resource$Campaigncreativeassociations(this.context); + this.campaigns = new Resource$Campaigns(this.context); + this.changeLogs = new Resource$Changelogs(this.context); + this.cities = new Resource$Cities(this.context); + this.connectionTypes = new Resource$Connectiontypes(this.context); + this.contentCategories = new Resource$Contentcategories(this.context); + this.conversions = new Resource$Conversions(this.context); + this.countries = new Resource$Countries(this.context); + this.creativeAssets = new Resource$Creativeassets(this.context); + this.creativeFields = new Resource$Creativefields(this.context); + this.creativeFieldValues = new Resource$Creativefieldvalues(this.context); + this.creativeGroups = new Resource$Creativegroups(this.context); + this.creatives = new Resource$Creatives(this.context); + this.customEvents = new Resource$Customevents(this.context); + this.dimensionValues = new Resource$Dimensionvalues(this.context); + this.directorySites = new Resource$Directorysites(this.context); + this.dynamicTargetingKeys = new Resource$Dynamictargetingkeys(this.context); + this.eventTags = new Resource$Eventtags(this.context); + this.files = new Resource$Files(this.context); + this.floodlightActivities = new Resource$Floodlightactivities(this.context); + this.floodlightActivityGroups = new Resource$Floodlightactivitygroups(this.context); + this.floodlightConfigurations = new Resource$Floodlightconfigurations(this.context); + this.inventoryItems = new Resource$Inventoryitems(this.context); + this.languages = new Resource$Languages(this.context); + this.metros = new Resource$Metros(this.context); + this.mobileApps = new Resource$Mobileapps(this.context); + this.mobileCarriers = new Resource$Mobilecarriers(this.context); + this.operatingSystems = new Resource$Operatingsystems(this.context); + this.operatingSystemVersions = new Resource$Operatingsystemversions(this.context); + this.orderDocuments = new Resource$Orderdocuments(this.context); + this.orders = new Resource$Orders(this.context); + this.placementGroups = new Resource$Placementgroups(this.context); + this.placements = new Resource$Placements(this.context); + this.placementStrategies = new Resource$Placementstrategies(this.context); + this.platformTypes = new Resource$Platformtypes(this.context); + this.postalCodes = new Resource$Postalcodes(this.context); + this.projects = new Resource$Projects(this.context); + this.regions = new Resource$Regions(this.context); + this.remarketingLists = new Resource$Remarketinglists(this.context); + this.remarketingListShares = new Resource$Remarketinglistshares(this.context); + this.reports = new Resource$Reports(this.context); + this.sites = new Resource$Sites(this.context); + this.sizes = new Resource$Sizes(this.context); + this.subaccounts = new Resource$Subaccounts(this.context); + this.targetableRemarketingLists = new Resource$Targetableremarketinglists(this.context); + this.targetingTemplates = new Resource$Targetingtemplates(this.context); + this.userProfiles = new Resource$Userprofiles(this.context); + this.userRolePermissionGroups = new Resource$Userrolepermissiongroups(this.context); + this.userRolePermissions = new Resource$Userrolepermissions(this.context); + this.userRoles = new Resource$Userroles(this.context); + this.videoFormats = new Resource$Videoformats(this.context); + } + } + dfareporting_v3_4.Dfareporting = Dfareporting; + class Resource$Accountactiveadsummaries { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'summaryAccountId'], + pathParams: ['profileId', 'summaryAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Accountactiveadsummaries = Resource$Accountactiveadsummaries; + class Resource$Accountpermissiongroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissionGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissionGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Accountpermissiongroups = Resource$Accountpermissiongroups; + class Resource$Accountpermissions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Accountpermissions = Resource$Accountpermissions; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Accounts = Resource$Accounts; + class Resource$Accountuserprofiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Accountuserprofiles = Resource$Accountuserprofiles; + class Resource$Ads { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Ads = Resource$Ads; + class Resource$Advertisergroups { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Advertisergroups = Resource$Advertisergroups; + class Resource$Advertiserlandingpages { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Advertiserlandingpages = Resource$Advertiserlandingpages; + class Resource$Advertisers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertisers/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Advertisers = Resource$Advertisers; + class Resource$Browsers { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/browsers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Browsers = Resource$Browsers; + class Resource$Campaigncreativeassociations { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId', 'campaignId'], + pathParams: ['campaignId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'campaignId'], + pathParams: ['campaignId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Campaigncreativeassociations = Resource$Campaigncreativeassociations; + class Resource$Campaigns { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Campaigns = Resource$Campaigns; + class Resource$Changelogs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/changeLogs/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/changeLogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Changelogs = Resource$Changelogs; + class Resource$Cities { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/cities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Cities = Resource$Cities; + class Resource$Connectiontypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/connectionTypes/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/connectionTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Connectiontypes = Resource$Connectiontypes; + class Resource$Contentcategories { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Contentcategories = Resource$Contentcategories; + class Resource$Conversions { + constructor(context) { + this.context = context; + } + batchinsert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/conversions/batchinsert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchupdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/conversions/batchupdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Conversions = Resource$Conversions; + class Resource$Countries { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/countries/{dartId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'dartId'], + pathParams: ['dartId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/countries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Countries = Resource$Countries; + class Resource$Creativeassets { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/dfareporting/v3.4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['profileId', 'advertiserId'], + pathParams: ['advertiserId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Creativeassets = Resource$Creativeassets; + class Resource$Creativefields { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Creativefields = Resource$Creativefields; + class Resource$Creativefieldvalues { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId', 'id'], + pathParams: ['creativeFieldId', 'id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId', 'id'], + pathParams: ['creativeFieldId', 'id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId', 'id'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId', 'creativeFieldId'], + pathParams: ['creativeFieldId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Creativefieldvalues = Resource$Creativefieldvalues; + class Resource$Creativegroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Creativegroups = Resource$Creativegroups; + class Resource$Creatives { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/creatives/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Creatives = Resource$Creatives; + class Resource$Customevents { + constructor(context) { + this.context = context; + } + batchinsert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/customEvents/batchinsert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Customevents = Resource$Customevents; + class Resource$Dimensionvalues { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/dimensionvalues/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Dimensionvalues = Resource$Dimensionvalues; + class Resource$Directorysites { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/directorySites/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/directorySites').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/directorySites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Directorysites = Resource$Directorysites; + class Resource$Dynamictargetingkeys { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'objectId', 'name', 'objectType'], + pathParams: ['objectId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Dynamictargetingkeys = Resource$Dynamictargetingkeys; + class Resource$Eventtags { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Eventtags = Resource$Eventtags; + class Resource$Files { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/reports/{reportId}/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['reportId', 'fileId'], + pathParams: ['fileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Files = Resource$Files; + class Resource$Floodlightactivities { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generatetag(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities/generatetag').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Floodlightactivities = Resource$Floodlightactivities; + class Resource$Floodlightactivitygroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Floodlightactivitygroups = Resource$Floodlightactivitygroups; + class Resource$Floodlightconfigurations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Floodlightconfigurations = Resource$Floodlightconfigurations; + class Resource$Inventoryitems { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId', 'id'], + pathParams: ['id', 'profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/inventoryItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId'], + pathParams: ['profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Inventoryitems = Resource$Inventoryitems; + class Resource$Languages { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/languages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Languages = Resource$Languages; + class Resource$Metros { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/metros').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Metros = Resource$Metros; + class Resource$Mobileapps { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/mobileApps/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/mobileApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Mobileapps = Resource$Mobileapps; + class Resource$Mobilecarriers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/mobileCarriers/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/mobileCarriers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Mobilecarriers = Resource$Mobilecarriers; + class Resource$Operatingsystems { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystems/{dartId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'dartId'], + pathParams: ['dartId', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystems').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Operatingsystems = Resource$Operatingsystems; + class Resource$Operatingsystemversions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystemVersions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystemVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Operatingsystemversions = Resource$Operatingsystemversions; + class Resource$Orderdocuments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId', 'id'], + pathParams: ['id', 'profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orderDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId'], + pathParams: ['profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Orderdocuments = Resource$Orderdocuments; + class Resource$Orders { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orders/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId', 'id'], + pathParams: ['id', 'profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'projectId'], + pathParams: ['profileId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Orders = Resource$Orders; + class Resource$Placementgroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Placementgroups = Resource$Placementgroups; + class Resource$Placements { + constructor(context) { + this.context = context; + } + generatetags(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placements/generatetags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placements/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Placements = Resource$Placements; + class Resource$Placementstrategies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Placementstrategies = Resource$Placementstrategies; + class Resource$Platformtypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/platformTypes/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/platformTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Platformtypes = Resource$Platformtypes; + class Resource$Postalcodes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/postalCodes/{code}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'code'], + pathParams: ['code', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/postalCodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Postalcodes = Resource$Postalcodes; + class Resource$Projects { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/projects/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Projects = Resource$Projects; + class Resource$Regions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/regions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Regions = Resource$Regions; + class Resource$Remarketinglists { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'advertiserId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Remarketinglists = Resource$Remarketinglists; + class Resource$Remarketinglistshares { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingListShares/{remarketingListId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'remarketingListId'], + pathParams: ['profileId', 'remarketingListId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'remarketingListId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Remarketinglistshares = Resource$Remarketinglistshares; + class Resource$Reports { + constructor(context) { + this.context = context; + this.compatibleFields = new Resource$Reports$Compatiblefields(this.context); + this.files = new Resource$Reports$Files(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}/run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Reports = Resource$Reports; + class Resource$Reports$Compatiblefields { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/compatiblefields/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Reports$Compatiblefields = Resource$Reports$Compatiblefields; + class Resource$Reports$Files { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'reportId', 'fileId'], + pathParams: ['fileId', 'profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'reportId'], + pathParams: ['profileId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Reports$Files = Resource$Reports$Files; + class Resource$Sites { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Sites = Resource$Sites; + class Resource$Sizes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sizes/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sizes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sizes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Sizes = Resource$Sizes; + class Resource$Subaccounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Subaccounts = Resource$Subaccounts; + class Resource$Targetableremarketinglists { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetableRemarketingLists/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetableRemarketingLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'advertiserId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Targetableremarketinglists = Resource$Targetableremarketinglists; + class Resource$Targetingtemplates { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Targetingtemplates = Resource$Targetingtemplates; + class Resource$Userprofiles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Userprofiles = Resource$Userprofiles; + class Resource$Userrolepermissiongroups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissionGroups/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissionGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Userrolepermissiongroups = Resource$Userrolepermissiongroups; + class Resource$Userrolepermissions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Userrolepermissions = Resource$Userrolepermissions; + class Resource$Userroles { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Userroles = Resource$Userroles; + class Resource$Videoformats { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/videoFormats/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId', 'id'], + pathParams: ['id', 'profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dfareporting/v3.4/userprofiles/{profileId}/videoFormats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['profileId'], + pathParams: ['profileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dfareporting_v3_4.Resource$Videoformats = Resource$Videoformats; +})(dfareporting_v3_4 = exports.dfareporting_v3_4 || (exports.dfareporting_v3_4 = {})); +//# sourceMappingURL=v3.4.js.map + +/***/ }), + +/***/ 96656: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(1463); +const v2beta1_1 = __nccwpck_require__(94792); +exports.VERSIONS = { + v2: v2_1.dialogflow_v2.Dialogflow, + v2beta1: v2beta1_1.dialogflow_v2beta1.Dialogflow, +}; +function dialogflow(versionOrOptions) { + return googleapis_common_1.getAPI('dialogflow', versionOrOptions, exports.VERSIONS, this); +} +exports.dialogflow = dialogflow; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 1463: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dialogflow_v2; +(function (dialogflow_v2) { + /** + * Dialogflow API + * + * Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). + * + * @example + * const {google} = require('googleapis'); + * const dialogflow = google.dialogflow('v2'); + * + * @namespace dialogflow + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Dialogflow + */ + class Dialogflow { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + dialogflow_v2.Dialogflow = Dialogflow; + class Resource$Projects { + constructor(context) { + this.context = context; + this.agent = new Resource$Projects$Agent(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + getAgent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/agent').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Agent { + constructor(context) { + this.context = context; + this.entityTypes = new Resource$Projects$Agent$Entitytypes(this.context); + this.intents = new Resource$Projects$Agent$Intents(this.context); + this.sessions = new Resource$Projects$Agent$Sessions(this.context); + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/agent:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/agent:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restore(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/agent:restore').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/agent:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + train(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/agent:train').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent = Resource$Projects$Agent; + class Resource$Projects$Agent$Entitytypes { + constructor(context) { + this.context = context; + this.entities = new Resource$Projects$Agent$Entitytypes$Entities(this.context); + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entityTypes:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entityTypes:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent$Entitytypes = Resource$Projects$Agent$Entitytypes; + class Resource$Projects$Agent$Entitytypes$Entities { + constructor(context) { + this.context = context; + } + batchCreate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entities:batchCreate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entities:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entities:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent$Entitytypes$Entities = Resource$Projects$Agent$Entitytypes$Entities; + class Resource$Projects$Agent$Intents { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/intents:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/intents:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/intents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/intents').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent$Intents = Resource$Projects$Agent$Intents; + class Resource$Projects$Agent$Sessions { + constructor(context) { + this.context = context; + this.contexts = new Resource$Projects$Agent$Sessions$Contexts(this.context); + this.entityTypes = new Resource$Projects$Agent$Sessions$Entitytypes(this.context); + } + deleteContexts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detectIntent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+session}:detectIntent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent$Sessions = Resource$Projects$Agent$Sessions; + class Resource$Projects$Agent$Sessions$Contexts { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent$Sessions$Contexts = Resource$Projects$Agent$Sessions$Contexts; + class Resource$Projects$Agent$Sessions$Entitytypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Agent$Sessions$Entitytypes = Resource$Projects$Agent$Sessions$Entitytypes; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2.Resource$Projects$Operations = Resource$Projects$Operations; +})(dialogflow_v2 = exports.dialogflow_v2 || (exports.dialogflow_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 94792: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dialogflow_v2beta1; +(function (dialogflow_v2beta1) { + /** + * Dialogflow API + * + * Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). + * + * @example + * const {google} = require('googleapis'); + * const dialogflow = google.dialogflow('v2beta1'); + * + * @namespace dialogflow + * @type {Function} + * @version v2beta1 + * @variation v2beta1 + * @param {object=} options Options for Dialogflow + */ + class Dialogflow { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + dialogflow_v2beta1.Dialogflow = Dialogflow; + class Resource$Projects { + constructor(context) { + this.context = context; + this.agent = new Resource$Projects$Agent(this.context); + this.knowledgeBases = new Resource$Projects$Knowledgebases(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + getAgent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/agent').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Agent { + constructor(context) { + this.context = context; + this.entityTypes = new Resource$Projects$Agent$Entitytypes(this.context); + this.environments = new Resource$Projects$Agent$Environments(this.context); + this.intents = new Resource$Projects$Agent$Intents(this.context); + this.knowledgeBases = new Resource$Projects$Agent$Knowledgebases(this.context); + this.sessions = new Resource$Projects$Agent$Sessions(this.context); + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/agent:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/agent:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restore(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/agent:restore').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/agent:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + train(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/agent:train').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent = Resource$Projects$Agent; + class Resource$Projects$Agent$Entitytypes { + constructor(context) { + this.context = context; + this.entities = new Resource$Projects$Agent$Entitytypes$Entities(this.context); + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Entitytypes = Resource$Projects$Agent$Entitytypes; + class Resource$Projects$Agent$Entitytypes$Entities { + constructor(context) { + this.context = context; + } + batchCreate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entities:batchCreate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entities:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entities:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Entitytypes$Entities = Resource$Projects$Agent$Entitytypes$Entities; + class Resource$Projects$Agent$Environments { + constructor(context) { + this.context = context; + this.users = new Resource$Projects$Agent$Environments$Users(this.context); + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Environments = Resource$Projects$Agent$Environments; + class Resource$Projects$Agent$Environments$Users { + constructor(context) { + this.context = context; + this.sessions = new Resource$Projects$Agent$Environments$Users$Sessions(this.context); + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users = Resource$Projects$Agent$Environments$Users; + class Resource$Projects$Agent$Environments$Users$Sessions { + constructor(context) { + this.context = context; + this.contexts = new Resource$Projects$Agent$Environments$Users$Sessions$Contexts(this.context); + this.entityTypes = new Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes(this.context); + } + deleteContexts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detectIntent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+session}:detectIntent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users$Sessions = Resource$Projects$Agent$Environments$Users$Sessions; + class Resource$Projects$Agent$Environments$Users$Sessions$Contexts { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users$Sessions$Contexts = Resource$Projects$Agent$Environments$Users$Sessions$Contexts; + class Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes = Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes; + class Resource$Projects$Agent$Intents { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/intents:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/intents:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/intents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/intents').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Intents = Resource$Projects$Agent$Intents; + class Resource$Projects$Agent$Knowledgebases { + constructor(context) { + this.context = context; + this.documents = new Resource$Projects$Agent$Knowledgebases$Documents(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Knowledgebases = Resource$Projects$Agent$Knowledgebases; + class Resource$Projects$Agent$Knowledgebases$Documents { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}:reload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Knowledgebases$Documents = Resource$Projects$Agent$Knowledgebases$Documents; + class Resource$Projects$Agent$Sessions { + constructor(context) { + this.context = context; + this.contexts = new Resource$Projects$Agent$Sessions$Contexts(this.context); + this.entityTypes = new Resource$Projects$Agent$Sessions$Entitytypes(this.context); + } + deleteContexts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detectIntent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+session}:detectIntent').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Sessions = Resource$Projects$Agent$Sessions; + class Resource$Projects$Agent$Sessions$Contexts { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Sessions$Contexts = Resource$Projects$Agent$Sessions$Contexts; + class Resource$Projects$Agent$Sessions$Entitytypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Agent$Sessions$Entitytypes = Resource$Projects$Agent$Sessions$Entitytypes; + class Resource$Projects$Knowledgebases { + constructor(context) { + this.context = context; + this.documents = new Resource$Projects$Knowledgebases$Documents(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Knowledgebases = Resource$Projects$Knowledgebases; + class Resource$Projects$Knowledgebases$Documents { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}:reload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Knowledgebases$Documents = Resource$Projects$Knowledgebases$Documents; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dialogflow_v2beta1.Resource$Projects$Operations = Resource$Projects$Operations; +})(dialogflow_v2beta1 = exports.dialogflow_v2beta1 || (exports.dialogflow_v2beta1 = {})); +//# sourceMappingURL=v2beta1.js.map + +/***/ }), + +/***/ 3378: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(70406); +exports.VERSIONS = { + v1: v1_1.digitalassetlinks_v1.Digitalassetlinks, +}; +function digitalassetlinks(versionOrOptions) { + return googleapis_common_1.getAPI('digitalassetlinks', versionOrOptions, exports.VERSIONS, this); +} +exports.digitalassetlinks = digitalassetlinks; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 70406: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var digitalassetlinks_v1; +(function (digitalassetlinks_v1) { + /** + * Digital Asset Links API + * + * Discovers relationships between online assets such as websites or mobile apps. + * + * @example + * const {google} = require('googleapis'); + * const digitalassetlinks = google.digitalassetlinks('v1'); + * + * @namespace digitalassetlinks + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Digitalassetlinks + */ + class Digitalassetlinks { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.assetlinks = new Resource$Assetlinks(this.context); + this.statements = new Resource$Statements(this.context); + } + } + digitalassetlinks_v1.Digitalassetlinks = Digitalassetlinks; + class Resource$Assetlinks { + constructor(context) { + this.context = context; + } + check(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://digitalassetlinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/assetlinks:check').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + digitalassetlinks_v1.Resource$Assetlinks = Resource$Assetlinks; + class Resource$Statements { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://digitalassetlinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/statements:list').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + digitalassetlinks_v1.Resource$Statements = Resource$Statements; +})(digitalassetlinks_v1 = exports.digitalassetlinks_v1 || (exports.digitalassetlinks_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 54595: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(74191); +exports.VERSIONS = { + v1: v1_1.discovery_v1.Discovery, +}; +function discovery(versionOrOptions) { + return googleapis_common_1.getAPI('discovery', versionOrOptions, exports.VERSIONS, this); +} +exports.discovery = discovery; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 74191: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var discovery_v1; +(function (discovery_v1) { + /** + * API Discovery Service + * + * Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API. + * + * @example + * const {google} = require('googleapis'); + * const discovery = google.discovery('v1'); + * + * @namespace discovery + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Discovery + */ + class Discovery { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.apis = new Resource$Apis(this.context); + } + } + discovery_v1.Discovery = Discovery; + class Resource$Apis { + constructor(context) { + this.context = context; + } + getRest(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/discovery/v1/apis/{api}/{version}/rest').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['api', 'version'], + pathParams: ['api', 'version'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/discovery/v1/apis').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + discovery_v1.Resource$Apis = Resource$Apis; +})(discovery_v1 = exports.discovery_v1 || (exports.discovery_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 64485: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(93360); +exports.VERSIONS = { + v2: v2_1.dlp_v2.Dlp, +}; +function dlp(versionOrOptions) { + return googleapis_common_1.getAPI('dlp', versionOrOptions, exports.VERSIONS, this); +} +exports.dlp = dlp; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 93360: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dlp_v2; +(function (dlp_v2) { + /** + * Cloud Data Loss Prevention (DLP) API + * + * Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories. + * + * @example + * const {google} = require('googleapis'); + * const dlp = google.dlp('v2'); + * + * @namespace dlp + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Dlp + */ + class Dlp { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.infoTypes = new Resource$Infotypes(this.context); + this.locations = new Resource$Locations(this.context); + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + dlp_v2.Dlp = Dlp; + class Resource$Infotypes { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/infoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Infotypes = Resource$Infotypes; + class Resource$Locations { + constructor(context) { + this.context = context; + this.infoTypes = new Resource$Locations$Infotypes(this.context); + } + } + dlp_v2.Resource$Locations = Resource$Locations; + class Resource$Locations$Infotypes { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/locations/{locationId}/infoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['locationId'], + pathParams: ['locationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Locations$Infotypes = Resource$Locations$Infotypes; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.deidentifyTemplates = new Resource$Organizations$Deidentifytemplates(this.context); + this.inspectTemplates = new Resource$Organizations$Inspecttemplates(this.context); + this.locations = new Resource$Organizations$Locations(this.context); + this.storedInfoTypes = new Resource$Organizations$Storedinfotypes(this.context); + } + } + dlp_v2.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Deidentifytemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Organizations$Deidentifytemplates = Resource$Organizations$Deidentifytemplates; + class Resource$Organizations$Inspecttemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Organizations$Inspecttemplates = Resource$Organizations$Inspecttemplates; + class Resource$Organizations$Locations { + constructor(context) { + this.context = context; + this.deidentifyTemplates = new Resource$Organizations$Locations$Deidentifytemplates(this.context); + this.inspectTemplates = new Resource$Organizations$Locations$Inspecttemplates(this.context); + this.storedInfoTypes = new Resource$Organizations$Locations$Storedinfotypes(this.context); + } + } + dlp_v2.Resource$Organizations$Locations = Resource$Organizations$Locations; + class Resource$Organizations$Locations$Deidentifytemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Organizations$Locations$Deidentifytemplates = Resource$Organizations$Locations$Deidentifytemplates; + class Resource$Organizations$Locations$Inspecttemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Organizations$Locations$Inspecttemplates = Resource$Organizations$Locations$Inspecttemplates; + class Resource$Organizations$Locations$Storedinfotypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Organizations$Locations$Storedinfotypes = Resource$Organizations$Locations$Storedinfotypes; + class Resource$Organizations$Storedinfotypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Organizations$Storedinfotypes = Resource$Organizations$Storedinfotypes; + class Resource$Projects { + constructor(context) { + this.context = context; + this.content = new Resource$Projects$Content(this.context); + this.deidentifyTemplates = new Resource$Projects$Deidentifytemplates(this.context); + this.dlpJobs = new Resource$Projects$Dlpjobs(this.context); + this.image = new Resource$Projects$Image(this.context); + this.inspectTemplates = new Resource$Projects$Inspecttemplates(this.context); + this.jobTriggers = new Resource$Projects$Jobtriggers(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.storedInfoTypes = new Resource$Projects$Storedinfotypes(this.context); + } + } + dlp_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Content { + constructor(context) { + this.context = context; + } + deidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/content:deidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + inspect(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/content:inspect').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/content:reidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Content = Resource$Projects$Content; + class Resource$Projects$Deidentifytemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Deidentifytemplates = Resource$Projects$Deidentifytemplates; + class Resource$Projects$Dlpjobs { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/dlpJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/dlpJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Dlpjobs = Resource$Projects$Dlpjobs; + class Resource$Projects$Image { + constructor(context) { + this.context = context; + } + redact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/image:redact').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Image = Resource$Projects$Image; + class Resource$Projects$Inspecttemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Inspecttemplates = Resource$Projects$Inspecttemplates; + class Resource$Projects$Jobtriggers { + constructor(context) { + this.context = context; + } + activate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:activate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/jobTriggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/jobTriggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Jobtriggers = Resource$Projects$Jobtriggers; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.content = new Resource$Projects$Locations$Content(this.context); + this.deidentifyTemplates = new Resource$Projects$Locations$Deidentifytemplates(this.context); + this.dlpJobs = new Resource$Projects$Locations$Dlpjobs(this.context); + this.image = new Resource$Projects$Locations$Image(this.context); + this.inspectTemplates = new Resource$Projects$Locations$Inspecttemplates(this.context); + this.jobTriggers = new Resource$Projects$Locations$Jobtriggers(this.context); + this.storedInfoTypes = new Resource$Projects$Locations$Storedinfotypes(this.context); + } + } + dlp_v2.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Content { + constructor(context) { + this.context = context; + } + deidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/{+parent}/locations/{locationId}/content:deidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + inspect(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/content:inspect').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/{+parent}/locations/{locationId}/content:reidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Content = Resource$Projects$Locations$Content; + class Resource$Projects$Locations$Deidentifytemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Deidentifytemplates = Resource$Projects$Locations$Deidentifytemplates; + class Resource$Projects$Locations$Dlpjobs { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/dlpJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/dlpJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Dlpjobs = Resource$Projects$Locations$Dlpjobs; + class Resource$Projects$Locations$Image { + constructor(context) { + this.context = context; + } + redact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/image:redact').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Image = Resource$Projects$Locations$Image; + class Resource$Projects$Locations$Inspecttemplates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Inspecttemplates = Resource$Projects$Locations$Inspecttemplates; + class Resource$Projects$Locations$Jobtriggers { + constructor(context) { + this.context = context; + } + activate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:activate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/jobTriggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/jobTriggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Jobtriggers = Resource$Projects$Locations$Jobtriggers; + class Resource$Projects$Locations$Storedinfotypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'locationId'], + pathParams: ['locationId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Locations$Storedinfotypes = Resource$Projects$Locations$Storedinfotypes; + class Resource$Projects$Storedinfotypes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dlp_v2.Resource$Projects$Storedinfotypes = Resource$Projects$Storedinfotypes; +})(dlp_v2 = exports.dlp_v2 || (exports.dlp_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 10468: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(68469); +const v1beta2_1 = __nccwpck_require__(99517); +const v2beta1_1 = __nccwpck_require__(7207); +exports.VERSIONS = { + v1: v1_1.dns_v1.Dns, + v1beta2: v1beta2_1.dns_v1beta2.Dns, + v2beta1: v2beta1_1.dns_v2beta1.Dns, +}; +function dns(versionOrOptions) { + return googleapis_common_1.getAPI('dns', versionOrOptions, exports.VERSIONS, this); +} +exports.dns = dns; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 68469: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dns_v1; +(function (dns_v1) { + /** + * Google Cloud DNS API + * + * Configures and serves authoritative DNS records. + * + * @example + * const {google} = require('googleapis'); + * const dns = google.dns('v1'); + * + * @namespace dns + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Dns + */ + class Dns { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.changes = new Resource$Changes(this.context); + this.dnsKeys = new Resource$Dnskeys(this.context); + this.managedZoneOperations = new Resource$Managedzoneoperations(this.context); + this.managedZones = new Resource$Managedzones(this.context); + this.policies = new Resource$Policies(this.context); + this.projects = new Resource$Projects(this.context); + this.resourceRecordSets = new Resource$Resourcerecordsets(this.context); + } + } + dns_v1.Dns = Dns; + class Resource$Changes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/changes/{changeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'changeId'], + pathParams: ['changeId', 'managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Changes = Resource$Changes; + class Resource$Dnskeys { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'dnsKeyId'], + pathParams: ['dnsKeyId', 'managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Dnskeys = Resource$Dnskeys; + class Resource$Managedzoneoperations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'operation'], + pathParams: ['managedZone', 'operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Managedzoneoperations = Resource$Managedzoneoperations; + class Resource$Managedzones { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/managedZones').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/managedZones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Managedzones = Resource$Managedzones; + class Resource$Policies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Policies = Resource$Policies; + class Resource$Projects { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1/projects/{project}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Projects = Resource$Projects; + class Resource$Resourcerecordsets { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1/projects/{project}/managedZones/{managedZone}/rrsets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1.Resource$Resourcerecordsets = Resource$Resourcerecordsets; +})(dns_v1 = exports.dns_v1 || (exports.dns_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 99517: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dns_v1beta2; +(function (dns_v1beta2) { + /** + * Google Cloud DNS API + * + * Configures and serves authoritative DNS records. + * + * @example + * const {google} = require('googleapis'); + * const dns = google.dns('v1beta2'); + * + * @namespace dns + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Dns + */ + class Dns { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.changes = new Resource$Changes(this.context); + this.dnsKeys = new Resource$Dnskeys(this.context); + this.managedZoneOperations = new Resource$Managedzoneoperations(this.context); + this.managedZones = new Resource$Managedzones(this.context); + this.policies = new Resource$Policies(this.context); + this.projects = new Resource$Projects(this.context); + this.resourceRecordSets = new Resource$Resourcerecordsets(this.context); + } + } + dns_v1beta2.Dns = Dns; + class Resource$Changes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'changeId'], + pathParams: ['changeId', 'managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Changes = Resource$Changes; + class Resource$Dnskeys { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'dnsKeyId'], + pathParams: ['dnsKeyId', 'managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Dnskeys = Resource$Dnskeys; + class Resource$Managedzoneoperations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'operation'], + pathParams: ['managedZone', 'operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Managedzoneoperations = Resource$Managedzoneoperations; + class Resource$Managedzones { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/managedZones').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/managedZones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Managedzones = Resource$Managedzones; + class Resource$Policies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Policies = Resource$Policies; + class Resource$Projects { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v1beta2/projects/{project}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Projects = Resource$Projects; + class Resource$Resourcerecordsets { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v1beta2.Resource$Resourcerecordsets = Resource$Resourcerecordsets; +})(dns_v1beta2 = exports.dns_v1beta2 || (exports.dns_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 7207: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var dns_v2beta1; +(function (dns_v2beta1) { + /** + * Google Cloud DNS API + * + * Configures and serves authoritative DNS records. + * + * @example + * const {google} = require('googleapis'); + * const dns = google.dns('v2beta1'); + * + * @namespace dns + * @type {Function} + * @version v2beta1 + * @variation v2beta1 + * @param {object=} options Options for Dns + */ + class Dns { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.changes = new Resource$Changes(this.context); + this.dnsKeys = new Resource$Dnskeys(this.context); + this.managedZoneOperations = new Resource$Managedzoneoperations(this.context); + this.managedZones = new Resource$Managedzones(this.context); + this.policies = new Resource$Policies(this.context); + this.projects = new Resource$Projects(this.context); + this.resourceRecordSets = new Resource$Resourcerecordsets(this.context); + } + } + dns_v2beta1.Dns = Dns; + class Resource$Changes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes/{changeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'changeId'], + pathParams: ['changeId', 'managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Changes = Resource$Changes; + class Resource$Dnskeys { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'dnsKeyId'], + pathParams: ['dnsKeyId', 'managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Dnskeys = Resource$Dnskeys; + class Resource$Managedzoneoperations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone', 'operation'], + pathParams: ['managedZone', 'operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Managedzoneoperations = Resource$Managedzoneoperations; + class Resource$Managedzones { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/managedZones').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/managedZones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Managedzones = Resource$Managedzones; + class Resource$Policies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/policies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'policy'], + pathParams: ['policy', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Policies = Resource$Policies; + class Resource$Projects { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/dns/v2beta1/projects/{project}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Projects = Resource$Projects; + class Resource$Resourcerecordsets { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://dns.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/rrsets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'managedZone'], + pathParams: ['managedZone', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + dns_v2beta1.Resource$Resourcerecordsets = Resource$Resourcerecordsets; +})(dns_v2beta1 = exports.dns_v2beta1 || (exports.dns_v2beta1 = {})); +//# sourceMappingURL=v2beta1.js.map + +/***/ }), + +/***/ 61000: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(98364); +exports.VERSIONS = { + v1: v1_1.docs_v1.Docs, +}; +function docs(versionOrOptions) { + return googleapis_common_1.getAPI('docs', versionOrOptions, exports.VERSIONS, this); +} +exports.docs = docs; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 98364: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var docs_v1; +(function (docs_v1) { + /** + * Google Docs API + * + * Reads and writes Google Docs documents. + * + * @example + * const {google} = require('googleapis'); + * const docs = google.docs('v1'); + * + * @namespace docs + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Docs + */ + class Docs { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.documents = new Resource$Documents(this.context); + } + } + docs_v1.Docs = Docs; + class Resource$Documents { + constructor(context) { + this.context = context; + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://docs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents/{documentId}:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['documentId'], + pathParams: ['documentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://docs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://docs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents/{documentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['documentId'], + pathParams: ['documentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + docs_v1.Resource$Documents = Resource$Documents; +})(docs_v1 = exports.docs_v1 || (exports.docs_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 42098: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(16433); +exports.VERSIONS = { + v1: v1_1.domainsrdap_v1.Domainsrdap, +}; +function domainsrdap(versionOrOptions) { + return googleapis_common_1.getAPI('domainsrdap', versionOrOptions, exports.VERSIONS, this); +} +exports.domainsrdap = domainsrdap; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 16433: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var domainsrdap_v1; +(function (domainsrdap_v1) { + /** + * Domains RDAP API + * + * Read-only public API that lets users search for information about domain names. + * + * @example + * const {google} = require('googleapis'); + * const domainsrdap = google.domainsrdap('v1'); + * + * @namespace domainsrdap + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Domainsrdap + */ + class Domainsrdap { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.autnum = new Resource$Autnum(this.context); + this.domain = new Resource$Domain(this.context); + this.entity = new Resource$Entity(this.context); + this.ip = new Resource$Ip(this.context); + this.nameserver = new Resource$Nameserver(this.context); + this.v1 = new Resource$V1(this.context); + } + } + domainsrdap_v1.Domainsrdap = Domainsrdap; + class Resource$Autnum { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/autnum/{autnumId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['autnumId'], + pathParams: ['autnumId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + domainsrdap_v1.Resource$Autnum = Resource$Autnum; + class Resource$Domain { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/domain/{+domainName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['domainName'], + pathParams: ['domainName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + domainsrdap_v1.Resource$Domain = Resource$Domain; + class Resource$Entity { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/entity/{entityId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['entityId'], + pathParams: ['entityId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + domainsrdap_v1.Resource$Entity = Resource$Entity; + class Resource$Ip { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/ip/{ipId}/{ipId1}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['ipId', 'ipId1'], + pathParams: ['ipId', 'ipId1'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + domainsrdap_v1.Resource$Ip = Resource$Ip; + class Resource$Nameserver { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/nameserver/{nameserverId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['nameserverId'], + pathParams: ['nameserverId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + domainsrdap_v1.Resource$Nameserver = Resource$Nameserver; + class Resource$V1 { + constructor(context) { + this.context = context; + } + getDomains(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/domains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getEntities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/entities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getHelp(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/help').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIp(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/ip').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getNameservers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/nameservers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + domainsrdap_v1.Resource$V1 = Resource$V1; +})(domainsrdap_v1 = exports.domainsrdap_v1 || (exports.domainsrdap_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 52427: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1_1 = __nccwpck_require__(61891); +const v1_1 = __nccwpck_require__(42565); +exports.VERSIONS = { + 'v1.1': v1_1_1.doubleclickbidmanager_v1_1.Doubleclickbidmanager, + v1: v1_1.doubleclickbidmanager_v1.Doubleclickbidmanager, +}; +function doubleclickbidmanager(versionOrOptions) { + return googleapis_common_1.getAPI('doubleclickbidmanager', versionOrOptions, exports.VERSIONS, this); +} +exports.doubleclickbidmanager = doubleclickbidmanager; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 61891: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var doubleclickbidmanager_v1_1; +(function (doubleclickbidmanager_v1_1) { + /** + * DoubleClick Bid Manager API + * + * API for viewing and managing your reports in DoubleClick Bid Manager. + * + * @example + * const {google} = require('googleapis'); + * const doubleclickbidmanager = google.doubleclickbidmanager('v1.1'); + * + * @namespace doubleclickbidmanager + * @type {Function} + * @version v1.1 + * @variation v1.1 + * @param {object=} options Options for Doubleclickbidmanager + */ + class Doubleclickbidmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.lineitems = new Resource$Lineitems(this.context); + this.queries = new Resource$Queries(this.context); + this.reports = new Resource$Reports(this.context); + this.sdf = new Resource$Sdf(this.context); + } + } + doubleclickbidmanager_v1_1.Doubleclickbidmanager = Doubleclickbidmanager; + class Resource$Lineitems { + constructor(context) { + this.context = context; + } + downloadlineitems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/doubleclickbidmanager/v1.1/lineitems/downloadlineitems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + uploadlineitems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/lineitems/uploadlineitems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1_1.Resource$Lineitems = Resource$Lineitems; + class Resource$Queries { + constructor(context) { + this.context = context; + } + createquery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deletequery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/query/{queryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getquery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/query/{queryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listqueries(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/queries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runquery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/query/{queryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1_1.Resource$Queries = Resource$Queries; + class Resource$Reports { + constructor(context) { + this.context = context; + } + listreports(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/queries/{queryId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1_1.Resource$Reports = Resource$Reports; + class Resource$Sdf { + constructor(context) { + this.context = context; + } + download(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1.1/sdf/download').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1_1.Resource$Sdf = Resource$Sdf; +})(doubleclickbidmanager_v1_1 = exports.doubleclickbidmanager_v1_1 || (exports.doubleclickbidmanager_v1_1 = {})); +//# sourceMappingURL=v1.1.js.map + +/***/ }), + +/***/ 42565: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var doubleclickbidmanager_v1; +(function (doubleclickbidmanager_v1) { + /** + * DoubleClick Bid Manager API + * + * API for viewing and managing your reports in DoubleClick Bid Manager. + * + * @example + * const {google} = require('googleapis'); + * const doubleclickbidmanager = google.doubleclickbidmanager('v1'); + * + * @namespace doubleclickbidmanager + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Doubleclickbidmanager + */ + class Doubleclickbidmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.lineitems = new Resource$Lineitems(this.context); + this.queries = new Resource$Queries(this.context); + this.reports = new Resource$Reports(this.context); + this.sdf = new Resource$Sdf(this.context); + } + } + doubleclickbidmanager_v1.Doubleclickbidmanager = Doubleclickbidmanager; + class Resource$Lineitems { + constructor(context) { + this.context = context; + } + downloadlineitems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/lineitems/downloadlineitems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + uploadlineitems(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/lineitems/uploadlineitems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1.Resource$Lineitems = Resource$Lineitems; + class Resource$Queries { + constructor(context) { + this.context = context; + } + createquery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deletequery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/query/{queryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getquery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/query/{queryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listqueries(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/queries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runquery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/query/{queryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1.Resource$Queries = Resource$Queries; + class Resource$Reports { + constructor(context) { + this.context = context; + } + listreports(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/queries/{queryId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['queryId'], + pathParams: ['queryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1.Resource$Reports = Resource$Reports; + class Resource$Sdf { + constructor(context) { + this.context = context; + } + download(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclickbidmanager/v1/sdf/download').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclickbidmanager_v1.Resource$Sdf = Resource$Sdf; +})(doubleclickbidmanager_v1 = exports.doubleclickbidmanager_v1 || (exports.doubleclickbidmanager_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 1340: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(72660); +exports.VERSIONS = { + v2: v2_1.doubleclicksearch_v2.Doubleclicksearch, +}; +function doubleclicksearch(versionOrOptions) { + return googleapis_common_1.getAPI('doubleclicksearch', versionOrOptions, exports.VERSIONS, this); +} +exports.doubleclicksearch = doubleclicksearch; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 72660: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var doubleclicksearch_v2; +(function (doubleclicksearch_v2) { + /** + * Search Ads 360 API + * + * Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions). + * + * @example + * const {google} = require('googleapis'); + * const doubleclicksearch = google.doubleclicksearch('v2'); + * + * @namespace doubleclicksearch + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Doubleclicksearch + */ + class Doubleclicksearch { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.conversion = new Resource$Conversion(this.context); + this.reports = new Resource$Reports(this.context); + this.savedColumns = new Resource$Savedcolumns(this.context); + } + } + doubleclicksearch_v2.Doubleclicksearch = Doubleclicksearch; + class Resource$Conversion { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'agencyId', + 'advertiserId', + 'engineAccountId', + 'endDate', + 'rowCount', + 'startDate', + 'startRow', + ], + pathParams: ['advertiserId', 'agencyId', 'engineAccountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/conversion').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/conversion').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: [ + 'advertiserId', + 'agencyId', + 'endDate', + 'engineAccountId', + 'rowCount', + 'startDate', + 'startRow', + ], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/conversion').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAvailability(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/conversion/updateAvailability').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclicksearch_v2.Resource$Conversion = Resource$Conversion; + class Resource$Reports { + constructor(context) { + this.context = context; + } + generate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/reports/generate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['reportId'], + pathParams: ['reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getFile(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/doubleclicksearch/v2/reports/{reportId}/files/{reportFragment}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['reportId', 'reportFragment'], + pathParams: ['reportFragment', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + request(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/doubleclicksearch/v2/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclicksearch_v2.Resource$Reports = Resource$Reports; + class Resource$Savedcolumns { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/savedcolumns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['agencyId', 'advertiserId'], + pathParams: ['advertiserId', 'agencyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + doubleclicksearch_v2.Resource$Savedcolumns = Resource$Savedcolumns; +})(doubleclicksearch_v2 = exports.doubleclicksearch_v2 || (exports.doubleclicksearch_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 21555: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(22511); +const v3_1 = __nccwpck_require__(23698); +exports.VERSIONS = { + v2: v2_1.drive_v2.Drive, + v3: v3_1.drive_v3.Drive, +}; +function drive(versionOrOptions) { + return googleapis_common_1.getAPI('drive', versionOrOptions, exports.VERSIONS, this); +} +exports.drive = drive; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 22511: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var drive_v2; +(function (drive_v2) { + /** + * Drive API + * + * Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. + * + * @example + * const {google} = require('googleapis'); + * const drive = google.drive('v2'); + * + * @namespace drive + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Drive + */ + class Drive { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.about = new Resource$About(this.context); + this.apps = new Resource$Apps(this.context); + this.changes = new Resource$Changes(this.context); + this.channels = new Resource$Channels(this.context); + this.children = new Resource$Children(this.context); + this.comments = new Resource$Comments(this.context); + this.drives = new Resource$Drives(this.context); + this.files = new Resource$Files(this.context); + this.parents = new Resource$Parents(this.context); + this.permissions = new Resource$Permissions(this.context); + this.properties = new Resource$Properties(this.context); + this.replies = new Resource$Replies(this.context); + this.revisions = new Resource$Revisions(this.context); + this.teamdrives = new Resource$Teamdrives(this.context); + } + } + drive_v2.Drive = Drive; + class Resource$About { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/about').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$About = Resource$About; + class Resource$Apps { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/apps/{appId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['appId'], + pathParams: ['appId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/apps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Apps = Resource$Apps; + class Resource$Changes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/changes/{changeId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['changeId'], + pathParams: ['changeId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getStartPageToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/changes/startPageToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/changes/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Changes = Resource$Changes; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Channels = Resource$Channels; + class Resource$Children { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{folderId}/children/{childId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['folderId', 'childId'], + pathParams: ['childId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{folderId}/children/{childId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['folderId', 'childId'], + pathParams: ['childId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{folderId}/children').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['folderId'], + pathParams: ['folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{folderId}/children').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['folderId'], + pathParams: ['folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Children = Resource$Children; + class Resource$Comments { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Comments = Resource$Comments; + class Resource$Drives { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives/{driveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives/{driveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + hide(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives/{driveId}/hide').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['requestId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unhide(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives/{driveId}/unhide').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/drives/{driveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Drives = Resource$Drives; + class Resource$Files { + constructor(context) { + this.context = context; + } + copy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/copy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + emptyTrash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/trash').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/export').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'mimeType'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/generateIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/drive/v2/files').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + touch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/touch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + trash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/trash').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + untrash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/untrash').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + mediaUrl: (rootUrl + '/upload/drive/v2/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Files = Resource$Files; + class Resource$Parents { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/parents/{parentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'parentId'], + pathParams: ['fileId', 'parentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/parents/{parentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'parentId'], + pathParams: ['fileId', 'parentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/parents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/parents').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Parents = Resource$Parents; + class Resource$Permissions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIdForEmail(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/permissionIds/{email}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['email'], + pathParams: ['email'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Permissions = Resource$Permissions; + class Resource$Properties { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'propertyKey'], + pathParams: ['fileId', 'propertyKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'propertyKey'], + pathParams: ['fileId', 'propertyKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/properties').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/properties').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'propertyKey'], + pathParams: ['fileId', 'propertyKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['fileId', 'propertyKey'], + pathParams: ['fileId', 'propertyKey'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Properties = Resource$Properties; + class Resource$Replies { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Replies = Resource$Replies; + class Resource$Revisions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/revisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Revisions = Resource$Revisions; + class Resource$Teamdrives { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/teamdrives/{teamDriveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['teamDriveId'], + pathParams: ['teamDriveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/teamdrives/{teamDriveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['teamDriveId'], + pathParams: ['teamDriveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/teamdrives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['requestId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/teamdrives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v2/teamdrives/{teamDriveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['teamDriveId'], + pathParams: ['teamDriveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v2.Resource$Teamdrives = Resource$Teamdrives; +})(drive_v2 = exports.drive_v2 || (exports.drive_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 23698: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var drive_v3; +(function (drive_v3) { + /** + * Drive API + * + * Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. + * + * @example + * const {google} = require('googleapis'); + * const drive = google.drive('v3'); + * + * @namespace drive + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Drive + */ + class Drive { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.about = new Resource$About(this.context); + this.changes = new Resource$Changes(this.context); + this.channels = new Resource$Channels(this.context); + this.comments = new Resource$Comments(this.context); + this.drives = new Resource$Drives(this.context); + this.files = new Resource$Files(this.context); + this.permissions = new Resource$Permissions(this.context); + this.replies = new Resource$Replies(this.context); + this.revisions = new Resource$Revisions(this.context); + this.teamdrives = new Resource$Teamdrives(this.context); + } + } + drive_v3.Drive = Drive; + class Resource$About { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/about').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$About = Resource$About; + class Resource$Changes { + constructor(context) { + this.context = context; + } + getStartPageToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/changes/startPageToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/changes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['pageToken'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/changes/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['pageToken'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Changes = Resource$Changes; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Channels = Resource$Channels; + class Resource$Comments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Comments = Resource$Comments; + class Resource$Drives { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['requestId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives/{driveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives/{driveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + hide(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives/{driveId}/hide').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unhide(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives/{driveId}/unhide').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/drives/{driveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['driveId'], + pathParams: ['driveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Drives = Resource$Drives; + class Resource$Files { + constructor(context) { + this.context = context; + } + copy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/copy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/drive/v3/files').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + emptyTrash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/trash').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/export').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'mimeType'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/generateIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + mediaUrl: (rootUrl + '/upload/drive/v3/files/{fileId}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Files = Resource$Files; + class Resource$Permissions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'permissionId'], + pathParams: ['fileId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Permissions = Resource$Permissions; + class Resource$Replies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'commentId'], + pathParams: ['commentId', 'fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'commentId', 'replyId'], + pathParams: ['commentId', 'fileId', 'replyId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Replies = Resource$Replies; + class Resource$Revisions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/revisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['fileId'], + pathParams: ['fileId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/files/{fileId}/revisions/{revisionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['fileId', 'revisionId'], + pathParams: ['fileId', 'revisionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Revisions = Resource$Revisions; + class Resource$Teamdrives { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/teamdrives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['requestId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/teamdrives/{teamDriveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['teamDriveId'], + pathParams: ['teamDriveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/teamdrives/{teamDriveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['teamDriveId'], + pathParams: ['teamDriveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/teamdrives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/drive/v3/teamdrives/{teamDriveId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['teamDriveId'], + pathParams: ['teamDriveId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + drive_v3.Resource$Teamdrives = Resource$Teamdrives; +})(drive_v3 = exports.drive_v3 || (exports.drive_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 75137: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(61742); +exports.VERSIONS = { + v2: v2_1.driveactivity_v2.Driveactivity, +}; +function driveactivity(versionOrOptions) { + return googleapis_common_1.getAPI('driveactivity', versionOrOptions, exports.VERSIONS, this); +} +exports.driveactivity = driveactivity; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 61742: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var driveactivity_v2; +(function (driveactivity_v2) { + /** + * Drive Activity API + * + * Provides a historical view of activity in Google Drive. + * + * @example + * const {google} = require('googleapis'); + * const driveactivity = google.driveactivity('v2'); + * + * @namespace driveactivity + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Driveactivity + */ + class Driveactivity { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.activity = new Resource$Activity(this.context); + } + } + driveactivity_v2.Driveactivity = Driveactivity; + class Resource$Activity { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://driveactivity.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/activity:query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + driveactivity_v2.Resource$Activity = Resource$Activity; +})(driveactivity_v2 = exports.driveactivity_v2 || (exports.driveactivity_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 66057: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1alpha1_1 = __nccwpck_require__(90706); +exports.VERSIONS = { + v1alpha1: v1alpha1_1.factchecktools_v1alpha1.Factchecktools, +}; +function factchecktools(versionOrOptions) { + return googleapis_common_1.getAPI('factchecktools', versionOrOptions, exports.VERSIONS, this); +} +exports.factchecktools = factchecktools; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 90706: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var factchecktools_v1alpha1; +(function (factchecktools_v1alpha1) { + /** + * Fact Check Tools API + * + * + * + * @example + * const {google} = require('googleapis'); + * const factchecktools = google.factchecktools('v1alpha1'); + * + * @namespace factchecktools + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Factchecktools + */ + class Factchecktools { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.claims = new Resource$Claims(this.context); + this.pages = new Resource$Pages(this.context); + } + } + factchecktools_v1alpha1.Factchecktools = Factchecktools; + class Resource$Claims { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/claims:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + factchecktools_v1alpha1.Resource$Claims = Resource$Claims; + class Resource$Pages { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/pages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + factchecktools_v1alpha1.Resource$Pages = Resource$Pages; +})(factchecktools_v1alpha1 = exports.factchecktools_v1alpha1 || (exports.factchecktools_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 26287: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(55943); +exports.VERSIONS = { + v1: v1_1.fcm_v1.Fcm, +}; +function fcm(versionOrOptions) { + return googleapis_common_1.getAPI('fcm', versionOrOptions, exports.VERSIONS, this); +} +exports.fcm = fcm; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 55943: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var fcm_v1; +(function (fcm_v1) { + /** + * Firebase Cloud Messaging API + * + * FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost. + * + * @example + * const {google} = require('googleapis'); + * const fcm = google.fcm('v1'); + * + * @namespace fcm + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Fcm + */ + class Fcm { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + fcm_v1.Fcm = Fcm; + class Resource$Projects { + constructor(context) { + this.context = context; + this.messages = new Resource$Projects$Messages(this.context); + } + } + fcm_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Messages { + constructor(context) { + this.context = context; + } + send(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://fcm.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/messages:send').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + fcm_v1.Resource$Projects$Messages = Resource$Projects$Messages; +})(fcm_v1 = exports.fcm_v1 || (exports.fcm_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 22678: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(31816); +const v1beta1_1 = __nccwpck_require__(74107); +exports.VERSIONS = { + v1: v1_1.file_v1.File, + v1beta1: v1beta1_1.file_v1beta1.File, +}; +function file(versionOrOptions) { + return googleapis_common_1.getAPI('file', versionOrOptions, exports.VERSIONS, this); +} +exports.file = file; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 31816: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var file_v1; +(function (file_v1) { + /** + * Cloud Filestore API + * + * The Cloud Filestore API is used for creating and managing cloud file servers. + * + * @example + * const {google} = require('googleapis'); + * const file = google.file('v1'); + * + * @namespace file + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for File + */ + class File { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + file_v1.File = File; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + file_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Instances(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + file_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Instances { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + file_v1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + file_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(file_v1 = exports.file_v1 || (exports.file_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 74107: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var file_v1beta1; +(function (file_v1beta1) { + /** + * Cloud Filestore API + * + * The Cloud Filestore API is used for creating and managing cloud file servers. + * + * @example + * const {google} = require('googleapis'); + * const file = google.file('v1beta1'); + * + * @namespace file + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for File + */ + class File { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + file_v1beta1.File = File; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + file_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Instances(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + file_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Instances { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + file_v1beta1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://file.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + file_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(file_v1beta1 = exports.file_v1beta1 || (exports.file_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 91087: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(37418); +exports.VERSIONS = { + v1beta1: v1beta1_1.firebase_v1beta1.Firebase, +}; +function firebase(versionOrOptions) { + return googleapis_common_1.getAPI('firebase', versionOrOptions, exports.VERSIONS, this); +} +exports.firebase = firebase; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 37418: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firebase_v1beta1; +(function (firebase_v1beta1) { + /** + * Firebase Management API + * + * The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps. + * + * @example + * const {google} = require('googleapis'); + * const firebase = google.firebase('v1beta1'); + * + * @namespace firebase + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Firebase + */ + class Firebase { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.availableProjects = new Resource$Availableprojects(this.context); + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + firebase_v1beta1.Firebase = Firebase; + class Resource$Availableprojects { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/availableProjects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Availableprojects = Resource$Availableprojects; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.androidApps = new Resource$Projects$Androidapps(this.context); + this.availableLocations = new Resource$Projects$Availablelocations(this.context); + this.defaultLocation = new Resource$Projects$Defaultlocation(this.context); + this.iosApps = new Resource$Projects$Iosapps(this.context); + this.webApps = new Resource$Projects$Webapps(this.context); + } + addFirebase(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+project}:addFirebase').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + addGoogleAnalytics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:addGoogleAnalytics').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAdminSdkConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAnalyticsDetails(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeAnalytics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:removeAnalytics').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchApps(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:searchApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Androidapps { + constructor(context) { + this.context = context; + this.sha = new Resource$Projects$Androidapps$Sha(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/androidApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/androidApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects$Androidapps = Resource$Projects$Androidapps; + class Resource$Projects$Androidapps$Sha { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/sha').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/sha').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects$Androidapps$Sha = Resource$Projects$Androidapps$Sha; + class Resource$Projects$Availablelocations { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/availableLocations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects$Availablelocations = Resource$Projects$Availablelocations; + class Resource$Projects$Defaultlocation { + constructor(context) { + this.context = context; + } + finalize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/defaultLocation:finalize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects$Defaultlocation = Resource$Projects$Defaultlocation; + class Resource$Projects$Iosapps { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/iosApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/iosApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects$Iosapps = Resource$Projects$Iosapps; + class Resource$Projects$Webapps { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/webApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/webApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebase_v1beta1.Resource$Projects$Webapps = Resource$Projects$Webapps; +})(firebase_v1beta1 = exports.firebase_v1beta1 || (exports.firebase_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 67602: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(5989); +exports.VERSIONS = { + v1: v1_1.firebasedynamiclinks_v1.Firebasedynamiclinks, +}; +function firebasedynamiclinks(versionOrOptions) { + return googleapis_common_1.getAPI('firebasedynamiclinks', versionOrOptions, exports.VERSIONS, this); +} +exports.firebasedynamiclinks = firebasedynamiclinks; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 5989: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firebasedynamiclinks_v1; +(function (firebasedynamiclinks_v1) { + /** + * Firebase Dynamic Links API + * + * Programmatically creates and manages Firebase Dynamic Links. + * + * @example + * const {google} = require('googleapis'); + * const firebasedynamiclinks = google.firebasedynamiclinks('v1'); + * + * @namespace firebasedynamiclinks + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Firebasedynamiclinks + */ + class Firebasedynamiclinks { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.managedShortLinks = new Resource$Managedshortlinks(this.context); + this.shortLinks = new Resource$Shortlinks(this.context); + this.v1 = new Resource$V1(this.context); + } + } + firebasedynamiclinks_v1.Firebasedynamiclinks = Firebasedynamiclinks; + class Resource$Managedshortlinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/managedShortLinks:create').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasedynamiclinks_v1.Resource$Managedshortlinks = Resource$Managedshortlinks; + class Resource$Shortlinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/shortLinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasedynamiclinks_v1.Resource$Shortlinks = Resource$Shortlinks; + class Resource$V1 { + constructor(context) { + this.context = context; + } + getLinkStats(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{dynamicLink}/linkStats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['dynamicLink'], + pathParams: ['dynamicLink'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + installAttribution(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/installAttribution').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reopenAttribution(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/reopenAttribution').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasedynamiclinks_v1.Resource$V1 = Resource$V1; +})(firebasedynamiclinks_v1 = exports.firebasedynamiclinks_v1 || (exports.firebasedynamiclinks_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 47893: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(75245); +exports.VERSIONS = { + v1beta1: v1beta1_1.firebasehosting_v1beta1.Firebasehosting, +}; +function firebasehosting(versionOrOptions) { + return googleapis_common_1.getAPI('firebasehosting', versionOrOptions, exports.VERSIONS, this); +} +exports.firebasehosting = firebasehosting; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 75245: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firebasehosting_v1beta1; +(function (firebasehosting_v1beta1) { + /** + * Firebase Hosting API + * + * The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API to deploy new or updated hosting configurations and content files. + * + * @example + * const {google} = require('googleapis'); + * const firebasehosting = google.firebasehosting('v1beta1'); + * + * @namespace firebasehosting + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Firebasehosting + */ + class Firebasehosting { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.sites = new Resource$Sites(this.context); + } + } + firebasehosting_v1beta1.Firebasehosting = Firebasehosting; + class Resource$Sites { + constructor(context) { + this.context = context; + this.domains = new Resource$Sites$Domains(this.context); + this.releases = new Resource$Sites$Releases(this.context); + this.versions = new Resource$Sites$Versions(this.context); + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasehosting_v1beta1.Resource$Sites = Resource$Sites; + class Resource$Sites$Domains { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/domains').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/domains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasehosting_v1beta1.Resource$Sites$Domains = Resource$Sites$Domains; + class Resource$Sites$Releases { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/releases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/releases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasehosting_v1beta1.Resource$Sites$Releases = Resource$Sites$Releases; + class Resource$Sites$Versions { + constructor(context) { + this.context = context; + this.files = new Resource$Sites$Versions$Files(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + populateFiles(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:populateFiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasehosting_v1beta1.Resource$Sites$Versions = Resource$Sites$Versions; + class Resource$Sites$Versions$Files { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/files').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebasehosting_v1beta1.Resource$Sites$Versions$Files = Resource$Sites$Versions$Files; +})(firebasehosting_v1beta1 = exports.firebasehosting_v1beta1 || (exports.firebasehosting_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 46068: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(79674); +exports.VERSIONS = { + v1: v1_1.firebaserules_v1.Firebaserules, +}; +function firebaserules(versionOrOptions) { + return googleapis_common_1.getAPI('firebaserules', versionOrOptions, exports.VERSIONS, this); +} +exports.firebaserules = firebaserules; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 79674: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firebaserules_v1; +(function (firebaserules_v1) { + /** + * Firebase Rules API + * + * Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. + * + * @example + * const {google} = require('googleapis'); + * const firebaserules = google.firebaserules('v1'); + * + * @namespace firebaserules + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Firebaserules + */ + class Firebaserules { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + firebaserules_v1.Firebaserules = Firebaserules; + class Resource$Projects { + constructor(context) { + this.context = context; + this.releases = new Resource$Projects$Releases(this.context); + this.rulesets = new Resource$Projects$Rulesets(this.context); + } + test(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:test').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebaserules_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Releases { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/releases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getExecutable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:getExecutable').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/releases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebaserules_v1.Resource$Projects$Releases = Resource$Projects$Releases; + class Resource$Projects$Rulesets { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/rulesets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/rulesets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firebaserules_v1.Resource$Projects$Rulesets = Resource$Projects$Rulesets; +})(firebaserules_v1 = exports.firebaserules_v1 || (exports.firebaserules_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 11015: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(78465); +const v1beta1_1 = __nccwpck_require__(83092); +const v1beta2_1 = __nccwpck_require__(46490); +exports.VERSIONS = { + v1: v1_1.firestore_v1.Firestore, + v1beta1: v1beta1_1.firestore_v1beta1.Firestore, + v1beta2: v1beta2_1.firestore_v1beta2.Firestore, +}; +function firestore(versionOrOptions) { + return googleapis_common_1.getAPI('firestore', versionOrOptions, exports.VERSIONS, this); +} +exports.firestore = firestore; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 78465: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firestore_v1; +(function (firestore_v1) { + /** + * Cloud Firestore API + * + * Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. + * + * @example + * const {google} = require('googleapis'); + * const firestore = google.firestore('v1'); + * + * @namespace firestore + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Firestore + */ + class Firestore { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + firestore_v1.Firestore = Firestore; + class Resource$Projects { + constructor(context) { + this.context = context; + this.databases = new Resource$Projects$Databases(this.context); + this.locations = new Resource$Projects$Locations(this.context); + } + } + firestore_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Databases { + constructor(context) { + this.context = context; + this.collectionGroups = new Resource$Projects$Databases$Collectiongroups(this.context); + this.documents = new Resource$Projects$Databases$Documents(this.context); + this.operations = new Resource$Projects$Databases$Operations(this.context); + } + exportDocuments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:exportDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + importDocuments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:importDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1.Resource$Projects$Databases = Resource$Projects$Databases; + class Resource$Projects$Databases$Collectiongroups { + constructor(context) { + this.context = context; + this.fields = new Resource$Projects$Databases$Collectiongroups$Fields(this.context); + this.indexes = new Resource$Projects$Databases$Collectiongroups$Indexes(this.context); + } + } + firestore_v1.Resource$Projects$Databases$Collectiongroups = Resource$Projects$Databases$Collectiongroups; + class Resource$Projects$Databases$Collectiongroups$Fields { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/fields').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1.Resource$Projects$Databases$Collectiongroups$Fields = Resource$Projects$Databases$Collectiongroups$Fields; + class Resource$Projects$Databases$Collectiongroups$Indexes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1.Resource$Projects$Databases$Collectiongroups$Indexes = Resource$Projects$Databases$Collectiongroups$Indexes; + class Resource$Projects$Databases$Documents { + constructor(context) { + this.context = context; + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/documents:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + beginTransaction(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/documents:beginTransaction').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/documents:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createDocument(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/{collectionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'collectionId'], + pathParams: ['collectionId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/{collectionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'collectionId'], + pathParams: ['collectionId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listCollectionIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:listCollectionIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listen(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/documents:listen').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/documents:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:runQuery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + write(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/documents:write').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1.Resource$Projects$Databases$Documents = Resource$Projects$Databases$Documents; + class Resource$Projects$Databases$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1.Resource$Projects$Databases$Operations = Resource$Projects$Databases$Operations; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1.Resource$Projects$Locations = Resource$Projects$Locations; +})(firestore_v1 = exports.firestore_v1 || (exports.firestore_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 83092: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firestore_v1beta1; +(function (firestore_v1beta1) { + /** + * Cloud Firestore API + * + * Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. + * + * @example + * const {google} = require('googleapis'); + * const firestore = google.firestore('v1beta1'); + * + * @namespace firestore + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Firestore + */ + class Firestore { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + firestore_v1beta1.Firestore = Firestore; + class Resource$Projects { + constructor(context) { + this.context = context; + this.databases = new Resource$Projects$Databases(this.context); + } + } + firestore_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Databases { + constructor(context) { + this.context = context; + this.documents = new Resource$Projects$Databases$Documents(this.context); + this.indexes = new Resource$Projects$Databases$Indexes(this.context); + } + exportDocuments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:exportDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + importDocuments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:importDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1beta1.Resource$Projects$Databases = Resource$Projects$Databases; + class Resource$Projects$Databases$Documents { + constructor(context) { + this.context = context; + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+database}/documents:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + beginTransaction(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+database}/documents:beginTransaction').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+database}/documents:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createDocument(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/{collectionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'collectionId'], + pathParams: ['collectionId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/{collectionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'collectionId'], + pathParams: ['collectionId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listCollectionIds(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:listCollectionIds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listen(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+database}/documents:listen').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+database}/documents:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:runQuery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + write(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+database}/documents:write').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1beta1.Resource$Projects$Databases$Documents = Resource$Projects$Databases$Documents; + class Resource$Projects$Databases$Indexes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1beta1.Resource$Projects$Databases$Indexes = Resource$Projects$Databases$Indexes; +})(firestore_v1beta1 = exports.firestore_v1beta1 || (exports.firestore_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 46490: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var firestore_v1beta2; +(function (firestore_v1beta2) { + /** + * Cloud Firestore API + * + * Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. + * + * @example + * const {google} = require('googleapis'); + * const firestore = google.firestore('v1beta2'); + * + * @namespace firestore + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Firestore + */ + class Firestore { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + firestore_v1beta2.Firestore = Firestore; + class Resource$Projects { + constructor(context) { + this.context = context; + this.databases = new Resource$Projects$Databases(this.context); + } + } + firestore_v1beta2.Resource$Projects = Resource$Projects; + class Resource$Projects$Databases { + constructor(context) { + this.context = context; + this.collectionGroups = new Resource$Projects$Databases$Collectiongroups(this.context); + } + exportDocuments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:exportDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + importDocuments(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}:importDocuments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1beta2.Resource$Projects$Databases = Resource$Projects$Databases; + class Resource$Projects$Databases$Collectiongroups { + constructor(context) { + this.context = context; + this.fields = new Resource$Projects$Databases$Collectiongroups$Fields(this.context); + this.indexes = new Resource$Projects$Databases$Collectiongroups$Indexes(this.context); + } + } + firestore_v1beta2.Resource$Projects$Databases$Collectiongroups = Resource$Projects$Databases$Collectiongroups; + class Resource$Projects$Databases$Collectiongroups$Fields { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/fields').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1beta2.Resource$Projects$Databases$Collectiongroups$Fields = Resource$Projects$Databases$Collectiongroups$Fields; + class Resource$Projects$Databases$Collectiongroups$Indexes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+parent}/indexes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + firestore_v1beta2.Resource$Projects$Databases$Collectiongroups$Indexes = Resource$Projects$Databases$Collectiongroups$Indexes; +})(firestore_v1beta2 = exports.firestore_v1beta2 || (exports.firestore_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 2217: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(69094); +exports.VERSIONS = { + v1: v1_1.fitness_v1.Fitness, +}; +function fitness(versionOrOptions) { + return googleapis_common_1.getAPI('fitness', versionOrOptions, exports.VERSIONS, this); +} +exports.fitness = fitness; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 69094: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var fitness_v1; +(function (fitness_v1) { + /** + * Fitness + * + * Stores and accesses user data in the fitness store from apps on any platform. + * + * @example + * const {google} = require('googleapis'); + * const fitness = google.fitness('v1'); + * + * @namespace fitness + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Fitness + */ + class Fitness { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.users = new Resource$Users(this.context); + } + } + fitness_v1.Fitness = Fitness; + class Resource$Users { + constructor(context) { + this.context = context; + this.dataset = new Resource$Users$Dataset(this.context); + this.dataSources = new Resource$Users$Datasources(this.context); + this.sessions = new Resource$Users$Sessions(this.context); + } + } + fitness_v1.Resource$Users = Resource$Users; + class Resource$Users$Dataset { + constructor(context) { + this.context = context; + } + aggregate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/dataset:aggregate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + fitness_v1.Resource$Users$Dataset = Resource$Users$Dataset; + class Resource$Users$Datasources { + constructor(context) { + this.context = context; + this.dataPointChanges = new Resource$Users$Datasources$Datapointchanges(this.context); + this.datasets = new Resource$Users$Datasources$Datasets(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/dataSources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'dataSourceId'], + pathParams: ['dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'dataSourceId'], + pathParams: ['dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/dataSources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId', 'dataSourceId'], + pathParams: ['dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + fitness_v1.Resource$Users$Datasources = Resource$Users$Datasources; + class Resource$Users$Datasources$Datapointchanges { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'dataSourceId'], + pathParams: ['dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + fitness_v1.Resource$Users$Datasources$Datapointchanges = Resource$Users$Datasources$Datapointchanges; + class Resource$Users$Datasources$Datasets { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'dataSourceId', 'datasetId'], + pathParams: ['datasetId', 'dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'dataSourceId', 'datasetId'], + pathParams: ['datasetId', 'dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['userId', 'dataSourceId', 'datasetId'], + pathParams: ['datasetId', 'dataSourceId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + fitness_v1.Resource$Users$Datasources$Datasets = Resource$Users$Datasources$Datasets; + class Resource$Users$Sessions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/sessions/{sessionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'sessionId'], + pathParams: ['sessionId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/sessions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/fitness/v1/users/{userId}/sessions/{sessionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId', 'sessionId'], + pathParams: ['sessionId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + fitness_v1.Resource$Users$Sessions = Resource$Users$Sessions; +})(fitness_v1 = exports.fitness_v1 || (exports.fitness_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 71511: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(45973); +exports.VERSIONS = { + v1: v1_1.games_v1.Games, +}; +function games(versionOrOptions) { + return googleapis_common_1.getAPI('games', versionOrOptions, exports.VERSIONS, this); +} +exports.games = games; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 45973: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var games_v1; +(function (games_v1) { + /** + * Google Play Game Services API + * + * The API for Google Play Game Services. + * + * @example + * const {google} = require('googleapis'); + * const games = google.games('v1'); + * + * @namespace games + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Games + */ + class Games { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.achievementDefinitions = new Resource$Achievementdefinitions(this.context); + this.achievements = new Resource$Achievements(this.context); + this.applications = new Resource$Applications(this.context); + this.events = new Resource$Events(this.context); + this.leaderboards = new Resource$Leaderboards(this.context); + this.metagame = new Resource$Metagame(this.context); + this.players = new Resource$Players(this.context); + this.pushtokens = new Resource$Pushtokens(this.context); + this.revisions = new Resource$Revisions(this.context); + this.rooms = new Resource$Rooms(this.context); + this.scores = new Resource$Scores(this.context); + this.snapshots = new Resource$Snapshots(this.context); + this.turnBasedMatches = new Resource$Turnbasedmatches(this.context); + } + } + games_v1.Games = Games; + class Resource$Achievementdefinitions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/achievements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Achievementdefinitions = Resource$Achievementdefinitions; + class Resource$Achievements { + constructor(context) { + this.context = context; + } + increment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/achievements/{achievementId}/increment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['achievementId', 'stepsToIncrement'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/players/{playerId}/achievements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['playerId'], + pathParams: ['playerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reveal(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/achievements/{achievementId}/reveal').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setStepsAtLeast(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/achievements/{achievementId}/setStepsAtLeast').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['achievementId', 'steps'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unlock(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/achievements/{achievementId}/unlock').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateMultiple(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/achievements/updateMultiple').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Achievements = Resource$Achievements; + class Resource$Applications { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/applications/{applicationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + played(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/applications/played').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/applications/{applicationId}/verify').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Applications = Resource$Applications; + class Resource$Events { + constructor(context) { + this.context = context; + } + listByPlayer(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/events').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listDefinitions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/eventDefinitions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + record(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/events').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Events = Resource$Events; + class Resource$Leaderboards { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/leaderboards/{leaderboardId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/leaderboards').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Leaderboards = Resource$Leaderboards; + class Resource$Metagame { + constructor(context) { + this.context = context; + } + getMetagameConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/metagameConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listCategoriesByPlayer(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/players/{playerId}/categories/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['playerId', 'collection'], + pathParams: ['collection', 'playerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Metagame = Resource$Metagame; + class Resource$Players { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/players/{playerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['playerId'], + pathParams: ['playerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/players/me/players/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['collection'], + pathParams: ['collection'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Players = Resource$Players; + class Resource$Pushtokens { + constructor(context) { + this.context = context; + } + remove(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/pushtokens/remove').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/pushtokens').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Pushtokens = Resource$Pushtokens; + class Resource$Revisions { + constructor(context) { + this.context = context; + } + check(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/revisions/check').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['clientRevision'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Revisions = Resource$Revisions; + class Resource$Rooms { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/create').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + decline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/{roomId}/decline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['roomId'], + pathParams: ['roomId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dismiss(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/{roomId}/dismiss').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['roomId'], + pathParams: ['roomId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/{roomId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['roomId'], + pathParams: ['roomId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + join(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/{roomId}/join').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['roomId'], + pathParams: ['roomId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + leave(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/{roomId}/leave').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['roomId'], + pathParams: ['roomId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reportStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/rooms/{roomId}/reportstatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['roomId'], + pathParams: ['roomId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Rooms = Resource$Rooms; + class Resource$Scores { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1/players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['playerId', 'leaderboardId', 'timeSpan'], + pathParams: ['leaderboardId', 'playerId', 'timeSpan'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1/leaderboards/{leaderboardId}/scores/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['leaderboardId', 'collection', 'timeSpan'], + pathParams: ['collection', 'leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listWindow(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1/leaderboards/{leaderboardId}/window/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['leaderboardId', 'collection', 'timeSpan'], + pathParams: ['collection', 'leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + submit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/leaderboards/{leaderboardId}/scores').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['leaderboardId', 'score'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + submitMultiple(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/leaderboards/scores').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Scores = Resource$Scores; + class Resource$Snapshots { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/snapshots/{snapshotId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['snapshotId'], + pathParams: ['snapshotId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/players/{playerId}/snapshots').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['playerId'], + pathParams: ['playerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Snapshots = Resource$Snapshots; + class Resource$Turnbasedmatches { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/create').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + decline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/decline').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dismiss(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/dismiss').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + finish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/finish').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + join(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/join').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + leave(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/leave').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + leaveTurn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/leaveTurn').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId', 'matchVersion'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rematch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/rematch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/sync').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + takeTurn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/turn').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matchId'], + pathParams: ['matchId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + games_v1.Resource$Turnbasedmatches = Resource$Turnbasedmatches; +})(games_v1 = exports.games_v1 || (exports.games_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 66481: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1configuration_1 = __nccwpck_require__(26550); +exports.VERSIONS = { + v1configuration: v1configuration_1.gamesConfiguration_v1configuration.Gamesconfiguration, +}; +function gamesConfiguration(versionOrOptions) { + return googleapis_common_1.getAPI('gamesConfiguration', versionOrOptions, exports.VERSIONS, this); +} +exports.gamesConfiguration = gamesConfiguration; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 26550: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var gamesConfiguration_v1configuration; +(function (gamesConfiguration_v1configuration) { + /** + * Google Play Game Services Publishing API + * + * The Publishing API for Google Play Game Services. + * + * @example + * const {google} = require('googleapis'); + * const gamesConfiguration = google.gamesConfiguration('v1configuration'); + * + * @namespace gamesConfiguration + * @type {Function} + * @version v1configuration + * @variation v1configuration + * @param {object=} options Options for Gamesconfiguration + */ + class Gamesconfiguration { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.achievementConfigurations = new Resource$Achievementconfigurations(this.context); + this.imageConfigurations = new Resource$Imageconfigurations(this.context); + this.leaderboardConfigurations = new Resource$Leaderboardconfigurations(this.context); + } + } + gamesConfiguration_v1configuration.Gamesconfiguration = Gamesconfiguration; + class Resource$Achievementconfigurations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1configuration/applications/{applicationId}/achievements').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1configuration/applications/{applicationId}/achievements').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesConfiguration_v1configuration.Resource$Achievementconfigurations = Resource$Achievementconfigurations; + class Resource$Imageconfigurations { + constructor(context) { + this.context = context; + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1configuration/images/{resourceId}/imageType/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + + '/upload/games/v1configuration/images/{resourceId}/imageType/{imageType}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['resourceId', 'imageType'], + pathParams: ['imageType', 'resourceId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesConfiguration_v1configuration.Resource$Imageconfigurations = Resource$Imageconfigurations; + class Resource$Leaderboardconfigurations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1configuration/applications/{applicationId}/leaderboards').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1configuration/applications/{applicationId}/leaderboards').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesConfiguration_v1configuration.Resource$Leaderboardconfigurations = Resource$Leaderboardconfigurations; +})(gamesConfiguration_v1configuration = exports.gamesConfiguration_v1configuration || (exports.gamesConfiguration_v1configuration = {})); +//# sourceMappingURL=v1configuration.js.map + +/***/ }), + +/***/ 4127: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1management_1 = __nccwpck_require__(55801); +exports.VERSIONS = { + v1management: v1management_1.gamesManagement_v1management.Gamesmanagement, +}; +function gamesManagement(versionOrOptions) { + return googleapis_common_1.getAPI('gamesManagement', versionOrOptions, exports.VERSIONS, this); +} +exports.gamesManagement = gamesManagement; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 55801: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var gamesManagement_v1management; +(function (gamesManagement_v1management) { + /** + * Google Play Game Services Management API + * + * The Management API for Google Play Game Services. + * + * @example + * const {google} = require('googleapis'); + * const gamesManagement = google.gamesManagement('v1management'); + * + * @namespace gamesManagement + * @type {Function} + * @version v1management + * @variation v1management + * @param {object=} options Options for Gamesmanagement + */ + class Gamesmanagement { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.achievements = new Resource$Achievements(this.context); + this.applications = new Resource$Applications(this.context); + this.events = new Resource$Events(this.context); + this.players = new Resource$Players(this.context); + this.rooms = new Resource$Rooms(this.context); + this.scores = new Resource$Scores(this.context); + this.turnBasedMatches = new Resource$Turnbasedmatches(this.context); + } + } + gamesManagement_v1management.Gamesmanagement = Gamesmanagement; + class Resource$Achievements { + constructor(context) { + this.context = context; + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/achievements/{achievementId}/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetAll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/achievements/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetAllForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/achievements/resetAllForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/achievements/{achievementId}/resetForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['achievementId'], + pathParams: ['achievementId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetMultipleForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/achievements/resetMultipleForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Achievements = Resource$Achievements; + class Resource$Applications { + constructor(context) { + this.context = context; + } + listHidden(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/applications/{applicationId}/players/hidden').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['applicationId'], + pathParams: ['applicationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Applications = Resource$Applications; + class Resource$Events { + constructor(context) { + this.context = context; + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/events/{eventId}/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['eventId'], + pathParams: ['eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetAll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/events/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetAllForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/events/resetAllForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/events/{eventId}/resetForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['eventId'], + pathParams: ['eventId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetMultipleForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/events/resetMultipleForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Events = Resource$Events; + class Resource$Players { + constructor(context) { + this.context = context; + } + hide(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/applications/{applicationId}/players/hidden/{playerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['applicationId', 'playerId'], + pathParams: ['applicationId', 'playerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unhide(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/applications/{applicationId}/players/hidden/{playerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['applicationId', 'playerId'], + pathParams: ['applicationId', 'playerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Players = Resource$Players; + class Resource$Rooms { + constructor(context) { + this.context = context; + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/rooms/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/rooms/resetForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Rooms = Resource$Rooms; + class Resource$Scores { + constructor(context) { + this.context = context; + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/leaderboards/{leaderboardId}/scores/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetAll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/scores/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetAllForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/scores/resetAllForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['leaderboardId'], + pathParams: ['leaderboardId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetMultipleForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/scores/resetMultipleForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Scores = Resource$Scores; + class Resource$Turnbasedmatches { + constructor(context) { + this.context = context; + } + reset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/games/v1management/turnbasedmatches/reset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/games/v1management/turnbasedmatches/resetForAllPlayers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gamesManagement_v1management.Resource$Turnbasedmatches = Resource$Turnbasedmatches; +})(gamesManagement_v1management = exports.gamesManagement_v1management || (exports.gamesManagement_v1management = {})); +//# sourceMappingURL=v1management.js.map + +/***/ }), + +/***/ 38033: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(11050); +const v1alpha2_1 = __nccwpck_require__(41603); +const v2alpha1_1 = __nccwpck_require__(20128); +exports.VERSIONS = { + v1: v1_1.genomics_v1.Genomics, + v1alpha2: v1alpha2_1.genomics_v1alpha2.Genomics, + v2alpha1: v2alpha1_1.genomics_v2alpha1.Genomics, +}; +function genomics(versionOrOptions) { + return googleapis_common_1.getAPI('genomics', versionOrOptions, exports.VERSIONS, this); +} +exports.genomics = genomics; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 11050: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var genomics_v1; +(function (genomics_v1) { + /** + * Genomics API + * + * Uploads, processes, queries, and searches Genomics data in the cloud. + * + * @example + * const {google} = require('googleapis'); + * const genomics = google.genomics('v1'); + * + * @namespace genomics + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Genomics + */ + class Genomics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + } + } + genomics_v1.Genomics = Genomics; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + genomics_v1.Resource$Operations = Resource$Operations; +})(genomics_v1 = exports.genomics_v1 || (exports.genomics_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 41603: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var genomics_v1alpha2; +(function (genomics_v1alpha2) { + /** + * Genomics API + * + * Uploads, processes, queries, and searches Genomics data in the cloud. + * + * @example + * const {google} = require('googleapis'); + * const genomics = google.genomics('v1alpha2'); + * + * @namespace genomics + * @type {Function} + * @version v1alpha2 + * @variation v1alpha2 + * @param {object=} options Options for Genomics + */ + class Genomics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.pipelines = new Resource$Pipelines(this.context); + } + } + genomics_v1alpha2.Genomics = Genomics; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + genomics_v1alpha2.Resource$Operations = Resource$Operations; + class Resource$Pipelines { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines/{pipelineId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['pipelineId'], + pathParams: ['pipelineId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines/{pipelineId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['pipelineId'], + pathParams: ['pipelineId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getControllerConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines:getControllerConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setOperationStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha2/pipelines:setOperationStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + genomics_v1alpha2.Resource$Pipelines = Resource$Pipelines; +})(genomics_v1alpha2 = exports.genomics_v1alpha2 || (exports.genomics_v1alpha2 = {})); +//# sourceMappingURL=v1alpha2.js.map + +/***/ }), + +/***/ 20128: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var genomics_v2alpha1; +(function (genomics_v2alpha1) { + /** + * Genomics API + * + * Uploads, processes, queries, and searches Genomics data in the cloud. + * + * @example + * const {google} = require('googleapis'); + * const genomics = google.genomics('v2alpha1'); + * + * @namespace genomics + * @type {Function} + * @version v2alpha1 + * @variation v2alpha1 + * @param {object=} options Options for Genomics + */ + class Genomics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.pipelines = new Resource$Pipelines(this.context); + this.projects = new Resource$Projects(this.context); + this.workers = new Resource$Workers(this.context); + } + } + genomics_v2alpha1.Genomics = Genomics; + class Resource$Pipelines { + constructor(context) { + this.context = context; + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2alpha1/pipelines:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + genomics_v2alpha1.Resource$Pipelines = Resource$Pipelines; + class Resource$Projects { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Operations(this.context); + } + } + genomics_v2alpha1.Resource$Projects = Resource$Projects; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2alpha1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + genomics_v2alpha1.Resource$Projects$Operations = Resource$Projects$Operations; + class Resource$Workers { + constructor(context) { + this.context = context; + } + checkIn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2alpha1/workers/{id}:checkIn').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + genomics_v2alpha1.Resource$Workers = Resource$Workers; +})(genomics_v2alpha1 = exports.genomics_v2alpha1 || (exports.genomics_v2alpha1 = {})); +//# sourceMappingURL=v2alpha1.js.map + +/***/ }), + +/***/ 52575: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(99303); +exports.VERSIONS = { + v1: v1_1.gmail_v1.Gmail, +}; +function gmail(versionOrOptions) { + return googleapis_common_1.getAPI('gmail', versionOrOptions, exports.VERSIONS, this); +} +exports.gmail = gmail; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 99303: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var gmail_v1; +(function (gmail_v1) { + /** + * Gmail API + * + * Access Gmail mailboxes including sending user email. + * + * @example + * const {google} = require('googleapis'); + * const gmail = google.gmail('v1'); + * + * @namespace gmail + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Gmail + */ + class Gmail { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.users = new Resource$Users(this.context); + } + } + gmail_v1.Gmail = Gmail; + class Resource$Users { + constructor(context) { + this.context = context; + this.drafts = new Resource$Users$Drafts(this.context); + this.history = new Resource$Users$History(this.context); + this.labels = new Resource$Users$Labels(this.context); + this.messages = new Resource$Users$Messages(this.context); + this.settings = new Resource$Users$Settings(this.context); + this.threads = new Resource$Users$Threads(this.context); + } + getProfile(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/profile').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users = Resource$Users; + class Resource$Users$Drafts { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/drafts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/drafts').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/drafts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + send(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/drafts/send').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/drafts/send').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Drafts = Resource$Users$Drafts; + class Resource$Users$History { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/history').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$History = Resource$Users$History; + class Resource$Users$Labels { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/labels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/labels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Labels = Resource$Users$Labels; + class Resource$Users$Messages { + constructor(context) { + this.context = context; + this.attachments = new Resource$Users$Messages$Attachments(this.context); + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchModify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/batchModify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/messages/import').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/messages').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}/modify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + send(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/send').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/messages/send').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + trash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}/trash').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + untrash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}/untrash').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Messages = Resource$Users$Messages; + class Resource$Users$Messages$Attachments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'messageId', 'id'], + pathParams: ['id', 'messageId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Messages$Attachments = Resource$Users$Messages$Attachments; + class Resource$Users$Settings { + constructor(context) { + this.context = context; + this.delegates = new Resource$Users$Settings$Delegates(this.context); + this.filters = new Resource$Users$Settings$Filters(this.context); + this.forwardingAddresses = new Resource$Users$Settings$Forwardingaddresses(this.context); + this.sendAs = new Resource$Users$Settings$Sendas(this.context); + } + getAutoForwarding(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/autoForwarding').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getImap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/imap').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getLanguage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/language').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getPop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/pop').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getVacation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/vacation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateAutoForwarding(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/autoForwarding').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateImap(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/imap').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateLanguage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/language').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatePop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/pop').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateVacation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/vacation').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Settings = Resource$Users$Settings; + class Resource$Users$Settings$Delegates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/delegates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'delegateEmail'], + pathParams: ['delegateEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'delegateEmail'], + pathParams: ['delegateEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/delegates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Settings$Delegates = Resource$Users$Settings$Delegates; + class Resource$Users$Settings$Filters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Settings$Filters = Resource$Users$Settings$Filters; + class Resource$Users$Settings$Forwardingaddresses { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/forwardingAddresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'forwardingEmail'], + pathParams: ['forwardingEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'forwardingEmail'], + pathParams: ['forwardingEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/forwardingAddresses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Settings$Forwardingaddresses = Resource$Users$Settings$Forwardingaddresses; + class Resource$Users$Settings$Sendas { + constructor(context) { + this.context = context; + this.smimeInfo = new Resource$Users$Settings$Sendas$Smimeinfo(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Settings$Sendas = Resource$Users$Settings$Sendas; + class Resource$Users$Settings$Sendas$Smimeinfo { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail', 'id'], + pathParams: ['id', 'sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail', 'id'], + pathParams: ['id', 'sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail'], + pathParams: ['sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDefault(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'sendAsEmail', 'id'], + pathParams: ['id', 'sendAsEmail', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Settings$Sendas$Smimeinfo = Resource$Users$Settings$Sendas$Smimeinfo; + class Resource$Users$Threads { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/threads').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}/modify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + trash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}/trash').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + untrash(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}/untrash').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userId', 'id'], + pathParams: ['id', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + gmail_v1.Resource$Users$Threads = Resource$Users$Threads; +})(gmail_v1 = exports.gmail_v1 || (exports.gmail_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 28925: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(73377); +exports.VERSIONS = { + v1: v1_1.groupsmigration_v1.Groupsmigration, +}; +function groupsmigration(versionOrOptions) { + return googleapis_common_1.getAPI('groupsmigration', versionOrOptions, exports.VERSIONS, this); +} +exports.groupsmigration = groupsmigration; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 73377: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var groupsmigration_v1; +(function (groupsmigration_v1) { + /** + * Groups Migration API + * + * Groups Migration Api. + * + * @example + * const {google} = require('googleapis'); + * const groupsmigration = google.groupsmigration('v1'); + * + * @namespace groupsmigration + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Groupsmigration + */ + class Groupsmigration { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.archive = new Resource$Archive(this.context); + } + } + groupsmigration_v1.Groupsmigration = Groupsmigration; + class Resource$Archive { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/groups/v1/groups/{groupId}/archive').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/groups/v1/groups/{groupId}/archive').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['groupId'], + pathParams: ['groupId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + groupsmigration_v1.Resource$Archive = Resource$Archive; +})(groupsmigration_v1 = exports.groupsmigration_v1 || (exports.groupsmigration_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 63054: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(61508); +exports.VERSIONS = { + v1: v1_1.groupssettings_v1.Groupssettings, +}; +function groupssettings(versionOrOptions) { + return googleapis_common_1.getAPI('groupssettings', versionOrOptions, exports.VERSIONS, this); +} +exports.groupssettings = groupssettings; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 61508: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var groupssettings_v1; +(function (groupssettings_v1) { + /** + * Groups Settings API + * + * Manages permission levels and related settings of a group. + * + * @example + * const {google} = require('googleapis'); + * const groupssettings = google.groupssettings('v1'); + * + * @namespace groupssettings + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Groupssettings + */ + class Groupssettings { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.groups = new Resource$Groups(this.context); + } + } + groupssettings_v1.Groupssettings = Groupssettings; + class Resource$Groups { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/groups/v1/groups/{groupUniqueId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['groupUniqueId'], + pathParams: ['groupUniqueId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/groups/v1/groups/{groupUniqueId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['groupUniqueId'], + pathParams: ['groupUniqueId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/groups/v1/groups/{groupUniqueId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['groupUniqueId'], + pathParams: ['groupUniqueId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + groupssettings_v1.Resource$Groups = Resource$Groups; +})(groupssettings_v1 = exports.groupssettings_v1 || (exports.groupssettings_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 38098: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(53850); +exports.VERSIONS = { + v1beta1: v1beta1_1.healthcare_v1beta1.Healthcare, +}; +function healthcare(versionOrOptions) { + return googleapis_common_1.getAPI('healthcare', versionOrOptions, exports.VERSIONS, this); +} +exports.healthcare = healthcare; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 53850: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var healthcare_v1beta1; +(function (healthcare_v1beta1) { + /** + * Cloud Healthcare API + * + * Manage, store, and access healthcare data in Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const healthcare = google.healthcare('v1beta1'); + * + * @namespace healthcare + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Healthcare + */ + class Healthcare { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + healthcare_v1beta1.Healthcare = Healthcare; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + healthcare_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.datasets = new Resource$Projects$Locations$Datasets(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Datasets { + constructor(context) { + this.context = context; + this.annotationStores = new Resource$Projects$Locations$Datasets$Annotationstores(this.context); + this.dicomStores = new Resource$Projects$Locations$Datasets$Dicomstores(this.context); + this.fhirStores = new Resource$Projects$Locations$Datasets$Fhirstores(this.context); + this.hl7V2Stores = new Resource$Projects$Locations$Datasets$Hl7v2stores(this.context); + this.operations = new Resource$Projects$Locations$Datasets$Operations(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/datasets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+sourceDataset}:deidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['sourceDataset'], + pathParams: ['sourceDataset'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/datasets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets = Resource$Projects$Locations$Datasets; + class Resource$Projects$Locations$Datasets$Annotationstores { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Annotationstores = Resource$Projects$Locations$Datasets$Annotationstores; + class Resource$Projects$Locations$Datasets$Dicomstores { + constructor(context) { + this.context = context; + this.studies = new Resource$Projects$Locations$Datasets$Dicomstores$Studies(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomStores').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+sourceStore}:deidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['sourceStore'], + pathParams: ['sourceStore'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomStores').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForSeries(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForStudies(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + storeInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores = Resource$Projects$Locations$Datasets$Dicomstores; + class Resource$Projects$Locations$Datasets$Dicomstores$Studies { + constructor(context) { + this.context = context; + this.series = new Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveStudy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForSeries(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + storeInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies = Resource$Projects$Locations$Datasets$Dicomstores$Studies; + class Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveSeries(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForInstances(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series = Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series; + class Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances { + constructor(context) { + this.context = context; + this.frames = new Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveInstance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveRendered(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances = Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances; + class Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames { + constructor(context) { + this.context = context; + } + retrieveFrames(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + retrieveRendered(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'dicomWebPath'], + pathParams: ['dicomWebPath', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames = Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames; + class Resource$Projects$Locations$Datasets$Fhirstores { + constructor(context) { + this.context = context; + this.fhir = new Resource$Projects$Locations$Datasets$Fhirstores$Fhir(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhirStores').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deidentify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+sourceStore}:deidentify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['sourceStore'], + pathParams: ['sourceStore'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhirStores').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Fhirstores = Resource$Projects$Locations$Datasets$Fhirstores; + class Resource$Projects$Locations$Datasets$Fhirstores$Fhir { + constructor(context) { + this.context = context; + } + capabilities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/fhir/metadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + conditionalDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'type'], + pathParams: ['parent', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + conditionalPatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['parent', 'type'], + pathParams: ['parent', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + conditionalUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['parent', 'type'], + pathParams: ['parent', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent', 'type'], + pathParams: ['parent', 'type'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + executeBundle(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + history(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/_history').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + ObservationLastn(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir/Observation/$lastn').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + PatientEverything(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/$everything').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + read(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + ResourcePurge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/$purge').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/fhir/_search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + vread(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Fhirstores$Fhir = Resource$Projects$Locations$Datasets$Fhirstores$Fhir; + class Resource$Projects$Locations$Datasets$Hl7v2stores { + constructor(context) { + this.context = context; + this.messages = new Resource$Projects$Locations$Datasets$Hl7v2stores$Messages(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/hl7V2Stores').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/hl7V2Stores').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Hl7v2stores = Resource$Projects$Locations$Datasets$Hl7v2stores; + class Resource$Projects$Locations$Datasets$Hl7v2stores$Messages { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + ingest(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/messages:ingest').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Hl7v2stores$Messages = Resource$Projects$Locations$Datasets$Hl7v2stores$Messages; + class Resource$Projects$Locations$Datasets$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + healthcare_v1beta1.Resource$Projects$Locations$Datasets$Operations = Resource$Projects$Locations$Datasets$Operations; +})(healthcare_v1beta1 = exports.healthcare_v1beta1 || (exports.healthcare_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 91190: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(20565); +exports.VERSIONS = { + v1: v1_1.homegraph_v1.Homegraph, +}; +function homegraph(versionOrOptions) { + return googleapis_common_1.getAPI('homegraph', versionOrOptions, exports.VERSIONS, this); +} +exports.homegraph = homegraph; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 20565: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var homegraph_v1; +(function (homegraph_v1) { + /** + * HomeGraph API + * + * + * + * @example + * const {google} = require('googleapis'); + * const homegraph = google.homegraph('v1'); + * + * @namespace homegraph + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Homegraph + */ + class Homegraph { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.agentUsers = new Resource$Agentusers(this.context); + this.devices = new Resource$Devices(this.context); + } + } + homegraph_v1.Homegraph = Homegraph; + class Resource$Agentusers { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+agentUserId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['agentUserId'], + pathParams: ['agentUserId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + homegraph_v1.Resource$Agentusers = Resource$Agentusers; + class Resource$Devices { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/devices:query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reportStateAndNotification(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/devices:reportStateAndNotification').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + requestSync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/devices:requestSync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/devices:sync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + homegraph_v1.Resource$Devices = Resource$Devices; +})(homegraph_v1 = exports.homegraph_v1 || (exports.homegraph_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 11966: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(88434); +exports.VERSIONS = { + v1: v1_1.iam_v1.Iam, +}; +function iam(versionOrOptions) { + return googleapis_common_1.getAPI('iam', versionOrOptions, exports.VERSIONS, this); +} +exports.iam = iam; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 88434: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var iam_v1; +(function (iam_v1) { + /** + * Identity and Access Management (IAM) API + * + * Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. + * + * @example + * const {google} = require('googleapis'); + * const iam = google.iam('v1'); + * + * @namespace iam + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Iam + */ + class Iam { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.iamPolicies = new Resource$Iampolicies(this.context); + this.organizations = new Resource$Organizations(this.context); + this.permissions = new Resource$Permissions(this.context); + this.projects = new Resource$Projects(this.context); + this.roles = new Resource$Roles(this.context); + } + } + iam_v1.Iam = Iam; + class Resource$Iampolicies { + constructor(context) { + this.context = context; + } + lintPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/iamPolicies:lintPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + queryAuditableServices(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/iamPolicies:queryAuditableServices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Iampolicies = Resource$Iampolicies; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.roles = new Resource$Organizations$Roles(this.context); + } + } + iam_v1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Roles { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Organizations$Roles = Resource$Organizations$Roles; + class Resource$Permissions { + constructor(context) { + this.context = context; + } + queryTestablePermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/permissions:queryTestablePermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Permissions = Resource$Permissions; + class Resource$Projects { + constructor(context) { + this.context = context; + this.roles = new Resource$Projects$Roles(this.context); + this.serviceAccounts = new Resource$Projects$Serviceaccounts(this.context); + } + } + iam_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Roles { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Projects$Roles = Resource$Projects$Roles; + class Resource$Projects$Serviceaccounts { + constructor(context) { + this.context = context; + this.keys = new Resource$Projects$Serviceaccounts$Keys(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/serviceAccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:disable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:enable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/serviceAccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signBlob(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:signBlob').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signJwt(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:signJwt').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Projects$Serviceaccounts = Resource$Projects$Serviceaccounts; + class Resource$Projects$Serviceaccounts$Keys { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/keys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/keys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/keys:upload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Projects$Serviceaccounts$Keys = Resource$Projects$Serviceaccounts$Keys; + class Resource$Roles { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/roles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + queryGrantableRoles(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iam.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/roles:queryGrantableRoles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iam_v1.Resource$Roles = Resource$Roles; +})(iam_v1 = exports.iam_v1 || (exports.iam_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 60303: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(13088); +exports.VERSIONS = { + v1: v1_1.iamcredentials_v1.Iamcredentials, +}; +function iamcredentials(versionOrOptions) { + return googleapis_common_1.getAPI('iamcredentials', versionOrOptions, exports.VERSIONS, this); +} +exports.iamcredentials = iamcredentials; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 13088: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var iamcredentials_v1; +(function (iamcredentials_v1) { + /** + * IAM Service Account Credentials API + * + * Creates short-lived, limited-privilege credentials for IAM service accounts. + * + * @example + * const {google} = require('googleapis'); + * const iamcredentials = google.iamcredentials('v1'); + * + * @namespace iamcredentials + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Iamcredentials + */ + class Iamcredentials { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + iamcredentials_v1.Iamcredentials = Iamcredentials; + class Resource$Projects { + constructor(context) { + this.context = context; + this.serviceAccounts = new Resource$Projects$Serviceaccounts(this.context); + } + } + iamcredentials_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Serviceaccounts { + constructor(context) { + this.context = context; + } + generateAccessToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:generateAccessToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateIdToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:generateIdToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signBlob(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:signBlob').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signJwt(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:signJwt').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iamcredentials_v1.Resource$Projects$Serviceaccounts = Resource$Projects$Serviceaccounts; +})(iamcredentials_v1 = exports.iamcredentials_v1 || (exports.iamcredentials_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 47104: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(38351); +const v1beta1_1 = __nccwpck_require__(89404); +exports.VERSIONS = { + v1: v1_1.iap_v1.Iap, + v1beta1: v1beta1_1.iap_v1beta1.Iap, +}; +function iap(versionOrOptions) { + return googleapis_common_1.getAPI('iap', versionOrOptions, exports.VERSIONS, this); +} +exports.iap = iap; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 38351: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var iap_v1; +(function (iap_v1) { + /** + * Cloud Identity-Aware Proxy API + * + * Controls access to cloud applications running on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const iap = google.iap('v1'); + * + * @namespace iap + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Iap + */ + class Iap { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.oauth = new Resource$Oauth(this.context); + this.v1 = new Resource$V1(this.context); + } + } + iap_v1.Iap = Iap; + class Resource$Oauth { + constructor(context) { + this.context = context; + this.projects = new Resource$Oauth$Projects(this.context); + } + } + iap_v1.Resource$Oauth = Resource$Oauth; + class Resource$Oauth$Projects { + constructor(context) { + this.context = context; + this.brands = new Resource$Oauth$Projects$Brands(this.context); + } + } + iap_v1.Resource$Oauth$Projects = Resource$Oauth$Projects; + class Resource$Oauth$Projects$Brands { + constructor(context) { + this.context = context; + this.identityAwareProxyClients = new Resource$Oauth$Projects$Brands$Identityawareproxyclients(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+parent}/brands').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+parent}/brands').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iap_v1.Resource$Oauth$Projects$Brands = Resource$Oauth$Projects$Brands; + class Resource$Oauth$Projects$Brands$Identityawareproxyclients { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+parent}/identityAwareProxyClients').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+parent}/identityAwareProxyClients').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetSecret(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/oauth/{+name}:resetSecret').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iap_v1.Resource$Oauth$Projects$Brands$Identityawareproxyclients = Resource$Oauth$Projects$Brands$Identityawareproxyclients; + class Resource$V1 { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIapSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:iapSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateIapSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:iapSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iap_v1.Resource$V1 = Resource$V1; +})(iap_v1 = exports.iap_v1 || (exports.iap_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 89404: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var iap_v1beta1; +(function (iap_v1beta1) { + /** + * Cloud Identity-Aware Proxy API + * + * Controls access to cloud applications running on Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const iap = google.iap('v1beta1'); + * + * @namespace iap + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Iap + */ + class Iap { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.v1beta1 = new Resource$V1beta1(this.context); + } + } + iap_v1beta1.Iap = Iap; + class Resource$V1beta1 { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://iap.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + iap_v1beta1.Resource$V1beta1 = Resource$V1beta1; +})(iap_v1beta1 = exports.iap_v1beta1 || (exports.iap_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 46373: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v3_1 = __nccwpck_require__(13408); +exports.VERSIONS = { + v3: v3_1.identitytoolkit_v3.Identitytoolkit, +}; +function identitytoolkit(versionOrOptions) { + return googleapis_common_1.getAPI('identitytoolkit', versionOrOptions, exports.VERSIONS, this); +} +exports.identitytoolkit = identitytoolkit; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 13408: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var identitytoolkit_v3; +(function (identitytoolkit_v3) { + /** + * Google Identity Toolkit API + * + * Help the third party sites to implement federated login. + * + * @example + * const {google} = require('googleapis'); + * const identitytoolkit = google.identitytoolkit('v3'); + * + * @namespace identitytoolkit + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Identitytoolkit + */ + class Identitytoolkit { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.relyingparty = new Resource$Relyingparty(this.context); + } + } + identitytoolkit_v3.Identitytoolkit = Identitytoolkit; + class Resource$Relyingparty { + constructor(context) { + this.context = context; + } + createAuthUri(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/createAuthUri').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/deleteAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + downloadAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/downloadAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + emailLinkSignin(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/emailLinkSignin').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getAccountInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/getAccountInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getOobConfirmationCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/identitytoolkit/v3/relyingparty/getOobConfirmationCode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getProjectConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/getProjectConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getPublicKeys(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/publicKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRecaptchaParam(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/getRecaptchaParam').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetPassword(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/resetPassword').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sendVerificationCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/sendVerificationCode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setAccountInfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/setAccountInfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setProjectConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/setProjectConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signOutUser(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/signOutUser').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signupNewUser(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/signupNewUser').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + uploadAccount(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/uploadAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verifyAssertion(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyAssertion').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verifyCustomToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyCustomToken').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verifyPassword(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyPassword').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verifyPhoneNumber(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyPhoneNumber').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + identitytoolkit_v3.Resource$Relyingparty = Resource$Relyingparty; +})(identitytoolkit_v3 = exports.identitytoolkit_v3 || (exports.identitytoolkit_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 43146: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const abusiveexperiencereport = __nccwpck_require__(97913); +const acceleratedmobilepageurl = __nccwpck_require__(57234); +const accessapproval = __nccwpck_require__(11959); +const accesscontextmanager = __nccwpck_require__(1747); +const adexchangebuyer = __nccwpck_require__(67972); +const adexchangebuyer2 = __nccwpck_require__(78913); +const adexperiencereport = __nccwpck_require__(83156); +const admin = __nccwpck_require__(40964); +const adsense = __nccwpck_require__(50185); +const adsensehost = __nccwpck_require__(82048); +const alertcenter = __nccwpck_require__(87901); +const analytics = __nccwpck_require__(252); +const analyticsreporting = __nccwpck_require__(35568); +const androiddeviceprovisioning = __nccwpck_require__(30205); +const androidenterprise = __nccwpck_require__(1792); +const androidmanagement = __nccwpck_require__(27951); +const androidpublisher = __nccwpck_require__(64731); +const appengine = __nccwpck_require__(54467); +const appsactivity = __nccwpck_require__(21791); +const bigquery = __nccwpck_require__(52358); +const bigqueryconnection = __nccwpck_require__(4879); +const bigquerydatatransfer = __nccwpck_require__(86653); +const bigqueryreservation = __nccwpck_require__(76594); +const bigtableadmin = __nccwpck_require__(46604); +const billingbudgets = __nccwpck_require__(81089); +const binaryauthorization = __nccwpck_require__(37245); +const blogger = __nccwpck_require__(43430); +const books = __nccwpck_require__(27911); +const calendar = __nccwpck_require__(2285); +const chat = __nccwpck_require__(32290); +const civicinfo = __nccwpck_require__(14729); +const classroom = __nccwpck_require__(75054); +const cloudasset = __nccwpck_require__(35333); +const cloudbilling = __nccwpck_require__(12897); +const cloudbuild = __nccwpck_require__(69302); +const clouddebugger = __nccwpck_require__(70259); +const clouderrorreporting = __nccwpck_require__(32510); +const cloudfunctions = __nccwpck_require__(82277); +const cloudidentity = __nccwpck_require__(33523); +const cloudiot = __nccwpck_require__(78613); +const cloudkms = __nccwpck_require__(72034); +const cloudprivatecatalog = __nccwpck_require__(47500); +const cloudprivatecatalogproducer = __nccwpck_require__(30066); +const cloudprofiler = __nccwpck_require__(35191); +const cloudresourcemanager = __nccwpck_require__(14621); +const cloudscheduler = __nccwpck_require__(69532); +const cloudsearch = __nccwpck_require__(56916); +const cloudshell = __nccwpck_require__(85465); +const cloudtasks = __nccwpck_require__(95235); +const cloudtrace = __nccwpck_require__(15559); +const commentanalyzer = __nccwpck_require__(61368); +const composer = __nccwpck_require__(34999); +const compute = __nccwpck_require__(885); +const container = __nccwpck_require__(74751); +const containeranalysis = __nccwpck_require__(12001); +const content = __nccwpck_require__(98817); +const customsearch = __nccwpck_require__(42938); +const datacatalog = __nccwpck_require__(62519); +const dataflow = __nccwpck_require__(65987); +const datafusion = __nccwpck_require__(46033); +const dataproc = __nccwpck_require__(4862); +const datastore = __nccwpck_require__(16341); +const deploymentmanager = __nccwpck_require__(97802); +const dfareporting = __nccwpck_require__(7833); +const dialogflow = __nccwpck_require__(96656); +const digitalassetlinks = __nccwpck_require__(3378); +const discovery = __nccwpck_require__(54595); +const dlp = __nccwpck_require__(64485); +const dns = __nccwpck_require__(10468); +const docs = __nccwpck_require__(61000); +const domainsrdap = __nccwpck_require__(42098); +const doubleclickbidmanager = __nccwpck_require__(52427); +const doubleclicksearch = __nccwpck_require__(1340); +const drive = __nccwpck_require__(21555); +const driveactivity = __nccwpck_require__(75137); +const factchecktools = __nccwpck_require__(66057); +const fcm = __nccwpck_require__(26287); +const file = __nccwpck_require__(22678); +const firebase = __nccwpck_require__(91087); +const firebasedynamiclinks = __nccwpck_require__(67602); +const firebasehosting = __nccwpck_require__(47893); +const firebaserules = __nccwpck_require__(46068); +const firestore = __nccwpck_require__(11015); +const fitness = __nccwpck_require__(2217); +const games = __nccwpck_require__(71511); +const gamesConfiguration = __nccwpck_require__(66481); +const gamesManagement = __nccwpck_require__(4127); +const genomics = __nccwpck_require__(38033); +const gmail = __nccwpck_require__(52575); +const groupsmigration = __nccwpck_require__(28925); +const groupssettings = __nccwpck_require__(63054); +const healthcare = __nccwpck_require__(38098); +const homegraph = __nccwpck_require__(91190); +const iam = __nccwpck_require__(11966); +const iamcredentials = __nccwpck_require__(60303); +const iap = __nccwpck_require__(47104); +const identitytoolkit = __nccwpck_require__(46373); +const indexing = __nccwpck_require__(87610); +const jobs = __nccwpck_require__(21528); +const kgsearch = __nccwpck_require__(96495); +const language = __nccwpck_require__(61944); +const libraryagent = __nccwpck_require__(4495); +const licensing = __nccwpck_require__(78579); +const lifesciences = __nccwpck_require__(90393); +const logging = __nccwpck_require__(30512); +const manufacturers = __nccwpck_require__(11327); +const mirror = __nccwpck_require__(2160); +const ml = __nccwpck_require__(44849); +const monitoring = __nccwpck_require__(79384); +const oauth2 = __nccwpck_require__(65759); +const oslogin = __nccwpck_require__(38815); +const pagespeedonline = __nccwpck_require__(26825); +const people = __nccwpck_require__(93639); +const playcustomapp = __nccwpck_require__(23016); +const plus = __nccwpck_require__(59788); +const plusDomains = __nccwpck_require__(22210); +const policytroubleshooter = __nccwpck_require__(42168); +const poly = __nccwpck_require__(35488); +const prod_tt_sasportal = __nccwpck_require__(64203); +const proximitybeacon = __nccwpck_require__(97053); +const pubsub = __nccwpck_require__(52964); +const recommender = __nccwpck_require__(10063); +const redis = __nccwpck_require__(12298); +const remotebuildexecution = __nccwpck_require__(18830); +const replicapool = __nccwpck_require__(36448); +const reseller = __nccwpck_require__(31812); +const run = __nccwpck_require__(63117); +const runtimeconfig = __nccwpck_require__(65465); +const safebrowsing = __nccwpck_require__(92428); +const sasportal = __nccwpck_require__(5085); +const script = __nccwpck_require__(6911); +const secretmanager = __nccwpck_require__(92976); +const securitycenter = __nccwpck_require__(12813); +const servicebroker = __nccwpck_require__(48938); +const serviceconsumermanagement = __nccwpck_require__(21296); +const servicecontrol = __nccwpck_require__(82); +const servicemanagement = __nccwpck_require__(8881); +const servicenetworking = __nccwpck_require__(72356); +const serviceusage = __nccwpck_require__(61110); +const sheets = __nccwpck_require__(84155); +const siteVerification = __nccwpck_require__(82450); +const slides = __nccwpck_require__(46702); +const sourcerepo = __nccwpck_require__(29618); +const spanner = __nccwpck_require__(10887); +const speech = __nccwpck_require__(54392); +const sql = __nccwpck_require__(9266); +const storage = __nccwpck_require__(82428); +const storagetransfer = __nccwpck_require__(3986); +const streetviewpublish = __nccwpck_require__(97709); +const tagmanager = __nccwpck_require__(50132); +const tasks = __nccwpck_require__(47354); +const testing = __nccwpck_require__(47527); +const texttospeech = __nccwpck_require__(47291); +const toolresults = __nccwpck_require__(19421); +const tpu = __nccwpck_require__(33390); +const translate = __nccwpck_require__(45537); +const vault = __nccwpck_require__(28107); +const verifiedaccess = __nccwpck_require__(85428); +const videointelligence = __nccwpck_require__(73075); +const vision = __nccwpck_require__(69992); +const webfonts = __nccwpck_require__(34225); +const webmasters = __nccwpck_require__(69867); +const websecurityscanner = __nccwpck_require__(25206); +const youtube = __nccwpck_require__(76524); +const youtubeAnalytics = __nccwpck_require__(78383); +const youtubereporting = __nccwpck_require__(12552); +exports.APIS = { + abusiveexperiencereport: abusiveexperiencereport.VERSIONS, + acceleratedmobilepageurl: acceleratedmobilepageurl.VERSIONS, + accessapproval: accessapproval.VERSIONS, + accesscontextmanager: accesscontextmanager.VERSIONS, + adexchangebuyer: adexchangebuyer.VERSIONS, + adexchangebuyer2: adexchangebuyer2.VERSIONS, + adexperiencereport: adexperiencereport.VERSIONS, + admin: admin.VERSIONS, + adsense: adsense.VERSIONS, + adsensehost: adsensehost.VERSIONS, + alertcenter: alertcenter.VERSIONS, + analytics: analytics.VERSIONS, + analyticsreporting: analyticsreporting.VERSIONS, + androiddeviceprovisioning: androiddeviceprovisioning.VERSIONS, + androidenterprise: androidenterprise.VERSIONS, + androidmanagement: androidmanagement.VERSIONS, + androidpublisher: androidpublisher.VERSIONS, + appengine: appengine.VERSIONS, + appsactivity: appsactivity.VERSIONS, + bigquery: bigquery.VERSIONS, + bigqueryconnection: bigqueryconnection.VERSIONS, + bigquerydatatransfer: bigquerydatatransfer.VERSIONS, + bigqueryreservation: bigqueryreservation.VERSIONS, + bigtableadmin: bigtableadmin.VERSIONS, + billingbudgets: billingbudgets.VERSIONS, + binaryauthorization: binaryauthorization.VERSIONS, + blogger: blogger.VERSIONS, + books: books.VERSIONS, + calendar: calendar.VERSIONS, + chat: chat.VERSIONS, + civicinfo: civicinfo.VERSIONS, + classroom: classroom.VERSIONS, + cloudasset: cloudasset.VERSIONS, + cloudbilling: cloudbilling.VERSIONS, + cloudbuild: cloudbuild.VERSIONS, + clouddebugger: clouddebugger.VERSIONS, + clouderrorreporting: clouderrorreporting.VERSIONS, + cloudfunctions: cloudfunctions.VERSIONS, + cloudidentity: cloudidentity.VERSIONS, + cloudiot: cloudiot.VERSIONS, + cloudkms: cloudkms.VERSIONS, + cloudprivatecatalog: cloudprivatecatalog.VERSIONS, + cloudprivatecatalogproducer: cloudprivatecatalogproducer.VERSIONS, + cloudprofiler: cloudprofiler.VERSIONS, + cloudresourcemanager: cloudresourcemanager.VERSIONS, + cloudscheduler: cloudscheduler.VERSIONS, + cloudsearch: cloudsearch.VERSIONS, + cloudshell: cloudshell.VERSIONS, + cloudtasks: cloudtasks.VERSIONS, + cloudtrace: cloudtrace.VERSIONS, + commentanalyzer: commentanalyzer.VERSIONS, + composer: composer.VERSIONS, + compute: compute.VERSIONS, + container: container.VERSIONS, + containeranalysis: containeranalysis.VERSIONS, + content: content.VERSIONS, + customsearch: customsearch.VERSIONS, + datacatalog: datacatalog.VERSIONS, + dataflow: dataflow.VERSIONS, + datafusion: datafusion.VERSIONS, + dataproc: dataproc.VERSIONS, + datastore: datastore.VERSIONS, + deploymentmanager: deploymentmanager.VERSIONS, + dfareporting: dfareporting.VERSIONS, + dialogflow: dialogflow.VERSIONS, + digitalassetlinks: digitalassetlinks.VERSIONS, + discovery: discovery.VERSIONS, + dlp: dlp.VERSIONS, + dns: dns.VERSIONS, + docs: docs.VERSIONS, + domainsrdap: domainsrdap.VERSIONS, + doubleclickbidmanager: doubleclickbidmanager.VERSIONS, + doubleclicksearch: doubleclicksearch.VERSIONS, + drive: drive.VERSIONS, + driveactivity: driveactivity.VERSIONS, + factchecktools: factchecktools.VERSIONS, + fcm: fcm.VERSIONS, + file: file.VERSIONS, + firebase: firebase.VERSIONS, + firebasedynamiclinks: firebasedynamiclinks.VERSIONS, + firebasehosting: firebasehosting.VERSIONS, + firebaserules: firebaserules.VERSIONS, + firestore: firestore.VERSIONS, + fitness: fitness.VERSIONS, + games: games.VERSIONS, + gamesConfiguration: gamesConfiguration.VERSIONS, + gamesManagement: gamesManagement.VERSIONS, + genomics: genomics.VERSIONS, + gmail: gmail.VERSIONS, + groupsmigration: groupsmigration.VERSIONS, + groupssettings: groupssettings.VERSIONS, + healthcare: healthcare.VERSIONS, + homegraph: homegraph.VERSIONS, + iam: iam.VERSIONS, + iamcredentials: iamcredentials.VERSIONS, + iap: iap.VERSIONS, + identitytoolkit: identitytoolkit.VERSIONS, + indexing: indexing.VERSIONS, + jobs: jobs.VERSIONS, + kgsearch: kgsearch.VERSIONS, + language: language.VERSIONS, + libraryagent: libraryagent.VERSIONS, + licensing: licensing.VERSIONS, + lifesciences: lifesciences.VERSIONS, + logging: logging.VERSIONS, + manufacturers: manufacturers.VERSIONS, + mirror: mirror.VERSIONS, + ml: ml.VERSIONS, + monitoring: monitoring.VERSIONS, + oauth2: oauth2.VERSIONS, + oslogin: oslogin.VERSIONS, + pagespeedonline: pagespeedonline.VERSIONS, + people: people.VERSIONS, + playcustomapp: playcustomapp.VERSIONS, + plus: plus.VERSIONS, + plusDomains: plusDomains.VERSIONS, + policytroubleshooter: policytroubleshooter.VERSIONS, + poly: poly.VERSIONS, + prod_tt_sasportal: prod_tt_sasportal.VERSIONS, + proximitybeacon: proximitybeacon.VERSIONS, + pubsub: pubsub.VERSIONS, + recommender: recommender.VERSIONS, + redis: redis.VERSIONS, + remotebuildexecution: remotebuildexecution.VERSIONS, + replicapool: replicapool.VERSIONS, + reseller: reseller.VERSIONS, + run: run.VERSIONS, + runtimeconfig: runtimeconfig.VERSIONS, + safebrowsing: safebrowsing.VERSIONS, + sasportal: sasportal.VERSIONS, + script: script.VERSIONS, + secretmanager: secretmanager.VERSIONS, + securitycenter: securitycenter.VERSIONS, + servicebroker: servicebroker.VERSIONS, + serviceconsumermanagement: serviceconsumermanagement.VERSIONS, + servicecontrol: servicecontrol.VERSIONS, + servicemanagement: servicemanagement.VERSIONS, + servicenetworking: servicenetworking.VERSIONS, + serviceusage: serviceusage.VERSIONS, + sheets: sheets.VERSIONS, + siteVerification: siteVerification.VERSIONS, + slides: slides.VERSIONS, + sourcerepo: sourcerepo.VERSIONS, + spanner: spanner.VERSIONS, + speech: speech.VERSIONS, + sql: sql.VERSIONS, + storage: storage.VERSIONS, + storagetransfer: storagetransfer.VERSIONS, + streetviewpublish: streetviewpublish.VERSIONS, + tagmanager: tagmanager.VERSIONS, + tasks: tasks.VERSIONS, + testing: testing.VERSIONS, + texttospeech: texttospeech.VERSIONS, + toolresults: toolresults.VERSIONS, + tpu: tpu.VERSIONS, + translate: translate.VERSIONS, + vault: vault.VERSIONS, + verifiedaccess: verifiedaccess.VERSIONS, + videointelligence: videointelligence.VERSIONS, + vision: vision.VERSIONS, + webfonts: webfonts.VERSIONS, + webmasters: webmasters.VERSIONS, + websecurityscanner: websecurityscanner.VERSIONS, + youtube: youtube.VERSIONS, + youtubeAnalytics: youtubeAnalytics.VERSIONS, + youtubereporting: youtubereporting.VERSIONS, +}; +class GeneratedAPIs { + constructor() { + this.abusiveexperiencereport = abusiveexperiencereport.abusiveexperiencereport; + this.acceleratedmobilepageurl = acceleratedmobilepageurl.acceleratedmobilepageurl; + this.accessapproval = accessapproval.accessapproval; + this.accesscontextmanager = accesscontextmanager.accesscontextmanager; + this.adexchangebuyer = adexchangebuyer.adexchangebuyer; + this.adexchangebuyer2 = adexchangebuyer2.adexchangebuyer2; + this.adexperiencereport = adexperiencereport.adexperiencereport; + this.admin = admin.admin; + this.adsense = adsense.adsense; + this.adsensehost = adsensehost.adsensehost; + this.alertcenter = alertcenter.alertcenter; + this.analytics = analytics.analytics; + this.analyticsreporting = analyticsreporting.analyticsreporting; + this.androiddeviceprovisioning = androiddeviceprovisioning.androiddeviceprovisioning; + this.androidenterprise = androidenterprise.androidenterprise; + this.androidmanagement = androidmanagement.androidmanagement; + this.androidpublisher = androidpublisher.androidpublisher; + this.appengine = appengine.appengine; + this.appsactivity = appsactivity.appsactivity; + this.bigquery = bigquery.bigquery; + this.bigqueryconnection = bigqueryconnection.bigqueryconnection; + this.bigquerydatatransfer = bigquerydatatransfer.bigquerydatatransfer; + this.bigqueryreservation = bigqueryreservation.bigqueryreservation; + this.bigtableadmin = bigtableadmin.bigtableadmin; + this.billingbudgets = billingbudgets.billingbudgets; + this.binaryauthorization = binaryauthorization.binaryauthorization; + this.blogger = blogger.blogger; + this.books = books.books; + this.calendar = calendar.calendar; + this.chat = chat.chat; + this.civicinfo = civicinfo.civicinfo; + this.classroom = classroom.classroom; + this.cloudasset = cloudasset.cloudasset; + this.cloudbilling = cloudbilling.cloudbilling; + this.cloudbuild = cloudbuild.cloudbuild; + this.clouddebugger = clouddebugger.clouddebugger; + this.clouderrorreporting = clouderrorreporting.clouderrorreporting; + this.cloudfunctions = cloudfunctions.cloudfunctions; + this.cloudidentity = cloudidentity.cloudidentity; + this.cloudiot = cloudiot.cloudiot; + this.cloudkms = cloudkms.cloudkms; + this.cloudprivatecatalog = cloudprivatecatalog.cloudprivatecatalog; + this.cloudprivatecatalogproducer = cloudprivatecatalogproducer.cloudprivatecatalogproducer; + this.cloudprofiler = cloudprofiler.cloudprofiler; + this.cloudresourcemanager = cloudresourcemanager.cloudresourcemanager; + this.cloudscheduler = cloudscheduler.cloudscheduler; + this.cloudsearch = cloudsearch.cloudsearch; + this.cloudshell = cloudshell.cloudshell; + this.cloudtasks = cloudtasks.cloudtasks; + this.cloudtrace = cloudtrace.cloudtrace; + this.commentanalyzer = commentanalyzer.commentanalyzer; + this.composer = composer.composer; + this.compute = compute.compute; + this.container = container.container; + this.containeranalysis = containeranalysis.containeranalysis; + this.content = content.content; + this.customsearch = customsearch.customsearch; + this.datacatalog = datacatalog.datacatalog; + this.dataflow = dataflow.dataflow; + this.datafusion = datafusion.datafusion; + this.dataproc = dataproc.dataproc; + this.datastore = datastore.datastore; + this.deploymentmanager = deploymentmanager.deploymentmanager; + this.dfareporting = dfareporting.dfareporting; + this.dialogflow = dialogflow.dialogflow; + this.digitalassetlinks = digitalassetlinks.digitalassetlinks; + this.discovery = discovery.discovery; + this.dlp = dlp.dlp; + this.dns = dns.dns; + this.docs = docs.docs; + this.domainsrdap = domainsrdap.domainsrdap; + this.doubleclickbidmanager = doubleclickbidmanager.doubleclickbidmanager; + this.doubleclicksearch = doubleclicksearch.doubleclicksearch; + this.drive = drive.drive; + this.driveactivity = driveactivity.driveactivity; + this.factchecktools = factchecktools.factchecktools; + this.fcm = fcm.fcm; + this.file = file.file; + this.firebase = firebase.firebase; + this.firebasedynamiclinks = firebasedynamiclinks.firebasedynamiclinks; + this.firebasehosting = firebasehosting.firebasehosting; + this.firebaserules = firebaserules.firebaserules; + this.firestore = firestore.firestore; + this.fitness = fitness.fitness; + this.games = games.games; + this.gamesConfiguration = gamesConfiguration.gamesConfiguration; + this.gamesManagement = gamesManagement.gamesManagement; + this.genomics = genomics.genomics; + this.gmail = gmail.gmail; + this.groupsmigration = groupsmigration.groupsmigration; + this.groupssettings = groupssettings.groupssettings; + this.healthcare = healthcare.healthcare; + this.homegraph = homegraph.homegraph; + this.iam = iam.iam; + this.iamcredentials = iamcredentials.iamcredentials; + this.iap = iap.iap; + this.identitytoolkit = identitytoolkit.identitytoolkit; + this.indexing = indexing.indexing; + this.jobs = jobs.jobs; + this.kgsearch = kgsearch.kgsearch; + this.language = language.language; + this.libraryagent = libraryagent.libraryagent; + this.licensing = licensing.licensing; + this.lifesciences = lifesciences.lifesciences; + this.logging = logging.logging; + this.manufacturers = manufacturers.manufacturers; + this.mirror = mirror.mirror; + this.ml = ml.ml; + this.monitoring = monitoring.monitoring; + this.oauth2 = oauth2.oauth2; + this.oslogin = oslogin.oslogin; + this.pagespeedonline = pagespeedonline.pagespeedonline; + this.people = people.people; + this.playcustomapp = playcustomapp.playcustomapp; + this.plus = plus.plus; + this.plusDomains = plusDomains.plusDomains; + this.policytroubleshooter = policytroubleshooter.policytroubleshooter; + this.poly = poly.poly; + this.prod_tt_sasportal = prod_tt_sasportal.prod_tt_sasportal; + this.proximitybeacon = proximitybeacon.proximitybeacon; + this.pubsub = pubsub.pubsub; + this.recommender = recommender.recommender; + this.redis = redis.redis; + this.remotebuildexecution = remotebuildexecution.remotebuildexecution; + this.replicapool = replicapool.replicapool; + this.reseller = reseller.reseller; + this.run = run.run; + this.runtimeconfig = runtimeconfig.runtimeconfig; + this.safebrowsing = safebrowsing.safebrowsing; + this.sasportal = sasportal.sasportal; + this.script = script.script; + this.secretmanager = secretmanager.secretmanager; + this.securitycenter = securitycenter.securitycenter; + this.servicebroker = servicebroker.servicebroker; + this.serviceconsumermanagement = serviceconsumermanagement.serviceconsumermanagement; + this.servicecontrol = servicecontrol.servicecontrol; + this.servicemanagement = servicemanagement.servicemanagement; + this.servicenetworking = servicenetworking.servicenetworking; + this.serviceusage = serviceusage.serviceusage; + this.sheets = sheets.sheets; + this.siteVerification = siteVerification.siteVerification; + this.slides = slides.slides; + this.sourcerepo = sourcerepo.sourcerepo; + this.spanner = spanner.spanner; + this.speech = speech.speech; + this.sql = sql.sql; + this.storage = storage.storage; + this.storagetransfer = storagetransfer.storagetransfer; + this.streetviewpublish = streetviewpublish.streetviewpublish; + this.tagmanager = tagmanager.tagmanager; + this.tasks = tasks.tasks; + this.testing = testing.testing; + this.texttospeech = texttospeech.texttospeech; + this.toolresults = toolresults.toolresults; + this.tpu = tpu.tpu; + this.translate = translate.translate; + this.vault = vault.vault; + this.verifiedaccess = verifiedaccess.verifiedaccess; + this.videointelligence = videointelligence.videointelligence; + this.vision = vision.vision; + this.webfonts = webfonts.webfonts; + this.webmasters = webmasters.webmasters; + this.websecurityscanner = websecurityscanner.websecurityscanner; + this.youtube = youtube.youtube; + this.youtubeAnalytics = youtubeAnalytics.youtubeAnalytics; + this.youtubereporting = youtubereporting.youtubereporting; + } +} +exports.GeneratedAPIs = GeneratedAPIs; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 87610: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v3_1 = __nccwpck_require__(32611); +exports.VERSIONS = { + v3: v3_1.indexing_v3.Indexing, +}; +function indexing(versionOrOptions) { + return googleapis_common_1.getAPI('indexing', versionOrOptions, exports.VERSIONS, this); +} +exports.indexing = indexing; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 32611: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var indexing_v3; +(function (indexing_v3) { + /** + * Indexing API + * + * Notifies Google when your web pages change. + * + * @example + * const {google} = require('googleapis'); + * const indexing = google.indexing('v3'); + * + * @namespace indexing + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Indexing + */ + class Indexing { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.urlNotifications = new Resource$Urlnotifications(this.context); + } + } + indexing_v3.Indexing = Indexing; + class Resource$Urlnotifications { + constructor(context) { + this.context = context; + } + getMetadata(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://indexing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/urlNotifications/metadata').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://indexing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/urlNotifications:publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + indexing_v3.Resource$Urlnotifications = Resource$Urlnotifications; +})(indexing_v3 = exports.indexing_v3 || (exports.indexing_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 21528: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(47273); +const v3_1 = __nccwpck_require__(11918); +const v3p1beta1_1 = __nccwpck_require__(43890); +exports.VERSIONS = { + v2: v2_1.jobs_v2.Jobs, + v3: v3_1.jobs_v3.Jobs, + v3p1beta1: v3p1beta1_1.jobs_v3p1beta1.Jobs, +}; +function jobs(versionOrOptions) { + return googleapis_common_1.getAPI('jobs', versionOrOptions, exports.VERSIONS, this); +} +exports.jobs = jobs; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 47273: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var jobs_v2; +(function (jobs_v2) { + /** + * Cloud Talent Solution API + * + * Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. + * + * @example + * const {google} = require('googleapis'); + * const jobs = google.jobs('v2'); + * + * @namespace jobs + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Jobs + */ + class Jobs { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.companies = new Resource$Companies(this.context); + this.jobs = new Resource$Jobs(this.context); + this.v2 = new Resource$V2(this.context); + } + } + jobs_v2.Jobs = Jobs; + class Resource$Companies { + constructor(context) { + this.context = context; + this.jobs = new Resource$Companies$Jobs(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/companies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/companies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v2.Resource$Companies = Resource$Companies; + class Resource$Companies$Jobs { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+companyName}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['companyName'], + pathParams: ['companyName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v2.Resource$Companies$Jobs = Resource$Companies$Jobs; + class Resource$Jobs { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteByFilter(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs:deleteByFilter').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + histogram(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs:histogram').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForAlert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/jobs:searchForAlert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v2.Resource$Jobs = Resource$Jobs; + class Resource$V2 { + constructor(context) { + this.context = context; + } + complete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2:complete').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v2.Resource$V2 = Resource$V2; +})(jobs_v2 = exports.jobs_v2 || (exports.jobs_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 11918: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var jobs_v3; +(function (jobs_v3) { + /** + * Cloud Talent Solution API + * + * Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. + * + * @example + * const {google} = require('googleapis'); + * const jobs = google.jobs('v3'); + * + * @namespace jobs + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Jobs + */ + class Jobs { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + jobs_v3.Jobs = Jobs; + class Resource$Projects { + constructor(context) { + this.context = context; + this.clientEvents = new Resource$Projects$Clientevents(this.context); + this.companies = new Resource$Projects$Companies(this.context); + this.jobs = new Resource$Projects$Jobs(this.context); + } + complete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}:complete').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3.Resource$Projects = Resource$Projects; + class Resource$Projects$Clientevents { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/clientEvents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3.Resource$Projects$Clientevents = Resource$Projects$Clientevents; + class Resource$Projects$Companies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/companies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/companies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3.Resource$Projects$Companies = Resource$Projects$Companies; + class Resource$Projects$Jobs { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/jobs:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/jobs:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForAlert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/jobs:searchForAlert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3.Resource$Projects$Jobs = Resource$Projects$Jobs; +})(jobs_v3 = exports.jobs_v3 || (exports.jobs_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 43890: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var jobs_v3p1beta1; +(function (jobs_v3p1beta1) { + /** + * Cloud Talent Solution API + * + * Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. + * + * @example + * const {google} = require('googleapis'); + * const jobs = google.jobs('v3p1beta1'); + * + * @namespace jobs + * @type {Function} + * @version v3p1beta1 + * @variation v3p1beta1 + * @param {object=} options Options for Jobs + */ + class Jobs { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + jobs_v3p1beta1.Jobs = Jobs; + class Resource$Projects { + constructor(context) { + this.context = context; + this.clientEvents = new Resource$Projects$Clientevents(this.context); + this.companies = new Resource$Projects$Companies(this.context); + this.jobs = new Resource$Projects$Jobs(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + complete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}:complete').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3p1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Clientevents { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/clientEvents').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3p1beta1.Resource$Projects$Clientevents = Resource$Projects$Clientevents; + class Resource$Projects$Companies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/companies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/companies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3p1beta1.Resource$Projects$Companies = Resource$Projects$Companies; + class Resource$Projects$Jobs { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/jobs:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/jobs:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchForAlert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+parent}/jobs:searchForAlert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3p1beta1.Resource$Projects$Jobs = Resource$Projects$Jobs; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + jobs_v3p1beta1.Resource$Projects$Operations = Resource$Projects$Operations; +})(jobs_v3p1beta1 = exports.jobs_v3p1beta1 || (exports.jobs_v3p1beta1 = {})); +//# sourceMappingURL=v3p1beta1.js.map + +/***/ }), + +/***/ 96495: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(62560); +exports.VERSIONS = { + v1: v1_1.kgsearch_v1.Kgsearch, +}; +function kgsearch(versionOrOptions) { + return googleapis_common_1.getAPI('kgsearch', versionOrOptions, exports.VERSIONS, this); +} +exports.kgsearch = kgsearch; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 62560: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var kgsearch_v1; +(function (kgsearch_v1) { + /** + * Knowledge Graph Search API + * + * Searches the Google Knowledge Graph for entities. + * + * @example + * const {google} = require('googleapis'); + * const kgsearch = google.kgsearch('v1'); + * + * @namespace kgsearch + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Kgsearch + */ + class Kgsearch { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.entities = new Resource$Entities(this.context); + } + } + kgsearch_v1.Kgsearch = Kgsearch; + class Resource$Entities { + constructor(context) { + this.context = context; + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://kgsearch.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/entities:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + kgsearch_v1.Resource$Entities = Resource$Entities; +})(kgsearch_v1 = exports.kgsearch_v1 || (exports.kgsearch_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 61944: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(72875); +const v1beta1_1 = __nccwpck_require__(8150); +const v1beta2_1 = __nccwpck_require__(23374); +exports.VERSIONS = { + v1: v1_1.language_v1.Language, + v1beta1: v1beta1_1.language_v1beta1.Language, + v1beta2: v1beta2_1.language_v1beta2.Language, +}; +function language(versionOrOptions) { + return googleapis_common_1.getAPI('language', versionOrOptions, exports.VERSIONS, this); +} +exports.language = language; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 72875: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var language_v1; +(function (language_v1) { + /** + * Cloud Natural Language API + * + * Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. + * + * @example + * const {google} = require('googleapis'); + * const language = google.language('v1'); + * + * @namespace language + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Language + */ + class Language { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.documents = new Resource$Documents(this.context); + } + } + language_v1.Language = Language; + class Resource$Documents { + constructor(context) { + this.context = context; + } + analyzeEntities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents:analyzeEntities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeEntitySentiment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents:analyzeEntitySentiment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeSentiment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents:analyzeSentiment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeSyntax(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents:analyzeSyntax').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + annotateText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents:annotateText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + classifyText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/documents:classifyText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + language_v1.Resource$Documents = Resource$Documents; +})(language_v1 = exports.language_v1 || (exports.language_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 8150: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var language_v1beta1; +(function (language_v1beta1) { + /** + * Cloud Natural Language API + * + * Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. + * + * @example + * const {google} = require('googleapis'); + * const language = google.language('v1beta1'); + * + * @namespace language + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Language + */ + class Language { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.documents = new Resource$Documents(this.context); + } + } + language_v1beta1.Language = Language; + class Resource$Documents { + constructor(context) { + this.context = context; + } + analyzeEntities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/documents:analyzeEntities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeSentiment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/documents:analyzeSentiment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeSyntax(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/documents:analyzeSyntax').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + annotateText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/documents:annotateText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + language_v1beta1.Resource$Documents = Resource$Documents; +})(language_v1beta1 = exports.language_v1beta1 || (exports.language_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 23374: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var language_v1beta2; +(function (language_v1beta2) { + /** + * Cloud Natural Language API + * + * Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers. + * + * @example + * const {google} = require('googleapis'); + * const language = google.language('v1beta2'); + * + * @namespace language + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Language + */ + class Language { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.documents = new Resource$Documents(this.context); + } + } + language_v1beta2.Language = Language; + class Resource$Documents { + constructor(context) { + this.context = context; + } + analyzeEntities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/documents:analyzeEntities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeEntitySentiment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/documents:analyzeEntitySentiment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeSentiment(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/documents:analyzeSentiment').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + analyzeSyntax(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/documents:analyzeSyntax').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + annotateText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/documents:annotateText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + classifyText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://language.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/documents:classifyText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + language_v1beta2.Resource$Documents = Resource$Documents; +})(language_v1beta2 = exports.language_v1beta2 || (exports.language_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 4495: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(81393); +exports.VERSIONS = { + v1: v1_1.libraryagent_v1.Libraryagent, +}; +function libraryagent(versionOrOptions) { + return googleapis_common_1.getAPI('libraryagent', versionOrOptions, exports.VERSIONS, this); +} +exports.libraryagent = libraryagent; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 81393: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var libraryagent_v1; +(function (libraryagent_v1) { + /** + * Library Agent API + * + * A simple Google Example Library API. + * + * @example + * const {google} = require('googleapis'); + * const libraryagent = google.libraryagent('v1'); + * + * @namespace libraryagent + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Libraryagent + */ + class Libraryagent { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.shelves = new Resource$Shelves(this.context); + } + } + libraryagent_v1.Libraryagent = Libraryagent; + class Resource$Shelves { + constructor(context) { + this.context = context; + this.books = new Resource$Shelves$Books(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/shelves').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + libraryagent_v1.Resource$Shelves = Resource$Shelves; + class Resource$Shelves$Books { + constructor(context) { + this.context = context; + } + borrow(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:borrow').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/books').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + return(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:return').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + libraryagent_v1.Resource$Shelves$Books = Resource$Shelves$Books; +})(libraryagent_v1 = exports.libraryagent_v1 || (exports.libraryagent_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 78579: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(92735); +exports.VERSIONS = { + v1: v1_1.licensing_v1.Licensing, +}; +function licensing(versionOrOptions) { + return googleapis_common_1.getAPI('licensing', versionOrOptions, exports.VERSIONS, this); +} +exports.licensing = licensing; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 92735: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var licensing_v1; +(function (licensing_v1) { + /** + * Licensing API + * + * Licensing API to view and manage licenses for your domain + * + * @example + * const {google} = require('googleapis'); + * const licensing = google.licensing('v1'); + * + * @namespace licensing + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Licensing + */ + class Licensing { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.licenseAssignments = new Resource$Licenseassignments(this.context); + } + } + licensing_v1.Licensing = Licensing; + class Resource$Licenseassignments { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['productId', 'skuId', 'userId'], + pathParams: ['productId', 'skuId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['productId', 'skuId', 'userId'], + pathParams: ['productId', 'skuId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/licensing/v1/product/{productId}/sku/{skuId}/user').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['productId', 'skuId'], + pathParams: ['productId', 'skuId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listForProduct(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/licensing/v1/product/{productId}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['productId', 'customerId'], + pathParams: ['productId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listForProductAndSku(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/licensing/v1/product/{productId}/sku/{skuId}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['productId', 'skuId', 'customerId'], + pathParams: ['productId', 'skuId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['productId', 'skuId', 'userId'], + pathParams: ['productId', 'skuId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['productId', 'skuId', 'userId'], + pathParams: ['productId', 'skuId', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + licensing_v1.Resource$Licenseassignments = Resource$Licenseassignments; +})(licensing_v1 = exports.licensing_v1 || (exports.licensing_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 90393: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2beta_1 = __nccwpck_require__(51937); +exports.VERSIONS = { + v2beta: v2beta_1.lifesciences_v2beta.Lifesciences, +}; +function lifesciences(versionOrOptions) { + return googleapis_common_1.getAPI('lifesciences', versionOrOptions, exports.VERSIONS, this); +} +exports.lifesciences = lifesciences; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 51937: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var lifesciences_v2beta; +(function (lifesciences_v2beta) { + /** + * Cloud Life Sciences API + * + * Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data. + * + * @example + * const {google} = require('googleapis'); + * const lifesciences = google.lifesciences('v2beta'); + * + * @namespace lifesciences + * @type {Function} + * @version v2beta + * @variation v2beta + * @param {object=} options Options for Lifesciences + */ + class Lifesciences { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + lifesciences_v2beta.Lifesciences = Lifesciences; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + lifesciences_v2beta.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Locations$Operations(this.context); + this.pipelines = new Resource$Projects$Locations$Pipelines(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + lifesciences_v2beta.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + lifesciences_v2beta.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Locations$Pipelines { + constructor(context) { + this.context = context; + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta/{+parent}/pipelines:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + lifesciences_v2beta.Resource$Projects$Locations$Pipelines = Resource$Projects$Locations$Pipelines; +})(lifesciences_v2beta = exports.lifesciences_v2beta || (exports.lifesciences_v2beta = {})); +//# sourceMappingURL=v2beta.js.map + +/***/ }), + +/***/ 30512: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(53912); +exports.VERSIONS = { + v2: v2_1.logging_v2.Logging, +}; +function logging(versionOrOptions) { + return googleapis_common_1.getAPI('logging', versionOrOptions, exports.VERSIONS, this); +} +exports.logging = logging; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 53912: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var logging_v2; +(function (logging_v2) { + /** + * Stackdriver Logging API + * + * Writes log entries and manages your Stackdriver Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the <a href=https://cloud.google.com/logging/docs>Stackdriver Logging documentation</a>. + * + * @example + * const {google} = require('googleapis'); + * const logging = google.logging('v2'); + * + * @namespace logging + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Logging + */ + class Logging { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.billingAccounts = new Resource$Billingaccounts(this.context); + this.entries = new Resource$Entries(this.context); + this.exclusions = new Resource$Exclusions(this.context); + this.folders = new Resource$Folders(this.context); + this.logs = new Resource$Logs(this.context); + this.monitoredResourceDescriptors = new Resource$Monitoredresourcedescriptors(this.context); + this.organizations = new Resource$Organizations(this.context); + this.projects = new Resource$Projects(this.context); + this.sinks = new Resource$Sinks(this.context); + } + } + logging_v2.Logging = Logging; + class Resource$Billingaccounts { + constructor(context) { + this.context = context; + this.exclusions = new Resource$Billingaccounts$Exclusions(this.context); + this.logs = new Resource$Billingaccounts$Logs(this.context); + this.sinks = new Resource$Billingaccounts$Sinks(this.context); + } + } + logging_v2.Resource$Billingaccounts = Resource$Billingaccounts; + class Resource$Billingaccounts$Exclusions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Billingaccounts$Exclusions = Resource$Billingaccounts$Exclusions; + class Resource$Billingaccounts$Logs { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+logName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['logName'], + pathParams: ['logName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Billingaccounts$Logs = Resource$Billingaccounts$Logs; + class Resource$Billingaccounts$Sinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Billingaccounts$Sinks = Resource$Billingaccounts$Sinks; + class Resource$Entries { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/entries:list').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + write(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/entries:write').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Entries = Resource$Entries; + class Resource$Exclusions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Exclusions = Resource$Exclusions; + class Resource$Folders { + constructor(context) { + this.context = context; + this.exclusions = new Resource$Folders$Exclusions(this.context); + this.logs = new Resource$Folders$Logs(this.context); + this.sinks = new Resource$Folders$Sinks(this.context); + } + } + logging_v2.Resource$Folders = Resource$Folders; + class Resource$Folders$Exclusions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Folders$Exclusions = Resource$Folders$Exclusions; + class Resource$Folders$Logs { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+logName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['logName'], + pathParams: ['logName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Folders$Logs = Resource$Folders$Logs; + class Resource$Folders$Sinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Folders$Sinks = Resource$Folders$Sinks; + class Resource$Logs { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+logName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['logName'], + pathParams: ['logName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Logs = Resource$Logs; + class Resource$Monitoredresourcedescriptors { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/monitoredResourceDescriptors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Monitoredresourcedescriptors = Resource$Monitoredresourcedescriptors; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.exclusions = new Resource$Organizations$Exclusions(this.context); + this.logs = new Resource$Organizations$Logs(this.context); + this.sinks = new Resource$Organizations$Sinks(this.context); + } + } + logging_v2.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Exclusions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Organizations$Exclusions = Resource$Organizations$Exclusions; + class Resource$Organizations$Logs { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+logName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['logName'], + pathParams: ['logName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Organizations$Logs = Resource$Organizations$Logs; + class Resource$Organizations$Sinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Organizations$Sinks = Resource$Organizations$Sinks; + class Resource$Projects { + constructor(context) { + this.context = context; + this.exclusions = new Resource$Projects$Exclusions(this.context); + this.logs = new Resource$Projects$Logs(this.context); + this.metrics = new Resource$Projects$Metrics(this.context); + this.sinks = new Resource$Projects$Sinks(this.context); + } + } + logging_v2.Resource$Projects = Resource$Projects; + class Resource$Projects$Exclusions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Projects$Exclusions = Resource$Projects$Exclusions; + class Resource$Projects$Logs { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+logName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['logName'], + pathParams: ['logName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Projects$Logs = Resource$Projects$Logs; + class Resource$Projects$Metrics { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/metrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+metricName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['metricName'], + pathParams: ['metricName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+metricName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['metricName'], + pathParams: ['metricName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/metrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+metricName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['metricName'], + pathParams: ['metricName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Projects$Metrics = Resource$Projects$Metrics; + class Resource$Projects$Sinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Projects$Sinks = Resource$Projects$Sinks; + class Resource$Sinks { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://logging.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['sinkName'], + pathParams: ['sinkName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + logging_v2.Resource$Sinks = Resource$Sinks; +})(logging_v2 = exports.logging_v2 || (exports.logging_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 11327: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(21903); +exports.VERSIONS = { + v1: v1_1.manufacturers_v1.Manufacturers, +}; +function manufacturers(versionOrOptions) { + return googleapis_common_1.getAPI('manufacturers', versionOrOptions, exports.VERSIONS, this); +} +exports.manufacturers = manufacturers; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 21903: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var manufacturers_v1; +(function (manufacturers_v1) { + /** + * Manufacturer Center API + * + * Public API for managing Manufacturer Center related data. + * + * @example + * const {google} = require('googleapis'); + * const manufacturers = google.manufacturers('v1'); + * + * @namespace manufacturers + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Manufacturers + */ + class Manufacturers { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + } + } + manufacturers_v1.Manufacturers = Manufacturers; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.products = new Resource$Accounts$Products(this.context); + } + } + manufacturers_v1.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Products { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'name'], + pathParams: ['name', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'name'], + pathParams: ['name', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['parent', 'name'], + pathParams: ['name', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + manufacturers_v1.Resource$Accounts$Products = Resource$Accounts$Products; +})(manufacturers_v1 = exports.manufacturers_v1 || (exports.manufacturers_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 2160: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(72449); +exports.VERSIONS = { + v1: v1_1.mirror_v1.Mirror, +}; +function mirror(versionOrOptions) { + return googleapis_common_1.getAPI('mirror', versionOrOptions, exports.VERSIONS, this); +} +exports.mirror = mirror; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 72449: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var mirror_v1; +(function (mirror_v1) { + /** + * Google Mirror API + * + * Interacts with Glass users via the timeline. + * + * @example + * const {google} = require('googleapis'); + * const mirror = google.mirror('v1'); + * + * @namespace mirror + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Mirror + */ + class Mirror { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + this.contacts = new Resource$Contacts(this.context); + this.locations = new Resource$Locations(this.context); + this.settings = new Resource$Settings(this.context); + this.subscriptions = new Resource$Subscriptions(this.context); + this.timeline = new Resource$Timeline(this.context); + } + } + mirror_v1.Mirror = Mirror; + class Resource$Accounts { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/mirror/v1/accounts/{userToken}/{accountType}/{accountName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['userToken', 'accountType', 'accountName'], + pathParams: ['accountName', 'accountType', 'userToken'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Accounts = Resource$Accounts; + class Resource$Contacts { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/contacts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/contacts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Contacts = Resource$Contacts; + class Resource$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/locations/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Locations = Resource$Locations; + class Resource$Settings { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/settings/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Settings = Resource$Settings; + class Resource$Subscriptions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/subscriptions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/subscriptions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Subscriptions = Resource$Subscriptions; + class Resource$Timeline { + constructor(context) { + this.context = context; + this.attachments = new Resource$Timeline$Attachments(this.context); + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/mirror/v1/timeline').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + mediaUrl: (rootUrl + '/upload/mirror/v1/timeline/{id}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Timeline = Resource$Timeline; + class Resource$Timeline$Attachments { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/mirror/v1/timeline/{itemId}/attachments/{attachmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['itemId', 'attachmentId'], + pathParams: ['attachmentId', 'itemId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/mirror/v1/timeline/{itemId}/attachments/{attachmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['itemId', 'attachmentId'], + pathParams: ['attachmentId', 'itemId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline/{itemId}/attachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/mirror/v1/timeline/{itemId}/attachments').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['itemId'], + pathParams: ['itemId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/mirror/v1/timeline/{itemId}/attachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['itemId'], + pathParams: ['itemId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + mirror_v1.Resource$Timeline$Attachments = Resource$Timeline$Attachments; +})(mirror_v1 = exports.mirror_v1 || (exports.mirror_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 44849: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(3540); +exports.VERSIONS = { + v1: v1_1.ml_v1.Ml, +}; +function ml(versionOrOptions) { + return googleapis_common_1.getAPI('ml', versionOrOptions, exports.VERSIONS, this); +} +exports.ml = ml; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 3540: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var ml_v1; +(function (ml_v1) { + /** + * AI Platform Training & Prediction API + * + * An API to enable creating and using machine learning models. + * + * @example + * const {google} = require('googleapis'); + * const ml = google.ml('v1'); + * + * @namespace ml + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Ml + */ + class Ml { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + ml_v1.Ml = Ml; + class Resource$Projects { + constructor(context) { + this.context = context; + this.jobs = new Resource$Projects$Jobs(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.models = new Resource$Projects$Models(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + explain(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:explain').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:getConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + predict(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:predict').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + ml_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Jobs { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + ml_v1.Resource$Projects$Jobs = Resource$Projects$Jobs; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + ml_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Models { + constructor(context) { + this.context = context; + this.versions = new Resource$Projects$Models$Versions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/models').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/models').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + ml_v1.Resource$Projects$Models = Resource$Projects$Models; + class Resource$Projects$Models$Versions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setDefault(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setDefault').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + ml_v1.Resource$Projects$Models$Versions = Resource$Projects$Models$Versions; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://ml.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + ml_v1.Resource$Projects$Operations = Resource$Projects$Operations; +})(ml_v1 = exports.ml_v1 || (exports.ml_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 79384: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(84444); +const v3_1 = __nccwpck_require__(44636); +exports.VERSIONS = { + v1: v1_1.monitoring_v1.Monitoring, + v3: v3_1.monitoring_v3.Monitoring, +}; +function monitoring(versionOrOptions) { + return googleapis_common_1.getAPI('monitoring', versionOrOptions, exports.VERSIONS, this); +} +exports.monitoring = monitoring; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 84444: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var monitoring_v1; +(function (monitoring_v1) { + /** + * Stackdriver Monitoring API + * + * Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation. + * + * @example + * const {google} = require('googleapis'); + * const monitoring = google.monitoring('v1'); + * + * @namespace monitoring + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Monitoring + */ + class Monitoring { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + monitoring_v1.Monitoring = Monitoring; + class Resource$Projects { + constructor(context) { + this.context = context; + this.dashboards = new Resource$Projects$Dashboards(this.context); + } + } + monitoring_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Dashboards { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/dashboards').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/dashboards').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v1.Resource$Projects$Dashboards = Resource$Projects$Dashboards; +})(monitoring_v1 = exports.monitoring_v1 || (exports.monitoring_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 44636: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var monitoring_v3; +(function (monitoring_v3) { + /** + * Stackdriver Monitoring API + * + * Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation. + * + * @example + * const {google} = require('googleapis'); + * const monitoring = google.monitoring('v3'); + * + * @namespace monitoring + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Monitoring + */ + class Monitoring { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + this.services = new Resource$Services(this.context); + this.uptimeCheckIps = new Resource$Uptimecheckips(this.context); + } + } + monitoring_v3.Monitoring = Monitoring; + class Resource$Projects { + constructor(context) { + this.context = context; + this.alertPolicies = new Resource$Projects$Alertpolicies(this.context); + this.collectdTimeSeries = new Resource$Projects$Collectdtimeseries(this.context); + this.groups = new Resource$Projects$Groups(this.context); + this.metricDescriptors = new Resource$Projects$Metricdescriptors(this.context); + this.monitoredResourceDescriptors = new Resource$Projects$Monitoredresourcedescriptors(this.context); + this.notificationChannelDescriptors = new Resource$Projects$Notificationchanneldescriptors(this.context); + this.notificationChannels = new Resource$Projects$Notificationchannels(this.context); + this.timeSeries = new Resource$Projects$Timeseries(this.context); + this.uptimeCheckConfigs = new Resource$Projects$Uptimecheckconfigs(this.context); + } + } + monitoring_v3.Resource$Projects = Resource$Projects; + class Resource$Projects$Alertpolicies { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/alertPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/alertPolicies').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Alertpolicies = Resource$Projects$Alertpolicies; + class Resource$Projects$Collectdtimeseries { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/collectdTimeSeries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Collectdtimeseries = Resource$Projects$Collectdtimeseries; + class Resource$Projects$Groups { + constructor(context) { + this.context = context; + this.members = new Resource$Projects$Groups$Members(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Groups = Resource$Projects$Groups; + class Resource$Projects$Groups$Members { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/members').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Groups$Members = Resource$Projects$Groups$Members; + class Resource$Projects$Metricdescriptors { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/metricDescriptors').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/metricDescriptors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Metricdescriptors = Resource$Projects$Metricdescriptors; + class Resource$Projects$Monitoredresourcedescriptors { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/monitoredResourceDescriptors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Monitoredresourcedescriptors = Resource$Projects$Monitoredresourcedescriptors; + class Resource$Projects$Notificationchanneldescriptors { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/notificationChannelDescriptors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Notificationchanneldescriptors = Resource$Projects$Notificationchanneldescriptors; + class Resource$Projects$Notificationchannels { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/notificationChannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getVerificationCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}:getVerificationCode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/notificationChannels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sendVerificationCode(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}:sendVerificationCode').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}:verify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Notificationchannels = Resource$Projects$Notificationchannels; + class Resource$Projects$Timeseries { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/timeSeries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}/timeSeries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Timeseries = Resource$Projects$Timeseries; + class Resource$Projects$Uptimecheckconfigs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/uptimeCheckConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/uptimeCheckConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Projects$Uptimecheckconfigs = Resource$Projects$Uptimecheckconfigs; + class Resource$Services { + constructor(context) { + this.context = context; + this.serviceLevelObjectives = new Resource$Services$Servicelevelobjectives(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Services = Resource$Services; + class Resource$Services$Servicelevelobjectives { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/serviceLevelObjectives').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+parent}/serviceLevelObjectives').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Services$Servicelevelobjectives = Resource$Services$Servicelevelobjectives; + class Resource$Uptimecheckips { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3/uptimeCheckIps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + monitoring_v3.Resource$Uptimecheckips = Resource$Uptimecheckips; +})(monitoring_v3 = exports.monitoring_v3 || (exports.monitoring_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 65759: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(31598); +const v2_1 = __nccwpck_require__(32241); +exports.VERSIONS = { + v1: v1_1.oauth2_v1.Oauth2, + v2: v2_1.oauth2_v2.Oauth2, +}; +function oauth2(versionOrOptions) { + return googleapis_common_1.getAPI('oauth2', versionOrOptions, exports.VERSIONS, this); +} +exports.oauth2 = oauth2; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 31598: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var oauth2_v1; +(function (oauth2_v1) { + /** + * Google OAuth2 API + * + * Obtains end-user authorization grants for use with other Google APIs. + * + * @example + * const {google} = require('googleapis'); + * const oauth2 = google.oauth2('v1'); + * + * @namespace oauth2 + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Oauth2 + */ + class Oauth2 { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.userinfo = new Resource$Userinfo(this.context); + } + tokeninfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/oauth2/v1/tokeninfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oauth2_v1.Oauth2 = Oauth2; + class Resource$Userinfo { + constructor(context) { + this.context = context; + this.v2 = new Resource$Userinfo$V2(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/oauth2/v1/userinfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oauth2_v1.Resource$Userinfo = Resource$Userinfo; + class Resource$Userinfo$V2 { + constructor(context) { + this.context = context; + this.me = new Resource$Userinfo$V2$Me(this.context); + } + } + oauth2_v1.Resource$Userinfo$V2 = Resource$Userinfo$V2; + class Resource$Userinfo$V2$Me { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/userinfo/v2/me').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oauth2_v1.Resource$Userinfo$V2$Me = Resource$Userinfo$V2$Me; +})(oauth2_v1 = exports.oauth2_v1 || (exports.oauth2_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 32241: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var oauth2_v2; +(function (oauth2_v2) { + /** + * Google OAuth2 API + * + * Obtains end-user authorization grants for use with other Google APIs. + * + * @example + * const {google} = require('googleapis'); + * const oauth2 = google.oauth2('v2'); + * + * @namespace oauth2 + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Oauth2 + */ + class Oauth2 { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.userinfo = new Resource$Userinfo(this.context); + } + getCertForOpenIdConnect(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/oauth2/v2/certs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + tokeninfo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/oauth2/v2/tokeninfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oauth2_v2.Oauth2 = Oauth2; + class Resource$Userinfo { + constructor(context) { + this.context = context; + this.v2 = new Resource$Userinfo$V2(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/oauth2/v2/userinfo').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oauth2_v2.Resource$Userinfo = Resource$Userinfo; + class Resource$Userinfo$V2 { + constructor(context) { + this.context = context; + this.me = new Resource$Userinfo$V2$Me(this.context); + } + } + oauth2_v2.Resource$Userinfo$V2 = Resource$Userinfo$V2; + class Resource$Userinfo$V2$Me { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/userinfo/v2/me').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oauth2_v2.Resource$Userinfo$V2$Me = Resource$Userinfo$V2$Me; +})(oauth2_v2 = exports.oauth2_v2 || (exports.oauth2_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 38815: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(14005); +const v1alpha_1 = __nccwpck_require__(72152); +const v1beta_1 = __nccwpck_require__(50779); +exports.VERSIONS = { + v1: v1_1.oslogin_v1.Oslogin, + v1alpha: v1alpha_1.oslogin_v1alpha.Oslogin, + v1beta: v1beta_1.oslogin_v1beta.Oslogin, +}; +function oslogin(versionOrOptions) { + return googleapis_common_1.getAPI('oslogin', versionOrOptions, exports.VERSIONS, this); +} +exports.oslogin = oslogin; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 14005: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var oslogin_v1; +(function (oslogin_v1) { + /** + * Cloud OS Login API + * + * You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/). + * + * @example + * const {google} = require('googleapis'); + * const oslogin = google.oslogin('v1'); + * + * @namespace oslogin + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Oslogin + */ + class Oslogin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.users = new Resource$Users(this.context); + } + } + oslogin_v1.Oslogin = Oslogin; + class Resource$Users { + constructor(context) { + this.context = context; + this.projects = new Resource$Users$Projects(this.context); + this.sshPublicKeys = new Resource$Users$Sshpublickeys(this.context); + } + getLoginProfile(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/loginProfile').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + importSshPublicKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:importSshPublicKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1.Resource$Users = Resource$Users; + class Resource$Users$Projects { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1.Resource$Users$Projects = Resource$Users$Projects; + class Resource$Users$Sshpublickeys { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1.Resource$Users$Sshpublickeys = Resource$Users$Sshpublickeys; +})(oslogin_v1 = exports.oslogin_v1 || (exports.oslogin_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 72152: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var oslogin_v1alpha; +(function (oslogin_v1alpha) { + /** + * Cloud OS Login API + * + * You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/). + * + * @example + * const {google} = require('googleapis'); + * const oslogin = google.oslogin('v1alpha'); + * + * @namespace oslogin + * @type {Function} + * @version v1alpha + * @variation v1alpha + * @param {object=} options Options for Oslogin + */ + class Oslogin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.users = new Resource$Users(this.context); + } + } + oslogin_v1alpha.Oslogin = Oslogin; + class Resource$Users { + constructor(context) { + this.context = context; + this.projects = new Resource$Users$Projects(this.context); + this.sshPublicKeys = new Resource$Users$Sshpublickeys(this.context); + } + getLoginProfile(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}/loginProfile').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + importSshPublicKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}:importSshPublicKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1alpha.Resource$Users = Resource$Users; + class Resource$Users$Projects { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1alpha.Resource$Users$Projects = Resource$Users$Projects; + class Resource$Users$Sshpublickeys { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1alpha.Resource$Users$Sshpublickeys = Resource$Users$Sshpublickeys; +})(oslogin_v1alpha = exports.oslogin_v1alpha || (exports.oslogin_v1alpha = {})); +//# sourceMappingURL=v1alpha.js.map + +/***/ }), + +/***/ 50779: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var oslogin_v1beta; +(function (oslogin_v1beta) { + /** + * Cloud OS Login API + * + * You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/). + * + * @example + * const {google} = require('googleapis'); + * const oslogin = google.oslogin('v1beta'); + * + * @namespace oslogin + * @type {Function} + * @version v1beta + * @variation v1beta + * @param {object=} options Options for Oslogin + */ + class Oslogin { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.users = new Resource$Users(this.context); + } + } + oslogin_v1beta.Oslogin = Oslogin; + class Resource$Users { + constructor(context) { + this.context = context; + this.projects = new Resource$Users$Projects(this.context); + this.sshPublicKeys = new Resource$Users$Sshpublickeys(this.context); + } + getLoginProfile(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}/loginProfile').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + importSshPublicKey(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}:importSshPublicKey').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1beta.Resource$Users = Resource$Users; + class Resource$Users$Projects { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1beta.Resource$Users$Projects = Resource$Users$Projects; + class Resource$Users$Sshpublickeys { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + oslogin_v1beta.Resource$Users$Sshpublickeys = Resource$Users$Sshpublickeys; +})(oslogin_v1beta = exports.oslogin_v1beta || (exports.oslogin_v1beta = {})); +//# sourceMappingURL=v1beta.js.map + +/***/ }), + +/***/ 26825: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(69936); +const v2_1 = __nccwpck_require__(40290); +const v4_1 = __nccwpck_require__(84048); +const v5_1 = __nccwpck_require__(72258); +exports.VERSIONS = { + v1: v1_1.pagespeedonline_v1.Pagespeedonline, + v2: v2_1.pagespeedonline_v2.Pagespeedonline, + v4: v4_1.pagespeedonline_v4.Pagespeedonline, + v5: v5_1.pagespeedonline_v5.Pagespeedonline, +}; +function pagespeedonline(versionOrOptions) { + return googleapis_common_1.getAPI('pagespeedonline', versionOrOptions, exports.VERSIONS, this); +} +exports.pagespeedonline = pagespeedonline; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 69936: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pagespeedonline_v1; +(function (pagespeedonline_v1) { + /** + * PageSpeed Insights API + * + * Analyzes the performance of a web page and provides tailored suggestions to make that page faster. + * + * @example + * const {google} = require('googleapis'); + * const pagespeedonline = google.pagespeedonline('v1'); + * + * @namespace pagespeedonline + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Pagespeedonline + */ + class Pagespeedonline { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.pagespeedapi = new Resource$Pagespeedapi(this.context); + } + } + pagespeedonline_v1.Pagespeedonline = Pagespeedonline; + class Resource$Pagespeedapi { + constructor(context) { + this.context = context; + } + runpagespeed(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/pagespeedonline/v1/runPagespeed').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['url'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pagespeedonline_v1.Resource$Pagespeedapi = Resource$Pagespeedapi; +})(pagespeedonline_v1 = exports.pagespeedonline_v1 || (exports.pagespeedonline_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 40290: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pagespeedonline_v2; +(function (pagespeedonline_v2) { + /** + * PageSpeed Insights API + * + * Analyzes the performance of a web page and provides tailored suggestions to make that page faster. + * + * @example + * const {google} = require('googleapis'); + * const pagespeedonline = google.pagespeedonline('v2'); + * + * @namespace pagespeedonline + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Pagespeedonline + */ + class Pagespeedonline { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.pagespeedapi = new Resource$Pagespeedapi(this.context); + } + } + pagespeedonline_v2.Pagespeedonline = Pagespeedonline; + class Resource$Pagespeedapi { + constructor(context) { + this.context = context; + } + runpagespeed(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/pagespeedonline/v2/runPagespeed').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['url'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pagespeedonline_v2.Resource$Pagespeedapi = Resource$Pagespeedapi; +})(pagespeedonline_v2 = exports.pagespeedonline_v2 || (exports.pagespeedonline_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 84048: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pagespeedonline_v4; +(function (pagespeedonline_v4) { + /** + * PageSpeed Insights API + * + * Analyzes the performance of a web page and provides tailored suggestions to make that page faster. + * + * @example + * const {google} = require('googleapis'); + * const pagespeedonline = google.pagespeedonline('v4'); + * + * @namespace pagespeedonline + * @type {Function} + * @version v4 + * @variation v4 + * @param {object=} options Options for Pagespeedonline + */ + class Pagespeedonline { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.pagespeedapi = new Resource$Pagespeedapi(this.context); + } + } + pagespeedonline_v4.Pagespeedonline = Pagespeedonline; + class Resource$Pagespeedapi { + constructor(context) { + this.context = context; + } + runpagespeed(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/pagespeedonline/v4/runPagespeed').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['url'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pagespeedonline_v4.Resource$Pagespeedapi = Resource$Pagespeedapi; +})(pagespeedonline_v4 = exports.pagespeedonline_v4 || (exports.pagespeedonline_v4 = {})); +//# sourceMappingURL=v4.js.map + +/***/ }), + +/***/ 72258: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pagespeedonline_v5; +(function (pagespeedonline_v5) { + /** + * PageSpeed Insights API + * + * Analyzes the performance of a web page and provides tailored suggestions to make that page faster. + * + * @example + * const {google} = require('googleapis'); + * const pagespeedonline = google.pagespeedonline('v5'); + * + * @namespace pagespeedonline + * @type {Function} + * @version v5 + * @variation v5 + * @param {object=} options Options for Pagespeedonline + */ + class Pagespeedonline { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.pagespeedapi = new Resource$Pagespeedapi(this.context); + } + } + pagespeedonline_v5.Pagespeedonline = Pagespeedonline; + class Resource$Pagespeedapi { + constructor(context) { + this.context = context; + } + runpagespeed(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/pagespeedonline/v5/runPagespeed').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['url'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pagespeedonline_v5.Resource$Pagespeedapi = Resource$Pagespeedapi; +})(pagespeedonline_v5 = exports.pagespeedonline_v5 || (exports.pagespeedonline_v5 = {})); +//# sourceMappingURL=v5.js.map + +/***/ }), + +/***/ 93639: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(76850); +exports.VERSIONS = { + v1: v1_1.people_v1.People, +}; +function people(versionOrOptions) { + return googleapis_common_1.getAPI('people', versionOrOptions, exports.VERSIONS, this); +} +exports.people = people; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 76850: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var people_v1; +(function (people_v1) { + /** + * People API + * + * Provides access to information about profiles and contacts. + * + * @example + * const {google} = require('googleapis'); + * const people = google.people('v1'); + * + * @namespace people + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for People + */ + class People { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.contactGroups = new Resource$Contactgroups(this.context); + this.people = new Resource$People(this.context); + } + } + people_v1.People = People; + class Resource$Contactgroups { + constructor(context) { + this.context = context; + this.members = new Resource$Contactgroups$Members(this.context); + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/contactGroups:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/contactGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/contactGroups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + people_v1.Resource$Contactgroups = Resource$Contactgroups; + class Resource$Contactgroups$Members { + constructor(context) { + this.context = context; + } + modify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}/members:modify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + people_v1.Resource$Contactgroups$Members = Resource$Contactgroups$Members; + class Resource$People { + constructor(context) { + this.context = context; + this.connections = new Resource$People$Connections(this.context); + } + createContact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/people:createContact').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteContact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}:deleteContact').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteContactPhoto(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}:deleteContactPhoto').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getBatchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/people:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateContact(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}:updateContact').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateContactPhoto(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}:updateContactPhoto').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + people_v1.Resource$People = Resource$People; + class Resource$People$Connections { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://people.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resourceName}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + people_v1.Resource$People$Connections = Resource$People$Connections; +})(people_v1 = exports.people_v1 || (exports.people_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 23016: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(68197); +exports.VERSIONS = { + v1: v1_1.playcustomapp_v1.Playcustomapp, +}; +function playcustomapp(versionOrOptions) { + return googleapis_common_1.getAPI('playcustomapp', versionOrOptions, exports.VERSIONS, this); +} +exports.playcustomapp = playcustomapp; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 68197: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var playcustomapp_v1; +(function (playcustomapp_v1) { + /** + * Google Play Custom App Publishing API + * + * An API to publish custom Android apps. + * + * @example + * const {google} = require('googleapis'); + * const playcustomapp = google.playcustomapp('v1'); + * + * @namespace playcustomapp + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Playcustomapp + */ + class Playcustomapp { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + } + } + playcustomapp_v1.Playcustomapp = Playcustomapp; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.customApps = new Resource$Accounts$Customapps(this.context); + } + } + playcustomapp_v1.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Customapps { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/playcustomapp/v1/accounts/{account}/customApps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/playcustomapp/v1/accounts/{account}/customApps').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['account'], + pathParams: ['account'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + playcustomapp_v1.Resource$Accounts$Customapps = Resource$Accounts$Customapps; +})(playcustomapp_v1 = exports.playcustomapp_v1 || (exports.playcustomapp_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 59788: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(66610); +exports.VERSIONS = { + v1: v1_1.plus_v1.Plus, +}; +function plus(versionOrOptions) { + return googleapis_common_1.getAPI('plus', versionOrOptions, exports.VERSIONS, this); +} +exports.plus = plus; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 66610: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var plus_v1; +(function (plus_v1) { + /** + * Google+ API + * + * Builds on top of the Google+ platform. + * + * @example + * const {google} = require('googleapis'); + * const plus = google.plus('v1'); + * + * @namespace plus + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Plus + */ + class Plus { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.activities = new Resource$Activities(this.context); + this.comments = new Resource$Comments(this.context); + this.people = new Resource$People(this.context); + } + } + plus_v1.Plus = Plus; + class Resource$Activities { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/activities/{activityId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['activityId'], + pathParams: ['activityId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/people/{userId}/activities/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'collection'], + pathParams: ['collection', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/activities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['query'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plus_v1.Resource$Activities = Resource$Activities; + class Resource$Comments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['commentId'], + pathParams: ['commentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/activities/{activityId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['activityId'], + pathParams: ['activityId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plus_v1.Resource$Comments = Resource$Comments; + class Resource$People { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/people/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/people/{userId}/people/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'collection'], + pathParams: ['collection', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listByActivity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/activities/{activityId}/people/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['activityId', 'collection'], + pathParams: ['activityId', 'collection'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plus/v1/people').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['query'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plus_v1.Resource$People = Resource$People; +})(plus_v1 = exports.plus_v1 || (exports.plus_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 22210: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(71925); +exports.VERSIONS = { + v1: v1_1.plusDomains_v1.Plusdomains, +}; +function plusDomains(versionOrOptions) { + return googleapis_common_1.getAPI('plusDomains', versionOrOptions, exports.VERSIONS, this); +} +exports.plusDomains = plusDomains; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 71925: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var plusDomains_v1; +(function (plusDomains_v1) { + /** + * Google+ Domains API + * + * Builds on top of the Google+ platform for Google Apps Domains. + * + * @example + * const {google} = require('googleapis'); + * const plusDomains = google.plusDomains('v1'); + * + * @namespace plusDomains + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Plusdomains + */ + class Plusdomains { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.activities = new Resource$Activities(this.context); + this.audiences = new Resource$Audiences(this.context); + this.circles = new Resource$Circles(this.context); + this.comments = new Resource$Comments(this.context); + this.media = new Resource$Media(this.context); + this.people = new Resource$People(this.context); + } + } + plusDomains_v1.Plusdomains = Plusdomains; + class Resource$Activities { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/activities/{activityId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['activityId'], + pathParams: ['activityId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/plusDomains/v1/people/{userId}/activities/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'collection'], + pathParams: ['collection', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plusDomains_v1.Resource$Activities = Resource$Activities; + class Resource$Audiences { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/people/{userId}/audiences').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plusDomains_v1.Resource$Audiences = Resource$Audiences; + class Resource$Circles { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/people/{userId}/circles').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plusDomains_v1.Resource$Circles = Resource$Circles; + class Resource$Comments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/comments/{commentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['commentId'], + pathParams: ['commentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/activities/{activityId}/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['activityId'], + pathParams: ['activityId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plusDomains_v1.Resource$Comments = Resource$Comments; + class Resource$Media { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/people/{userId}/media/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/plusDomains/v1/people/{userId}/media/{collection}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['userId', 'collection'], + pathParams: ['collection', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plusDomains_v1.Resource$Media = Resource$Media; + class Resource$People { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/people/{userId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId'], + pathParams: ['userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/plusDomains/v1/people/{userId}/people/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['userId', 'collection'], + pathParams: ['collection', 'userId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listByActivity(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/plusDomains/v1/activities/{activityId}/people/{collection}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['activityId', 'collection'], + pathParams: ['activityId', 'collection'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + plusDomains_v1.Resource$People = Resource$People; +})(plusDomains_v1 = exports.plusDomains_v1 || (exports.plusDomains_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 42168: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(87309); +const v1beta_1 = __nccwpck_require__(90694); +exports.VERSIONS = { + v1: v1_1.policytroubleshooter_v1.Policytroubleshooter, + v1beta: v1beta_1.policytroubleshooter_v1beta.Policytroubleshooter, +}; +function policytroubleshooter(versionOrOptions) { + return googleapis_common_1.getAPI('policytroubleshooter', versionOrOptions, exports.VERSIONS, this); +} +exports.policytroubleshooter = policytroubleshooter; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 87309: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var policytroubleshooter_v1; +(function (policytroubleshooter_v1) { + /** + * Policy Troubleshooter API + * + * + * + * @example + * const {google} = require('googleapis'); + * const policytroubleshooter = google.policytroubleshooter('v1'); + * + * @namespace policytroubleshooter + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Policytroubleshooter + */ + class Policytroubleshooter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.iam = new Resource$Iam(this.context); + } + } + policytroubleshooter_v1.Policytroubleshooter = Policytroubleshooter; + class Resource$Iam { + constructor(context) { + this.context = context; + } + troubleshoot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://policytroubleshooter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/iam:troubleshoot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + policytroubleshooter_v1.Resource$Iam = Resource$Iam; +})(policytroubleshooter_v1 = exports.policytroubleshooter_v1 || (exports.policytroubleshooter_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 90694: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var policytroubleshooter_v1beta; +(function (policytroubleshooter_v1beta) { + /** + * Policy Troubleshooter API + * + * + * + * @example + * const {google} = require('googleapis'); + * const policytroubleshooter = google.policytroubleshooter('v1beta'); + * + * @namespace policytroubleshooter + * @type {Function} + * @version v1beta + * @variation v1beta + * @param {object=} options Options for Policytroubleshooter + */ + class Policytroubleshooter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.iam = new Resource$Iam(this.context); + } + } + policytroubleshooter_v1beta.Policytroubleshooter = Policytroubleshooter; + class Resource$Iam { + constructor(context) { + this.context = context; + } + troubleshoot(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://policytroubleshooter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/iam:troubleshoot').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + policytroubleshooter_v1beta.Resource$Iam = Resource$Iam; +})(policytroubleshooter_v1beta = exports.policytroubleshooter_v1beta || (exports.policytroubleshooter_v1beta = {})); +//# sourceMappingURL=v1beta.js.map + +/***/ }), + +/***/ 35488: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(54121); +exports.VERSIONS = { + v1: v1_1.poly_v1.Poly, +}; +function poly(versionOrOptions) { + return googleapis_common_1.getAPI('poly', versionOrOptions, exports.VERSIONS, this); +} +exports.poly = poly; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 54121: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var poly_v1; +(function (poly_v1) { + /** + * Poly API + * + * The Poly API provides read access to assets hosted on <a href="https://poly.google.com">poly.google.com</a> to all, and upload access to <a href="https://poly.google.com">poly.google.com</a> for whitelisted accounts. + * + * @example + * const {google} = require('googleapis'); + * const poly = google.poly('v1'); + * + * @namespace poly + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Poly + */ + class Poly { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.assets = new Resource$Assets(this.context); + this.users = new Resource$Users(this.context); + } + } + poly_v1.Poly = Poly; + class Resource$Assets { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://poly.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://poly.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/assets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + poly_v1.Resource$Assets = Resource$Assets; + class Resource$Users { + constructor(context) { + this.context = context; + this.assets = new Resource$Users$Assets(this.context); + this.likedassets = new Resource$Users$Likedassets(this.context); + } + } + poly_v1.Resource$Users = Resource$Users; + class Resource$Users$Assets { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://poly.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/assets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + poly_v1.Resource$Users$Assets = Resource$Users$Assets; + class Resource$Users$Likedassets { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://poly.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/likedassets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + poly_v1.Resource$Users$Likedassets = Resource$Users$Likedassets; +})(poly_v1 = exports.poly_v1 || (exports.poly_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 64203: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1alpha1_1 = __nccwpck_require__(79181); +exports.VERSIONS = { + v1alpha1: v1alpha1_1.prod_tt_sasportal_v1alpha1.Prod_tt_sasportal, +}; +function prod_tt_sasportal(versionOrOptions) { + return googleapis_common_1.getAPI('prod_tt_sasportal', versionOrOptions, exports.VERSIONS, this); +} +exports.prod_tt_sasportal = prod_tt_sasportal; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 79181: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var prod_tt_sasportal_v1alpha1; +(function (prod_tt_sasportal_v1alpha1) { + /** + * SAS Portal API (Testing) + * + * + * + * @example + * const {google} = require('googleapis'); + * const prod_tt_sasportal = google.prod_tt_sasportal('v1alpha1'); + * + * @namespace prod_tt_sasportal + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Prod_tt_sasportal + */ + class Prod_tt_sasportal { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.customers = new Resource$Customers(this.context); + this.installer = new Resource$Installer(this.context); + this.nodes = new Resource$Nodes(this.context); + this.policies = new Resource$Policies(this.context); + } + } + prod_tt_sasportal_v1alpha1.Prod_tt_sasportal = Prod_tt_sasportal; + class Resource$Customers { + constructor(context) { + this.context = context; + this.devices = new Resource$Customers$Devices(this.context); + this.nodes = new Resource$Customers$Nodes(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Customers = Resource$Customers; + class Resource$Customers$Devices { + constructor(context) { + this.context = context; + } + bulk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Customers$Devices = Resource$Customers$Devices; + class Resource$Customers$Nodes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Customers$Nodes = Resource$Customers$Nodes; + class Resource$Installer { + constructor(context) { + this.context = context; + } + generateSecret(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/installer:generateSecret').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/installer:validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Installer = Resource$Installer; + class Resource$Nodes { + constructor(context) { + this.context = context; + this.devices = new Resource$Nodes$Devices(this.context); + this.nodes = new Resource$Nodes$Nodes(this.context); + } + } + prod_tt_sasportal_v1alpha1.Resource$Nodes = Resource$Nodes; + class Resource$Nodes$Devices { + constructor(context) { + this.context = context; + } + bulk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Nodes$Devices = Resource$Nodes$Devices; + class Resource$Nodes$Nodes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Nodes$Nodes = Resource$Nodes$Nodes; + class Resource$Policies { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/policies:get').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + set(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/policies:set').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + test(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/policies:test').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + prod_tt_sasportal_v1alpha1.Resource$Policies = Resource$Policies; +})(prod_tt_sasportal_v1alpha1 = exports.prod_tt_sasportal_v1alpha1 || (exports.prod_tt_sasportal_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 97053: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(34473); +exports.VERSIONS = { + v1beta1: v1beta1_1.proximitybeacon_v1beta1.Proximitybeacon, +}; +function proximitybeacon(versionOrOptions) { + return googleapis_common_1.getAPI('proximitybeacon', versionOrOptions, exports.VERSIONS, this); +} +exports.proximitybeacon = proximitybeacon; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 34473: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var proximitybeacon_v1beta1; +(function (proximitybeacon_v1beta1) { + /** + * Proximity Beacon API + * + * Registers, manages, indexes, and searches beacons. + * + * @example + * const {google} = require('googleapis'); + * const proximitybeacon = google.proximitybeacon('v1beta1'); + * + * @namespace proximitybeacon + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Proximitybeacon + */ + class Proximitybeacon { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.beaconinfo = new Resource$Beaconinfo(this.context); + this.beacons = new Resource$Beacons(this.context); + this.namespaces = new Resource$Namespaces(this.context); + this.v1beta1 = new Resource$V1beta1(this.context); + } + } + proximitybeacon_v1beta1.Proximitybeacon = Proximitybeacon; + class Resource$Beaconinfo { + constructor(context) { + this.context = context; + } + getforobserved(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/beaconinfo:getforobserved').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + proximitybeacon_v1beta1.Resource$Beaconinfo = Resource$Beaconinfo; + class Resource$Beacons { + constructor(context) { + this.context = context; + this.attachments = new Resource$Beacons$Attachments(this.context); + this.diagnostics = new Resource$Beacons$Diagnostics(this.context); + } + activate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}:activate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deactivate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}:deactivate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + decommission(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}:decommission').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/beacons').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + register(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/beacons:register').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + proximitybeacon_v1beta1.Resource$Beacons = Resource$Beacons; + class Resource$Beacons$Attachments { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}/attachments:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}/attachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+attachmentName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['attachmentName'], + pathParams: ['attachmentName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}/attachments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + proximitybeacon_v1beta1.Resource$Beacons$Attachments = Resource$Beacons$Attachments; + class Resource$Beacons$Diagnostics { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+beaconName}/diagnostics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['beaconName'], + pathParams: ['beaconName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + proximitybeacon_v1beta1.Resource$Beacons$Diagnostics = Resource$Beacons$Diagnostics; + class Resource$Namespaces { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/namespaces').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+namespaceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['namespaceName'], + pathParams: ['namespaceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + proximitybeacon_v1beta1.Resource$Namespaces = Resource$Namespaces; + class Resource$V1beta1 { + constructor(context) { + this.context = context; + } + getEidparams(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/eidparams').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + proximitybeacon_v1beta1.Resource$V1beta1 = Resource$V1beta1; +})(proximitybeacon_v1beta1 = exports.proximitybeacon_v1beta1 || (exports.proximitybeacon_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 52964: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(4533); +const v1beta1a_1 = __nccwpck_require__(12718); +const v1beta2_1 = __nccwpck_require__(84449); +exports.VERSIONS = { + v1: v1_1.pubsub_v1.Pubsub, + v1beta1a: v1beta1a_1.pubsub_v1beta1a.Pubsub, + v1beta2: v1beta2_1.pubsub_v1beta2.Pubsub, +}; +function pubsub(versionOrOptions) { + return googleapis_common_1.getAPI('pubsub', versionOrOptions, exports.VERSIONS, this); +} +exports.pubsub = pubsub; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 4533: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pubsub_v1; +(function (pubsub_v1) { + /** + * Cloud Pub/Sub API + * + * Provides reliable, many-to-many, asynchronous messaging between applications. + * + * @example + * const {google} = require('googleapis'); + * const pubsub = google.pubsub('v1'); + * + * @namespace pubsub + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Pubsub + */ + class Pubsub { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + pubsub_v1.Pubsub = Pubsub; + class Resource$Projects { + constructor(context) { + this.context = context; + this.snapshots = new Resource$Projects$Snapshots(this.context); + this.subscriptions = new Resource$Projects$Subscriptions(this.context); + this.topics = new Resource$Projects$Topics(this.context); + } + } + pubsub_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Snapshots { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['snapshot'], + pathParams: ['snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+snapshot}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['snapshot'], + pathParams: ['snapshot'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+project}/snapshots').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1.Resource$Projects$Snapshots = Resource$Projects$Snapshots; + class Resource$Projects$Subscriptions { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}:acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+project}/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyAckDeadline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}:modifyAckDeadline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyPushConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}:modifyPushConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pull(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}:pull').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + seek(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+subscription}:seek').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1.Resource$Projects$Subscriptions = Resource$Projects$Subscriptions; + class Resource$Projects$Topics { + constructor(context) { + this.context = context; + this.snapshots = new Resource$Projects$Topics$Snapshots(this.context); + this.subscriptions = new Resource$Projects$Topics$Subscriptions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+topic}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+topic}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+project}/topics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+topic}:publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1.Resource$Projects$Topics = Resource$Projects$Topics; + class Resource$Projects$Topics$Snapshots { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+topic}/snapshots').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1.Resource$Projects$Topics$Snapshots = Resource$Projects$Topics$Snapshots; + class Resource$Projects$Topics$Subscriptions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+topic}/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1.Resource$Projects$Topics$Subscriptions = Resource$Projects$Topics$Subscriptions; +})(pubsub_v1 = exports.pubsub_v1 || (exports.pubsub_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 12718: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pubsub_v1beta1a; +(function (pubsub_v1beta1a) { + /** + * Cloud Pub/Sub API + * + * Provides reliable, many-to-many, asynchronous messaging between applications. + * + * @example + * const {google} = require('googleapis'); + * const pubsub = google.pubsub('v1beta1a'); + * + * @namespace pubsub + * @type {Function} + * @version v1beta1a + * @variation v1beta1a + * @param {object=} options Options for Pubsub + */ + class Pubsub { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.subscriptions = new Resource$Subscriptions(this.context); + this.topics = new Resource$Topics(this.context); + } + } + pubsub_v1beta1a.Pubsub = Pubsub; + class Resource$Subscriptions { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/{+subscription}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/{+subscription}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyAckDeadline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/modifyAckDeadline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyPushConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/modifyPushConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pull(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/pull').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pullBatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/subscriptions/pullBatch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1beta1a.Resource$Subscriptions = Resource$Subscriptions; + class Resource$Topics { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/topics').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/topics/{+topic}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/topics/{+topic}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/topics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/topics/publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publishBatch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1a/topics/publishBatch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1beta1a.Resource$Topics = Resource$Topics; +})(pubsub_v1beta1a = exports.pubsub_v1beta1a || (exports.pubsub_v1beta1a = {})); +//# sourceMappingURL=v1beta1a.js.map + +/***/ }), + +/***/ 84449: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var pubsub_v1beta2; +(function (pubsub_v1beta2) { + /** + * Cloud Pub/Sub API + * + * Provides reliable, many-to-many, asynchronous messaging between applications. + * + * @example + * const {google} = require('googleapis'); + * const pubsub = google.pubsub('v1beta2'); + * + * @namespace pubsub + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Pubsub + */ + class Pubsub { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + pubsub_v1beta2.Pubsub = Pubsub; + class Resource$Projects { + constructor(context) { + this.context = context; + this.subscriptions = new Resource$Projects$Subscriptions(this.context); + this.topics = new Resource$Projects$Topics(this.context); + } + } + pubsub_v1beta2.Resource$Projects = Resource$Projects; + class Resource$Projects$Subscriptions { + constructor(context) { + this.context = context; + } + acknowledge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+subscription}:acknowledge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+subscription}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+subscription}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+project}/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyAckDeadline(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+subscription}:modifyAckDeadline').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + modifyPushConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+subscription}:modifyPushConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pull(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+subscription}:pull').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['subscription'], + pathParams: ['subscription'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1beta2.Resource$Projects$Subscriptions = Resource$Projects$Subscriptions; + class Resource$Projects$Topics { + constructor(context) { + this.context = context; + this.subscriptions = new Resource$Projects$Topics$Subscriptions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+topic}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+topic}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+project}/topics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+topic}:publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1beta2.Resource$Projects$Topics = Resource$Projects$Topics; + class Resource$Projects$Topics$Subscriptions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/{+topic}/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['topic'], + pathParams: ['topic'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + pubsub_v1beta2.Resource$Projects$Topics$Subscriptions = Resource$Projects$Topics$Subscriptions; +})(pubsub_v1beta2 = exports.pubsub_v1beta2 || (exports.pubsub_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 10063: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(79215); +exports.VERSIONS = { + v1beta1: v1beta1_1.recommender_v1beta1.Recommender, +}; +function recommender(versionOrOptions) { + return googleapis_common_1.getAPI('recommender', versionOrOptions, exports.VERSIONS, this); +} +exports.recommender = recommender; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 79215: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var recommender_v1beta1; +(function (recommender_v1beta1) { + /** + * Recommender API + * + * + * + * @example + * const {google} = require('googleapis'); + * const recommender = google.recommender('v1beta1'); + * + * @namespace recommender + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Recommender + */ + class Recommender { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + recommender_v1beta1.Recommender = Recommender; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + recommender_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.recommenders = new Resource$Projects$Locations$Recommenders(this.context); + } + } + recommender_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Recommenders { + constructor(context) { + this.context = context; + this.recommendations = new Resource$Projects$Locations$Recommenders$Recommendations(this.context); + } + } + recommender_v1beta1.Resource$Projects$Locations$Recommenders = Resource$Projects$Locations$Recommenders; + class Resource$Projects$Locations$Recommenders$Recommendations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/recommendations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + markClaimed(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:markClaimed').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + markFailed(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:markFailed').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + markSucceeded(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:markSucceeded').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + recommender_v1beta1.Resource$Projects$Locations$Recommenders$Recommendations = Resource$Projects$Locations$Recommenders$Recommendations; +})(recommender_v1beta1 = exports.recommender_v1beta1 || (exports.recommender_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 12298: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(71982); +const v1beta1_1 = __nccwpck_require__(58452); +exports.VERSIONS = { + v1: v1_1.redis_v1.Redis, + v1beta1: v1beta1_1.redis_v1beta1.Redis, +}; +function redis(versionOrOptions) { + return googleapis_common_1.getAPI('redis', versionOrOptions, exports.VERSIONS, this); +} +exports.redis = redis; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 71982: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var redis_v1; +(function (redis_v1) { + /** + * Google Cloud Memorystore for Redis API + * + * Creates and manages Redis instances on the Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const redis = google.redis('v1'); + * + * @namespace redis + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Redis + */ + class Redis { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + redis_v1.Redis = Redis; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + redis_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Instances(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + redis_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Instances { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + failover(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:failover').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + redis_v1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + redis_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(redis_v1 = exports.redis_v1 || (exports.redis_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 58452: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var redis_v1beta1; +(function (redis_v1beta1) { + /** + * Google Cloud Memorystore for Redis API + * + * Creates and manages Redis instances on the Google Cloud Platform. + * + * @example + * const {google} = require('googleapis'); + * const redis = google.redis('v1beta1'); + * + * @namespace redis + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Redis + */ + class Redis { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + redis_v1beta1.Redis = Redis; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + redis_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Instances(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + redis_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Instances { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + failover(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:failover').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + redis_v1beta1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://redis.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + redis_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(redis_v1beta1 = exports.redis_v1beta1 || (exports.redis_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 18830: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(43035); +const v1alpha_1 = __nccwpck_require__(66089); +const v2_1 = __nccwpck_require__(75314); +exports.VERSIONS = { + v1: v1_1.remotebuildexecution_v1.Remotebuildexecution, + v1alpha: v1alpha_1.remotebuildexecution_v1alpha.Remotebuildexecution, + v2: v2_1.remotebuildexecution_v2.Remotebuildexecution, +}; +function remotebuildexecution(versionOrOptions) { + return googleapis_common_1.getAPI('remotebuildexecution', versionOrOptions, exports.VERSIONS, this); +} +exports.remotebuildexecution = remotebuildexecution; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 43035: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var remotebuildexecution_v1; +(function (remotebuildexecution_v1) { + /** + * Remote Build Execution API + * + * Supplies a Remote Execution API service for tools such as bazel. + * + * @example + * const {google} = require('googleapis'); + * const remotebuildexecution = google.remotebuildexecution('v1'); + * + * @namespace remotebuildexecution + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Remotebuildexecution + */ + class Remotebuildexecution { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.media = new Resource$Media(this.context); + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + remotebuildexecution_v1.Remotebuildexecution = Remotebuildexecution; + class Resource$Media { + constructor(context) { + this.context = context; + } + download(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + upload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/v1/media/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v1.Resource$Media = Resource$Media; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Operations(this.context); + } + } + remotebuildexecution_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v1.Resource$Projects$Operations = Resource$Projects$Operations; +})(remotebuildexecution_v1 = exports.remotebuildexecution_v1 || (exports.remotebuildexecution_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 66089: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var remotebuildexecution_v1alpha; +(function (remotebuildexecution_v1alpha) { + /** + * Remote Build Execution API + * + * Supplies a Remote Execution API service for tools such as bazel. + * + * @example + * const {google} = require('googleapis'); + * const remotebuildexecution = google.remotebuildexecution('v1alpha'); + * + * @namespace remotebuildexecution + * @type {Function} + * @version v1alpha + * @variation v1alpha + * @param {object=} options Options for Remotebuildexecution + */ + class Remotebuildexecution { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + remotebuildexecution_v1alpha.Remotebuildexecution = Remotebuildexecution; + class Resource$Projects { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Instances(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + } + remotebuildexecution_v1alpha.Resource$Projects = Resource$Projects; + class Resource$Projects$Instances { + constructor(context) { + this.context = context; + this.workerpools = new Resource$Projects$Instances$Workerpools(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v1alpha.Resource$Projects$Instances = Resource$Projects$Instances; + class Resource$Projects$Instances$Workerpools { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/workerpools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/workerpools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v1alpha.Resource$Projects$Instances$Workerpools = Resource$Projects$Instances$Workerpools; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v1alpha.Resource$Projects$Operations = Resource$Projects$Operations; +})(remotebuildexecution_v1alpha = exports.remotebuildexecution_v1alpha || (exports.remotebuildexecution_v1alpha = {})); +//# sourceMappingURL=v1alpha.js.map + +/***/ }), + +/***/ 75314: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var remotebuildexecution_v2; +(function (remotebuildexecution_v2) { + /** + * Remote Build Execution API + * + * Supplies a Remote Execution API service for tools such as bazel. + * + * @example + * const {google} = require('googleapis'); + * const remotebuildexecution = google.remotebuildexecution('v2'); + * + * @namespace remotebuildexecution + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Remotebuildexecution + */ + class Remotebuildexecution { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.actionResults = new Resource$Actionresults(this.context); + this.actions = new Resource$Actions(this.context); + this.blobs = new Resource$Blobs(this.context); + this.operations = new Resource$Operations(this.context); + this.v2 = new Resource$V2(this.context); + } + } + remotebuildexecution_v2.Remotebuildexecution = Remotebuildexecution; + class Resource$Actionresults { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/actionResults/{hash}/{sizeBytes}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['instanceName', 'hash', 'sizeBytes'], + pathParams: ['hash', 'instanceName', 'sizeBytes'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/actionResults/{hash}/{sizeBytes}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['instanceName', 'hash', 'sizeBytes'], + pathParams: ['hash', 'instanceName', 'sizeBytes'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v2.Resource$Actionresults = Resource$Actionresults; + class Resource$Actions { + constructor(context) { + this.context = context; + } + execute(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/actions:execute').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['instanceName'], + pathParams: ['instanceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v2.Resource$Actions = Resource$Actions; + class Resource$Blobs { + constructor(context) { + this.context = context; + } + batchRead(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/blobs:batchRead').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['instanceName'], + pathParams: ['instanceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/blobs:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['instanceName'], + pathParams: ['instanceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + findMissing(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/blobs:findMissing').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['instanceName'], + pathParams: ['instanceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getTree(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['instanceName', 'hash', 'sizeBytes'], + pathParams: ['hash', 'instanceName', 'sizeBytes'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v2.Resource$Blobs = Resource$Blobs; + class Resource$Operations { + constructor(context) { + this.context = context; + } + waitExecution(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+name}:waitExecution').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v2.Resource$Operations = Resource$Operations; + class Resource$V2 { + constructor(context) { + this.context = context; + } + getCapabilities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/{+instanceName}/capabilities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['instanceName'], + pathParams: ['instanceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + remotebuildexecution_v2.Resource$V2 = Resource$V2; +})(remotebuildexecution_v2 = exports.remotebuildexecution_v2 || (exports.remotebuildexecution_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 36448: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(85593); +exports.VERSIONS = { + v1beta1: v1beta1_1.replicapool_v1beta1.Replicapool, +}; +function replicapool(versionOrOptions) { + return googleapis_common_1.getAPI('replicapool', versionOrOptions, exports.VERSIONS, this); +} +exports.replicapool = replicapool; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 85593: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var replicapool_v1beta1; +(function (replicapool_v1beta1) { + /** + * Replica Pool API + * + * The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template. + * + * @example + * const {google} = require('googleapis'); + * const replicapool = google.replicapool('v1beta1'); + * + * @namespace replicapool + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Replicapool + */ + class Replicapool { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.pools = new Resource$Pools(this.context); + this.replicas = new Resource$Replicas(this.context); + } + } + replicapool_v1beta1.Replicapool = Replicapool; + class Resource$Pools { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName'], + pathParams: ['poolName', 'projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName'], + pathParams: ['poolName', 'projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName', 'zone'], + pathParams: ['projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectName', 'zone'], + pathParams: ['projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/resize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName'], + pathParams: ['poolName', 'projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updatetemplate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/updateTemplate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName'], + pathParams: ['poolName', 'projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + replicapool_v1beta1.Resource$Pools = Resource$Pools; + class Resource$Replicas { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName', 'replicaName'], + pathParams: ['poolName', 'projectName', 'replicaName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName', 'replicaName'], + pathParams: ['poolName', 'projectName', 'replicaName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName'], + pathParams: ['poolName', 'projectName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restart(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectName', 'zone', 'poolName', 'replicaName'], + pathParams: ['poolName', 'projectName', 'replicaName', 'zone'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + replicapool_v1beta1.Resource$Replicas = Resource$Replicas; +})(replicapool_v1beta1 = exports.replicapool_v1beta1 || (exports.replicapool_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 31812: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(41522); +exports.VERSIONS = { + v1: v1_1.reseller_v1.Reseller, +}; +function reseller(versionOrOptions) { + return googleapis_common_1.getAPI('reseller', versionOrOptions, exports.VERSIONS, this); +} +exports.reseller = reseller; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 41522: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var reseller_v1; +(function (reseller_v1) { + /** + * Enterprise Apps Reseller API + * + * Creates and manages your customers and their subscriptions. + * + * @example + * const {google} = require('googleapis'); + * const reseller = google.reseller('v1'); + * + * @namespace reseller + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Reseller + */ + class Reseller { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.customers = new Resource$Customers(this.context); + this.resellernotify = new Resource$Resellernotify(this.context); + this.subscriptions = new Resource$Subscriptions(this.context); + } + } + reseller_v1.Reseller = Reseller; + class Resource$Customers { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/customers/{customerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/customers/{customerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/customers/{customerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + reseller_v1.Resource$Customers = Resource$Customers; + class Resource$Resellernotify { + constructor(context) { + this.context = context; + } + getwatchdetails(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/resellernotify/getwatchdetails').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + register(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/resellernotify/register').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unregister(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/resellernotify/unregister').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + reseller_v1.Resource$Resellernotify = Resource$Resellernotify; + class Resource$Subscriptions { + constructor(context) { + this.context = context; + } + activate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + changePlan(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + changeRenewalSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + changeSeats(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId', 'deletionType'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/customers/{customerId}/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId'], + pathParams: ['customerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apps/reseller/v1/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startPaidService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + suspend(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['customerId', 'subscriptionId'], + pathParams: ['customerId', 'subscriptionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + reseller_v1.Resource$Subscriptions = Resource$Subscriptions; +})(reseller_v1 = exports.reseller_v1 || (exports.reseller_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 63117: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(85630); +const v1alpha1_1 = __nccwpck_require__(46968); +const v1beta1_1 = __nccwpck_require__(46461); +exports.VERSIONS = { + v1: v1_1.run_v1.Run, + v1alpha1: v1alpha1_1.run_v1alpha1.Run, + v1beta1: v1beta1_1.run_v1beta1.Run, +}; +function run(versionOrOptions) { + return googleapis_common_1.getAPI('run', versionOrOptions, exports.VERSIONS, this); +} +exports.run = run; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 85630: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var run_v1; +(function (run_v1) { + /** + * Cloud Run API + * + * Deploy and manage user provided container images that scale automatically based on HTTP traffic. + * + * @example + * const {google} = require('googleapis'); + * const run = google.run('v1'); + * + * @namespace run + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Run + */ + class Run { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.namespaces = new Resource$Namespaces(this.context); + this.projects = new Resource$Projects(this.context); + } + } + run_v1.Run = Run; + class Resource$Namespaces { + constructor(context) { + this.context = context; + this.authorizeddomains = new Resource$Namespaces$Authorizeddomains(this.context); + this.configurations = new Resource$Namespaces$Configurations(this.context); + this.domainmappings = new Resource$Namespaces$Domainmappings(this.context); + this.revisions = new Resource$Namespaces$Revisions(this.context); + this.routes = new Resource$Namespaces$Routes(this.context); + this.services = new Resource$Namespaces$Services(this.context); + } + } + run_v1.Resource$Namespaces = Resource$Namespaces; + class Resource$Namespaces$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/domains.cloudrun.com/v1/{+parent}/authorizeddomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Namespaces$Authorizeddomains = Resource$Namespaces$Authorizeddomains; + class Resource$Namespaces$Configurations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/configurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Namespaces$Configurations = Resource$Namespaces$Configurations; + class Resource$Namespaces$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Namespaces$Domainmappings = Resource$Namespaces$Domainmappings; + class Resource$Namespaces$Revisions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/revisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Namespaces$Revisions = Resource$Namespaces$Revisions; + class Resource$Namespaces$Routes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Namespaces$Routes = Resource$Namespaces$Routes; + class Resource$Namespaces$Services { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Namespaces$Services = Resource$Namespaces$Services; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + run_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.authorizeddomains = new Resource$Projects$Locations$Authorizeddomains(this.context); + this.configurations = new Resource$Projects$Locations$Configurations(this.context); + this.domainmappings = new Resource$Projects$Locations$Domainmappings(this.context); + this.revisions = new Resource$Projects$Locations$Revisions(this.context); + this.routes = new Resource$Projects$Locations$Routes(this.context); + this.services = new Resource$Projects$Locations$Services(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/authorizeddomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations$Authorizeddomains = Resource$Projects$Locations$Authorizeddomains; + class Resource$Projects$Locations$Configurations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/configurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations$Configurations = Resource$Projects$Locations$Configurations; + class Resource$Projects$Locations$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations$Domainmappings = Resource$Projects$Locations$Domainmappings; + class Resource$Projects$Locations$Revisions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/revisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations$Revisions = Resource$Projects$Locations$Revisions; + class Resource$Projects$Locations$Routes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations$Routes = Resource$Projects$Locations$Routes; + class Resource$Projects$Locations$Services { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1.Resource$Projects$Locations$Services = Resource$Projects$Locations$Services; +})(run_v1 = exports.run_v1 || (exports.run_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 46968: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var run_v1alpha1; +(function (run_v1alpha1) { + /** + * Cloud Run API + * + * Deploy and manage user provided container images that scale automatically based on HTTP traffic. + * + * @example + * const {google} = require('googleapis'); + * const run = google.run('v1alpha1'); + * + * @namespace run + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Run + */ + class Run { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.namespaces = new Resource$Namespaces(this.context); + this.projects = new Resource$Projects(this.context); + } + } + run_v1alpha1.Run = Run; + class Resource$Namespaces { + constructor(context) { + this.context = context; + this.authorizeddomains = new Resource$Namespaces$Authorizeddomains(this.context); + this.cloudauditlogs = new Resource$Namespaces$Cloudauditlogs(this.context); + this.configurations = new Resource$Namespaces$Configurations(this.context); + this.domainmappings = new Resource$Namespaces$Domainmappings(this.context); + this.eventtypes = new Resource$Namespaces$Eventtypes(this.context); + this.pubsubs = new Resource$Namespaces$Pubsubs(this.context); + this.revisions = new Resource$Namespaces$Revisions(this.context); + this.routes = new Resource$Namespaces$Routes(this.context); + this.services = new Resource$Namespaces$Services(this.context); + this.storages = new Resource$Namespaces$Storages(this.context); + this.triggers = new Resource$Namespaces$Triggers(this.context); + } + } + run_v1alpha1.Resource$Namespaces = Resource$Namespaces; + class Resource$Namespaces$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/domains.cloudrun.com/v1alpha1/{+parent}/authorizeddomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Authorizeddomains = Resource$Namespaces$Authorizeddomains; + class Resource$Namespaces$Cloudauditlogs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceCloudAuditLog(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Cloudauditlogs = Resource$Namespaces$Cloudauditlogs; + class Resource$Namespaces$Configurations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/serving.knative.dev/v1alpha1/{+parent}/configurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Configurations = Resource$Namespaces$Configurations; + class Resource$Namespaces$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/domains.cloudrun.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/domains.cloudrun.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Domainmappings = Resource$Namespaces$Domainmappings; + class Resource$Namespaces$Eventtypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/eventing.knative.dev/v1alpha1/{+parent}/eventtypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Eventtypes = Resource$Namespaces$Eventtypes; + class Resource$Namespaces$Pubsubs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replacePubSub(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Pubsubs = Resource$Namespaces$Pubsubs; + class Resource$Namespaces$Revisions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/revisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Revisions = Resource$Namespaces$Revisions; + class Resource$Namespaces$Routes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Routes = Resource$Namespaces$Routes; + class Resource$Namespaces$Services { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Services = Resource$Namespaces$Services; + class Resource$Namespaces$Storages { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/events.cloud.google.com/v1alpha1/{+parent}/storages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/events.cloud.google.com/v1alpha1/{+parent}/storages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceStorage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Storages = Resource$Namespaces$Storages; + class Resource$Namespaces$Triggers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+parent}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+parent}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceTrigger(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Namespaces$Triggers = Resource$Namespaces$Triggers; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + run_v1alpha1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.authorizeddomains = new Resource$Projects$Locations$Authorizeddomains(this.context); + this.cloudauditlogs = new Resource$Projects$Locations$Cloudauditlogs(this.context); + this.configurations = new Resource$Projects$Locations$Configurations(this.context); + this.domainmappings = new Resource$Projects$Locations$Domainmappings(this.context); + this.eventtypes = new Resource$Projects$Locations$Eventtypes(this.context); + this.pubsubs = new Resource$Projects$Locations$Pubsubs(this.context); + this.revisions = new Resource$Projects$Locations$Revisions(this.context); + this.routes = new Resource$Projects$Locations$Routes(this.context); + this.services = new Resource$Projects$Locations$Services(this.context); + this.storages = new Resource$Projects$Locations$Storages(this.context); + this.triggers = new Resource$Projects$Locations$Triggers(this.context); + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Authorizeddomains { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/authorizeddomains').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Authorizeddomains = Resource$Projects$Locations$Authorizeddomains; + class Resource$Projects$Locations$Cloudauditlogs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceCloudAuditLog(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Cloudauditlogs = Resource$Projects$Locations$Cloudauditlogs; + class Resource$Projects$Locations$Configurations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/configurations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Configurations = Resource$Projects$Locations$Configurations; + class Resource$Projects$Locations$Domainmappings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/domainmappings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Domainmappings = Resource$Projects$Locations$Domainmappings; + class Resource$Projects$Locations$Eventtypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/eventtypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Eventtypes = Resource$Projects$Locations$Eventtypes; + class Resource$Projects$Locations$Pubsubs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/pubsubs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/pubsubs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replacePubSub(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Pubsubs = Resource$Projects$Locations$Pubsubs; + class Resource$Projects$Locations$Revisions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/revisions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Revisions = Resource$Projects$Locations$Revisions; + class Resource$Projects$Locations$Routes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/routes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Routes = Resource$Projects$Locations$Routes; + class Resource$Projects$Locations$Services { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceService(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Services = Resource$Projects$Locations$Services; + class Resource$Projects$Locations$Storages { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/storages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/storages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceStorage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Storages = Resource$Projects$Locations$Storages; + class Resource$Projects$Locations$Triggers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + replaceTrigger(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1alpha1.Resource$Projects$Locations$Triggers = Resource$Projects$Locations$Triggers; +})(run_v1alpha1 = exports.run_v1alpha1 || (exports.run_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 46461: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var run_v1beta1; +(function (run_v1beta1) { + /** + * Cloud Run API + * + * Deploy and manage user provided container images that scale automatically based on HTTP traffic. + * + * @example + * const {google} = require('googleapis'); + * const run = google.run('v1beta1'); + * + * @namespace run + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Run + */ + class Run { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.customresourcedefinitions = new Resource$Customresourcedefinitions(this.context); + this.namespaces = new Resource$Namespaces(this.context); + this.projects = new Resource$Projects(this.context); + } + } + run_v1beta1.Run = Run; + class Resource$Customresourcedefinitions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1beta1.Resource$Customresourcedefinitions = Resource$Customresourcedefinitions; + class Resource$Namespaces { + constructor(context) { + this.context = context; + this.customresourcedefinitions = new Resource$Namespaces$Customresourcedefinitions(this.context); + } + } + run_v1beta1.Resource$Namespaces = Resource$Namespaces; + class Resource$Namespaces$Customresourcedefinitions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/apis/apiextensions.k8s.io/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1beta1.Resource$Namespaces$Customresourcedefinitions = Resource$Namespaces$Customresourcedefinitions; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + run_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.customresourcedefinitions = new Resource$Projects$Locations$Customresourcedefinitions(this.context); + } + } + run_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Customresourcedefinitions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://run.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/customresourcedefinitions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + run_v1beta1.Resource$Projects$Locations$Customresourcedefinitions = Resource$Projects$Locations$Customresourcedefinitions; +})(run_v1beta1 = exports.run_v1beta1 || (exports.run_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 65465: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(87550); +const v1beta1_1 = __nccwpck_require__(39534); +exports.VERSIONS = { + v1: v1_1.runtimeconfig_v1.Runtimeconfig, + v1beta1: v1beta1_1.runtimeconfig_v1beta1.Runtimeconfig, +}; +function runtimeconfig(versionOrOptions) { + return googleapis_common_1.getAPI('runtimeconfig', versionOrOptions, exports.VERSIONS, this); +} +exports.runtimeconfig = runtimeconfig; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 87550: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var runtimeconfig_v1; +(function (runtimeconfig_v1) { + /** + * Cloud Runtime Configuration API + * + * The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. + * + * @example + * const {google} = require('googleapis'); + * const runtimeconfig = google.runtimeconfig('v1'); + * + * @namespace runtimeconfig + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Runtimeconfig + */ + class Runtimeconfig { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + } + } + runtimeconfig_v1.Runtimeconfig = Runtimeconfig; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + runtimeconfig_v1.Resource$Operations = Resource$Operations; +})(runtimeconfig_v1 = exports.runtimeconfig_v1 || (exports.runtimeconfig_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 39534: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var runtimeconfig_v1beta1; +(function (runtimeconfig_v1beta1) { + /** + * Cloud Runtime Configuration API + * + * The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. + * + * @example + * const {google} = require('googleapis'); + * const runtimeconfig = google.runtimeconfig('v1beta1'); + * + * @namespace runtimeconfig + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Runtimeconfig + */ + class Runtimeconfig { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + runtimeconfig_v1beta1.Runtimeconfig = Runtimeconfig; + class Resource$Projects { + constructor(context) { + this.context = context; + this.configs = new Resource$Projects$Configs(this.context); + } + } + runtimeconfig_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Configs { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Configs$Operations(this.context); + this.variables = new Resource$Projects$Configs$Variables(this.context); + this.waiters = new Resource$Projects$Configs$Waiters(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/configs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/configs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + runtimeconfig_v1beta1.Resource$Projects$Configs = Resource$Projects$Configs; + class Resource$Projects$Configs$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + runtimeconfig_v1beta1.Resource$Projects$Configs$Operations = Resource$Projects$Configs$Operations; + class Resource$Projects$Configs$Variables { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + runtimeconfig_v1beta1.Resource$Projects$Configs$Variables = Resource$Projects$Configs$Variables; + class Resource$Projects$Configs$Waiters { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/waiters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/waiters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + runtimeconfig_v1beta1.Resource$Projects$Configs$Waiters = Resource$Projects$Configs$Waiters; +})(runtimeconfig_v1beta1 = exports.runtimeconfig_v1beta1 || (exports.runtimeconfig_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 92428: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v4_1 = __nccwpck_require__(36301); +exports.VERSIONS = { + v4: v4_1.safebrowsing_v4.Safebrowsing, +}; +function safebrowsing(versionOrOptions) { + return googleapis_common_1.getAPI('safebrowsing', versionOrOptions, exports.VERSIONS, this); +} +exports.safebrowsing = safebrowsing; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 36301: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var safebrowsing_v4; +(function (safebrowsing_v4) { + /** + * Safe Browsing API + * + * Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API. + * + * @example + * const {google} = require('googleapis'); + * const safebrowsing = google.safebrowsing('v4'); + * + * @namespace safebrowsing + * @type {Function} + * @version v4 + * @variation v4 + * @param {object=} options Options for Safebrowsing + */ + class Safebrowsing { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.encodedFullHashes = new Resource$Encodedfullhashes(this.context); + this.encodedUpdates = new Resource$Encodedupdates(this.context); + this.fullHashes = new Resource$Fullhashes(this.context); + this.threatHits = new Resource$Threathits(this.context); + this.threatLists = new Resource$Threatlists(this.context); + this.threatListUpdates = new Resource$Threatlistupdates(this.context); + this.threatMatches = new Resource$Threatmatches(this.context); + } + } + safebrowsing_v4.Safebrowsing = Safebrowsing; + class Resource$Encodedfullhashes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/encodedFullHashes/{encodedRequest}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['encodedRequest'], + pathParams: ['encodedRequest'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Encodedfullhashes = Resource$Encodedfullhashes; + class Resource$Encodedupdates { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/encodedUpdates/{encodedRequest}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['encodedRequest'], + pathParams: ['encodedRequest'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Encodedupdates = Resource$Encodedupdates; + class Resource$Fullhashes { + constructor(context) { + this.context = context; + } + find(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/fullHashes:find').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Fullhashes = Resource$Fullhashes; + class Resource$Threathits { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/threatHits').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Threathits = Resource$Threathits; + class Resource$Threatlists { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/threatLists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Threatlists = Resource$Threatlists; + class Resource$Threatlistupdates { + constructor(context) { + this.context = context; + } + fetch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/threatListUpdates:fetch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Threatlistupdates = Resource$Threatlistupdates; + class Resource$Threatmatches { + constructor(context) { + this.context = context; + } + find(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/threatMatches:find').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + safebrowsing_v4.Resource$Threatmatches = Resource$Threatmatches; +})(safebrowsing_v4 = exports.safebrowsing_v4 || (exports.safebrowsing_v4 = {})); +//# sourceMappingURL=v4.js.map + +/***/ }), + +/***/ 5085: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1alpha1_1 = __nccwpck_require__(88668); +exports.VERSIONS = { + v1alpha1: v1alpha1_1.sasportal_v1alpha1.Sasportal, +}; +function sasportal(versionOrOptions) { + return googleapis_common_1.getAPI('sasportal', versionOrOptions, exports.VERSIONS, this); +} +exports.sasportal = sasportal; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 88668: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var sasportal_v1alpha1; +(function (sasportal_v1alpha1) { + /** + * SAS Portal API + * + * + * + * @example + * const {google} = require('googleapis'); + * const sasportal = google.sasportal('v1alpha1'); + * + * @namespace sasportal + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Sasportal + */ + class Sasportal { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.customers = new Resource$Customers(this.context); + this.installer = new Resource$Installer(this.context); + this.nodes = new Resource$Nodes(this.context); + this.policies = new Resource$Policies(this.context); + } + } + sasportal_v1alpha1.Sasportal = Sasportal; + class Resource$Customers { + constructor(context) { + this.context = context; + this.devices = new Resource$Customers$Devices(this.context); + this.nodes = new Resource$Customers$Nodes(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/customers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Customers = Resource$Customers; + class Resource$Customers$Devices { + constructor(context) { + this.context = context; + } + bulk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Customers$Devices = Resource$Customers$Devices; + class Resource$Customers$Nodes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Customers$Nodes = Resource$Customers$Nodes; + class Resource$Installer { + constructor(context) { + this.context = context; + } + generateSecret(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/installer:generateSecret').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/installer:validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Installer = Resource$Installer; + class Resource$Nodes { + constructor(context) { + this.context = context; + this.devices = new Resource$Nodes$Devices(this.context); + this.nodes = new Resource$Nodes$Nodes(this.context); + } + } + sasportal_v1alpha1.Resource$Nodes = Resource$Nodes; + class Resource$Nodes$Devices { + constructor(context) { + this.context = context; + } + bulk(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + createSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + signDevice(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSigned(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Nodes$Devices = Resource$Nodes$Devices; + class Resource$Nodes$Nodes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Nodes$Nodes = Resource$Nodes$Nodes; + class Resource$Policies { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/policies:get').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + set(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/policies:set').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + test(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/policies:test').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sasportal_v1alpha1.Resource$Policies = Resource$Policies; +})(sasportal_v1alpha1 = exports.sasportal_v1alpha1 || (exports.sasportal_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 6911: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(51231); +exports.VERSIONS = { + v1: v1_1.script_v1.Script, +}; +function script(versionOrOptions) { + return googleapis_common_1.getAPI('script', versionOrOptions, exports.VERSIONS, this); +} +exports.script = script; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 51231: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var script_v1; +(function (script_v1) { + /** + * Apps Script API + * + * Manages and executes Google Apps Script projects. + * + * @example + * const {google} = require('googleapis'); + * const script = google.script('v1'); + * + * @namespace script + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Script + */ + class Script { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.processes = new Resource$Processes(this.context); + this.projects = new Resource$Projects(this.context); + this.scripts = new Resource$Scripts(this.context); + } + } + script_v1.Script = Script; + class Resource$Processes { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/processes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listScriptProcesses(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/processes:listScriptProcesses').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + script_v1.Resource$Processes = Resource$Processes; + class Resource$Projects { + constructor(context) { + this.context = context; + this.deployments = new Resource$Projects$Deployments(this.context); + this.versions = new Resource$Projects$Versions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getContent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/content').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getMetrics(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/metrics').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateContent(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/content').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + script_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Deployments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/deployments/{deploymentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['scriptId', 'deploymentId'], + pathParams: ['deploymentId', 'scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/deployments/{deploymentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId', 'deploymentId'], + pathParams: ['deploymentId', 'scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/deployments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/deployments/{deploymentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['scriptId', 'deploymentId'], + pathParams: ['deploymentId', 'scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + script_v1.Resource$Projects$Deployments = Resource$Projects$Deployments; + class Resource$Projects$Versions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/versions/{versionNumber}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId', 'versionNumber'], + pathParams: ['scriptId', 'versionNumber'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{scriptId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + script_v1.Resource$Projects$Versions = Resource$Projects$Versions; + class Resource$Scripts { + constructor(context) { + this.context = context; + } + run(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://script.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/scripts/{scriptId}:run').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['scriptId'], + pathParams: ['scriptId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + script_v1.Resource$Scripts = Resource$Scripts; +})(script_v1 = exports.script_v1 || (exports.script_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 92976: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta1_1 = __nccwpck_require__(29588); +exports.VERSIONS = { + v1beta1: v1beta1_1.secretmanager_v1beta1.Secretmanager, +}; +function secretmanager(versionOrOptions) { + return googleapis_common_1.getAPI('secretmanager', versionOrOptions, exports.VERSIONS, this); +} +exports.secretmanager = secretmanager; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 29588: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var secretmanager_v1beta1; +(function (secretmanager_v1beta1) { + /** + * Secret Manager API + * + * Stores, manages, and secures access to application secrets. + * + * @example + * const {google} = require('googleapis'); + * const secretmanager = google.secretmanager('v1beta1'); + * + * @namespace secretmanager + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Secretmanager + */ + class Secretmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + secretmanager_v1beta1.Secretmanager = Secretmanager; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + this.secrets = new Resource$Projects$Secrets(this.context); + } + } + secretmanager_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + secretmanager_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Secrets { + constructor(context) { + this.context = context; + this.versions = new Resource$Projects$Secrets$Versions(this.context); + } + addVersion(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}:addVersion').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/secrets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/secrets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + secretmanager_v1beta1.Resource$Projects$Secrets = Resource$Projects$Secrets; + class Resource$Projects$Secrets$Versions { + constructor(context) { + this.context = context; + } + access(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:access').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + destroy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:destroy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:disable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:enable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + secretmanager_v1beta1.Resource$Projects$Secrets$Versions = Resource$Projects$Secrets$Versions; +})(secretmanager_v1beta1 = exports.secretmanager_v1beta1 || (exports.secretmanager_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 12813: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(39556); +const v1beta1_1 = __nccwpck_require__(89530); +const v1p1alpha1_1 = __nccwpck_require__(84039); +const v1p1beta1_1 = __nccwpck_require__(87136); +exports.VERSIONS = { + v1: v1_1.securitycenter_v1.Securitycenter, + v1beta1: v1beta1_1.securitycenter_v1beta1.Securitycenter, + v1p1alpha1: v1p1alpha1_1.securitycenter_v1p1alpha1.Securitycenter, + v1p1beta1: v1p1beta1_1.securitycenter_v1p1beta1.Securitycenter, +}; +function securitycenter(versionOrOptions) { + return googleapis_common_1.getAPI('securitycenter', versionOrOptions, exports.VERSIONS, this); +} +exports.securitycenter = securitycenter; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 39556: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var securitycenter_v1; +(function (securitycenter_v1) { + /** + * Cloud Security Command Center API + * + * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization. + * + * @example + * const {google} = require('googleapis'); + * const securitycenter = google.securitycenter('v1'); + * + * @namespace securitycenter + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Securitycenter + */ + class Securitycenter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.organizations = new Resource$Organizations(this.context); + } + } + securitycenter_v1.Securitycenter = Securitycenter; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.assets = new Resource$Organizations$Assets(this.context); + this.operations = new Resource$Organizations$Operations(this.context); + this.sources = new Resource$Organizations$Sources(this.context); + } + getOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Assets { + constructor(context) { + this.context = context; + } + group(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/assets:group').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/assets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runDiscovery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/assets:runDiscovery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1.Resource$Organizations$Assets = Resource$Organizations$Assets; + class Resource$Organizations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1.Resource$Organizations$Operations = Resource$Organizations$Operations; + class Resource$Organizations$Sources { + constructor(context) { + this.context = context; + this.findings = new Resource$Organizations$Sources$Findings(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1.Resource$Organizations$Sources = Resource$Organizations$Sources; + class Resource$Organizations$Sources$Findings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + group(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/findings:group').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setState(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:setState').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1.Resource$Organizations$Sources$Findings = Resource$Organizations$Sources$Findings; +})(securitycenter_v1 = exports.securitycenter_v1 || (exports.securitycenter_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 89530: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var securitycenter_v1beta1; +(function (securitycenter_v1beta1) { + /** + * Cloud Security Command Center API + * + * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization. + * + * @example + * const {google} = require('googleapis'); + * const securitycenter = google.securitycenter('v1beta1'); + * + * @namespace securitycenter + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Securitycenter + */ + class Securitycenter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.organizations = new Resource$Organizations(this.context); + } + } + securitycenter_v1beta1.Securitycenter = Securitycenter; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.assets = new Resource$Organizations$Assets(this.context); + this.operations = new Resource$Organizations$Operations(this.context); + this.sources = new Resource$Organizations$Sources(this.context); + } + getOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1beta1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Assets { + constructor(context) { + this.context = context; + } + group(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/assets:group').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/assets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + runDiscovery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/assets:runDiscovery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1beta1.Resource$Organizations$Assets = Resource$Organizations$Assets; + class Resource$Organizations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1beta1.Resource$Organizations$Operations = Resource$Organizations$Operations; + class Resource$Organizations$Sources { + constructor(context) { + this.context = context; + this.findings = new Resource$Organizations$Sources$Findings(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/sources').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1beta1.Resource$Organizations$Sources = Resource$Organizations$Sources; + class Resource$Organizations$Sources$Findings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + group(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/findings:group').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setState(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:setState').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1beta1.Resource$Organizations$Sources$Findings = Resource$Organizations$Sources$Findings; +})(securitycenter_v1beta1 = exports.securitycenter_v1beta1 || (exports.securitycenter_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 84039: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var securitycenter_v1p1alpha1; +(function (securitycenter_v1p1alpha1) { + /** + * Cloud Security Command Center API + * + * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization. + * + * @example + * const {google} = require('googleapis'); + * const securitycenter = google.securitycenter('v1p1alpha1'); + * + * @namespace securitycenter + * @type {Function} + * @version v1p1alpha1 + * @variation v1p1alpha1 + * @param {object=} options Options for Securitycenter + */ + class Securitycenter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.organizations = new Resource$Organizations(this.context); + } + } + securitycenter_v1p1alpha1.Securitycenter = Securitycenter; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.operations = new Resource$Organizations$Operations(this.context); + } + } + securitycenter_v1p1alpha1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1alpha1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1p1alpha1.Resource$Organizations$Operations = Resource$Organizations$Operations; +})(securitycenter_v1p1alpha1 = exports.securitycenter_v1p1alpha1 || (exports.securitycenter_v1p1alpha1 = {})); +//# sourceMappingURL=v1p1alpha1.js.map + +/***/ }), + +/***/ 87136: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var securitycenter_v1p1beta1; +(function (securitycenter_v1p1beta1) { + /** + * Cloud Security Command Center API + * + * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization. + * + * @example + * const {google} = require('googleapis'); + * const securitycenter = google.securitycenter('v1p1beta1'); + * + * @namespace securitycenter + * @type {Function} + * @version v1p1beta1 + * @variation v1p1beta1 + * @param {object=} options Options for Securitycenter + */ + class Securitycenter { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.organizations = new Resource$Organizations(this.context); + } + } + securitycenter_v1p1beta1.Securitycenter = Securitycenter; + class Resource$Organizations { + constructor(context) { + this.context = context; + this.operations = new Resource$Organizations$Operations(this.context); + } + } + securitycenter_v1p1beta1.Resource$Organizations = Resource$Organizations; + class Resource$Organizations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + securitycenter_v1p1beta1.Resource$Organizations$Operations = Resource$Organizations$Operations; +})(securitycenter_v1p1beta1 = exports.securitycenter_v1p1beta1 || (exports.securitycenter_v1p1beta1 = {})); +//# sourceMappingURL=v1p1beta1.js.map + +/***/ }), + +/***/ 48938: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(85357); +const v1alpha1_1 = __nccwpck_require__(32201); +const v1beta1_1 = __nccwpck_require__(33898); +exports.VERSIONS = { + v1: v1_1.servicebroker_v1.Servicebroker, + v1alpha1: v1alpha1_1.servicebroker_v1alpha1.Servicebroker, + v1beta1: v1beta1_1.servicebroker_v1beta1.Servicebroker, +}; +function servicebroker(versionOrOptions) { + return googleapis_common_1.getAPI('servicebroker', versionOrOptions, exports.VERSIONS, this); +} +exports.servicebroker = servicebroker; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 85357: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicebroker_v1; +(function (servicebroker_v1) { + /** + * Service Broker API + * + * The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/). + * + * @example + * const {google} = require('googleapis'); + * const servicebroker = google.servicebroker('v1'); + * + * @namespace servicebroker + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Servicebroker + */ + class Servicebroker { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.v1 = new Resource$V1(this.context); + } + } + servicebroker_v1.Servicebroker = Servicebroker; + class Resource$V1 { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1.Resource$V1 = Resource$V1; +})(servicebroker_v1 = exports.servicebroker_v1 || (exports.servicebroker_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 32201: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicebroker_v1alpha1; +(function (servicebroker_v1alpha1) { + /** + * Service Broker API + * + * The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/). + * + * @example + * const {google} = require('googleapis'); + * const servicebroker = google.servicebroker('v1alpha1'); + * + * @namespace servicebroker + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Servicebroker + */ + class Servicebroker { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + this.v1alpha1 = new Resource$V1alpha1(this.context); + } + } + servicebroker_v1alpha1.Servicebroker = Servicebroker; + class Resource$Projects { + constructor(context) { + this.context = context; + this.brokers = new Resource$Projects$Brokers(this.context); + } + } + servicebroker_v1alpha1.Resource$Projects = Resource$Projects; + class Resource$Projects$Brokers { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Brokers$Instances(this.context); + this.service_instances = new Resource$Projects$Brokers$Service_instances(this.context); + this.v2 = new Resource$Projects$Brokers$V2(this.context); + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers = Resource$Projects$Brokers; + class Resource$Projects$Brokers$Instances { + constructor(context) { + this.context = context; + this.service_bindings = new Resource$Projects$Brokers$Instances$Service_bindings(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$Instances = Resource$Projects$Brokers$Instances; + class Resource$Projects$Brokers$Instances$Service_bindings { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/service_bindings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$Instances$Service_bindings = Resource$Projects$Brokers$Instances$Service_bindings; + class Resource$Projects$Brokers$Service_instances { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/service_instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$Service_instances = Resource$Projects$Brokers$Service_instances; + class Resource$Projects$Brokers$V2 { + constructor(context) { + this.context = context; + this.catalog = new Resource$Projects$Brokers$V2$Catalog(this.context); + this.service_instances = new Resource$Projects$Brokers$V2$Service_instances(this.context); + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$V2 = Resource$Projects$Brokers$V2; + class Resource$Projects$Brokers$V2$Catalog { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/v2/catalog').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$V2$Catalog = Resource$Projects$Brokers$V2$Catalog; + class Resource$Projects$Brokers$V2$Service_instances { + constructor(context) { + this.context = context; + this.service_bindings = new Resource$Projects$Brokers$V2$Service_instances$Service_bindings(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{+instance_id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['parent', 'instance_id'], + pathParams: ['instance_id', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'instanceId'], + pathParams: ['instanceId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getLast_operation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/last_operation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'instanceId'], + pathParams: ['instanceId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{+instance_id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['parent', 'instance_id'], + pathParams: ['instance_id', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$V2$Service_instances = Resource$Projects$Brokers$V2$Service_instances; + class Resource$Projects$Brokers$V2$Service_instances$Service_bindings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/service_bindings/{+binding_id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['parent', 'instanceId', 'binding_id'], + pathParams: ['binding_id', 'instanceId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{instanceId}/service_bindings/{bindingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['parent', 'instanceId', 'bindingId'], + pathParams: ['bindingId', 'instanceId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/service_bindings/{+bindingId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'instanceId', 'bindingId'], + pathParams: ['bindingId', 'instanceId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getLast_operation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/service_bindings/{+bindingId}/last_operation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent', 'instanceId', 'bindingId'], + pathParams: ['bindingId', 'instanceId', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$Projects$Brokers$V2$Service_instances$Service_bindings = Resource$Projects$Brokers$V2$Service_instances$Service_bindings; + class Resource$V1alpha1 { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1alpha1.Resource$V1alpha1 = Resource$V1alpha1; +})(servicebroker_v1alpha1 = exports.servicebroker_v1alpha1 || (exports.servicebroker_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 33898: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicebroker_v1beta1; +(function (servicebroker_v1beta1) { + /** + * Service Broker API + * + * The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/). + * + * @example + * const {google} = require('googleapis'); + * const servicebroker = google.servicebroker('v1beta1'); + * + * @namespace servicebroker + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Servicebroker + */ + class Servicebroker { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + this.v1beta1 = new Resource$V1beta1(this.context); + } + } + servicebroker_v1beta1.Servicebroker = Servicebroker; + class Resource$Projects { + constructor(context) { + this.context = context; + this.brokers = new Resource$Projects$Brokers(this.context); + } + } + servicebroker_v1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Brokers { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Brokers$Instances(this.context); + this.v2 = new Resource$Projects$Brokers$V2(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/brokers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/brokers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$Projects$Brokers = Resource$Projects$Brokers; + class Resource$Projects$Brokers$Instances { + constructor(context) { + this.context = context; + this.bindings = new Resource$Projects$Brokers$Instances$Bindings(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getLast_operation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$Projects$Brokers$Instances = Resource$Projects$Brokers$Instances; + class Resource$Projects$Brokers$Instances$Bindings { + constructor(context) { + this.context = context; + } + getLast_operation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/bindings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$Projects$Brokers$Instances$Bindings = Resource$Projects$Brokers$Instances$Bindings; + class Resource$Projects$Brokers$V2 { + constructor(context) { + this.context = context; + this.catalog = new Resource$Projects$Brokers$V2$Catalog(this.context); + this.service_instances = new Resource$Projects$Brokers$V2$Service_instances(this.context); + } + } + servicebroker_v1beta1.Resource$Projects$Brokers$V2 = Resource$Projects$Brokers$V2; + class Resource$Projects$Brokers$V2$Catalog { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/v2/catalog').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$Projects$Brokers$V2$Catalog = Resource$Projects$Brokers$V2$Catalog; + class Resource$Projects$Brokers$V2$Service_instances { + constructor(context) { + this.context = context; + this.service_bindings = new Resource$Projects$Brokers$V2$Service_instances$Service_bindings(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/v2/service_instances/{+instance_id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['parent', 'instance_id'], + pathParams: ['instance_id', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getLast_operation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$Projects$Brokers$V2$Service_instances = Resource$Projects$Brokers$V2$Service_instances; + class Resource$Projects$Brokers$V2$Service_instances$Service_bindings { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/service_bindings/{+binding_id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['parent', 'binding_id'], + pathParams: ['binding_id', 'parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getLast_operation(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$Projects$Brokers$V2$Service_instances$Service_bindings = Resource$Projects$Brokers$V2$Service_instances$Service_bindings; + class Resource$V1beta1 { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicebroker_v1beta1.Resource$V1beta1 = Resource$V1beta1; +})(servicebroker_v1beta1 = exports.servicebroker_v1beta1 || (exports.servicebroker_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 21296: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(25943); +exports.VERSIONS = { + v1: v1_1.serviceconsumermanagement_v1.Serviceconsumermanagement, +}; +function serviceconsumermanagement(versionOrOptions) { + return googleapis_common_1.getAPI('serviceconsumermanagement', versionOrOptions, exports.VERSIONS, this); +} +exports.serviceconsumermanagement = serviceconsumermanagement; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 25943: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var serviceconsumermanagement_v1; +(function (serviceconsumermanagement_v1) { + /** + * Service Consumer Management API + * + * Manages the service consumers of a Service Infrastructure service. + * + * @example + * const {google} = require('googleapis'); + * const serviceconsumermanagement = google.serviceconsumermanagement('v1'); + * + * @namespace serviceconsumermanagement + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Serviceconsumermanagement + */ + class Serviceconsumermanagement { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.services = new Resource$Services(this.context); + } + } + serviceconsumermanagement_v1.Serviceconsumermanagement = Serviceconsumermanagement; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceconsumermanagement_v1.Resource$Operations = Resource$Operations; + class Resource$Services { + constructor(context) { + this.context = context; + this.tenancyUnits = new Resource$Services$Tenancyunits(this.context); + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceconsumermanagement_v1.Resource$Services = Resource$Services; + class Resource$Services$Tenancyunits { + constructor(context) { + this.context = context; + } + addProject(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:addProject').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + applyProjectConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:applyProjectConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + attachProject(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:attachProject').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/tenancyUnits').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + deleteProject(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:deleteProject').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/tenancyUnits').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeProject(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:removeProject').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undeleteProject(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:undeleteProject').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceconsumermanagement_v1.Resource$Services$Tenancyunits = Resource$Services$Tenancyunits; +})(serviceconsumermanagement_v1 = exports.serviceconsumermanagement_v1 || (exports.serviceconsumermanagement_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 82: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(8308); +exports.VERSIONS = { + v1: v1_1.servicecontrol_v1.Servicecontrol, +}; +function servicecontrol(versionOrOptions) { + return googleapis_common_1.getAPI('servicecontrol', versionOrOptions, exports.VERSIONS, this); +} +exports.servicecontrol = servicecontrol; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 8308: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicecontrol_v1; +(function (servicecontrol_v1) { + /** + * Service Control API + * + * Provides control plane functionality to managed services, such as logging, monitoring, and status checks. + * + * @example + * const {google} = require('googleapis'); + * const servicecontrol = google.servicecontrol('v1'); + * + * @namespace servicecontrol + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Servicecontrol + */ + class Servicecontrol { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.services = new Resource$Services(this.context); + } + } + servicecontrol_v1.Servicecontrol = Servicecontrol; + class Resource$Services { + constructor(context) { + this.context = context; + } + allocateQuota(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicecontrol.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}:allocateQuota').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + check(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicecontrol.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}:check').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + report(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicecontrol.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}:report').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicecontrol_v1.Resource$Services = Resource$Services; +})(servicecontrol_v1 = exports.servicecontrol_v1 || (exports.servicecontrol_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 8881: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(31646); +exports.VERSIONS = { + v1: v1_1.servicemanagement_v1.Servicemanagement, +}; +function servicemanagement(versionOrOptions) { + return googleapis_common_1.getAPI('servicemanagement', versionOrOptions, exports.VERSIONS, this); +} +exports.servicemanagement = servicemanagement; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 31646: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicemanagement_v1; +(function (servicemanagement_v1) { + /** + * Service Management API + * + * Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. + * + * @example + * const {google} = require('googleapis'); + * const servicemanagement = google.servicemanagement('v1'); + * + * @namespace servicemanagement + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Servicemanagement + */ + class Servicemanagement { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.services = new Resource$Services(this.context); + } + } + servicemanagement_v1.Servicemanagement = Servicemanagement; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicemanagement_v1.Resource$Operations = Resource$Operations; + class Resource$Services { + constructor(context) { + this.context = context; + this.configs = new Resource$Services$Configs(this.context); + this.consumers = new Resource$Services$Consumers(this.context); + this.rollouts = new Resource$Services$Rollouts(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}:disable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}:enable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + generateConfigReport(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services:generateConfigReport').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/config').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicemanagement_v1.Resource$Services = Resource$Services; + class Resource$Services$Configs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/configs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/configs/{configId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['serviceName', 'configId'], + pathParams: ['configId', 'serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/configs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + submit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/configs:submit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicemanagement_v1.Resource$Services$Configs = Resource$Services$Configs; + class Resource$Services$Consumers { + constructor(context) { + this.context = context; + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicemanagement_v1.Resource$Services$Consumers = Resource$Services$Consumers; + class Resource$Services$Rollouts { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/rollouts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/rollouts/{rolloutId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['serviceName', 'rolloutId'], + pathParams: ['rolloutId', 'serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/services/{serviceName}/rollouts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['serviceName'], + pathParams: ['serviceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicemanagement_v1.Resource$Services$Rollouts = Resource$Services$Rollouts; +})(servicemanagement_v1 = exports.servicemanagement_v1 || (exports.servicemanagement_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 72356: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(4565); +const v1beta_1 = __nccwpck_require__(36738); +exports.VERSIONS = { + v1: v1_1.servicenetworking_v1.Servicenetworking, + v1beta: v1beta_1.servicenetworking_v1beta.Servicenetworking, +}; +function servicenetworking(versionOrOptions) { + return googleapis_common_1.getAPI('servicenetworking', versionOrOptions, exports.VERSIONS, this); +} +exports.servicenetworking = servicenetworking; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 4565: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicenetworking_v1; +(function (servicenetworking_v1) { + /** + * Service Networking API + * + * Provides automatic management of network configurations necessary for certain services. + * + * @example + * const {google} = require('googleapis'); + * const servicenetworking = google.servicenetworking('v1'); + * + * @namespace servicenetworking + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Servicenetworking + */ + class Servicenetworking { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.services = new Resource$Services(this.context); + } + } + servicenetworking_v1.Servicenetworking = Servicenetworking; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicenetworking_v1.Resource$Operations = Resource$Operations; + class Resource$Services { + constructor(context) { + this.context = context; + this.connections = new Resource$Services$Connections(this.context); + } + addSubnetwork(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:addSubnetwork').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disableVpcServiceControls(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:disableVpcServiceControls').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enableVpcServiceControls(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:enableVpcServiceControls').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchRange(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:searchRange').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + validate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}:validate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicenetworking_v1.Resource$Services = Resource$Services; + class Resource$Services$Connections { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicenetworking_v1.Resource$Services$Connections = Resource$Services$Connections; +})(servicenetworking_v1 = exports.servicenetworking_v1 || (exports.servicenetworking_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 36738: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var servicenetworking_v1beta; +(function (servicenetworking_v1beta) { + /** + * Service Networking API + * + * Provides automatic management of network configurations necessary for certain services. + * + * @example + * const {google} = require('googleapis'); + * const servicenetworking = google.servicenetworking('v1beta'); + * + * @namespace servicenetworking + * @type {Function} + * @version v1beta + * @variation v1beta + * @param {object=} options Options for Servicenetworking + */ + class Servicenetworking { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.services = new Resource$Services(this.context); + } + } + servicenetworking_v1beta.Servicenetworking = Servicenetworking; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicenetworking_v1beta.Resource$Operations = Resource$Operations; + class Resource$Services { + constructor(context) { + this.context = context; + this.connections = new Resource$Services$Connections(this.context); + } + addSubnetwork(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}:addSubnetwork').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + searchRange(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}:searchRange').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateConnections(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicenetworking_v1beta.Resource$Services = Resource$Services; + class Resource$Services$Connections { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/connections').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + servicenetworking_v1beta.Resource$Services$Connections = Resource$Services$Connections; +})(servicenetworking_v1beta = exports.servicenetworking_v1beta || (exports.servicenetworking_v1beta = {})); +//# sourceMappingURL=v1beta.js.map + +/***/ }), + +/***/ 61110: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(83581); +const v1beta1_1 = __nccwpck_require__(82010); +exports.VERSIONS = { + v1: v1_1.serviceusage_v1.Serviceusage, + v1beta1: v1beta1_1.serviceusage_v1beta1.Serviceusage, +}; +function serviceusage(versionOrOptions) { + return googleapis_common_1.getAPI('serviceusage', versionOrOptions, exports.VERSIONS, this); +} +exports.serviceusage = serviceusage; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 83581: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var serviceusage_v1; +(function (serviceusage_v1) { + /** + * Service Usage API + * + * Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. + * + * @example + * const {google} = require('googleapis'); + * const serviceusage = google.serviceusage('v1'); + * + * @namespace serviceusage + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Serviceusage + */ + class Serviceusage { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.services = new Resource$Services(this.context); + } + } + serviceusage_v1.Serviceusage = Serviceusage; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceusage_v1.Resource$Operations = Resource$Operations; + class Resource$Services { + constructor(context) { + this.context = context; + } + batchEnable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/services:batchEnable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:disable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:enable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceusage_v1.Resource$Services = Resource$Services; +})(serviceusage_v1 = exports.serviceusage_v1 || (exports.serviceusage_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 82010: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var serviceusage_v1beta1; +(function (serviceusage_v1beta1) { + /** + * Service Usage API + * + * Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. + * + * @example + * const {google} = require('googleapis'); + * const serviceusage = google.serviceusage('v1beta1'); + * + * @namespace serviceusage + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Serviceusage + */ + class Serviceusage { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.services = new Resource$Services(this.context); + } + } + serviceusage_v1beta1.Serviceusage = Serviceusage; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceusage_v1beta1.Resource$Operations = Resource$Operations; + class Resource$Services { + constructor(context) { + this.context = context; + } + batchEnable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/services:batchEnable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + disable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:disable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + enable(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}:enable').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/{+parent}/services').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + serviceusage_v1beta1.Resource$Services = Resource$Services; +})(serviceusage_v1beta1 = exports.serviceusage_v1beta1 || (exports.serviceusage_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 84155: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v4_1 = __nccwpck_require__(99009); +exports.VERSIONS = { + v4: v4_1.sheets_v4.Sheets, +}; +function sheets(versionOrOptions) { + return googleapis_common_1.getAPI('sheets', versionOrOptions, exports.VERSIONS, this); +} +exports.sheets = sheets; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 99009: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var sheets_v4; +(function (sheets_v4) { + /** + * Google Sheets API + * + * Reads and writes Google Sheets. + * + * @example + * const {google} = require('googleapis'); + * const sheets = google.sheets('v4'); + * + * @namespace sheets + * @type {Function} + * @version v4 + * @variation v4 + * @param {object=} options Options for Sheets + */ + class Sheets { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.spreadsheets = new Resource$Spreadsheets(this.context); + } + } + sheets_v4.Sheets = Sheets; + class Resource$Spreadsheets { + constructor(context) { + this.context = context; + this.developerMetadata = new Resource$Spreadsheets$Developermetadata(this.context); + this.sheets = new Resource$Spreadsheets$Sheets(this.context); + this.values = new Resource$Spreadsheets$Values(this.context); + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getByDataFilter(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}:getByDataFilter').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sheets_v4.Resource$Spreadsheets = Resource$Spreadsheets; + class Resource$Spreadsheets$Developermetadata { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['spreadsheetId', 'metadataId'], + pathParams: ['metadataId', 'spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + search(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v4/spreadsheets/{spreadsheetId}/developerMetadata:search').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sheets_v4.Resource$Spreadsheets$Developermetadata = Resource$Spreadsheets$Developermetadata; + class Resource$Spreadsheets$Sheets { + constructor(context) { + this.context = context; + } + copyTo(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId', 'sheetId'], + pathParams: ['sheetId', 'spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sheets_v4.Resource$Spreadsheets$Sheets = Resource$Spreadsheets$Sheets; + class Resource$Spreadsheets$Values { + constructor(context) { + this.context = context; + } + append(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}:append').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId', 'range'], + pathParams: ['range', 'spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchClear(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchClear').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchClearByDataFilter(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchGetByDataFilter(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdateByDataFilter(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId'], + pathParams: ['spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + clear(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}:clear').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['spreadsheetId', 'range'], + pathParams: ['range', 'spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['spreadsheetId', 'range'], + pathParams: ['range', 'spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['spreadsheetId', 'range'], + pathParams: ['range', 'spreadsheetId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sheets_v4.Resource$Spreadsheets$Values = Resource$Spreadsheets$Values; +})(sheets_v4 = exports.sheets_v4 || (exports.sheets_v4 = {})); +//# sourceMappingURL=v4.js.map + +/***/ }), + +/***/ 82450: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(54977); +exports.VERSIONS = { + v1: v1_1.siteVerification_v1.Siteverification, +}; +function siteVerification(versionOrOptions) { + return googleapis_common_1.getAPI('siteVerification', versionOrOptions, exports.VERSIONS, this); +} +exports.siteVerification = siteVerification; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 54977: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var siteVerification_v1; +(function (siteVerification_v1) { + /** + * Google Site Verification API + * + * Verifies ownership of websites or domains with Google. + * + * @example + * const {google} = require('googleapis'); + * const siteVerification = google.siteVerification('v1'); + * + * @namespace siteVerification + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Siteverification + */ + class Siteverification { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.webResource = new Resource$Webresource(this.context); + } + } + siteVerification_v1.Siteverification = Siteverification; + class Resource$Webresource { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getToken(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/token').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/webResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['verificationMethod'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/webResource').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + siteVerification_v1.Resource$Webresource = Resource$Webresource; +})(siteVerification_v1 = exports.siteVerification_v1 || (exports.siteVerification_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 46702: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(22984); +exports.VERSIONS = { + v1: v1_1.slides_v1.Slides, +}; +function slides(versionOrOptions) { + return googleapis_common_1.getAPI('slides', versionOrOptions, exports.VERSIONS, this); +} +exports.slides = slides; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 22984: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var slides_v1; +(function (slides_v1) { + /** + * Google Slides API + * + * Reads and writes Google Slides presentations. + * + * @example + * const {google} = require('googleapis'); + * const slides = google.slides('v1'); + * + * @namespace slides + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Slides + */ + class Slides { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.presentations = new Resource$Presentations(this.context); + } + } + slides_v1.Slides = Slides; + class Resource$Presentations { + constructor(context) { + this.context = context; + this.pages = new Resource$Presentations$Pages(this.context); + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://slides.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/presentations/{presentationId}:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['presentationId'], + pathParams: ['presentationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://slides.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/presentations').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://slides.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/presentations/{+presentationId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['presentationId'], + pathParams: ['presentationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + slides_v1.Resource$Presentations = Resource$Presentations; + class Resource$Presentations$Pages { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://slides.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/presentations/{presentationId}/pages/{pageObjectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['presentationId', 'pageObjectId'], + pathParams: ['pageObjectId', 'presentationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getThumbnail(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://slides.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['presentationId', 'pageObjectId'], + pathParams: ['pageObjectId', 'presentationId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + slides_v1.Resource$Presentations$Pages = Resource$Presentations$Pages; +})(slides_v1 = exports.slides_v1 || (exports.slides_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 29618: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(90330); +exports.VERSIONS = { + v1: v1_1.sourcerepo_v1.Sourcerepo, +}; +function sourcerepo(versionOrOptions) { + return googleapis_common_1.getAPI('sourcerepo', versionOrOptions, exports.VERSIONS, this); +} +exports.sourcerepo = sourcerepo; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 90330: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var sourcerepo_v1; +(function (sourcerepo_v1) { + /** + * Cloud Source Repositories API + * + * Accesses source code repositories hosted by Google. + * + * @example + * const {google} = require('googleapis'); + * const sourcerepo = google.sourcerepo('v1'); + * + * @namespace sourcerepo + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Sourcerepo + */ + class Sourcerepo { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + sourcerepo_v1.Sourcerepo = Sourcerepo; + class Resource$Projects { + constructor(context) { + this.context = context; + this.repos = new Resource$Projects$Repos(this.context); + } + getConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/config').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/config').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sourcerepo_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Repos { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/repos').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/repos').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:sync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sourcerepo_v1.Resource$Projects$Repos = Resource$Projects$Repos; +})(sourcerepo_v1 = exports.sourcerepo_v1 || (exports.sourcerepo_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 10887: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(3757); +exports.VERSIONS = { + v1: v1_1.spanner_v1.Spanner, +}; +function spanner(versionOrOptions) { + return googleapis_common_1.getAPI('spanner', versionOrOptions, exports.VERSIONS, this); +} +exports.spanner = spanner; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 3757: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var spanner_v1; +(function (spanner_v1) { + /** + * Cloud Spanner API + * + * Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. + * + * @example + * const {google} = require('googleapis'); + * const spanner = google.spanner('v1'); + * + * @namespace spanner + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Spanner + */ + class Spanner { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + spanner_v1.Spanner = Spanner; + class Resource$Projects { + constructor(context) { + this.context = context; + this.instanceConfigs = new Resource$Projects$Instanceconfigs(this.context); + this.instances = new Resource$Projects$Instances(this.context); + } + } + spanner_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Instanceconfigs { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instanceConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instanceconfigs = Resource$Projects$Instanceconfigs; + class Resource$Projects$Instances { + constructor(context) { + this.context = context; + this.backups = new Resource$Projects$Instances$Backups(this.context); + this.databases = new Resource$Projects$Instances$Databases(this.context); + this.operations = new Resource$Projects$Instances$Operations(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances = Resource$Projects$Instances; + class Resource$Projects$Instances$Backups { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Instances$Backups$Operations(this.context); + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances$Backups = Resource$Projects$Instances$Backups; + class Resource$Projects$Instances$Backups$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances$Backups$Operations = Resource$Projects$Instances$Backups$Operations; + class Resource$Projects$Instances$Databases { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Instances$Databases$Operations(this.context); + this.sessions = new Resource$Projects$Instances$Databases$Sessions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/databases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + dropDatabase(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getDdl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/ddl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/databases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['resource'], + pathParams: ['resource'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + updateDdl(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/ddl').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances$Databases = Resource$Projects$Instances$Databases; + class Resource$Projects$Instances$Databases$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances$Databases$Operations = Resource$Projects$Instances$Databases$Operations; + class Resource$Projects$Instances$Databases$Sessions { + constructor(context) { + this.context = context; + } + batchCreate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/sessions:batchCreate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + beginTransaction(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:beginTransaction').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + commit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:commit').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/sessions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + executeBatchDml(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:executeBatchDml').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + executeSql(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:executeSql').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + executeStreamingSql(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:executeStreamingSql').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+database}/sessions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['database'], + pathParams: ['database'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + partitionQuery(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:partitionQuery').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + partitionRead(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:partitionRead').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + read(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:read').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rollback(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:rollback').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + streamingRead(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+session}:streamingRead').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['session'], + pathParams: ['session'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances$Databases$Sessions = Resource$Projects$Instances$Databases$Sessions; + class Resource$Projects$Instances$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + spanner_v1.Resource$Projects$Instances$Operations = Resource$Projects$Instances$Operations; +})(spanner_v1 = exports.spanner_v1 || (exports.spanner_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 54392: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(80865); +const v1p1beta1_1 = __nccwpck_require__(45880); +const v2beta1_1 = __nccwpck_require__(38857); +exports.VERSIONS = { + v1: v1_1.speech_v1.Speech, + v1p1beta1: v1p1beta1_1.speech_v1p1beta1.Speech, + v2beta1: v2beta1_1.speech_v2beta1.Speech, +}; +function speech(versionOrOptions) { + return googleapis_common_1.getAPI('speech', versionOrOptions, exports.VERSIONS, this); +} +exports.speech = speech; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 80865: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var speech_v1; +(function (speech_v1) { + /** + * Cloud Speech-to-Text API + * + * Converts audio to text by applying powerful neural network models. + * + * @example + * const {google} = require('googleapis'); + * const speech = google.speech('v1'); + * + * @namespace speech + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Speech + */ + class Speech { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + this.speech = new Resource$Speech(this.context); + } + } + speech_v1.Speech = Speech; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + speech_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + } + speech_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Speech { + constructor(context) { + this.context = context; + } + longrunningrecognize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/speech:longrunningrecognize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recognize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/speech:recognize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v1.Resource$Speech = Resource$Speech; +})(speech_v1 = exports.speech_v1 || (exports.speech_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 45880: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var speech_v1p1beta1; +(function (speech_v1p1beta1) { + /** + * Cloud Speech-to-Text API + * + * Converts audio to text by applying powerful neural network models. + * + * @example + * const {google} = require('googleapis'); + * const speech = google.speech('v1p1beta1'); + * + * @namespace speech + * @type {Function} + * @version v1p1beta1 + * @variation v1p1beta1 + * @param {object=} options Options for Speech + */ + class Speech { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + this.speech = new Resource$Speech(this.context); + } + } + speech_v1p1beta1.Speech = Speech; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/operations/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v1p1beta1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + speech_v1p1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + } + speech_v1p1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v1p1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Speech { + constructor(context) { + this.context = context; + } + longrunningrecognize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/speech:longrunningrecognize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + recognize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/speech:recognize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v1p1beta1.Resource$Speech = Resource$Speech; +})(speech_v1p1beta1 = exports.speech_v1p1beta1 || (exports.speech_v1p1beta1 = {})); +//# sourceMappingURL=v1p1beta1.js.map + +/***/ }), + +/***/ 38857: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var speech_v2beta1; +(function (speech_v2beta1) { + /** + * Cloud Speech-to-Text API + * + * Converts audio to text by applying powerful neural network models. + * + * @example + * const {google} = require('googleapis'); + * const speech = google.speech('v2beta1'); + * + * @namespace speech + * @type {Function} + * @version v2beta1 + * @variation v2beta1 + * @param {object=} options Options for Speech + */ + class Speech { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + speech_v2beta1.Speech = Speech; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + speech_v2beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + } + speech_v2beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://speech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + speech_v2beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(speech_v2beta1 = exports.speech_v2beta1 || (exports.speech_v2beta1 = {})); +//# sourceMappingURL=v2beta1.js.map + +/***/ }), + +/***/ 9266: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1beta4_1 = __nccwpck_require__(37655); +exports.VERSIONS = { + v1beta4: v1beta4_1.sql_v1beta4.Sql, +}; +function sql(versionOrOptions) { + return googleapis_common_1.getAPI('sql', versionOrOptions, exports.VERSIONS, this); +} +exports.sql = sql; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 37655: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var sql_v1beta4; +(function (sql_v1beta4) { + /** + * Cloud SQL Admin API + * + * API for Cloud SQL database instance management + * + * @example + * const {google} = require('googleapis'); + * const sql = google.sql('v1beta4'); + * + * @namespace sql + * @type {Function} + * @version v1beta4 + * @variation v1beta4 + * @param {object=} options Options for Sql + */ + class Sql { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.backupRuns = new Resource$Backupruns(this.context); + this.databases = new Resource$Databases(this.context); + this.flags = new Resource$Flags(this.context); + this.instances = new Resource$Instances(this.context); + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + this.sslCerts = new Resource$Sslcerts(this.context); + this.tiers = new Resource$Tiers(this.context); + this.users = new Resource$Users(this.context); + } + } + sql_v1beta4.Sql = Sql; + class Resource$Backupruns { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instance', 'id'], + pathParams: ['id', 'instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance', 'id'], + pathParams: ['id', 'instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Backupruns = Resource$Backupruns; + class Resource$Databases { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instance', 'database'], + pathParams: ['database', 'instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance', 'database'], + pathParams: ['database', 'instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/databases').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/databases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'instance', 'database'], + pathParams: ['database', 'instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'instance', 'database'], + pathParams: ['database', 'instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Databases = Resource$Databases; + class Resource$Flags { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/flags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Flags = Resource$Flags; + class Resource$Instances { + constructor(context) { + this.context = context; + } + addServerCa(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/addServerCa').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + clone(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/clone').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + demoteMaster(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + export(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/export').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + failover(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/failover').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/instances').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + listServerCas(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + promoteReplica(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resetSslConfig(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restart(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/restart').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restoreBackup(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rotateServerCa(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startReplica(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/startReplica').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stopReplica(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/stopReplica').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + truncateLog(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/truncateLog').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Instances = Resource$Instances; + class Resource$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'operation'], + pathParams: ['operation', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Instances(this.context); + this.locations = new Resource$Projects$Locations(this.context); + } + } + sql_v1beta4.Resource$Projects = Resource$Projects; + class Resource$Projects$Instances { + constructor(context) { + this.context = context; + } + rescheduleMaintenance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Projects$Instances = Resource$Projects$Instances; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.instances = new Resource$Projects$Locations$Instances(this.context); + } + } + sql_v1beta4.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Instances { + constructor(context) { + this.context = context; + } + rescheduleMaintenance(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/{+parent}/rescheduleMaintenance').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances; + class Resource$Sslcerts { + constructor(context) { + this.context = context; + } + createEphemeral(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instance', 'sha1Fingerprint'], + pathParams: ['instance', 'project', 'sha1Fingerprint'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance', 'sha1Fingerprint'], + pathParams: ['instance', 'project', 'sha1Fingerprint'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Sslcerts = Resource$Sslcerts; + class Resource$Tiers { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/sql/v1beta4/projects/{project}/tiers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Tiers = Resource$Tiers; + class Resource$Users { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['project', 'instance'], + pathParams: ['instance', 'project'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + sql_v1beta4.Resource$Users = Resource$Users; +})(sql_v1beta4 = exports.sql_v1beta4 || (exports.sql_v1beta4 = {})); +//# sourceMappingURL=v1beta4.js.map + +/***/ }), + +/***/ 82428: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(10088); +const v1beta2_1 = __nccwpck_require__(7649); +exports.VERSIONS = { + v1: v1_1.storage_v1.Storage, + v1beta2: v1beta2_1.storage_v1beta2.Storage, +}; +function storage(versionOrOptions) { + return googleapis_common_1.getAPI('storage', versionOrOptions, exports.VERSIONS, this); +} +exports.storage = storage; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 10088: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var storage_v1; +(function (storage_v1) { + /** + * Cloud Storage JSON API + * + * Stores and retrieves potentially large, immutable data objects. + * + * @example + * const {google} = require('googleapis'); + * const storage = google.storage('v1'); + * + * @namespace storage + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Storage + */ + class Storage { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.bucketAccessControls = new Resource$Bucketaccesscontrols(this.context); + this.buckets = new Resource$Buckets(this.context); + this.channels = new Resource$Channels(this.context); + this.defaultObjectAccessControls = new Resource$Defaultobjectaccesscontrols(this.context); + this.notifications = new Resource$Notifications(this.context); + this.objectAccessControls = new Resource$Objectaccesscontrols(this.context); + this.objects = new Resource$Objects(this.context); + this.projects = new Resource$Projects(this.context); + } + } + storage_v1.Storage = Storage; + class Resource$Bucketaccesscontrols { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Bucketaccesscontrols = Resource$Bucketaccesscontrols; + class Resource$Buckets { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/iam').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + lockRetentionPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/lockRetentionPolicy').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket', 'ifMetagenerationMatch'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/iam').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/iam/testPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'permissions'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Buckets = Resource$Buckets; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Channels = Resource$Channels; + class Resource$Defaultobjectaccesscontrols { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Defaultobjectaccesscontrols = Resource$Defaultobjectaccesscontrols; + class Resource$Notifications { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1/b/{bucket}/notificationConfigs/{notification}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'notification'], + pathParams: ['bucket', 'notification'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1/b/{bucket}/notificationConfigs/{notification}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'notification'], + pathParams: ['bucket', 'notification'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/notificationConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Notifications = Resource$Notifications; + class Resource$Objectaccesscontrols { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Objectaccesscontrols = Resource$Objectaccesscontrols; + class Resource$Objects { + constructor(context) { + this.context = context; + } + compose(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1/b/{destinationBucket}/o/{destinationObject}/compose').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['destinationBucket', 'destinationObject'], + pathParams: ['destinationBucket', 'destinationObject'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + copy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1/b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'sourceBucket', + 'sourceObject', + 'destinationBucket', + 'destinationObject', + ], + pathParams: [ + 'destinationBucket', + 'destinationObject', + 'sourceBucket', + 'sourceObject', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/iam').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/storage/v1/b/{bucket}/o').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rewrite(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1/b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'sourceBucket', + 'sourceObject', + 'destinationBucket', + 'destinationObject', + ], + pathParams: [ + 'destinationBucket', + 'destinationObject', + 'sourceBucket', + 'sourceObject', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setIamPolicy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/iam').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + testIamPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/iam/testPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object', 'permissions'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watchAll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/b/{bucket}/o/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Objects = Resource$Objects; + class Resource$Projects { + constructor(context) { + this.context = context; + this.hmacKeys = new Resource$Projects$Hmackeys(this.context); + this.serviceAccount = new Resource$Projects$Serviceaccount(this.context); + } + } + storage_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Hmackeys { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'serviceAccountEmail'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys/{accessId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['projectId', 'accessId'], + pathParams: ['accessId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys/{accessId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'accessId'], + pathParams: ['accessId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys/{accessId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['projectId', 'accessId'], + pathParams: ['accessId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Projects$Hmackeys = Resource$Projects$Hmackeys; + class Resource$Projects$Serviceaccount { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1/projects/{projectId}/serviceAccount').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1.Resource$Projects$Serviceaccount = Resource$Projects$Serviceaccount; +})(storage_v1 = exports.storage_v1 || (exports.storage_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 7649: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var storage_v1beta2; +(function (storage_v1beta2) { + /** + * Cloud Storage JSON API + * + * Lets you store and retrieve potentially-large, immutable data objects. + * + * @example + * const {google} = require('googleapis'); + * const storage = google.storage('v1beta2'); + * + * @namespace storage + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Storage + */ + class Storage { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.bucketAccessControls = new Resource$Bucketaccesscontrols(this.context); + this.buckets = new Resource$Buckets(this.context); + this.channels = new Resource$Channels(this.context); + this.defaultObjectAccessControls = new Resource$Defaultobjectaccesscontrols(this.context); + this.objectAccessControls = new Resource$Objectaccesscontrols(this.context); + this.objects = new Resource$Objects(this.context); + } + } + storage_v1beta2.Storage = Storage; + class Resource$Bucketaccesscontrols { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1beta2.Resource$Bucketaccesscontrols = Resource$Bucketaccesscontrols; + class Resource$Buckets { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['project'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['project'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1beta2.Resource$Buckets = Resource$Buckets; + class Resource$Channels { + constructor(context) { + this.context = context; + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/channels/stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1beta2.Resource$Channels = Resource$Channels; + class Resource$Defaultobjectaccesscontrols { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'entity'], + pathParams: ['bucket', 'entity'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1beta2.Resource$Defaultobjectaccesscontrols = Resource$Defaultobjectaccesscontrols; + class Resource$Objectaccesscontrols { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'object', 'entity'], + pathParams: ['bucket', 'entity', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1beta2.Resource$Objectaccesscontrols = Resource$Objectaccesscontrols; + class Resource$Objects { + constructor(context) { + this.context = context; + } + compose(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1beta2/b/{destinationBucket}/o/{destinationObject}/compose').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['destinationBucket', 'destinationObject'], + pathParams: ['destinationBucket', 'destinationObject'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + copy(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/storage/v1beta2/b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'sourceBucket', + 'sourceObject', + 'destinationBucket', + 'destinationObject', + ], + pathParams: [ + 'destinationBucket', + 'destinationObject', + 'sourceBucket', + 'sourceObject', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/storage/v1beta2/b/{bucket}/o').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['bucket', 'object'], + pathParams: ['bucket', 'object'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + watchAll(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/watch').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['bucket'], + pathParams: ['bucket'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storage_v1beta2.Resource$Objects = Resource$Objects; +})(storage_v1beta2 = exports.storage_v1beta2 || (exports.storage_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 3986: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(65154); +exports.VERSIONS = { + v1: v1_1.storagetransfer_v1.Storagetransfer, +}; +function storagetransfer(versionOrOptions) { + return googleapis_common_1.getAPI('storagetransfer', versionOrOptions, exports.VERSIONS, this); +} +exports.storagetransfer = storagetransfer; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 65154: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var storagetransfer_v1; +(function (storagetransfer_v1) { + /** + * Storage Transfer API + * + * Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets. + * + * @example + * const {google} = require('googleapis'); + * const storagetransfer = google.storagetransfer('v1'); + * + * @namespace storagetransfer + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Storagetransfer + */ + class Storagetransfer { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.googleServiceAccounts = new Resource$Googleserviceaccounts(this.context); + this.transferJobs = new Resource$Transferjobs(this.context); + this.transferOperations = new Resource$Transferoperations(this.context); + } + } + storagetransfer_v1.Storagetransfer = Storagetransfer; + class Resource$Googleserviceaccounts { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/googleServiceAccounts/{projectId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storagetransfer_v1.Resource$Googleserviceaccounts = Resource$Googleserviceaccounts; + class Resource$Transferjobs { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/transferJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+jobName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['jobName'], + pathParams: ['jobName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/transferJobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+jobName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['jobName'], + pathParams: ['jobName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storagetransfer_v1.Resource$Transferjobs = Resource$Transferjobs; + class Resource$Transferoperations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + pause(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:pause').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resume(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:resume').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + storagetransfer_v1.Resource$Transferoperations = Resource$Transferoperations; +})(storagetransfer_v1 = exports.storagetransfer_v1 || (exports.storagetransfer_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 97709: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(23262); +exports.VERSIONS = { + v1: v1_1.streetviewpublish_v1.Streetviewpublish, +}; +function streetviewpublish(versionOrOptions) { + return googleapis_common_1.getAPI('streetviewpublish', versionOrOptions, exports.VERSIONS, this); +} +exports.streetviewpublish = streetviewpublish; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 23262: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var streetviewpublish_v1; +(function (streetviewpublish_v1) { + /** + * Street View Publish API + * + * Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images. + * + * @example + * const {google} = require('googleapis'); + * const streetviewpublish = google.streetviewpublish('v1'); + * + * @namespace streetviewpublish + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Streetviewpublish + */ + class Streetviewpublish { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.photo = new Resource$Photo(this.context); + this.photos = new Resource$Photos(this.context); + } + } + streetviewpublish_v1.Streetviewpublish = Streetviewpublish; + class Resource$Photo { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photo').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photo/{photoId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['photoId'], + pathParams: ['photoId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photo/{photoId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['photoId'], + pathParams: ['photoId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + startUpload(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photo:startUpload').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photo/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + streetviewpublish_v1.Resource$Photo = Resource$Photo; + class Resource$Photos { + constructor(context) { + this.context = context; + } + batchDelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photos:batchDelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchGet(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photos:batchGet').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + batchUpdate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photos:batchUpdate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/photos').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + streetviewpublish_v1.Resource$Photos = Resource$Photos; +})(streetviewpublish_v1 = exports.streetviewpublish_v1 || (exports.streetviewpublish_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 50132: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(39612); +const v2_1 = __nccwpck_require__(27835); +exports.VERSIONS = { + v1: v1_1.tagmanager_v1.Tagmanager, + v2: v2_1.tagmanager_v2.Tagmanager, +}; +function tagmanager(versionOrOptions) { + return googleapis_common_1.getAPI('tagmanager', versionOrOptions, exports.VERSIONS, this); +} +exports.tagmanager = tagmanager; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 39612: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var tagmanager_v1; +(function (tagmanager_v1) { + /** + * Tag Manager API + * + * This API allows clients to access and modify container and tag configuration. + * + * @example + * const {google} = require('googleapis'); + * const tagmanager = google.tagmanager('v1'); + * + * @namespace tagmanager + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Tagmanager + */ + class Tagmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + } + } + tagmanager_v1.Tagmanager = Tagmanager; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.containers = new Resource$Accounts$Containers(this.context); + this.permissions = new Resource$Accounts$Permissions(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Containers { + constructor(context) { + this.context = context; + this.environments = new Resource$Accounts$Containers$Environments(this.context); + this.folders = new Resource$Accounts$Containers$Folders(this.context); + this.move_folders = new Resource$Accounts$Containers$Move_folders(this.context); + this.reauthorize_environments = new Resource$Accounts$Containers$Reauthorize_environments(this.context); + this.tags = new Resource$Accounts$Containers$Tags(this.context); + this.triggers = new Resource$Accounts$Containers$Triggers(this.context); + this.variables = new Resource$Accounts$Containers$Variables(this.context); + this.versions = new Resource$Accounts$Containers$Versions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/containers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/containers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers = Resource$Accounts$Containers; + class Resource$Accounts$Containers$Environments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'environmentId'], + pathParams: ['accountId', 'containerId', 'environmentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'environmentId'], + pathParams: ['accountId', 'containerId', 'environmentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'environmentId'], + pathParams: ['accountId', 'containerId', 'environmentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Environments = Resource$Accounts$Containers$Environments; + class Resource$Accounts$Containers$Folders { + constructor(context) { + this.context = context; + this.entities = new Resource$Accounts$Containers$Folders$Entities(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'folderId'], + pathParams: ['accountId', 'containerId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'folderId'], + pathParams: ['accountId', 'containerId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'folderId'], + pathParams: ['accountId', 'containerId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Folders = Resource$Accounts$Containers$Folders; + class Resource$Accounts$Containers$Folders$Entities { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'folderId'], + pathParams: ['accountId', 'containerId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Folders$Entities = Resource$Accounts$Containers$Folders$Entities; + class Resource$Accounts$Containers$Move_folders { + constructor(context) { + this.context = context; + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/move_folders/{folderId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'folderId'], + pathParams: ['accountId', 'containerId', 'folderId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Move_folders = Resource$Accounts$Containers$Move_folders; + class Resource$Accounts$Containers$Reauthorize_environments { + constructor(context) { + this.context = context; + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'environmentId'], + pathParams: ['accountId', 'containerId', 'environmentId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Reauthorize_environments = Resource$Accounts$Containers$Reauthorize_environments; + class Resource$Accounts$Containers$Tags { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'tagId'], + pathParams: ['accountId', 'containerId', 'tagId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'tagId'], + pathParams: ['accountId', 'containerId', 'tagId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'tagId'], + pathParams: ['accountId', 'containerId', 'tagId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Tags = Resource$Accounts$Containers$Tags; + class Resource$Accounts$Containers$Triggers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'triggerId'], + pathParams: ['accountId', 'containerId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'triggerId'], + pathParams: ['accountId', 'containerId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'triggerId'], + pathParams: ['accountId', 'containerId', 'triggerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Triggers = Resource$Accounts$Containers$Triggers; + class Resource$Accounts$Containers$Variables { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'variableId'], + pathParams: ['accountId', 'containerId', 'variableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'variableId'], + pathParams: ['accountId', 'containerId', 'variableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'variableId'], + pathParams: ['accountId', 'containerId', 'variableId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Variables = Resource$Accounts$Containers$Variables; + class Resource$Accounts$Containers$Versions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'containerVersionId'], + pathParams: ['accountId', 'containerId', 'containerVersionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'containerVersionId'], + pathParams: ['accountId', 'containerId', 'containerVersionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'containerId'], + pathParams: ['accountId', 'containerId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'containerVersionId'], + pathParams: ['accountId', 'containerId', 'containerVersionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + restore(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'containerVersionId'], + pathParams: ['accountId', 'containerId', 'containerVersionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'containerVersionId'], + pathParams: ['accountId', 'containerId', 'containerVersionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'containerId', 'containerVersionId'], + pathParams: ['accountId', 'containerId', 'containerVersionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Containers$Versions = Resource$Accounts$Containers$Versions; + class Resource$Accounts$Permissions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['accountId', 'permissionId'], + pathParams: ['accountId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId', 'permissionId'], + pathParams: ['accountId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['accountId'], + pathParams: ['accountId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/tagmanager/v1/accounts/{accountId}/permissions/{permissionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['accountId', 'permissionId'], + pathParams: ['accountId', 'permissionId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v1.Resource$Accounts$Permissions = Resource$Accounts$Permissions; +})(tagmanager_v1 = exports.tagmanager_v1 || (exports.tagmanager_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 27835: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var tagmanager_v2; +(function (tagmanager_v2) { + /** + * Tag Manager API + * + * This API allows clients to access and modify container and tag configuration. + * + * @example + * const {google} = require('googleapis'); + * const tagmanager = google.tagmanager('v2'); + * + * @namespace tagmanager + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Tagmanager + */ + class Tagmanager { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.accounts = new Resource$Accounts(this.context); + } + } + tagmanager_v2.Tagmanager = Tagmanager; + class Resource$Accounts { + constructor(context) { + this.context = context; + this.containers = new Resource$Accounts$Containers(this.context); + this.user_permissions = new Resource$Accounts$User_permissions(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts = Resource$Accounts; + class Resource$Accounts$Containers { + constructor(context) { + this.context = context; + this.environments = new Resource$Accounts$Containers$Environments(this.context); + this.versions = new Resource$Accounts$Containers$Versions(this.context); + this.version_headers = new Resource$Accounts$Containers$Version_headers(this.context); + this.workspaces = new Resource$Accounts$Containers$Workspaces(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/containers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/containers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers = Resource$Accounts$Containers; + class Resource$Accounts$Containers$Environments { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reauthorize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:reauthorize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Environments = Resource$Accounts$Containers$Environments; + class Resource$Accounts$Containers$Versions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + live(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/versions:live').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publish(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:publish').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + set_latest(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:set_latest').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Versions = Resource$Accounts$Containers$Versions; + class Resource$Accounts$Containers$Version_headers { + constructor(context) { + this.context = context; + } + latest(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/version_headers:latest').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/version_headers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Version_headers = Resource$Accounts$Containers$Version_headers; + class Resource$Accounts$Containers$Workspaces { + constructor(context) { + this.context = context; + this.built_in_variables = new Resource$Accounts$Containers$Workspaces$Built_in_variables(this.context); + this.folders = new Resource$Accounts$Containers$Workspaces$Folders(this.context); + this.tags = new Resource$Accounts$Containers$Workspaces$Tags(this.context); + this.templates = new Resource$Accounts$Containers$Workspaces$Templates(this.context); + this.triggers = new Resource$Accounts$Containers$Workspaces$Triggers(this.context); + this.variables = new Resource$Accounts$Containers$Workspaces$Variables(this.context); + this.zones = new Resource$Accounts$Containers$Workspaces$Zones(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/workspaces').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create_version(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:create_version').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}/status').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/workspaces').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + quick_preview(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:quick_preview').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + resolve_conflict(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:resolve_conflict').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + sync(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:sync').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces = Resource$Accounts$Containers$Workspaces; + class Resource$Accounts$Containers$Workspaces$Built_in_variables { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/built_in_variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/built_in_variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}/built_in_variables:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Built_in_variables = Resource$Accounts$Containers$Workspaces$Built_in_variables; + class Resource$Accounts$Containers$Workspaces$Folders { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + entities(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:entities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/folders').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move_entities_to_folder(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:move_entities_to_folder').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Folders = Resource$Accounts$Containers$Workspaces$Folders; + class Resource$Accounts$Containers$Workspaces$Tags { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/tags').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/tags').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Tags = Resource$Accounts$Containers$Workspaces$Tags; + class Resource$Accounts$Containers$Workspaces$Templates { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/templates').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/templates').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Templates = Resource$Accounts$Containers$Workspaces$Templates; + class Resource$Accounts$Containers$Workspaces$Triggers { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/triggers').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Triggers = Resource$Accounts$Containers$Workspaces$Triggers; + class Resource$Accounts$Containers$Workspaces$Variables { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/variables').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Variables = Resource$Accounts$Containers$Workspaces$Variables; + class Resource$Accounts$Containers$Workspaces$Zones { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/zones').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/zones').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + revert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$Containers$Workspaces$Zones = Resource$Accounts$Containers$Workspaces$Zones; + class Resource$Accounts$User_permissions { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/user_permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+parent}/user_permissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['path'], + pathParams: ['path'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tagmanager_v2.Resource$Accounts$User_permissions = Resource$Accounts$User_permissions; +})(tagmanager_v2 = exports.tagmanager_v2 || (exports.tagmanager_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 47354: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(45809); +exports.VERSIONS = { + v1: v1_1.tasks_v1.Tasks, +}; +function tasks(versionOrOptions) { + return googleapis_common_1.getAPI('tasks', versionOrOptions, exports.VERSIONS, this); +} +exports.tasks = tasks; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 45809: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var tasks_v1; +(function (tasks_v1) { + /** + * Tasks API + * + * Manages your tasks and task lists. + * + * @example + * const {google} = require('googleapis'); + * const tasks = google.tasks('v1'); + * + * @namespace tasks + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Tasks + */ + class Tasks { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.tasklists = new Resource$Tasklists(this.context); + this.tasks = new Resource$Tasks(this.context); + } + } + tasks_v1.Tasks = Tasks; + class Resource$Tasklists { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/users/@me/lists').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/users/@me/lists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tasks_v1.Resource$Tasklists = Resource$Tasklists; + class Resource$Tasks { + constructor(context) { + this.context = context; + } + clear(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/clear').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['tasklist', 'task'], + pathParams: ['task', 'tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['tasklist', 'task'], + pathParams: ['task', 'tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['tasklist'], + pathParams: ['tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + move(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}/move').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['tasklist', 'task'], + pathParams: ['task', 'tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['tasklist', 'task'], + pathParams: ['task', 'tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['tasklist', 'task'], + pathParams: ['task', 'tasklist'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tasks_v1.Resource$Tasks = Resource$Tasks; +})(tasks_v1 = exports.tasks_v1 || (exports.tasks_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 47527: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(30906); +exports.VERSIONS = { + v1: v1_1.testing_v1.Testing, +}; +function testing(versionOrOptions) { + return googleapis_common_1.getAPI('testing', versionOrOptions, exports.VERSIONS, this); +} +exports.testing = testing; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 30906: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var testing_v1; +(function (testing_v1) { + /** + * Cloud Testing API + * + * Allows developers to run automated tests for their mobile applications on Google infrastructure. + * + * @example + * const {google} = require('googleapis'); + * const testing = google.testing('v1'); + * + * @namespace testing + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Testing + */ + class Testing { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.applicationDetailService = new Resource$Applicationdetailservice(this.context); + this.projects = new Resource$Projects(this.context); + this.testEnvironmentCatalog = new Resource$Testenvironmentcatalog(this.context); + } + } + testing_v1.Testing = Testing; + class Resource$Applicationdetailservice { + constructor(context) { + this.context = context; + } + getApkDetails(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://testing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/applicationDetailService/getApkDetails').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + testing_v1.Resource$Applicationdetailservice = Resource$Applicationdetailservice; + class Resource$Projects { + constructor(context) { + this.context = context; + this.testMatrices = new Resource$Projects$Testmatrices(this.context); + } + } + testing_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Testmatrices { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://testing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'testMatrixId'], + pathParams: ['projectId', 'testMatrixId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://testing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/testMatrices').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://testing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/projects/{projectId}/testMatrices/{testMatrixId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'testMatrixId'], + pathParams: ['projectId', 'testMatrixId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + testing_v1.Resource$Projects$Testmatrices = Resource$Projects$Testmatrices; + class Resource$Testenvironmentcatalog { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://testing.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/testEnvironmentCatalog/{environmentType}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['environmentType'], + pathParams: ['environmentType'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + testing_v1.Resource$Testenvironmentcatalog = Resource$Testenvironmentcatalog; +})(testing_v1 = exports.testing_v1 || (exports.testing_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 47291: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(92584); +const v1beta1_1 = __nccwpck_require__(83822); +exports.VERSIONS = { + v1: v1_1.texttospeech_v1.Texttospeech, + v1beta1: v1beta1_1.texttospeech_v1beta1.Texttospeech, +}; +function texttospeech(versionOrOptions) { + return googleapis_common_1.getAPI('texttospeech', versionOrOptions, exports.VERSIONS, this); +} +exports.texttospeech = texttospeech; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 92584: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var texttospeech_v1; +(function (texttospeech_v1) { + /** + * Cloud Text-to-Speech API + * + * Synthesizes natural-sounding speech by applying powerful neural network models. + * + * @example + * const {google} = require('googleapis'); + * const texttospeech = google.texttospeech('v1'); + * + * @namespace texttospeech + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Texttospeech + */ + class Texttospeech { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.text = new Resource$Text(this.context); + this.voices = new Resource$Voices(this.context); + } + } + texttospeech_v1.Texttospeech = Texttospeech; + class Resource$Text { + constructor(context) { + this.context = context; + } + synthesize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/text:synthesize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + texttospeech_v1.Resource$Text = Resource$Text; + class Resource$Voices { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/voices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + texttospeech_v1.Resource$Voices = Resource$Voices; +})(texttospeech_v1 = exports.texttospeech_v1 || (exports.texttospeech_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 83822: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var texttospeech_v1beta1; +(function (texttospeech_v1beta1) { + /** + * Cloud Text-to-Speech API + * + * Synthesizes natural-sounding speech by applying powerful neural network models. + * + * @example + * const {google} = require('googleapis'); + * const texttospeech = google.texttospeech('v1beta1'); + * + * @namespace texttospeech + * @type {Function} + * @version v1beta1 + * @variation v1beta1 + * @param {object=} options Options for Texttospeech + */ + class Texttospeech { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.text = new Resource$Text(this.context); + this.voices = new Resource$Voices(this.context); + } + } + texttospeech_v1beta1.Texttospeech = Texttospeech; + class Resource$Text { + constructor(context) { + this.context = context; + } + synthesize(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/text:synthesize').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + texttospeech_v1beta1.Resource$Text = Resource$Text; + class Resource$Voices { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta1/voices').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + texttospeech_v1beta1.Resource$Voices = Resource$Voices; +})(texttospeech_v1beta1 = exports.texttospeech_v1beta1 || (exports.texttospeech_v1beta1 = {})); +//# sourceMappingURL=v1beta1.js.map + +/***/ }), + +/***/ 19421: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(35539); +const v1beta3_1 = __nccwpck_require__(14025); +exports.VERSIONS = { + v1: v1_1.toolresults_v1.Toolresults, + v1beta3: v1beta3_1.toolresults_v1beta3.Toolresults, +}; +function toolresults(versionOrOptions) { + return googleapis_common_1.getAPI('toolresults', versionOrOptions, exports.VERSIONS, this); +} +exports.toolresults = toolresults; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 35539: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var toolresults_v1; +(function (toolresults_v1) { + /** + * Cloud Tool Results API + * + * API to publish and access results from developer tools. + * + * @example + * const {google} = require('googleapis'); + * const toolresults = google.toolresults('v1'); + * + * @namespace toolresults + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Toolresults + */ + class Toolresults { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + } + } + toolresults_v1.Toolresults = Toolresults; +})(toolresults_v1 = exports.toolresults_v1 || (exports.toolresults_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 14025: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var toolresults_v1beta3; +(function (toolresults_v1beta3) { + /** + * Cloud Tool Results API + * + * Reads and publishes results from Firebase Test Lab. + * + * @example + * const {google} = require('googleapis'); + * const toolresults = google.toolresults('v1beta3'); + * + * @namespace toolresults + * @type {Function} + * @version v1beta3 + * @variation v1beta3 + * @param {object=} options Options for Toolresults + */ + class Toolresults { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + toolresults_v1beta3.Toolresults = Toolresults; + class Resource$Projects { + constructor(context) { + this.context = context; + this.histories = new Resource$Projects$Histories(this.context); + } + getSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/toolresults/v1beta3/projects/{projectId}/settings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + initializeSettings(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}:initializeSettings').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects = Resource$Projects; + class Resource$Projects$Histories { + constructor(context) { + this.context = context; + this.executions = new Resource$Projects$Histories$Executions(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/toolresults/v1beta3/projects/{projectId}/histories').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId'], + pathParams: ['historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/toolresults/v1beta3/projects/{projectId}/histories').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId'], + pathParams: ['projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories = Resource$Projects$Histories; + class Resource$Projects$Histories$Executions { + constructor(context) { + this.context = context; + this.clusters = new Resource$Projects$Histories$Executions$Clusters(this.context); + this.environments = new Resource$Projects$Histories$Executions$Environments(this.context); + this.steps = new Resource$Projects$Histories$Executions$Steps(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'historyId'], + pathParams: ['historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId'], + pathParams: ['executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId'], + pathParams: ['historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId'], + pathParams: ['executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions = Resource$Projects$Histories$Executions; + class Resource$Projects$Histories$Executions$Clusters { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'clusterId'], + pathParams: ['clusterId', 'executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId'], + pathParams: ['executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Clusters = Resource$Projects$Histories$Executions$Clusters; + class Resource$Projects$Histories$Executions$Environments { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'projectId', + 'historyId', + 'executionId', + 'environmentId', + ], + pathParams: ['environmentId', 'executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId'], + pathParams: ['executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Environments = Resource$Projects$Histories$Executions$Environments; + class Resource$Projects$Histories$Executions$Steps { + constructor(context) { + this.context = context; + this.perfMetricsSummary = new Resource$Projects$Histories$Executions$Steps$Perfmetricssummary(this.context); + this.perfSampleSeries = new Resource$Projects$Histories$Executions$Steps$Perfsampleseries(this.context); + this.testCases = new Resource$Projects$Histories$Executions$Steps$Testcases(this.context); + this.thumbnails = new Resource$Projects$Histories$Executions$Steps$Thumbnails(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId'], + pathParams: ['executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getPerfMetricsSummary(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId'], + pathParams: ['executionId', 'historyId', 'projectId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + publishXunitXmlFiles(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps = Resource$Projects$Histories$Executions$Steps; + class Resource$Projects$Histories$Executions$Steps$Perfmetricssummary { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Perfmetricssummary = Resource$Projects$Histories$Executions$Steps$Perfmetricssummary; + class Resource$Projects$Histories$Executions$Steps$Perfsampleseries { + constructor(context) { + this.context = context; + this.samples = new Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'projectId', + 'historyId', + 'executionId', + 'stepId', + 'sampleSeriesId', + ], + pathParams: [ + 'executionId', + 'historyId', + 'projectId', + 'sampleSeriesId', + 'stepId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Perfsampleseries = Resource$Projects$Histories$Executions$Steps$Perfsampleseries; + class Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples { + constructor(context) { + this.context = context; + } + batchCreate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [ + 'projectId', + 'historyId', + 'executionId', + 'stepId', + 'sampleSeriesId', + ], + pathParams: [ + 'executionId', + 'historyId', + 'projectId', + 'sampleSeriesId', + 'stepId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'projectId', + 'historyId', + 'executionId', + 'stepId', + 'sampleSeriesId', + ], + pathParams: [ + 'executionId', + 'historyId', + 'projectId', + 'sampleSeriesId', + 'stepId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples = Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples; + class Resource$Projects$Histories$Executions$Steps$Testcases { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [ + 'projectId', + 'historyId', + 'executionId', + 'stepId', + 'testCaseId', + ], + pathParams: [ + 'executionId', + 'historyId', + 'projectId', + 'stepId', + 'testCaseId', + ], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Testcases = Resource$Projects$Histories$Executions$Steps$Testcases; + class Resource$Projects$Histories$Executions$Steps$Thumbnails { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'], + pathParams: ['executionId', 'historyId', 'projectId', 'stepId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Thumbnails = Resource$Projects$Histories$Executions$Steps$Thumbnails; +})(toolresults_v1beta3 = exports.toolresults_v1beta3 || (exports.toolresults_v1beta3 = {})); +//# sourceMappingURL=v1beta3.js.map + +/***/ }), + +/***/ 33390: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(59537); +const v1alpha1_1 = __nccwpck_require__(78767); +exports.VERSIONS = { + v1: v1_1.tpu_v1.Tpu, + v1alpha1: v1alpha1_1.tpu_v1alpha1.Tpu, +}; +function tpu(versionOrOptions) { + return googleapis_common_1.getAPI('tpu', versionOrOptions, exports.VERSIONS, this); +} +exports.tpu = tpu; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 59537: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var tpu_v1; +(function (tpu_v1) { + /** + * Cloud TPU API + * + * TPU API provides customers with access to Google TPU technology. + * + * @example + * const {google} = require('googleapis'); + * const tpu = google.tpu('v1'); + * + * @namespace tpu + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Tpu + */ + class Tpu { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + tpu_v1.Tpu = Tpu; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + tpu_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.acceleratorTypes = new Resource$Projects$Locations$Acceleratortypes(this.context); + this.nodes = new Resource$Projects$Locations$Nodes(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + this.tensorflowVersions = new Resource$Projects$Locations$Tensorflowversions(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Acceleratortypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1.Resource$Projects$Locations$Acceleratortypes = Resource$Projects$Locations$Acceleratortypes; + class Resource$Projects$Locations$Nodes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reimage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:reimage').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1.Resource$Projects$Locations$Nodes = Resource$Projects$Locations$Nodes; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Locations$Tensorflowversions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/tensorflowVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1.Resource$Projects$Locations$Tensorflowversions = Resource$Projects$Locations$Tensorflowversions; +})(tpu_v1 = exports.tpu_v1 || (exports.tpu_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 78767: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var tpu_v1alpha1; +(function (tpu_v1alpha1) { + /** + * Cloud TPU API + * + * TPU API provides customers with access to Google TPU technology. + * + * @example + * const {google} = require('googleapis'); + * const tpu = google.tpu('v1alpha1'); + * + * @namespace tpu + * @type {Function} + * @version v1alpha1 + * @variation v1alpha1 + * @param {object=} options Options for Tpu + */ + class Tpu { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + tpu_v1alpha1.Tpu = Tpu; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + tpu_v1alpha1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.acceleratorTypes = new Resource$Projects$Locations$Acceleratortypes(this.context); + this.nodes = new Resource$Projects$Locations$Nodes(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + this.tensorflowVersions = new Resource$Projects$Locations$Tensorflowversions(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1alpha1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Acceleratortypes { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/acceleratorTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1alpha1.Resource$Projects$Locations$Acceleratortypes = Resource$Projects$Locations$Acceleratortypes; + class Resource$Projects$Locations$Nodes { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reimage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:reimage').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1alpha1.Resource$Projects$Locations$Nodes = Resource$Projects$Locations$Nodes; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1alpha1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Locations$Tensorflowversions { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha1/{+parent}/tensorflowVersions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + tpu_v1alpha1.Resource$Projects$Locations$Tensorflowversions = Resource$Projects$Locations$Tensorflowversions; +})(tpu_v1alpha1 = exports.tpu_v1alpha1 || (exports.tpu_v1alpha1 = {})); +//# sourceMappingURL=v1alpha1.js.map + +/***/ }), + +/***/ 45537: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v2_1 = __nccwpck_require__(80994); +const v3beta1_1 = __nccwpck_require__(27445); +exports.VERSIONS = { + v2: v2_1.translate_v2.Translate, + v3beta1: v3beta1_1.translate_v3beta1.Translate, +}; +function translate(versionOrOptions) { + return googleapis_common_1.getAPI('translate', versionOrOptions, exports.VERSIONS, this); +} +exports.translate = translate; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 80994: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var translate_v2; +(function (translate_v2) { + /** + * Google Cloud Translation API + * + * The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically. + * + * @example + * const {google} = require('googleapis'); + * const translate = google.translate('v2'); + * + * @namespace translate + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Translate + */ + class Translate { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.detections = new Resource$Detections(this.context); + this.languages = new Resource$Languages(this.context); + this.translations = new Resource$Translations(this.context); + } + } + translate_v2.Translate = Translate; + class Resource$Detections { + constructor(context) { + this.context = context; + } + detect(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/language/translate/v2/detect').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/language/translate/v2/detect').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['q'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v2.Resource$Detections = Resource$Detections; + class Resource$Languages { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/language/translate/v2/languages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v2.Resource$Languages = Resource$Languages; + class Resource$Translations { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/language/translate/v2').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['q', 'target'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + translate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/language/translate/v2').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v2.Resource$Translations = Resource$Translations; +})(translate_v2 = exports.translate_v2 || (exports.translate_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 27445: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var translate_v3beta1; +(function (translate_v3beta1) { + /** + * Cloud Translation API + * + * Integrates text translation into your website or application. + * + * @example + * const {google} = require('googleapis'); + * const translate = google.translate('v3beta1'); + * + * @namespace translate + * @type {Function} + * @version v3beta1 + * @variation v3beta1 + * @param {object=} options Options for Translate + */ + class Translate { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + translate_v3beta1.Translate = Translate; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + detectLanguage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}:detectLanguage').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSupportedLanguages(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}/supportedLanguages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + translateText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}:translateText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v3beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.glossaries = new Resource$Projects$Locations$Glossaries(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + batchTranslateText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}:batchTranslateText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + detectLanguage(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}:detectLanguage').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getSupportedLanguages(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}/supportedLanguages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}/locations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + translateText(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}:translateText').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v3beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Glossaries { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}/glossaries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+parent}/glossaries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v3beta1.Resource$Projects$Locations$Glossaries = Resource$Projects$Locations$Glossaries; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + wait(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://translation.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v3beta1/{+name}:wait').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + translate_v3beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; +})(translate_v3beta1 = exports.translate_v3beta1 || (exports.translate_v3beta1 = {})); +//# sourceMappingURL=v3beta1.js.map + +/***/ }), + +/***/ 28107: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(91477); +exports.VERSIONS = { + v1: v1_1.vault_v1.Vault, +}; +function vault(versionOrOptions) { + return googleapis_common_1.getAPI('vault', versionOrOptions, exports.VERSIONS, this); +} +exports.vault = vault; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 91477: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var vault_v1; +(function (vault_v1) { + /** + * G Suite Vault API + * + * Archiving and eDiscovery for G Suite. + * + * @example + * const {google} = require('googleapis'); + * const vault = google.vault('v1'); + * + * @namespace vault + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Vault + */ + class Vault { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.matters = new Resource$Matters(this.context); + this.operations = new Resource$Operations(this.context); + } + } + vault_v1.Vault = Vault; + class Resource$Matters { + constructor(context) { + this.context = context; + this.exports = new Resource$Matters$Exports(this.context); + this.holds = new Resource$Matters$Holds(this.context); + this.savedQueries = new Resource$Matters$Savedqueries(this.context); + } + addPermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}:addPermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + close(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}:close').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removePermissions(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}:removePermissions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reopen(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}:reopen').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + undelete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}:undelete').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vault_v1.Resource$Matters = Resource$Matters; + class Resource$Matters$Exports { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/exports').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/exports/{exportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['matterId', 'exportId'], + pathParams: ['exportId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/exports/{exportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId', 'exportId'], + pathParams: ['exportId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/exports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vault_v1.Resource$Matters$Exports = Resource$Matters$Exports; + class Resource$Matters$Holds { + constructor(context) { + this.context = context; + this.accounts = new Resource$Matters$Holds$Accounts(this.context); + } + addHeldAccounts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}:addHeldAccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeHeldAccounts(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vault_v1.Resource$Matters$Holds = Resource$Matters$Holds; + class Resource$Matters$Holds$Accounts { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + + '/v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['matterId', 'holdId', 'accountId'], + pathParams: ['accountId', 'holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}/accounts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId', 'holdId'], + pathParams: ['holdId', 'matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vault_v1.Resource$Matters$Holds$Accounts = Resource$Matters$Holds$Accounts; + class Resource$Matters$Savedqueries { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/savedQueries').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/savedQueries/{savedQueryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['matterId', 'savedQueryId'], + pathParams: ['matterId', 'savedQueryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/savedQueries/{savedQueryId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId', 'savedQueryId'], + pathParams: ['matterId', 'savedQueryId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/matters/{matterId}/savedQueries').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['matterId'], + pathParams: ['matterId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vault_v1.Resource$Matters$Savedqueries = Resource$Matters$Savedqueries; + class Resource$Operations { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vault.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vault_v1.Resource$Operations = Resource$Operations; +})(vault_v1 = exports.vault_v1 || (exports.vault_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 85428: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(67182); +exports.VERSIONS = { + v1: v1_1.verifiedaccess_v1.Verifiedaccess, +}; +function verifiedaccess(versionOrOptions) { + return googleapis_common_1.getAPI('verifiedaccess', versionOrOptions, exports.VERSIONS, this); +} +exports.verifiedaccess = verifiedaccess; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 67182: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var verifiedaccess_v1; +(function (verifiedaccess_v1) { + /** + * Verified Access API + * + * API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network + * + * @example + * const {google} = require('googleapis'); + * const verifiedaccess = google.verifiedaccess('v1'); + * + * @namespace verifiedaccess + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Verifiedaccess + */ + class Verifiedaccess { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.challenge = new Resource$Challenge(this.context); + } + } + verifiedaccess_v1.Verifiedaccess = Verifiedaccess; + class Resource$Challenge { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://verifiedaccess.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/challenge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + verify(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://verifiedaccess.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/challenge:verify').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + verifiedaccess_v1.Resource$Challenge = Resource$Challenge; +})(verifiedaccess_v1 = exports.verifiedaccess_v1 || (exports.verifiedaccess_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 73075: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(97367); +const v1beta2_1 = __nccwpck_require__(29793); +const v1p1beta1_1 = __nccwpck_require__(77651); +const v1p2beta1_1 = __nccwpck_require__(54284); +const v1p3beta1_1 = __nccwpck_require__(81917); +exports.VERSIONS = { + v1: v1_1.videointelligence_v1.Videointelligence, + v1beta2: v1beta2_1.videointelligence_v1beta2.Videointelligence, + v1p1beta1: v1p1beta1_1.videointelligence_v1p1beta1.Videointelligence, + v1p2beta1: v1p2beta1_1.videointelligence_v1p2beta1.Videointelligence, + v1p3beta1: v1p3beta1_1.videointelligence_v1p3beta1.Videointelligence, +}; +function videointelligence(versionOrOptions) { + return googleapis_common_1.getAPI('videointelligence', versionOrOptions, exports.VERSIONS, this); +} +exports.videointelligence = videointelligence; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 97367: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var videointelligence_v1; +(function (videointelligence_v1) { + /** + * Cloud Video Intelligence API + * + * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. + * + * @example + * const {google} = require('googleapis'); + * const videointelligence = google.videointelligence('v1'); + * + * @namespace videointelligence + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Videointelligence + */ + class Videointelligence { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + this.videos = new Resource$Videos(this.context); + } + } + videointelligence_v1.Videointelligence = Videointelligence; + class Resource$Operations { + constructor(context) { + this.context = context; + this.projects = new Resource$Operations$Projects(this.context); + } + } + videointelligence_v1.Resource$Operations = Resource$Operations; + class Resource$Operations$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Operations$Projects$Locations(this.context); + } + } + videointelligence_v1.Resource$Operations$Projects = Resource$Operations$Projects; + class Resource$Operations$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Operations$Projects$Locations$Operations(this.context); + } + } + videointelligence_v1.Resource$Operations$Projects$Locations = Resource$Operations$Projects$Locations; + class Resource$Operations$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/operations/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1.Resource$Operations$Projects$Locations$Operations = Resource$Operations$Projects$Locations$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.locations = new Resource$Projects$Locations(this.context); + } + } + videointelligence_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Projects$Locations$Operations(this.context); + } + } + videointelligence_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Videos { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/videos:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1.Resource$Videos = Resource$Videos; +})(videointelligence_v1 = exports.videointelligence_v1 || (exports.videointelligence_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 29793: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var videointelligence_v1beta2; +(function (videointelligence_v1beta2) { + /** + * Cloud Video Intelligence API + * + * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. + * + * @example + * const {google} = require('googleapis'); + * const videointelligence = google.videointelligence('v1beta2'); + * + * @namespace videointelligence + * @type {Function} + * @version v1beta2 + * @variation v1beta2 + * @param {object=} options Options for Videointelligence + */ + class Videointelligence { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.videos = new Resource$Videos(this.context); + } + } + videointelligence_v1beta2.Videointelligence = Videointelligence; + class Resource$Videos { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta2/videos:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1beta2.Resource$Videos = Resource$Videos; +})(videointelligence_v1beta2 = exports.videointelligence_v1beta2 || (exports.videointelligence_v1beta2 = {})); +//# sourceMappingURL=v1beta2.js.map + +/***/ }), + +/***/ 77651: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var videointelligence_v1p1beta1; +(function (videointelligence_v1p1beta1) { + /** + * Cloud Video Intelligence API + * + * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. + * + * @example + * const {google} = require('googleapis'); + * const videointelligence = google.videointelligence('v1p1beta1'); + * + * @namespace videointelligence + * @type {Function} + * @version v1p1beta1 + * @variation v1p1beta1 + * @param {object=} options Options for Videointelligence + */ + class Videointelligence { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.videos = new Resource$Videos(this.context); + } + } + videointelligence_v1p1beta1.Videointelligence = Videointelligence; + class Resource$Videos { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/videos:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1p1beta1.Resource$Videos = Resource$Videos; +})(videointelligence_v1p1beta1 = exports.videointelligence_v1p1beta1 || (exports.videointelligence_v1p1beta1 = {})); +//# sourceMappingURL=v1p1beta1.js.map + +/***/ }), + +/***/ 54284: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var videointelligence_v1p2beta1; +(function (videointelligence_v1p2beta1) { + /** + * Cloud Video Intelligence API + * + * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. + * + * @example + * const {google} = require('googleapis'); + * const videointelligence = google.videointelligence('v1p2beta1'); + * + * @namespace videointelligence + * @type {Function} + * @version v1p2beta1 + * @variation v1p2beta1 + * @param {object=} options Options for Videointelligence + */ + class Videointelligence { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.videos = new Resource$Videos(this.context); + } + } + videointelligence_v1p2beta1.Videointelligence = Videointelligence; + class Resource$Videos { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/videos:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1p2beta1.Resource$Videos = Resource$Videos; +})(videointelligence_v1p2beta1 = exports.videointelligence_v1p2beta1 || (exports.videointelligence_v1p2beta1 = {})); +//# sourceMappingURL=v1p2beta1.js.map + +/***/ }), + +/***/ 81917: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var videointelligence_v1p3beta1; +(function (videointelligence_v1p3beta1) { + /** + * Cloud Video Intelligence API + * + * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API. + * + * @example + * const {google} = require('googleapis'); + * const videointelligence = google.videointelligence('v1p3beta1'); + * + * @namespace videointelligence + * @type {Function} + * @version v1p3beta1 + * @variation v1p3beta1 + * @param {object=} options Options for Videointelligence + */ + class Videointelligence { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.videos = new Resource$Videos(this.context); + } + } + videointelligence_v1p3beta1.Videointelligence = Videointelligence; + class Resource$Videos { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p3beta1/videos:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + videointelligence_v1p3beta1.Resource$Videos = Resource$Videos; +})(videointelligence_v1p3beta1 = exports.videointelligence_v1p3beta1 || (exports.videointelligence_v1p3beta1 = {})); +//# sourceMappingURL=v1p3beta1.js.map + +/***/ }), + +/***/ 69992: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(71004); +const v1p1beta1_1 = __nccwpck_require__(38136); +const v1p2beta1_1 = __nccwpck_require__(34268); +exports.VERSIONS = { + v1: v1_1.vision_v1.Vision, + v1p1beta1: v1p1beta1_1.vision_v1p1beta1.Vision, + v1p2beta1: v1p2beta1_1.vision_v1p2beta1.Vision, +}; +function vision(versionOrOptions) { + return googleapis_common_1.getAPI('vision', versionOrOptions, exports.VERSIONS, this); +} +exports.vision = vision; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 71004: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var vision_v1; +(function (vision_v1) { + /** + * Cloud Vision API + * + * Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. + * + * @example + * const {google} = require('googleapis'); + * const vision = google.vision('v1'); + * + * @namespace vision + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Vision + */ + class Vision { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.files = new Resource$Files(this.context); + this.images = new Resource$Images(this.context); + this.locations = new Resource$Locations(this.context); + this.operations = new Resource$Operations(this.context); + this.projects = new Resource$Projects(this.context); + } + } + vision_v1.Vision = Vision; + class Resource$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Files = Resource$Files; + class Resource$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Images = Resource$Images; + class Resource$Locations { + constructor(context) { + this.context = context; + this.operations = new Resource$Locations$Operations(this.context); + } + } + vision_v1.Resource$Locations = Resource$Locations; + class Resource$Locations$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Locations$Operations = Resource$Locations$Operations; + class Resource$Operations { + constructor(context) { + this.context = context; + } + cancel(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Operations = Resource$Operations; + class Resource$Projects { + constructor(context) { + this.context = context; + this.files = new Resource$Projects$Files(this.context); + this.images = new Resource$Projects$Images(this.context); + this.locations = new Resource$Projects$Locations(this.context); + this.operations = new Resource$Projects$Operations(this.context); + } + } + vision_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Files = Resource$Projects$Files; + class Resource$Projects$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Images = Resource$Projects$Images; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.files = new Resource$Projects$Locations$Files(this.context); + this.images = new Resource$Projects$Locations$Images(this.context); + this.operations = new Resource$Projects$Locations$Operations(this.context); + this.products = new Resource$Projects$Locations$Products(this.context); + this.productSets = new Resource$Projects$Locations$Productsets(this.context); + } + } + vision_v1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Files = Resource$Projects$Locations$Files; + class Resource$Projects$Locations$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Images = Resource$Projects$Locations$Images; + class Resource$Projects$Locations$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; + class Resource$Projects$Locations$Products { + constructor(context) { + this.context = context; + this.referenceImages = new Resource$Projects$Locations$Products$Referenceimages(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + purge(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/products:purge').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Products = Resource$Projects$Locations$Products; + class Resource$Projects$Locations$Products$Referenceimages { + constructor(context) { + this.context = context; + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/referenceImages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/referenceImages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Products$Referenceimages = Resource$Projects$Locations$Products$Referenceimages; + class Resource$Projects$Locations$Productsets { + constructor(context) { + this.context = context; + this.products = new Resource$Projects$Locations$Productsets$Products(this.context); + } + addProduct(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:addProduct').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/productSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + import(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/productSets:import').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/productSets').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + removeProduct(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:removeProduct').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Productsets = Resource$Projects$Locations$Productsets; + class Resource$Projects$Locations$Productsets$Products { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}/products').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Locations$Productsets$Products = Resource$Projects$Locations$Productsets$Products; + class Resource$Projects$Operations { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1.Resource$Projects$Operations = Resource$Projects$Operations; +})(vision_v1 = exports.vision_v1 || (exports.vision_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 38136: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var vision_v1p1beta1; +(function (vision_v1p1beta1) { + /** + * Cloud Vision API + * + * Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. + * + * @example + * const {google} = require('googleapis'); + * const vision = google.vision('v1p1beta1'); + * + * @namespace vision + * @type {Function} + * @version v1p1beta1 + * @variation v1p1beta1 + * @param {object=} options Options for Vision + */ + class Vision { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.files = new Resource$Files(this.context); + this.images = new Resource$Images(this.context); + this.projects = new Resource$Projects(this.context); + } + } + vision_v1p1beta1.Vision = Vision; + class Resource$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p1beta1.Resource$Files = Resource$Files; + class Resource$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p1beta1.Resource$Images = Resource$Images; + class Resource$Projects { + constructor(context) { + this.context = context; + this.files = new Resource$Projects$Files(this.context); + this.images = new Resource$Projects$Images(this.context); + this.locations = new Resource$Projects$Locations(this.context); + } + } + vision_v1p1beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p1beta1.Resource$Projects$Files = Resource$Projects$Files; + class Resource$Projects$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p1beta1.Resource$Projects$Images = Resource$Projects$Images; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.files = new Resource$Projects$Locations$Files(this.context); + this.images = new Resource$Projects$Locations$Images(this.context); + } + } + vision_v1p1beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p1beta1.Resource$Projects$Locations$Files = Resource$Projects$Locations$Files; + class Resource$Projects$Locations$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p1beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p1beta1.Resource$Projects$Locations$Images = Resource$Projects$Locations$Images; +})(vision_v1p1beta1 = exports.vision_v1p1beta1 || (exports.vision_v1p1beta1 = {})); +//# sourceMappingURL=v1p1beta1.js.map + +/***/ }), + +/***/ 34268: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var vision_v1p2beta1; +(function (vision_v1p2beta1) { + /** + * Cloud Vision API + * + * Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. + * + * @example + * const {google} = require('googleapis'); + * const vision = google.vision('v1p2beta1'); + * + * @namespace vision + * @type {Function} + * @version v1p2beta1 + * @variation v1p2beta1 + * @param {object=} options Options for Vision + */ + class Vision { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.files = new Resource$Files(this.context); + this.images = new Resource$Images(this.context); + this.projects = new Resource$Projects(this.context); + } + } + vision_v1p2beta1.Vision = Vision; + class Resource$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p2beta1.Resource$Files = Resource$Files; + class Resource$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p2beta1.Resource$Images = Resource$Images; + class Resource$Projects { + constructor(context) { + this.context = context; + this.files = new Resource$Projects$Files(this.context); + this.images = new Resource$Projects$Images(this.context); + this.locations = new Resource$Projects$Locations(this.context); + } + } + vision_v1p2beta1.Resource$Projects = Resource$Projects; + class Resource$Projects$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p2beta1.Resource$Projects$Files = Resource$Projects$Files; + class Resource$Projects$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p2beta1.Resource$Projects$Images = Resource$Projects$Images; + class Resource$Projects$Locations { + constructor(context) { + this.context = context; + this.files = new Resource$Projects$Locations$Files(this.context); + this.images = new Resource$Projects$Locations$Images(this.context); + } + } + vision_v1p2beta1.Resource$Projects$Locations = Resource$Projects$Locations; + class Resource$Projects$Locations$Files { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/files:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p2beta1.Resource$Projects$Locations$Files = Resource$Projects$Locations$Files; + class Resource$Projects$Locations$Images { + constructor(context) { + this.context = context; + } + annotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/images:annotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://vision.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1p2beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + vision_v1p2beta1.Resource$Projects$Locations$Images = Resource$Projects$Locations$Images; +})(vision_v1p2beta1 = exports.vision_v1p2beta1 || (exports.vision_v1p2beta1 = {})); +//# sourceMappingURL=v1p2beta1.js.map + +/***/ }), + +/***/ 34225: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(10796); +exports.VERSIONS = { + v1: v1_1.webfonts_v1.Webfonts, +}; +function webfonts(versionOrOptions) { + return googleapis_common_1.getAPI('webfonts', versionOrOptions, exports.VERSIONS, this); +} +exports.webfonts = webfonts; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 10796: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var webfonts_v1; +(function (webfonts_v1) { + /** + * Google Fonts Developer API + * + * Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets). + * + * @example + * const {google} = require('googleapis'); + * const webfonts = google.webfonts('v1'); + * + * @namespace webfonts + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Webfonts + */ + class Webfonts { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.webfonts = new Resource$Webfonts(this.context); + } + } + webfonts_v1.Webfonts = Webfonts; + class Resource$Webfonts { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webfonts/v1/webfonts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + webfonts_v1.Resource$Webfonts = Resource$Webfonts; +})(webfonts_v1 = exports.webfonts_v1 || (exports.webfonts_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 69867: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v3_1 = __nccwpck_require__(1972); +exports.VERSIONS = { + v3: v3_1.webmasters_v3.Webmasters, +}; +function webmasters(versionOrOptions) { + return googleapis_common_1.getAPI('webmasters', versionOrOptions, exports.VERSIONS, this); +} +exports.webmasters = webmasters; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 1972: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var webmasters_v3; +(function (webmasters_v3) { + /** + * Search Console API + * + * View Google Search Console data for your verified sites. + * + * @example + * const {google} = require('googleapis'); + * const webmasters = google.webmasters('v3'); + * + * @namespace webmasters + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Webmasters + */ + class Webmasters { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.searchanalytics = new Resource$Searchanalytics(this.context); + this.sitemaps = new Resource$Sitemaps(this.context); + this.sites = new Resource$Sites(this.context); + } + } + webmasters_v3.Webmasters = Webmasters; + class Resource$Searchanalytics { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/searchAnalytics/query').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['siteUrl'], + pathParams: ['siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + webmasters_v3.Resource$Searchanalytics = Resource$Searchanalytics; + class Resource$Sitemaps { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['siteUrl', 'feedpath'], + pathParams: ['feedpath', 'siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['siteUrl', 'feedpath'], + pathParams: ['feedpath', 'siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['siteUrl'], + pathParams: ['siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + submit(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['siteUrl', 'feedpath'], + pathParams: ['feedpath', 'siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + webmasters_v3.Resource$Sitemaps = Resource$Sitemaps; + class Resource$Sites { + constructor(context) { + this.context = context; + } + add(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['siteUrl'], + pathParams: ['siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['siteUrl'], + pathParams: ['siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites/{siteUrl}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['siteUrl'], + pathParams: ['siteUrl'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/webmasters/v3/sites').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + webmasters_v3.Resource$Sites = Resource$Sites; +})(webmasters_v3 = exports.webmasters_v3 || (exports.webmasters_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 25206: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(72412); +const v1alpha_1 = __nccwpck_require__(66447); +const v1beta_1 = __nccwpck_require__(44298); +exports.VERSIONS = { + v1: v1_1.websecurityscanner_v1.Websecurityscanner, + v1alpha: v1alpha_1.websecurityscanner_v1alpha.Websecurityscanner, + v1beta: v1beta_1.websecurityscanner_v1beta.Websecurityscanner, +}; +function websecurityscanner(versionOrOptions) { + return googleapis_common_1.getAPI('websecurityscanner', versionOrOptions, exports.VERSIONS, this); +} +exports.websecurityscanner = websecurityscanner; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 72412: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var websecurityscanner_v1; +(function (websecurityscanner_v1) { + /** + * Web Security Scanner API + * + * Scans your Compute and App Engine apps for common web vulnerabilities. + * + * @example + * const {google} = require('googleapis'); + * const websecurityscanner = google.websecurityscanner('v1'); + * + * @namespace websecurityscanner + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Websecurityscanner + */ + class Websecurityscanner { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + websecurityscanner_v1.Websecurityscanner = Websecurityscanner; + class Resource$Projects { + constructor(context) { + this.context = context; + this.scanConfigs = new Resource$Projects$Scanconfigs(this.context); + } + } + websecurityscanner_v1.Resource$Projects = Resource$Projects; + class Resource$Projects$Scanconfigs { + constructor(context) { + this.context = context; + this.scanRuns = new Resource$Projects$Scanconfigs$Scanruns(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs; + class Resource$Projects$Scanconfigs$Scanruns { + constructor(context) { + this.context = context; + this.crawledUrls = new Resource$Projects$Scanconfigs$Scanruns$Crawledurls(this.context); + this.findings = new Resource$Projects$Scanconfigs$Scanruns$Findings(this.context); + this.findingTypeStats = new Resource$Projects$Scanconfigs$Scanruns$Findingtypestats(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/scanRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns = Resource$Projects$Scanconfigs$Scanruns; + class Resource$Projects$Scanconfigs$Scanruns$Crawledurls { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/crawledUrls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns$Crawledurls = Resource$Projects$Scanconfigs$Scanruns$Crawledurls; + class Resource$Projects$Scanconfigs$Scanruns$Findings { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns$Findings = Resource$Projects$Scanconfigs$Scanruns$Findings; + class Resource$Projects$Scanconfigs$Scanruns$Findingtypestats { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/{+parent}/findingTypeStats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns$Findingtypestats = Resource$Projects$Scanconfigs$Scanruns$Findingtypestats; +})(websecurityscanner_v1 = exports.websecurityscanner_v1 || (exports.websecurityscanner_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 66447: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var websecurityscanner_v1alpha; +(function (websecurityscanner_v1alpha) { + /** + * Web Security Scanner API + * + * Scans your Compute and App Engine apps for common web vulnerabilities. + * + * @example + * const {google} = require('googleapis'); + * const websecurityscanner = google.websecurityscanner('v1alpha'); + * + * @namespace websecurityscanner + * @type {Function} + * @version v1alpha + * @variation v1alpha + * @param {object=} options Options for Websecurityscanner + */ + class Websecurityscanner { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + websecurityscanner_v1alpha.Websecurityscanner = Websecurityscanner; + class Resource$Projects { + constructor(context) { + this.context = context; + this.scanConfigs = new Resource$Projects$Scanconfigs(this.context); + } + } + websecurityscanner_v1alpha.Resource$Projects = Resource$Projects; + class Resource$Projects$Scanconfigs { + constructor(context) { + this.context = context; + this.scanRuns = new Resource$Projects$Scanconfigs$Scanruns(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1alpha.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs; + class Resource$Projects$Scanconfigs$Scanruns { + constructor(context) { + this.context = context; + this.crawledUrls = new Resource$Projects$Scanconfigs$Scanruns$Crawledurls(this.context); + this.findings = new Resource$Projects$Scanconfigs$Scanruns$Findings(this.context); + this.findingTypeStats = new Resource$Projects$Scanconfigs$Scanruns$Findingtypestats(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/scanRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns = Resource$Projects$Scanconfigs$Scanruns; + class Resource$Projects$Scanconfigs$Scanruns$Crawledurls { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/crawledUrls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns$Crawledurls = Resource$Projects$Scanconfigs$Scanruns$Crawledurls; + class Resource$Projects$Scanconfigs$Scanruns$Findings { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns$Findings = Resource$Projects$Scanconfigs$Scanruns$Findings; + class Resource$Projects$Scanconfigs$Scanruns$Findingtypestats { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1alpha/{+parent}/findingTypeStats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns$Findingtypestats = Resource$Projects$Scanconfigs$Scanruns$Findingtypestats; +})(websecurityscanner_v1alpha = exports.websecurityscanner_v1alpha || (exports.websecurityscanner_v1alpha = {})); +//# sourceMappingURL=v1alpha.js.map + +/***/ }), + +/***/ 44298: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var websecurityscanner_v1beta; +(function (websecurityscanner_v1beta) { + /** + * Web Security Scanner API + * + * Scans your Compute and App Engine apps for common web vulnerabilities. + * + * @example + * const {google} = require('googleapis'); + * const websecurityscanner = google.websecurityscanner('v1beta'); + * + * @namespace websecurityscanner + * @type {Function} + * @version v1beta + * @variation v1beta + * @param {object=} options Options for Websecurityscanner + */ + class Websecurityscanner { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.projects = new Resource$Projects(this.context); + } + } + websecurityscanner_v1beta.Websecurityscanner = Websecurityscanner; + class Resource$Projects { + constructor(context) { + this.context = context; + this.scanConfigs = new Resource$Projects$Scanconfigs(this.context); + } + } + websecurityscanner_v1beta.Resource$Projects = Resource$Projects; + class Resource$Projects$Scanconfigs { + constructor(context) { + this.context = context; + this.scanRuns = new Resource$Projects$Scanconfigs$Scanruns(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/scanConfigs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + patch(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'PATCH', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + start(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}:start').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1beta.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs; + class Resource$Projects$Scanconfigs$Scanruns { + constructor(context) { + this.context = context; + this.crawledUrls = new Resource$Projects$Scanconfigs$Scanruns$Crawledurls(this.context); + this.findings = new Resource$Projects$Scanconfigs$Scanruns$Findings(this.context); + this.findingTypeStats = new Resource$Projects$Scanconfigs$Scanruns$Findingtypestats(this.context); + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/scanRuns').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + stop(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}:stop').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns = Resource$Projects$Scanconfigs$Scanruns; + class Resource$Projects$Scanconfigs$Scanruns$Crawledurls { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/crawledUrls').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns$Crawledurls = Resource$Projects$Scanconfigs$Scanruns$Crawledurls; + class Resource$Projects$Scanconfigs$Scanruns$Findings { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/findings').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns$Findings = Resource$Projects$Scanconfigs$Scanruns$Findings; + class Resource$Projects$Scanconfigs$Scanruns$Findingtypestats { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1beta/{+parent}/findingTypeStats').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['parent'], + pathParams: ['parent'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns$Findingtypestats = Resource$Projects$Scanconfigs$Scanruns$Findingtypestats; +})(websecurityscanner_v1beta = exports.websecurityscanner_v1beta || (exports.websecurityscanner_v1beta = {})); +//# sourceMappingURL=v1beta.js.map + +/***/ }), + +/***/ 76524: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v3_1 = __nccwpck_require__(45084); +exports.VERSIONS = { + v3: v3_1.youtube_v3.Youtube, +}; +function youtube(versionOrOptions) { + return googleapis_common_1.getAPI('youtube', versionOrOptions, exports.VERSIONS, this); +} +exports.youtube = youtube; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 45084: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var youtube_v3; +(function (youtube_v3) { + /** + * YouTube Data API + * + * Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more. + * + * @example + * const {google} = require('googleapis'); + * const youtube = google.youtube('v3'); + * + * @namespace youtube + * @type {Function} + * @version v3 + * @variation v3 + * @param {object=} options Options for Youtube + */ + class Youtube { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.activities = new Resource$Activities(this.context); + this.captions = new Resource$Captions(this.context); + this.channelBanners = new Resource$Channelbanners(this.context); + this.channels = new Resource$Channels(this.context); + this.channelSections = new Resource$Channelsections(this.context); + this.comments = new Resource$Comments(this.context); + this.commentThreads = new Resource$Commentthreads(this.context); + this.guideCategories = new Resource$Guidecategories(this.context); + this.i18nLanguages = new Resource$I18nlanguages(this.context); + this.i18nRegions = new Resource$I18nregions(this.context); + this.liveBroadcasts = new Resource$Livebroadcasts(this.context); + this.liveChatBans = new Resource$Livechatbans(this.context); + this.liveChatMessages = new Resource$Livechatmessages(this.context); + this.liveChatModerators = new Resource$Livechatmoderators(this.context); + this.liveStreams = new Resource$Livestreams(this.context); + this.members = new Resource$Members(this.context); + this.membershipsLevels = new Resource$Membershipslevels(this.context); + this.playlistItems = new Resource$Playlistitems(this.context); + this.playlists = new Resource$Playlists(this.context); + this.search = new Resource$Search(this.context); + this.sponsors = new Resource$Sponsors(this.context); + this.subscriptions = new Resource$Subscriptions(this.context); + this.superChatEvents = new Resource$Superchatevents(this.context); + this.thumbnails = new Resource$Thumbnails(this.context); + this.videoAbuseReportReasons = new Resource$Videoabusereportreasons(this.context); + this.videoCategories = new Resource$Videocategories(this.context); + this.videos = new Resource$Videos(this.context); + this.watermarks = new Resource$Watermarks(this.context); + } + } + youtube_v3.Youtube = Youtube; + class Resource$Activities { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/activities').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/activities').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Activities = Resource$Activities; + class Resource$Captions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + download(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/captions/{id}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: ['id'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/youtube/v3/captions').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part', 'videoId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + mediaUrl: (rootUrl + '/upload/youtube/v3/captions').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Captions = Resource$Captions; + class Resource$Channelbanners { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channelBanners/insert').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/youtube/v3/channelBanners/insert').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Channelbanners = Resource$Channelbanners; + class Resource$Channels { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channels').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Channels = Resource$Channels; + class Resource$Channelsections { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Channelsections = Resource$Channelsections; + class Resource$Comments { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + markAsSpam(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/comments/markAsSpam').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + setModerationStatus(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/comments/setModerationStatus').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id', 'moderationStatus'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Comments = Resource$Comments; + class Resource$Commentthreads { + constructor(context) { + this.context = context; + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/commentThreads').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/commentThreads').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/commentThreads').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Commentthreads = Resource$Commentthreads; + class Resource$Guidecategories { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/guideCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Guidecategories = Resource$Guidecategories; + class Resource$I18nlanguages { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/i18nLanguages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$I18nlanguages = Resource$I18nlanguages; + class Resource$I18nregions { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/i18nRegions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$I18nregions = Resource$I18nregions; + class Resource$Livebroadcasts { + constructor(context) { + this.context = context; + } + bind(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts/bind').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id', 'part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + control(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts/control').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id', 'part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + transition(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts/transition').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['broadcastStatus', 'id', 'part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Livebroadcasts = Resource$Livebroadcasts; + class Resource$Livechatbans { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/bans').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/bans').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Livechatbans = Resource$Livechatbans; + class Resource$Livechatmessages { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/messages').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['liveChatId', 'part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Livechatmessages = Resource$Livechatmessages; + class Resource$Livechatmoderators { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/moderators').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/moderators').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveChat/moderators').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['liveChatId', 'part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Livechatmoderators = Resource$Livechatmoderators; + class Resource$Livestreams { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Livestreams = Resource$Livestreams; + class Resource$Members { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/members').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Members = Resource$Members; + class Resource$Membershipslevels { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/membershipsLevels').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Membershipslevels = Resource$Membershipslevels; + class Resource$Playlistitems { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Playlistitems = Resource$Playlistitems; + class Resource$Playlists { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Playlists = Resource$Playlists; + class Resource$Search { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/search').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Search = Resource$Search; + class Resource$Sponsors { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/sponsors').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Sponsors = Resource$Sponsors; + class Resource$Subscriptions { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/subscriptions').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Subscriptions = Resource$Subscriptions; + class Resource$Superchatevents { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/superChatEvents').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Superchatevents = Resource$Superchatevents; + class Resource$Thumbnails { + constructor(context) { + this.context = context; + } + set(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/thumbnails/set').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/youtube/v3/thumbnails/set').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['videoId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Thumbnails = Resource$Thumbnails; + class Resource$Videoabusereportreasons { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videoAbuseReportReasons').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Videoabusereportreasons = Resource$Videoabusereportreasons; + class Resource$Videocategories { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videoCategories').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Videocategories = Resource$Videocategories; + class Resource$Videos { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + getRating(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos/getRating').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['id'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + rate(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos/rate').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['id', 'rating'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + reportAbuse(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos/reportAbuse').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: ['part'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Videos = Resource$Videos; + class Resource$Watermarks { + constructor(context) { + this.context = context; + } + set(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/watermarks/set').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + mediaUrl: (rootUrl + '/upload/youtube/v3/watermarks/set').replace(/([^:]\/)\/+/g, '$1'), + requiredParams: ['channelId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + unset(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/youtube/v3/watermarks/unset').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: ['channelId'], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtube_v3.Resource$Watermarks = Resource$Watermarks; +})(youtube_v3 = exports.youtube_v3 || (exports.youtube_v3 = {})); +//# sourceMappingURL=v3.js.map + +/***/ }), + +/***/ 78383: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(86348); +const v2_1 = __nccwpck_require__(7604); +exports.VERSIONS = { + v1: v1_1.youtubeAnalytics_v1.Youtubeanalytics, + v2: v2_1.youtubeAnalytics_v2.Youtubeanalytics, +}; +function youtubeAnalytics(versionOrOptions) { + return googleapis_common_1.getAPI('youtubeAnalytics', versionOrOptions, exports.VERSIONS, this); +} +exports.youtubeAnalytics = youtubeAnalytics; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 86348: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var youtubeAnalytics_v1; +(function (youtubeAnalytics_v1) { + /** + * YouTube Analytics API + * + * Retrieves your YouTube Analytics data. + * + * @example + * const {google} = require('googleapis'); + * const youtubeAnalytics = google.youtubeAnalytics('v1'); + * + * @namespace youtubeAnalytics + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Youtubeanalytics + */ + class Youtubeanalytics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + } + } + youtubeAnalytics_v1.Youtubeanalytics = Youtubeanalytics; +})(youtubeAnalytics_v1 = exports.youtubeAnalytics_v1 || (exports.youtubeAnalytics_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 7604: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var youtubeAnalytics_v2; +(function (youtubeAnalytics_v2) { + /** + * YouTube Analytics API + * + * Retrieves your YouTube Analytics data. + * + * @example + * const {google} = require('googleapis'); + * const youtubeAnalytics = google.youtubeAnalytics('v2'); + * + * @namespace youtubeAnalytics + * @type {Function} + * @version v2 + * @variation v2 + * @param {object=} options Options for Youtubeanalytics + */ + class Youtubeanalytics { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.groupItems = new Resource$Groupitems(this.context); + this.groups = new Resource$Groups(this.context); + this.reports = new Resource$Reports(this.context); + } + } + youtubeAnalytics_v2.Youtubeanalytics = Youtubeanalytics; + class Resource$Groupitems { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groupItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groupItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groupItems').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubeAnalytics_v2.Resource$Groupitems = Resource$Groupitems; + class Resource$Groups { + constructor(context) { + this.context = context; + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + insert(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + update(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/groups').replace(/([^:]\/)\/+/g, '$1'), + method: 'PUT', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubeAnalytics_v2.Resource$Groups = Resource$Groups; + class Resource$Reports { + constructor(context) { + this.context = context; + } + query(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v2/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubeAnalytics_v2.Resource$Reports = Resource$Reports; +})(youtubeAnalytics_v2 = exports.youtubeAnalytics_v2 || (exports.youtubeAnalytics_v2 = {})); +//# sourceMappingURL=v2.js.map + +/***/ }), + +/***/ 12552: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_common_1 = __nccwpck_require__(40524); +const v1_1 = __nccwpck_require__(45787); +exports.VERSIONS = { + v1: v1_1.youtubereporting_v1.Youtubereporting, +}; +function youtubereporting(versionOrOptions) { + return googleapis_common_1.getAPI('youtubereporting', versionOrOptions, exports.VERSIONS, this); +} +exports.youtubereporting = youtubereporting; +const auth = new googleapis_common_1.AuthPlus(); +exports.auth = auth; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 45787: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const googleapis_common_1 = __nccwpck_require__(40524); +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace +var youtubereporting_v1; +(function (youtubereporting_v1) { + /** + * YouTube Reporting API + * + * Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. + * + * @example + * const {google} = require('googleapis'); + * const youtubereporting = google.youtubereporting('v1'); + * + * @namespace youtubereporting + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Youtubereporting + */ + class Youtubereporting { + constructor(options, google) { + this.context = { + _options: options || {}, + google, + }; + this.jobs = new Resource$Jobs(this.context); + this.media = new Resource$Media(this.context); + this.reportTypes = new Resource$Reporttypes(this.context); + } + } + youtubereporting_v1.Youtubereporting = Youtubereporting; + class Resource$Jobs { + constructor(context) { + this.context = context; + this.reports = new Resource$Jobs$Reports(this.context); + } + create(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'POST', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + delete(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE', + }, options), + params, + requiredParams: ['jobId'], + pathParams: ['jobId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/jobs/{jobId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['jobId'], + pathParams: ['jobId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/jobs').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubereporting_v1.Resource$Jobs = Resource$Jobs; + class Resource$Jobs$Reports { + constructor(context) { + this.context = context; + } + get(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/jobs/{jobId}/reports/{reportId}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['jobId', 'reportId'], + pathParams: ['jobId', 'reportId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || + {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/jobs/{jobId}/reports').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['jobId'], + pathParams: ['jobId'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubereporting_v1.Resource$Jobs$Reports = Resource$Jobs$Reports; + class Resource$Media { + constructor(context) { + this.context = context; + } + download(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: ['resourceName'], + pathParams: ['resourceName'], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubereporting_v1.Resource$Media = Resource$Media; + class Resource$Reporttypes { + constructor(context) { + this.context = context; + } + list(paramsOrCallback, optionsOrCallback, callback) { + let params = (paramsOrCallback || {}); + let options = (optionsOrCallback || {}); + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {}; + options = {}; + } + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/'; + const parameters = { + options: Object.assign({ + url: (rootUrl + '/v1/reportTypes').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET', + }, options), + params, + requiredParams: [], + pathParams: [], + context: this.context, + }; + if (callback) { + googleapis_common_1.createAPIRequest(parameters, callback); + } + else { + return googleapis_common_1.createAPIRequest(parameters); + } + } + } + youtubereporting_v1.Resource$Reporttypes = Resource$Reporttypes; +})(youtubereporting_v1 = exports.youtubereporting_v1 || (exports.youtubereporting_v1 = {})); +//# sourceMappingURL=v1.js.map + +/***/ }), + +/***/ 37842: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2012 Google LLC +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +const apis = __nccwpck_require__(43146); +const googleapis_common_1 = __nccwpck_require__(40524); +exports.AuthPlus = googleapis_common_1.AuthPlus; +class GoogleApis extends apis.GeneratedAPIs { + /** + * GoogleApis constructor. + * + * @example + * const GoogleApis = require('googleapis').GoogleApis; + * const google = new GoogleApis(); + * + * @class GoogleApis + * @param {Object} [options] Configuration options. + */ + constructor(options) { + super(); + this._discovery = new googleapis_common_1.Discovery({ debug: false, includePrivate: false }); + this.auth = new googleapis_common_1.AuthPlus(); + this._options = {}; + this.options(options); + } + /** + * Obtain a Map of supported APIs, along with included API versions. + */ + getSupportedAPIs() { + const apiMap = {}; + Object.keys(apis.APIS).forEach(a => { + apiMap[a] = Object.keys(apis.APIS[a]); + }); + return apiMap; + } + /** + * Set options. + * + * @param {Object} [options] Configuration options. + */ + options(options) { + this._options = options || {}; + } + /** + * Add APIs endpoints to googleapis object + * E.g. googleapis.drive and googleapis.datastore + * + * @name GoogleApis#addAPIs + * @method + * @param {Object} apis Apis to be added to this GoogleApis instance. + * @private + */ + addAPIs(apisToAdd) { + for (const apiName in apisToAdd) { + if (apisToAdd.hasOwnProperty(apiName)) { + // tslint:disable-next-line: no-any + this[apiName] = apisToAdd[apiName].bind(this); + } + } + } + discover(url, callback) { + if (callback) { + this.discoverAsync(url) + .then(() => callback()) + .catch(callback); + } + else { + return this.discoverAsync(url); + } + } + async discoverAsync(url) { + const allApis = await this._discovery.discoverAllAPIs(url); + this.addAPIs(allApis); + } + /** + * Dynamically generate an Endpoint object from a discovery doc. + * + * @param path Url or file path to discover doc for a single API. + * @param Options to configure the Endpoint object generated from the + * discovery doc. + * @returns A promise that resolves with the configured endpoint. + */ + async discoverAPI(apiPath, options = {}) { + const endpointCreator = await this._discovery.discoverAPI(apiPath); + const ep = endpointCreator(options, this); + ep.google = this; // for drive.google.transporter + return Object.freeze(ep); + } +} +exports.GoogleApis = GoogleApis; +//# sourceMappingURL=googleapis.js.map + +/***/ }), + +/***/ 44913: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +// Copyright 2019 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +Object.defineProperty(exports, "__esModule", ({ value: true })); +/*! THIS FILE IS AUTO-GENERATED */ +const googleapis_1 = __nccwpck_require__(37842); +exports.GoogleApis = googleapis_1.GoogleApis; +const google = new googleapis_1.GoogleApis(); +exports.google = google; +var v1_1 = __nccwpck_require__(52957); +exports.abusiveexperiencereport_v1 = v1_1.abusiveexperiencereport_v1; +var v1_2 = __nccwpck_require__(16214); +exports.acceleratedmobilepageurl_v1 = v1_2.acceleratedmobilepageurl_v1; +var v1beta1_1 = __nccwpck_require__(28967); +exports.accessapproval_v1beta1 = v1beta1_1.accessapproval_v1beta1; +var v1_3 = __nccwpck_require__(94531); +exports.accesscontextmanager_v1 = v1_3.accesscontextmanager_v1; +var v1beta_1 = __nccwpck_require__(68224); +exports.accesscontextmanager_v1beta = v1beta_1.accesscontextmanager_v1beta; +var v1_2_1 = __nccwpck_require__(73080); +exports.adexchangebuyer_v1_2 = v1_2_1.adexchangebuyer_v1_2; +var v1_3_1 = __nccwpck_require__(57099); +exports.adexchangebuyer_v1_3 = v1_3_1.adexchangebuyer_v1_3; +var v1_4_1 = __nccwpck_require__(46288); +exports.adexchangebuyer_v1_4 = v1_4_1.adexchangebuyer_v1_4; +var v2beta1_1 = __nccwpck_require__(49104); +exports.adexchangebuyer2_v2beta1 = v2beta1_1.adexchangebuyer2_v2beta1; +var v1_4 = __nccwpck_require__(34181); +exports.adexperiencereport_v1 = v1_4.adexperiencereport_v1; +var datatransfer_v1_1 = __nccwpck_require__(42718); +exports.admin_datatransfer_v1 = datatransfer_v1_1.admin_datatransfer_v1; +var directory_v1_1 = __nccwpck_require__(63505); +exports.admin_directory_v1 = directory_v1_1.admin_directory_v1; +var reports_v1_1 = __nccwpck_require__(83699); +exports.admin_reports_v1 = reports_v1_1.admin_reports_v1; +var v1_4_2 = __nccwpck_require__(18750); +exports.adsense_v1_4 = v1_4_2.adsense_v1_4; +var v4_1_1 = __nccwpck_require__(33691); +exports.adsensehost_v4_1 = v4_1_1.adsensehost_v4_1; +var v1beta1_2 = __nccwpck_require__(25151); +exports.alertcenter_v1beta1 = v1beta1_2.alertcenter_v1beta1; +var v2_4_1 = __nccwpck_require__(84486); +exports.analytics_v2_4 = v2_4_1.analytics_v2_4; +var v3_1 = __nccwpck_require__(8074); +exports.analytics_v3 = v3_1.analytics_v3; +var v4_1 = __nccwpck_require__(82755); +exports.analyticsreporting_v4 = v4_1.analyticsreporting_v4; +var v1_5 = __nccwpck_require__(94747); +exports.androiddeviceprovisioning_v1 = v1_5.androiddeviceprovisioning_v1; +var v1_6 = __nccwpck_require__(57455); +exports.androidenterprise_v1 = v1_6.androidenterprise_v1; +var v1_7 = __nccwpck_require__(3849); +exports.androidmanagement_v1 = v1_7.androidmanagement_v1; +var v1_1_1 = __nccwpck_require__(81885); +exports.androidpublisher_v1_1 = v1_1_1.androidpublisher_v1_1; +var v1_8 = __nccwpck_require__(28172); +exports.androidpublisher_v1 = v1_8.androidpublisher_v1; +var v2_1 = __nccwpck_require__(66988); +exports.androidpublisher_v2 = v2_1.androidpublisher_v2; +var v3_2 = __nccwpck_require__(12460); +exports.androidpublisher_v3 = v3_2.androidpublisher_v3; +var v1_9 = __nccwpck_require__(86030); +exports.appengine_v1 = v1_9.appengine_v1; +var v1alpha_1 = __nccwpck_require__(80039); +exports.appengine_v1alpha = v1alpha_1.appengine_v1alpha; +var v1beta_2 = __nccwpck_require__(23506); +exports.appengine_v1beta = v1beta_2.appengine_v1beta; +var v1_10 = __nccwpck_require__(65455); +exports.appsactivity_v1 = v1_10.appsactivity_v1; +var v2_2 = __nccwpck_require__(39349); +exports.bigquery_v2 = v2_2.bigquery_v2; +var v1beta1_3 = __nccwpck_require__(97250); +exports.bigqueryconnection_v1beta1 = v1beta1_3.bigqueryconnection_v1beta1; +var v1_11 = __nccwpck_require__(73515); +exports.bigquerydatatransfer_v1 = v1_11.bigquerydatatransfer_v1; +var v1_12 = __nccwpck_require__(91307); +exports.bigqueryreservation_v1 = v1_12.bigqueryreservation_v1; +var v1alpha2_1 = __nccwpck_require__(74332); +exports.bigqueryreservation_v1alpha2 = v1alpha2_1.bigqueryreservation_v1alpha2; +var v1beta1_4 = __nccwpck_require__(65051); +exports.bigqueryreservation_v1beta1 = v1beta1_4.bigqueryreservation_v1beta1; +var v1_13 = __nccwpck_require__(12678); +exports.bigtableadmin_v1 = v1_13.bigtableadmin_v1; +var v2_3 = __nccwpck_require__(27248); +exports.bigtableadmin_v2 = v2_3.bigtableadmin_v2; +var v1beta1_5 = __nccwpck_require__(32169); +exports.billingbudgets_v1beta1 = v1beta1_5.billingbudgets_v1beta1; +var v1_14 = __nccwpck_require__(15425); +exports.binaryauthorization_v1 = v1_14.binaryauthorization_v1; +var v1beta1_6 = __nccwpck_require__(99826); +exports.binaryauthorization_v1beta1 = v1beta1_6.binaryauthorization_v1beta1; +var v2_4 = __nccwpck_require__(79743); +exports.blogger_v2 = v2_4.blogger_v2; +var v3_3 = __nccwpck_require__(38264); +exports.blogger_v3 = v3_3.blogger_v3; +var v1_15 = __nccwpck_require__(14836); +exports.books_v1 = v1_15.books_v1; +var v3_4 = __nccwpck_require__(19829); +exports.calendar_v3 = v3_4.calendar_v3; +var v1_16 = __nccwpck_require__(57677); +exports.chat_v1 = v1_16.chat_v1; +var v2_5 = __nccwpck_require__(57955); +exports.civicinfo_v2 = v2_5.civicinfo_v2; +var v1_17 = __nccwpck_require__(52619); +exports.classroom_v1 = v1_17.classroom_v1; +var v1_18 = __nccwpck_require__(97135); +exports.cloudasset_v1 = v1_18.cloudasset_v1; +var v1beta1_7 = __nccwpck_require__(171); +exports.cloudasset_v1beta1 = v1beta1_7.cloudasset_v1beta1; +var v1_19 = __nccwpck_require__(72384); +exports.cloudbilling_v1 = v1_19.cloudbilling_v1; +var v1_20 = __nccwpck_require__(88354); +exports.cloudbuild_v1 = v1_20.cloudbuild_v1; +var v1alpha1_1 = __nccwpck_require__(88904); +exports.cloudbuild_v1alpha1 = v1alpha1_1.cloudbuild_v1alpha1; +var v2_6 = __nccwpck_require__(15660); +exports.clouddebugger_v2 = v2_6.clouddebugger_v2; +var v1beta1_8 = __nccwpck_require__(37343); +exports.clouderrorreporting_v1beta1 = v1beta1_8.clouderrorreporting_v1beta1; +var v1_21 = __nccwpck_require__(34746); +exports.cloudfunctions_v1 = v1_21.cloudfunctions_v1; +var v1beta2_1 = __nccwpck_require__(81442); +exports.cloudfunctions_v1beta2 = v1beta2_1.cloudfunctions_v1beta2; +var v1_22 = __nccwpck_require__(89044); +exports.cloudidentity_v1 = v1_22.cloudidentity_v1; +var v1beta1_9 = __nccwpck_require__(36269); +exports.cloudidentity_v1beta1 = v1beta1_9.cloudidentity_v1beta1; +var v1_23 = __nccwpck_require__(64753); +exports.cloudiot_v1 = v1_23.cloudiot_v1; +var v1_24 = __nccwpck_require__(37661); +exports.cloudkms_v1 = v1_24.cloudkms_v1; +var v1beta1_10 = __nccwpck_require__(940); +exports.cloudprivatecatalog_v1beta1 = v1beta1_10.cloudprivatecatalog_v1beta1; +var v1beta1_11 = __nccwpck_require__(72189); +exports.cloudprivatecatalogproducer_v1beta1 = v1beta1_11.cloudprivatecatalogproducer_v1beta1; +var v2_7 = __nccwpck_require__(31415); +exports.cloudprofiler_v2 = v2_7.cloudprofiler_v2; +var v1_25 = __nccwpck_require__(70958); +exports.cloudresourcemanager_v1 = v1_25.cloudresourcemanager_v1; +var v1beta1_12 = __nccwpck_require__(14478); +exports.cloudresourcemanager_v1beta1 = v1beta1_12.cloudresourcemanager_v1beta1; +var v2_8 = __nccwpck_require__(24355); +exports.cloudresourcemanager_v2 = v2_8.cloudresourcemanager_v2; +var v2beta1_2 = __nccwpck_require__(33945); +exports.cloudresourcemanager_v2beta1 = v2beta1_2.cloudresourcemanager_v2beta1; +var v1_26 = __nccwpck_require__(89994); +exports.cloudscheduler_v1 = v1_26.cloudscheduler_v1; +var v1beta1_13 = __nccwpck_require__(63522); +exports.cloudscheduler_v1beta1 = v1beta1_13.cloudscheduler_v1beta1; +var v1_27 = __nccwpck_require__(85314); +exports.cloudsearch_v1 = v1_27.cloudsearch_v1; +var v1_28 = __nccwpck_require__(5748); +exports.cloudshell_v1 = v1_28.cloudshell_v1; +var v1alpha1_2 = __nccwpck_require__(70457); +exports.cloudshell_v1alpha1 = v1alpha1_2.cloudshell_v1alpha1; +var v2_9 = __nccwpck_require__(21294); +exports.cloudtasks_v2 = v2_9.cloudtasks_v2; +var v2beta2_1 = __nccwpck_require__(19041); +exports.cloudtasks_v2beta2 = v2beta2_1.cloudtasks_v2beta2; +var v2beta3_1 = __nccwpck_require__(61800); +exports.cloudtasks_v2beta3 = v2beta3_1.cloudtasks_v2beta3; +var v1_29 = __nccwpck_require__(26029); +exports.cloudtrace_v1 = v1_29.cloudtrace_v1; +var v2_10 = __nccwpck_require__(86349); +exports.cloudtrace_v2 = v2_10.cloudtrace_v2; +var v1alpha1_3 = __nccwpck_require__(4630); +exports.commentanalyzer_v1alpha1 = v1alpha1_3.commentanalyzer_v1alpha1; +var v1_30 = __nccwpck_require__(29383); +exports.composer_v1 = v1_30.composer_v1; +var v1beta1_14 = __nccwpck_require__(47216); +exports.composer_v1beta1 = v1beta1_14.composer_v1beta1; +var alpha_1 = __nccwpck_require__(88951); +exports.compute_alpha = alpha_1.compute_alpha; +var beta_1 = __nccwpck_require__(66624); +exports.compute_beta = beta_1.compute_beta; +var v1_31 = __nccwpck_require__(89949); +exports.compute_v1 = v1_31.compute_v1; +var v1_32 = __nccwpck_require__(60208); +exports.container_v1 = v1_32.container_v1; +var v1beta1_15 = __nccwpck_require__(34529); +exports.container_v1beta1 = v1beta1_15.container_v1beta1; +var v1alpha1_4 = __nccwpck_require__(7472); +exports.containeranalysis_v1alpha1 = v1alpha1_4.containeranalysis_v1alpha1; +var v1beta1_16 = __nccwpck_require__(55363); +exports.containeranalysis_v1beta1 = v1beta1_16.containeranalysis_v1beta1; +var v2_1_1 = __nccwpck_require__(5021); +exports.content_v2_1 = v2_1_1.content_v2_1; +var v2_11 = __nccwpck_require__(62523); +exports.content_v2 = v2_11.content_v2; +var v1_33 = __nccwpck_require__(97699); +exports.customsearch_v1 = v1_33.customsearch_v1; +var v1beta1_17 = __nccwpck_require__(69793); +exports.datacatalog_v1beta1 = v1beta1_17.datacatalog_v1beta1; +var v1b3_1 = __nccwpck_require__(78925); +exports.dataflow_v1b3 = v1b3_1.dataflow_v1b3; +var v1beta1_18 = __nccwpck_require__(71332); +exports.datafusion_v1beta1 = v1beta1_18.datafusion_v1beta1; +var v1_34 = __nccwpck_require__(28519); +exports.dataproc_v1 = v1_34.dataproc_v1; +var v1beta2_2 = __nccwpck_require__(3512); +exports.dataproc_v1beta2 = v1beta2_2.dataproc_v1beta2; +var v1_35 = __nccwpck_require__(73834); +exports.datastore_v1 = v1_35.datastore_v1; +var v1beta1_19 = __nccwpck_require__(42039); +exports.datastore_v1beta1 = v1beta1_19.datastore_v1beta1; +var v1beta3_1 = __nccwpck_require__(52586); +exports.datastore_v1beta3 = v1beta3_1.datastore_v1beta3; +var alpha_2 = __nccwpck_require__(41147); +exports.deploymentmanager_alpha = alpha_2.deploymentmanager_alpha; +var v2_12 = __nccwpck_require__(97525); +exports.deploymentmanager_v2 = v2_12.deploymentmanager_v2; +var v2beta_1 = __nccwpck_require__(28997); +exports.deploymentmanager_v2beta = v2beta_1.deploymentmanager_v2beta; +var v3_3_1 = __nccwpck_require__(2186); +exports.dfareporting_v3_3 = v3_3_1.dfareporting_v3_3; +var v3_4_1 = __nccwpck_require__(70114); +exports.dfareporting_v3_4 = v3_4_1.dfareporting_v3_4; +var v2_13 = __nccwpck_require__(1463); +exports.dialogflow_v2 = v2_13.dialogflow_v2; +var v2beta1_3 = __nccwpck_require__(94792); +exports.dialogflow_v2beta1 = v2beta1_3.dialogflow_v2beta1; +var v1_36 = __nccwpck_require__(70406); +exports.digitalassetlinks_v1 = v1_36.digitalassetlinks_v1; +var v1_37 = __nccwpck_require__(74191); +exports.discovery_v1 = v1_37.discovery_v1; +var v2_14 = __nccwpck_require__(93360); +exports.dlp_v2 = v2_14.dlp_v2; +var v1_38 = __nccwpck_require__(68469); +exports.dns_v1 = v1_38.dns_v1; +var v1beta2_3 = __nccwpck_require__(99517); +exports.dns_v1beta2 = v1beta2_3.dns_v1beta2; +var v2beta1_4 = __nccwpck_require__(7207); +exports.dns_v2beta1 = v2beta1_4.dns_v2beta1; +var v1_39 = __nccwpck_require__(98364); +exports.docs_v1 = v1_39.docs_v1; +var v1_40 = __nccwpck_require__(16433); +exports.domainsrdap_v1 = v1_40.domainsrdap_v1; +var v1_1_2 = __nccwpck_require__(61891); +exports.doubleclickbidmanager_v1_1 = v1_1_2.doubleclickbidmanager_v1_1; +var v1_41 = __nccwpck_require__(42565); +exports.doubleclickbidmanager_v1 = v1_41.doubleclickbidmanager_v1; +var v2_15 = __nccwpck_require__(72660); +exports.doubleclicksearch_v2 = v2_15.doubleclicksearch_v2; +var v2_16 = __nccwpck_require__(22511); +exports.drive_v2 = v2_16.drive_v2; +var v3_5 = __nccwpck_require__(23698); +exports.drive_v3 = v3_5.drive_v3; +var v2_17 = __nccwpck_require__(61742); +exports.driveactivity_v2 = v2_17.driveactivity_v2; +var v1alpha1_5 = __nccwpck_require__(90706); +exports.factchecktools_v1alpha1 = v1alpha1_5.factchecktools_v1alpha1; +var v1_42 = __nccwpck_require__(55943); +exports.fcm_v1 = v1_42.fcm_v1; +var v1_43 = __nccwpck_require__(31816); +exports.file_v1 = v1_43.file_v1; +var v1beta1_20 = __nccwpck_require__(74107); +exports.file_v1beta1 = v1beta1_20.file_v1beta1; +var v1beta1_21 = __nccwpck_require__(37418); +exports.firebase_v1beta1 = v1beta1_21.firebase_v1beta1; +var v1_44 = __nccwpck_require__(5989); +exports.firebasedynamiclinks_v1 = v1_44.firebasedynamiclinks_v1; +var v1beta1_22 = __nccwpck_require__(75245); +exports.firebasehosting_v1beta1 = v1beta1_22.firebasehosting_v1beta1; +var v1_45 = __nccwpck_require__(79674); +exports.firebaserules_v1 = v1_45.firebaserules_v1; +var v1_46 = __nccwpck_require__(78465); +exports.firestore_v1 = v1_46.firestore_v1; +var v1beta1_23 = __nccwpck_require__(83092); +exports.firestore_v1beta1 = v1beta1_23.firestore_v1beta1; +var v1beta2_4 = __nccwpck_require__(46490); +exports.firestore_v1beta2 = v1beta2_4.firestore_v1beta2; +var v1_47 = __nccwpck_require__(69094); +exports.fitness_v1 = v1_47.fitness_v1; +var v1_48 = __nccwpck_require__(45973); +exports.games_v1 = v1_48.games_v1; +var v1configuration_1 = __nccwpck_require__(26550); +exports.gamesConfiguration_v1configuration = v1configuration_1.gamesConfiguration_v1configuration; +var v1management_1 = __nccwpck_require__(55801); +exports.gamesManagement_v1management = v1management_1.gamesManagement_v1management; +var v1_49 = __nccwpck_require__(11050); +exports.genomics_v1 = v1_49.genomics_v1; +var v1alpha2_2 = __nccwpck_require__(41603); +exports.genomics_v1alpha2 = v1alpha2_2.genomics_v1alpha2; +var v2alpha1_1 = __nccwpck_require__(20128); +exports.genomics_v2alpha1 = v2alpha1_1.genomics_v2alpha1; +var v1_50 = __nccwpck_require__(99303); +exports.gmail_v1 = v1_50.gmail_v1; +var v1_51 = __nccwpck_require__(73377); +exports.groupsmigration_v1 = v1_51.groupsmigration_v1; +var v1_52 = __nccwpck_require__(61508); +exports.groupssettings_v1 = v1_52.groupssettings_v1; +var v1beta1_24 = __nccwpck_require__(53850); +exports.healthcare_v1beta1 = v1beta1_24.healthcare_v1beta1; +var v1_53 = __nccwpck_require__(20565); +exports.homegraph_v1 = v1_53.homegraph_v1; +var v1_54 = __nccwpck_require__(88434); +exports.iam_v1 = v1_54.iam_v1; +var v1_55 = __nccwpck_require__(13088); +exports.iamcredentials_v1 = v1_55.iamcredentials_v1; +var v1_56 = __nccwpck_require__(38351); +exports.iap_v1 = v1_56.iap_v1; +var v1beta1_25 = __nccwpck_require__(89404); +exports.iap_v1beta1 = v1beta1_25.iap_v1beta1; +var v3_6 = __nccwpck_require__(13408); +exports.identitytoolkit_v3 = v3_6.identitytoolkit_v3; +var v3_7 = __nccwpck_require__(32611); +exports.indexing_v3 = v3_7.indexing_v3; +var v2_18 = __nccwpck_require__(47273); +exports.jobs_v2 = v2_18.jobs_v2; +var v3_8 = __nccwpck_require__(11918); +exports.jobs_v3 = v3_8.jobs_v3; +var v3p1beta1_1 = __nccwpck_require__(43890); +exports.jobs_v3p1beta1 = v3p1beta1_1.jobs_v3p1beta1; +var v1_57 = __nccwpck_require__(62560); +exports.kgsearch_v1 = v1_57.kgsearch_v1; +var v1_58 = __nccwpck_require__(72875); +exports.language_v1 = v1_58.language_v1; +var v1beta1_26 = __nccwpck_require__(8150); +exports.language_v1beta1 = v1beta1_26.language_v1beta1; +var v1beta2_5 = __nccwpck_require__(23374); +exports.language_v1beta2 = v1beta2_5.language_v1beta2; +var v1_59 = __nccwpck_require__(81393); +exports.libraryagent_v1 = v1_59.libraryagent_v1; +var v1_60 = __nccwpck_require__(92735); +exports.licensing_v1 = v1_60.licensing_v1; +var v2beta_2 = __nccwpck_require__(51937); +exports.lifesciences_v2beta = v2beta_2.lifesciences_v2beta; +var v2_19 = __nccwpck_require__(53912); +exports.logging_v2 = v2_19.logging_v2; +var v1_61 = __nccwpck_require__(21903); +exports.manufacturers_v1 = v1_61.manufacturers_v1; +var v1_62 = __nccwpck_require__(72449); +exports.mirror_v1 = v1_62.mirror_v1; +var v1_63 = __nccwpck_require__(3540); +exports.ml_v1 = v1_63.ml_v1; +var v1_64 = __nccwpck_require__(84444); +exports.monitoring_v1 = v1_64.monitoring_v1; +var v3_9 = __nccwpck_require__(44636); +exports.monitoring_v3 = v3_9.monitoring_v3; +var v1_65 = __nccwpck_require__(31598); +exports.oauth2_v1 = v1_65.oauth2_v1; +var v2_20 = __nccwpck_require__(32241); +exports.oauth2_v2 = v2_20.oauth2_v2; +var v1_66 = __nccwpck_require__(14005); +exports.oslogin_v1 = v1_66.oslogin_v1; +var v1alpha_2 = __nccwpck_require__(72152); +exports.oslogin_v1alpha = v1alpha_2.oslogin_v1alpha; +var v1beta_3 = __nccwpck_require__(50779); +exports.oslogin_v1beta = v1beta_3.oslogin_v1beta; +var v1_67 = __nccwpck_require__(69936); +exports.pagespeedonline_v1 = v1_67.pagespeedonline_v1; +var v2_21 = __nccwpck_require__(40290); +exports.pagespeedonline_v2 = v2_21.pagespeedonline_v2; +var v4_2 = __nccwpck_require__(84048); +exports.pagespeedonline_v4 = v4_2.pagespeedonline_v4; +var v5_1 = __nccwpck_require__(72258); +exports.pagespeedonline_v5 = v5_1.pagespeedonline_v5; +var v1_68 = __nccwpck_require__(76850); +exports.people_v1 = v1_68.people_v1; +var v1_69 = __nccwpck_require__(68197); +exports.playcustomapp_v1 = v1_69.playcustomapp_v1; +var v1_70 = __nccwpck_require__(66610); +exports.plus_v1 = v1_70.plus_v1; +var v1_71 = __nccwpck_require__(71925); +exports.plusDomains_v1 = v1_71.plusDomains_v1; +var v1_72 = __nccwpck_require__(87309); +exports.policytroubleshooter_v1 = v1_72.policytroubleshooter_v1; +var v1beta_4 = __nccwpck_require__(90694); +exports.policytroubleshooter_v1beta = v1beta_4.policytroubleshooter_v1beta; +var v1_73 = __nccwpck_require__(54121); +exports.poly_v1 = v1_73.poly_v1; +var v1alpha1_6 = __nccwpck_require__(79181); +exports.prod_tt_sasportal_v1alpha1 = v1alpha1_6.prod_tt_sasportal_v1alpha1; +var v1beta1_27 = __nccwpck_require__(34473); +exports.proximitybeacon_v1beta1 = v1beta1_27.proximitybeacon_v1beta1; +var v1_74 = __nccwpck_require__(4533); +exports.pubsub_v1 = v1_74.pubsub_v1; +var v1beta1a_1 = __nccwpck_require__(12718); +exports.pubsub_v1beta1a = v1beta1a_1.pubsub_v1beta1a; +var v1beta2_6 = __nccwpck_require__(84449); +exports.pubsub_v1beta2 = v1beta2_6.pubsub_v1beta2; +var v1beta1_28 = __nccwpck_require__(79215); +exports.recommender_v1beta1 = v1beta1_28.recommender_v1beta1; +var v1_75 = __nccwpck_require__(71982); +exports.redis_v1 = v1_75.redis_v1; +var v1beta1_29 = __nccwpck_require__(58452); +exports.redis_v1beta1 = v1beta1_29.redis_v1beta1; +var v1_76 = __nccwpck_require__(43035); +exports.remotebuildexecution_v1 = v1_76.remotebuildexecution_v1; +var v1alpha_3 = __nccwpck_require__(66089); +exports.remotebuildexecution_v1alpha = v1alpha_3.remotebuildexecution_v1alpha; +var v2_22 = __nccwpck_require__(75314); +exports.remotebuildexecution_v2 = v2_22.remotebuildexecution_v2; +var v1beta1_30 = __nccwpck_require__(85593); +exports.replicapool_v1beta1 = v1beta1_30.replicapool_v1beta1; +var v1_77 = __nccwpck_require__(41522); +exports.reseller_v1 = v1_77.reseller_v1; +var v1_78 = __nccwpck_require__(85630); +exports.run_v1 = v1_78.run_v1; +var v1alpha1_7 = __nccwpck_require__(46968); +exports.run_v1alpha1 = v1alpha1_7.run_v1alpha1; +var v1beta1_31 = __nccwpck_require__(46461); +exports.run_v1beta1 = v1beta1_31.run_v1beta1; +var v1_79 = __nccwpck_require__(87550); +exports.runtimeconfig_v1 = v1_79.runtimeconfig_v1; +var v1beta1_32 = __nccwpck_require__(39534); +exports.runtimeconfig_v1beta1 = v1beta1_32.runtimeconfig_v1beta1; +var v4_3 = __nccwpck_require__(36301); +exports.safebrowsing_v4 = v4_3.safebrowsing_v4; +var v1alpha1_8 = __nccwpck_require__(88668); +exports.sasportal_v1alpha1 = v1alpha1_8.sasportal_v1alpha1; +var v1_80 = __nccwpck_require__(51231); +exports.script_v1 = v1_80.script_v1; +var v1beta1_33 = __nccwpck_require__(29588); +exports.secretmanager_v1beta1 = v1beta1_33.secretmanager_v1beta1; +var v1_81 = __nccwpck_require__(39556); +exports.securitycenter_v1 = v1_81.securitycenter_v1; +var v1beta1_34 = __nccwpck_require__(89530); +exports.securitycenter_v1beta1 = v1beta1_34.securitycenter_v1beta1; +var v1p1alpha1_1 = __nccwpck_require__(84039); +exports.securitycenter_v1p1alpha1 = v1p1alpha1_1.securitycenter_v1p1alpha1; +var v1p1beta1_1 = __nccwpck_require__(87136); +exports.securitycenter_v1p1beta1 = v1p1beta1_1.securitycenter_v1p1beta1; +var v1_82 = __nccwpck_require__(85357); +exports.servicebroker_v1 = v1_82.servicebroker_v1; +var v1alpha1_9 = __nccwpck_require__(32201); +exports.servicebroker_v1alpha1 = v1alpha1_9.servicebroker_v1alpha1; +var v1beta1_35 = __nccwpck_require__(33898); +exports.servicebroker_v1beta1 = v1beta1_35.servicebroker_v1beta1; +var v1_83 = __nccwpck_require__(25943); +exports.serviceconsumermanagement_v1 = v1_83.serviceconsumermanagement_v1; +var v1_84 = __nccwpck_require__(8308); +exports.servicecontrol_v1 = v1_84.servicecontrol_v1; +var v1_85 = __nccwpck_require__(31646); +exports.servicemanagement_v1 = v1_85.servicemanagement_v1; +var v1_86 = __nccwpck_require__(4565); +exports.servicenetworking_v1 = v1_86.servicenetworking_v1; +var v1beta_5 = __nccwpck_require__(36738); +exports.servicenetworking_v1beta = v1beta_5.servicenetworking_v1beta; +var v1_87 = __nccwpck_require__(83581); +exports.serviceusage_v1 = v1_87.serviceusage_v1; +var v1beta1_36 = __nccwpck_require__(82010); +exports.serviceusage_v1beta1 = v1beta1_36.serviceusage_v1beta1; +var v4_4 = __nccwpck_require__(99009); +exports.sheets_v4 = v4_4.sheets_v4; +var v1_88 = __nccwpck_require__(54977); +exports.siteVerification_v1 = v1_88.siteVerification_v1; +var v1_89 = __nccwpck_require__(22984); +exports.slides_v1 = v1_89.slides_v1; +var v1_90 = __nccwpck_require__(90330); +exports.sourcerepo_v1 = v1_90.sourcerepo_v1; +var v1_91 = __nccwpck_require__(3757); +exports.spanner_v1 = v1_91.spanner_v1; +var v1_92 = __nccwpck_require__(80865); +exports.speech_v1 = v1_92.speech_v1; +var v1p1beta1_2 = __nccwpck_require__(45880); +exports.speech_v1p1beta1 = v1p1beta1_2.speech_v1p1beta1; +var v2beta1_5 = __nccwpck_require__(38857); +exports.speech_v2beta1 = v2beta1_5.speech_v2beta1; +var v1beta4_1 = __nccwpck_require__(37655); +exports.sql_v1beta4 = v1beta4_1.sql_v1beta4; +var v1_93 = __nccwpck_require__(10088); +exports.storage_v1 = v1_93.storage_v1; +var v1beta2_7 = __nccwpck_require__(7649); +exports.storage_v1beta2 = v1beta2_7.storage_v1beta2; +var v1_94 = __nccwpck_require__(65154); +exports.storagetransfer_v1 = v1_94.storagetransfer_v1; +var v1_95 = __nccwpck_require__(23262); +exports.streetviewpublish_v1 = v1_95.streetviewpublish_v1; +var v1_96 = __nccwpck_require__(39612); +exports.tagmanager_v1 = v1_96.tagmanager_v1; +var v2_23 = __nccwpck_require__(27835); +exports.tagmanager_v2 = v2_23.tagmanager_v2; +var v1_97 = __nccwpck_require__(45809); +exports.tasks_v1 = v1_97.tasks_v1; +var v1_98 = __nccwpck_require__(30906); +exports.testing_v1 = v1_98.testing_v1; +var v1_99 = __nccwpck_require__(92584); +exports.texttospeech_v1 = v1_99.texttospeech_v1; +var v1beta1_37 = __nccwpck_require__(83822); +exports.texttospeech_v1beta1 = v1beta1_37.texttospeech_v1beta1; +var v1_100 = __nccwpck_require__(35539); +exports.toolresults_v1 = v1_100.toolresults_v1; +var v1beta3_2 = __nccwpck_require__(14025); +exports.toolresults_v1beta3 = v1beta3_2.toolresults_v1beta3; +var v1_101 = __nccwpck_require__(59537); +exports.tpu_v1 = v1_101.tpu_v1; +var v1alpha1_10 = __nccwpck_require__(78767); +exports.tpu_v1alpha1 = v1alpha1_10.tpu_v1alpha1; +var v2_24 = __nccwpck_require__(80994); +exports.translate_v2 = v2_24.translate_v2; +var v3beta1_1 = __nccwpck_require__(27445); +exports.translate_v3beta1 = v3beta1_1.translate_v3beta1; +var v1_102 = __nccwpck_require__(91477); +exports.vault_v1 = v1_102.vault_v1; +var v1_103 = __nccwpck_require__(67182); +exports.verifiedaccess_v1 = v1_103.verifiedaccess_v1; +var v1_104 = __nccwpck_require__(97367); +exports.videointelligence_v1 = v1_104.videointelligence_v1; +var v1beta2_8 = __nccwpck_require__(29793); +exports.videointelligence_v1beta2 = v1beta2_8.videointelligence_v1beta2; +var v1p1beta1_3 = __nccwpck_require__(77651); +exports.videointelligence_v1p1beta1 = v1p1beta1_3.videointelligence_v1p1beta1; +var v1p2beta1_1 = __nccwpck_require__(54284); +exports.videointelligence_v1p2beta1 = v1p2beta1_1.videointelligence_v1p2beta1; +var v1p3beta1_1 = __nccwpck_require__(81917); +exports.videointelligence_v1p3beta1 = v1p3beta1_1.videointelligence_v1p3beta1; +var v1_105 = __nccwpck_require__(71004); +exports.vision_v1 = v1_105.vision_v1; +var v1p1beta1_4 = __nccwpck_require__(38136); +exports.vision_v1p1beta1 = v1p1beta1_4.vision_v1p1beta1; +var v1p2beta1_2 = __nccwpck_require__(34268); +exports.vision_v1p2beta1 = v1p2beta1_2.vision_v1p2beta1; +var v1_106 = __nccwpck_require__(10796); +exports.webfonts_v1 = v1_106.webfonts_v1; +var v3_10 = __nccwpck_require__(1972); +exports.webmasters_v3 = v3_10.webmasters_v3; +var v1_107 = __nccwpck_require__(72412); +exports.websecurityscanner_v1 = v1_107.websecurityscanner_v1; +var v1alpha_4 = __nccwpck_require__(66447); +exports.websecurityscanner_v1alpha = v1alpha_4.websecurityscanner_v1alpha; +var v1beta_6 = __nccwpck_require__(44298); +exports.websecurityscanner_v1beta = v1beta_6.websecurityscanner_v1beta; +var v3_11 = __nccwpck_require__(45084); +exports.youtube_v3 = v3_11.youtube_v3; +var v1_108 = __nccwpck_require__(86348); +exports.youtubeAnalytics_v1 = v1_108.youtubeAnalytics_v1; +var v2_25 = __nccwpck_require__(7604); +exports.youtubeAnalytics_v2 = v2_25.youtubeAnalytics_v2; +var v1_109 = __nccwpck_require__(45787); +exports.youtubereporting_v1 = v1_109.youtubereporting_v1; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 76031: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +/** + * Copyright 2018 Google LLC + * + * Distributed under MIT license. + * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT + */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +const fs = __nccwpck_require__(57147); +const gaxios_1 = __nccwpck_require__(59555); +const jws = __nccwpck_require__(4636); +const mime = __nccwpck_require__(29994); +const util_1 = __nccwpck_require__(73837); +const readFile = fs.readFile + ? util_1.promisify(fs.readFile) + : async () => { + // if running in the web-browser, fs.readFile may not have been shimmed. + throw new ErrorWithCode('use key rather than keyFile.', 'MISSING_CREDENTIALS'); + }; +const GOOGLE_TOKEN_URL = 'https://www.googleapis.com/oauth2/v4/token'; +const GOOGLE_REVOKE_TOKEN_URL = 'https://accounts.google.com/o/oauth2/revoke?token='; +class ErrorWithCode extends Error { + constructor(message, code) { + super(message); + this.code = code; + } +} +let getPem; +class GoogleToken { + /** + * Create a GoogleToken. + * + * @param options Configuration object. + */ + constructor(options) { + this.configure(options); + } + get accessToken() { + return this.rawToken ? this.rawToken.access_token : undefined; + } + get idToken() { + return this.rawToken ? this.rawToken.id_token : undefined; + } + get tokenType() { + return this.rawToken ? this.rawToken.token_type : undefined; + } + get refreshToken() { + return this.rawToken ? this.rawToken.refresh_token : undefined; + } + /** + * Returns whether the token has expired. + * + * @return true if the token has expired, false otherwise. + */ + hasExpired() { + const now = new Date().getTime(); + if (this.rawToken && this.expiresAt) { + return now >= this.expiresAt; + } + else { + return true; + } + } + getToken(callback, opts = {}) { + if (typeof callback === 'object') { + opts = callback; + callback = undefined; + } + opts = Object.assign({ + forceRefresh: false, + }, opts); + if (callback) { + const cb = callback; + this.getTokenAsync(opts).then(t => cb(null, t), callback); + return; + } + return this.getTokenAsync(opts); + } + /** + * Given a keyFile, extract the key and client email if available + * @param keyFile Path to a json, pem, or p12 file that contains the key. + * @returns an object with privateKey and clientEmail properties + */ + async getCredentials(keyFile) { + const mimeType = mime.getType(keyFile); + switch (mimeType) { + case 'application/json': { + // *.json file + const key = await readFile(keyFile, 'utf8'); + const body = JSON.parse(key); + const privateKey = body.private_key; + const clientEmail = body.client_email; + if (!privateKey || !clientEmail) { + throw new ErrorWithCode('private_key and client_email are required.', 'MISSING_CREDENTIALS'); + } + return { privateKey, clientEmail }; + } + case 'application/x-x509-ca-cert': { + // *.pem file + const privateKey = await readFile(keyFile, 'utf8'); + return { privateKey }; + } + case 'application/x-pkcs12': { + // *.p12 file + // NOTE: The loading of `google-p12-pem` is deferred for performance + // reasons. The `node-forge` npm module in `google-p12-pem` adds a fair + // bit time to overall module loading, and is likely not frequently + // used. In a future release, p12 support will be entirely removed. + if (!getPem) { + getPem = (await Promise.resolve().then(() => __nccwpck_require__(92098))).getPem; + } + const privateKey = await getPem(keyFile); + return { privateKey }; + } + default: + throw new ErrorWithCode('Unknown certificate type. Type is determined based on file extension. ' + + 'Current supported extensions are *.json, *.pem, and *.p12.', 'UNKNOWN_CERTIFICATE_TYPE'); + } + } + async getTokenAsync(opts) { + if (this.hasExpired() === false && opts.forceRefresh === false) { + return Promise.resolve(this.rawToken); + } + if (!this.key && !this.keyFile) { + throw new Error('No key or keyFile set.'); + } + if (!this.key && this.keyFile) { + const creds = await this.getCredentials(this.keyFile); + this.key = creds.privateKey; + this.iss = creds.clientEmail || this.iss; + if (!creds.clientEmail) { + this.ensureEmail(); + } + } + return this.requestToken(); + } + ensureEmail() { + if (!this.iss) { + throw new ErrorWithCode('email is required.', 'MISSING_CREDENTIALS'); + } + } + revokeToken(callback) { + if (callback) { + this.revokeTokenAsync().then(() => callback(), callback); + return; + } + return this.revokeTokenAsync(); + } + async revokeTokenAsync() { + if (!this.accessToken) { + throw new Error('No token to revoke.'); + } + const url = GOOGLE_REVOKE_TOKEN_URL + this.accessToken; + await gaxios_1.request({ url }); + this.configure({ + email: this.iss, + sub: this.sub, + key: this.key, + keyFile: this.keyFile, + scope: this.scope, + additionalClaims: this.additionalClaims, + }); + } + /** + * Configure the GoogleToken for re-use. + * @param {object} options Configuration object. + */ + configure(options = {}) { + this.keyFile = options.keyFile; + this.key = options.key; + this.rawToken = undefined; + this.iss = options.email || options.iss; + this.sub = options.sub; + this.additionalClaims = options.additionalClaims; + if (typeof options.scope === 'object') { + this.scope = options.scope.join(' '); + } + else { + this.scope = options.scope; + } + } + /** + * Request the token from Google. + */ + async requestToken() { + const iat = Math.floor(new Date().getTime() / 1000); + const additionalClaims = this.additionalClaims || {}; + const payload = Object.assign({ + iss: this.iss, + scope: this.scope, + aud: GOOGLE_TOKEN_URL, + exp: iat + 3600, + iat, + sub: this.sub, + }, additionalClaims); + const signedJWT = jws.sign({ + header: { alg: 'RS256' }, + payload, + secret: this.key, + }); + try { + const r = await gaxios_1.request({ + method: 'POST', + url: GOOGLE_TOKEN_URL, + data: { + grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer', + assertion: signedJWT, + }, + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, + responseType: 'json', + }); + this.rawToken = r.data; + this.expiresAt = + r.data.expires_in === null || r.data.expires_in === undefined + ? undefined + : (iat + r.data.expires_in) * 1000; + return this.rawToken; + } + catch (e) { + this.rawToken = undefined; + this.tokenExpires = undefined; + const body = e.response && e.response.data ? e.response.data : {}; + if (body.error) { + const desc = body.error_description + ? `: ${body.error_description}` + : ''; + e.message = `${body.error}${desc}`; + } + throw e; + } + } +} +exports.GoogleToken = GoogleToken; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 31621: +/***/ ((module) => { + +"use strict"; + +module.exports = (flag, argv) => { + argv = argv || process.argv; + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const pos = argv.indexOf(prefix + flag); + const terminatorPos = argv.indexOf('--'); + return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); +}; + + +/***/ }), + +/***/ 40587: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = __nccwpck_require__(57747); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + + +/***/ }), + +/***/ 57747: +/***/ ((module) => { + +"use strict"; + + +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; + + +/***/ }), + +/***/ 76339: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var bind = __nccwpck_require__(88334); + +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + + +/***/ }), + +/***/ 15098: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const net_1 = __importDefault(__nccwpck_require__(41808)); +const tls_1 = __importDefault(__nccwpck_require__(24404)); +const url_1 = __importDefault(__nccwpck_require__(57310)); +const assert_1 = __importDefault(__nccwpck_require__(39491)); +const debug_1 = __importDefault(__nccwpck_require__(38237)); +const agent_base_1 = __nccwpck_require__(49690); +const parse_proxy_response_1 = __importDefault(__nccwpck_require__(595)); +const debug = debug_1.default('https-proxy-agent:agent'); +/** + * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to + * the specified "HTTP(s) proxy server" in order to proxy HTTPS requests. + * + * Outgoing HTTP requests are first tunneled through the proxy server using the + * `CONNECT` HTTP request method to establish a connection to the proxy server, + * and then the proxy server connects to the destination target and issues the + * HTTP request from the proxy server. + * + * `https:` requests have their socket connection upgraded to TLS once + * the connection to the proxy server has been established. + * + * @api public + */ +class HttpsProxyAgent extends agent_base_1.Agent { + constructor(_opts) { + let opts; + if (typeof _opts === 'string') { + opts = url_1.default.parse(_opts); + } + else { + opts = _opts; + } + if (!opts) { + throw new Error('an HTTP(S) proxy server `host` and `port` must be specified!'); + } + debug('creating new HttpsProxyAgent instance: %o', opts); + super(opts); + const proxy = Object.assign({}, opts); + // If `true`, then connect to the proxy server over TLS. + // Defaults to `false`. + this.secureProxy = opts.secureProxy || isHTTPS(proxy.protocol); + // Prefer `hostname` over `host`, and set the `port` if needed. + proxy.host = proxy.hostname || proxy.host; + if (typeof proxy.port === 'string') { + proxy.port = parseInt(proxy.port, 10); + } + if (!proxy.port && proxy.host) { + proxy.port = this.secureProxy ? 443 : 80; + } + // ALPN is supported by Node.js >= v5. + // attempt to negotiate http/1.1 for proxy servers that support http/2 + if (this.secureProxy && !('ALPNProtocols' in proxy)) { + proxy.ALPNProtocols = ['http 1.1']; + } + if (proxy.host && proxy.path) { + // If both a `host` and `path` are specified then it's most likely + // the result of a `url.parse()` call... we need to remove the + // `path` portion so that `net.connect()` doesn't attempt to open + // that as a Unix socket file. + delete proxy.path; + delete proxy.pathname; + } + this.proxy = proxy; + } + /** + * Called when the node-core HTTP client library is creating a + * new HTTP request. + * + * @api protected + */ + callback(req, opts) { + return __awaiter(this, void 0, void 0, function* () { + const { proxy, secureProxy } = this; + // Create a socket connection to the proxy server. + let socket; + if (secureProxy) { + debug('Creating `tls.Socket`: %o', proxy); + socket = tls_1.default.connect(proxy); + } + else { + debug('Creating `net.Socket`: %o', proxy); + socket = net_1.default.connect(proxy); + } + const headers = Object.assign({}, proxy.headers); + const hostname = `${opts.host}:${opts.port}`; + let payload = `CONNECT ${hostname} HTTP/1.1\r\n`; + // Inject the `Proxy-Authorization` header if necessary. + if (proxy.auth) { + headers['Proxy-Authorization'] = `Basic ${Buffer.from(proxy.auth).toString('base64')}`; + } + // The `Host` header should only include the port + // number when it is not the default port. + let { host, port, secureEndpoint } = opts; + if (!isDefaultPort(port, secureEndpoint)) { + host += `:${port}`; + } + headers.Host = host; + headers.Connection = 'close'; + for (const name of Object.keys(headers)) { + payload += `${name}: ${headers[name]}\r\n`; + } + const proxyResponsePromise = parse_proxy_response_1.default(socket); + socket.write(`${payload}\r\n`); + const { statusCode, buffered } = yield proxyResponsePromise; + if (statusCode === 200) { + req.once('socket', resume); + if (opts.secureEndpoint) { + const servername = opts.servername || opts.host; + if (!servername) { + throw new Error('Could not determine "servername"'); + } + // The proxy is connecting to a TLS server, so upgrade + // this socket connection to a TLS connection. + debug('Upgrading socket connection to TLS'); + return tls_1.default.connect(Object.assign(Object.assign({}, omit(opts, 'host', 'hostname', 'path', 'port')), { socket, + servername })); + } + return socket; + } + // Some other status code that's not 200... need to re-play the HTTP + // header "data" events onto the socket once the HTTP machinery is + // attached so that the node core `http` can parse and handle the + // error status code. + // Close the original socket, and a new "fake" socket is returned + // instead, so that the proxy doesn't get the HTTP request + // written to it (which may contain `Authorization` headers or other + // sensitive data). + // + // See: https://hackerone.com/reports/541502 + socket.destroy(); + const fakeSocket = new net_1.default.Socket(); + fakeSocket.readable = true; + // Need to wait for the "socket" event to re-play the "data" events. + req.once('socket', (s) => { + debug('replaying proxy buffer for failed request'); + assert_1.default(s.listenerCount('data') > 0); + // Replay the "buffered" Buffer onto the fake `socket`, since at + // this point the HTTP module machinery has been hooked up for + // the user. + s.push(buffered); + s.push(null); + }); + return fakeSocket; + }); + } +} +exports["default"] = HttpsProxyAgent; +function resume(socket) { + socket.resume(); +} +function isDefaultPort(port, secure) { + return Boolean((!secure && port === 80) || (secure && port === 443)); +} +function isHTTPS(protocol) { + return typeof protocol === 'string' ? /^https:?$/i.test(protocol) : false; +} +function omit(obj, ...keys) { + const ret = {}; + let key; + for (key in obj) { + if (!keys.includes(key)) { + ret[key] = obj[key]; + } + } + return ret; +} +//# sourceMappingURL=agent.js.map + +/***/ }), + +/***/ 77219: +/***/ (function(module, __unused_webpack_exports, __nccwpck_require__) { + +"use strict"; + +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +const agent_1 = __importDefault(__nccwpck_require__(15098)); +function createHttpsProxyAgent(opts) { + return new agent_1.default(opts); +} +(function (createHttpsProxyAgent) { + createHttpsProxyAgent.HttpsProxyAgent = agent_1.default; + createHttpsProxyAgent.prototype = agent_1.default.prototype; +})(createHttpsProxyAgent || (createHttpsProxyAgent = {})); +module.exports = createHttpsProxyAgent; +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 595: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const debug_1 = __importDefault(__nccwpck_require__(38237)); +const debug = debug_1.default('https-proxy-agent:parse-proxy-response'); +function parseProxyResponse(socket) { + return new Promise((resolve, reject) => { + // we need to buffer any HTTP traffic that happens with the proxy before we get + // the CONNECT response, so that if the response is anything other than an "200" + // response code, then we can re-play the "data" events on the socket once the + // HTTP parser is hooked up... + let buffersLength = 0; + const buffers = []; + function read() { + const b = socket.read(); + if (b) + ondata(b); + else + socket.once('readable', read); + } + function cleanup() { + socket.removeListener('end', onend); + socket.removeListener('error', onerror); + socket.removeListener('close', onclose); + socket.removeListener('readable', read); + } + function onclose(err) { + debug('onclose had error %o', err); + } + function onend() { + debug('onend'); + } + function onerror(err) { + cleanup(); + debug('onerror %o', err); + reject(err); + } + function ondata(b) { + buffers.push(b); + buffersLength += b.length; + const buffered = Buffer.concat(buffers, buffersLength); + const endOfHeaders = buffered.indexOf('\r\n\r\n'); + if (endOfHeaders === -1) { + // keep buffering + debug('have not received end of HTTP headers yet...'); + read(); + return; + } + const firstLine = buffered.toString('ascii', 0, buffered.indexOf('\r\n')); + const statusCode = +firstLine.split(' ')[1]; + debug('got proxy server response: %o', firstLine); + resolve({ + statusCode, + buffered + }); + } + socket.on('error', onerror); + socket.on('close', onclose); + socket.on('end', onend); + read(); + }); +} +exports["default"] = parseProxyResponse; +//# sourceMappingURL=parse-proxy-response.js.map + +/***/ }), + +/***/ 70134: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const normalizeUrl = __nccwpck_require__(17952); + +module.exports = url => { + if (typeof url !== 'string') { + throw new TypeError('Expected a string'); + } + + return normalizeUrl(url, {stripProtocol: true}); +}; + + +/***/ }), + +/***/ 51389: +/***/ ((module) => { + +"use strict"; + + +module.exports = value => { + const type = typeof value; + return value !== null && (type === 'object' || type === 'function'); +}; + + +/***/ }), + +/***/ 41554: +/***/ ((module) => { + +"use strict"; + + +const isStream = stream => + stream !== null && + typeof stream === 'object' && + typeof stream.pipe === 'function'; + +isStream.writable = stream => + isStream(stream) && + stream.writable !== false && + typeof stream._write === 'function' && + typeof stream._writableState === 'object'; + +isStream.readable = stream => + isStream(stream) && + stream.readable !== false && + typeof stream._read === 'function' && + typeof stream._readableState === 'object'; + +isStream.duplex = stream => + isStream.writable(stream) && + isStream.readable(stream); + +isStream.transform = stream => + isStream.duplex(stream) && + typeof stream._transform === 'function'; + +module.exports = isStream; + + +/***/ }), + +/***/ 55031: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var json_stringify = (__nccwpck_require__(78574).stringify); +var json_parse = __nccwpck_require__(89099); + +module.exports = function(options) { + return { + parse: json_parse(options), + stringify: json_stringify + } +}; +//create the default method members with no options applied for backwards compatibility +module.exports.parse = json_parse(); +module.exports.stringify = json_stringify; + + +/***/ }), + +/***/ 89099: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var BigNumber = null; +/* + json_parse.js + 2012-06-20 + + Public Domain. + + NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. + + This file creates a json_parse function. + During create you can (optionally) specify some behavioural switches + + require('json-bigint')(options) + + The optional options parameter holds switches that drive certain + aspects of the parsing process: + * options.strict = true will warn about duplicate-key usage in the json. + The default (strict = false) will silently ignore those and overwrite + values for keys that are in duplicate use. + + The resulting function follows this signature: + json_parse(text, reviver) + This method parses a JSON text to produce an object or array. + It can throw a SyntaxError exception. + + The optional reviver parameter is a function that can filter and + transform the results. It receives each of the keys and values, + and its return value is used instead of the original value. + If it returns what it received, then the structure is not modified. + If it returns undefined then the member is deleted. + + Example: + + // Parse the text. Values that look like ISO date strings will + // be converted to Date objects. + + myData = json_parse(text, function (key, value) { + var a; + if (typeof value === 'string') { + a = +/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); + if (a) { + return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], + +a[5], +a[6])); + } + } + return value; + }); + + This is a reference implementation. You are free to copy, modify, or + redistribute. + + This code should be minified before deployment. + See http://javascript.crockford.com/jsmin.html + + USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO + NOT CONTROL. +*/ + +/*members "", "\"", "\/", "\\", at, b, call, charAt, f, fromCharCode, + hasOwnProperty, message, n, name, prototype, push, r, t, text +*/ + +var json_parse = function (options) { + "use strict"; + +// This is a function that can parse a JSON text, producing a JavaScript +// data structure. It is a simple, recursive descent parser. It does not use +// eval or regular expressions, so it can be used as a model for implementing +// a JSON parser in other languages. + +// We are defining the function inside of another function to avoid creating +// global variables. + + +// Default options one can override by passing options to the parse() + var _options = { + "strict": false, // not being strict means do not generate syntax errors for "duplicate key" + "storeAsString": false // toggles whether the values should be stored as BigNumber (default) or a string + }; + + +// If there are options, then use them to override the default _options + if (options !== undefined && options !== null) { + if (options.strict === true) { + _options.strict = true; + } + if (options.storeAsString === true) { + _options.storeAsString = true; + } + } + + + var at, // The index of the current character + ch, // The current character + escapee = { + '"': '"', + '\\': '\\', + '/': '/', + b: '\b', + f: '\f', + n: '\n', + r: '\r', + t: '\t' + }, + text, + + error = function (m) { + +// Call error when something is wrong. + + throw { + name: 'SyntaxError', + message: m, + at: at, + text: text + }; + }, + + next = function (c) { + +// If a c parameter is provided, verify that it matches the current character. + + if (c && c !== ch) { + error("Expected '" + c + "' instead of '" + ch + "'"); + } + +// Get the next character. When there are no more characters, +// return the empty string. + + ch = text.charAt(at); + at += 1; + return ch; + }, + + number = function () { +// Parse a number value. + + var number, + string = ''; + + if (ch === '-') { + string = '-'; + next('-'); + } + while (ch >= '0' && ch <= '9') { + string += ch; + next(); + } + if (ch === '.') { + string += '.'; + while (next() && ch >= '0' && ch <= '9') { + string += ch; + } + } + if (ch === 'e' || ch === 'E') { + string += ch; + next(); + if (ch === '-' || ch === '+') { + string += ch; + next(); + } + while (ch >= '0' && ch <= '9') { + string += ch; + next(); + } + } + number = +string; + if (!isFinite(number)) { + error("Bad number"); + } else { + if (BigNumber == null) + BigNumber = __nccwpck_require__(87558); + //if (number > 9007199254740992 || number < -9007199254740992) + // Bignumber has stricter check: everything with length > 15 digits disallowed + if (string.length > 15) + return (_options.storeAsString === true) ? string : new BigNumber(string); + return number; + } + }, + + string = function () { + +// Parse a string value. + + var hex, + i, + string = '', + uffff; + +// When parsing for string values, we must look for " and \ characters. + + if (ch === '"') { + while (next()) { + if (ch === '"') { + next(); + return string; + } + if (ch === '\\') { + next(); + if (ch === 'u') { + uffff = 0; + for (i = 0; i < 4; i += 1) { + hex = parseInt(next(), 16); + if (!isFinite(hex)) { + break; + } + uffff = uffff * 16 + hex; + } + string += String.fromCharCode(uffff); + } else if (typeof escapee[ch] === 'string') { + string += escapee[ch]; + } else { + break; + } + } else { + string += ch; + } + } + } + error("Bad string"); + }, + + white = function () { + +// Skip whitespace. + + while (ch && ch <= ' ') { + next(); + } + }, + + word = function () { + +// true, false, or null. + + switch (ch) { + case 't': + next('t'); + next('r'); + next('u'); + next('e'); + return true; + case 'f': + next('f'); + next('a'); + next('l'); + next('s'); + next('e'); + return false; + case 'n': + next('n'); + next('u'); + next('l'); + next('l'); + return null; + } + error("Unexpected '" + ch + "'"); + }, + + value, // Place holder for the value function. + + array = function () { + +// Parse an array value. + + var array = []; + + if (ch === '[') { + next('['); + white(); + if (ch === ']') { + next(']'); + return array; // empty array + } + while (ch) { + array.push(value()); + white(); + if (ch === ']') { + next(']'); + return array; + } + next(','); + white(); + } + } + error("Bad array"); + }, + + object = function () { + +// Parse an object value. + + var key, + object = {}; + + if (ch === '{') { + next('{'); + white(); + if (ch === '}') { + next('}'); + return object; // empty object + } + while (ch) { + key = string(); + white(); + next(':'); + if (_options.strict === true && Object.hasOwnProperty.call(object, key)) { + error('Duplicate key "' + key + '"'); + } + object[key] = value(); + white(); + if (ch === '}') { + next('}'); + return object; + } + next(','); + white(); + } + } + error("Bad object"); + }; + + value = function () { + +// Parse a JSON value. It could be an object, an array, a string, a number, +// or a word. + + white(); + switch (ch) { + case '{': + return object(); + case '[': + return array(); + case '"': + return string(); + case '-': + return number(); + default: + return ch >= '0' && ch <= '9' ? number() : word(); + } + }; + +// Return the json_parse function. It will have access to all of the above +// functions and variables. + + return function (source, reviver) { + var result; + + text = source + ''; + at = 0; + ch = ' '; + result = value(); + white(); + if (ch) { + error("Syntax error"); + } + +// If there is a reviver function, we recursively walk the new structure, +// passing each name/value pair to the reviver function for possible +// transformation, starting with a temporary root object that holds the result +// in an empty key. If there is not a reviver function, we simply return the +// result. + + return typeof reviver === 'function' + ? (function walk(holder, key) { + var k, v, value = holder[key]; + if (value && typeof value === 'object') { + Object.keys(value).forEach(function(k) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } + }); + } + return reviver.call(holder, key, value); + }({'': result}, '')) + : result; + }; +} + +module.exports = json_parse; + + +/***/ }), + +/***/ 78574: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var BigNumber = __nccwpck_require__(87558); + +/* + json2.js + 2013-05-26 + + Public Domain. + + NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. + + See http://www.JSON.org/js.html + + + This code should be minified before deployment. + See http://javascript.crockford.com/jsmin.html + + USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO + NOT CONTROL. + + + This file creates a global JSON object containing two methods: stringify + and parse. + + JSON.stringify(value, replacer, space) + value any JavaScript value, usually an object or array. + + replacer an optional parameter that determines how object + values are stringified for objects. It can be a + function or an array of strings. + + space an optional parameter that specifies the indentation + of nested structures. If it is omitted, the text will + be packed without extra whitespace. If it is a number, + it will specify the number of spaces to indent at each + level. If it is a string (such as '\t' or ' '), + it contains the characters used to indent at each level. + + This method produces a JSON text from a JavaScript value. + + When an object value is found, if the object contains a toJSON + method, its toJSON method will be called and the result will be + stringified. A toJSON method does not serialize: it returns the + value represented by the name/value pair that should be serialized, + or undefined if nothing should be serialized. The toJSON method + will be passed the key associated with the value, and this will be + bound to the value + + For example, this would serialize Dates as ISO strings. + + Date.prototype.toJSON = function (key) { + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + return this.getUTCFullYear() + '-' + + f(this.getUTCMonth() + 1) + '-' + + f(this.getUTCDate()) + 'T' + + f(this.getUTCHours()) + ':' + + f(this.getUTCMinutes()) + ':' + + f(this.getUTCSeconds()) + 'Z'; + }; + + You can provide an optional replacer method. It will be passed the + key and value of each member, with this bound to the containing + object. The value that is returned from your method will be + serialized. If your method returns undefined, then the member will + be excluded from the serialization. + + If the replacer parameter is an array of strings, then it will be + used to select the members to be serialized. It filters the results + such that only members with keys listed in the replacer array are + stringified. + + Values that do not have JSON representations, such as undefined or + functions, will not be serialized. Such values in objects will be + dropped; in arrays they will be replaced with null. You can use + a replacer function to replace those with JSON values. + JSON.stringify(undefined) returns undefined. + + The optional space parameter produces a stringification of the + value that is filled with line breaks and indentation to make it + easier to read. + + If the space parameter is a non-empty string, then that string will + be used for indentation. If the space parameter is a number, then + the indentation will be that many spaces. + + Example: + + text = JSON.stringify(['e', {pluribus: 'unum'}]); + // text is '["e",{"pluribus":"unum"}]' + + + text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t'); + // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' + + text = JSON.stringify([new Date()], function (key, value) { + return this[key] instanceof Date ? + 'Date(' + this[key] + ')' : value; + }); + // text is '["Date(---current time---)"]' + + + JSON.parse(text, reviver) + This method parses a JSON text to produce an object or array. + It can throw a SyntaxError exception. + + The optional reviver parameter is a function that can filter and + transform the results. It receives each of the keys and values, + and its return value is used instead of the original value. + If it returns what it received, then the structure is not modified. + If it returns undefined then the member is deleted. + + Example: + + // Parse the text. Values that look like ISO date strings will + // be converted to Date objects. + + myData = JSON.parse(text, function (key, value) { + var a; + if (typeof value === 'string') { + a = +/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); + if (a) { + return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], + +a[5], +a[6])); + } + } + return value; + }); + + myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { + var d; + if (typeof value === 'string' && + value.slice(0, 5) === 'Date(' && + value.slice(-1) === ')') { + d = new Date(value.slice(5, -1)); + if (d) { + return d; + } + } + return value; + }); + + + This is a reference implementation. You are free to copy, modify, or + redistribute. +*/ + +/*jslint evil: true, regexp: true */ + +/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply, + call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, + getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, + lastIndex, length, parse, prototype, push, replace, slice, stringify, + test, toJSON, toString, valueOf +*/ + + +// Create a JSON object only if one does not already exist. We create the +// methods in a closure to avoid creating global variables. + +var JSON = module.exports; + +(function () { + 'use strict'; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + gap, + indent, + meta = { // table of character substitutions + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '"' : '\\"', + '\\': '\\\\' + }, + rep; + + + function quote(string) { + +// If the string contains no control characters, no quote characters, and no +// backslash characters, then we can safely slap some quotes around it. +// Otherwise we must also replace the offending characters with safe escape +// sequences. + + escapable.lastIndex = 0; + return escapable.test(string) ? '"' + string.replace(escapable, function (a) { + var c = meta[a]; + return typeof c === 'string' + ? c + : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) + '"' : '"' + string + '"'; + } + + + function str(key, holder) { + +// Produce a string from holder[key]. + + var i, // The loop counter. + k, // The member key. + v, // The member value. + length, + mind = gap, + partial, + value = holder[key], + isBigNumber = value != null && (value instanceof BigNumber || BigNumber.isBigNumber(value)); + +// If the value has a toJSON method, call it to obtain a replacement value. + + if (value && typeof value === 'object' && + typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + +// If we were called with a replacer function, then call the replacer to +// obtain a replacement value. + + if (typeof rep === 'function') { + value = rep.call(holder, key, value); + } + +// What happens next depends on the value's type. + + switch (typeof value) { + case 'string': + if (isBigNumber) { + return value; + } else { + return quote(value); + } + + case 'number': + +// JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) ? String(value) : 'null'; + + case 'boolean': + case 'null': + +// If the value is a boolean or null, convert it to a string. Note: +// typeof null does not produce 'null'. The case is included here in +// the remote chance that this gets fixed someday. + + return String(value); + +// If the type is 'object', we might be dealing with an object or an array or +// null. + + case 'object': + +// Due to a specification blunder in ECMAScript, typeof null is 'object', +// so watch out for that case. + + if (!value) { + return 'null'; + } + +// Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + +// Is the value an array? + + if (Object.prototype.toString.apply(value) === '[object Array]') { + +// The value is an array. Stringify every element. Use null as a placeholder +// for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || 'null'; + } + +// Join all of the elements together, separated with commas, and wrap them in +// brackets. + + v = partial.length === 0 + ? '[]' + : gap + ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' + : '[' + partial.join(',') + ']'; + gap = mind; + return v; + } + +// If the replacer is an array, use it to select the members to be stringified. + + if (rep && typeof rep === 'object') { + length = rep.length; + for (i = 0; i < length; i += 1) { + if (typeof rep[i] === 'string') { + k = rep[i]; + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } else { + +// Otherwise, iterate through all of the keys in the object. + + Object.keys(value).forEach(function(k) { + var v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + }); + } + +// Join all of the member texts together, separated with commas, +// and wrap them in braces. + + v = partial.length === 0 + ? '{}' + : gap + ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' + : '{' + partial.join(',') + '}'; + gap = mind; + return v; + } + } + +// If the JSON object does not yet have a stringify method, give it one. + + if (typeof JSON.stringify !== 'function') { + JSON.stringify = function (value, replacer, space) { + +// The stringify method takes a value and an optional replacer, and an optional +// space parameter, and returns a JSON text. The replacer can be a function +// that can replace values, or an array of strings that will select the keys. +// A default replacer method can be provided. Use of the space parameter can +// produce text that is more easily readable. + + var i; + gap = ''; + indent = ''; + +// If the space parameter is a number, make an indent string containing that +// many spaces. + + if (typeof space === 'number') { + for (i = 0; i < space; i += 1) { + indent += ' '; + } + +// If the space parameter is a string, it will be used as the indent string. + + } else if (typeof space === 'string') { + indent = space; + } + +// If there is a replacer, it must be a function or an array. +// Otherwise, throw an error. + + rep = replacer; + if (replacer && typeof replacer !== 'function' && + (typeof replacer !== 'object' || + typeof replacer.length !== 'number')) { + throw new Error('JSON.stringify'); + } + +// Make a fake root object containing our value under the key of ''. +// Return the result of stringifying the value. + + return str('', {'': value}); + }; + } +}()); + + +/***/ }), + +/***/ 96010: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var bufferEqual = __nccwpck_require__(9239); +var Buffer = (__nccwpck_require__(21867).Buffer); +var crypto = __nccwpck_require__(6113); +var formatEcdsa = __nccwpck_require__(11728); +var util = __nccwpck_require__(73837); + +var MSG_INVALID_ALGORITHM = '"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".' +var MSG_INVALID_SECRET = 'secret must be a string or buffer'; +var MSG_INVALID_VERIFIER_KEY = 'key must be a string or a buffer'; +var MSG_INVALID_SIGNER_KEY = 'key must be a string, a buffer or an object'; + +var supportsKeyObjects = typeof crypto.createPublicKey === 'function'; +if (supportsKeyObjects) { + MSG_INVALID_VERIFIER_KEY += ' or a KeyObject'; + MSG_INVALID_SECRET += 'or a KeyObject'; +} + +function checkIsPublicKey(key) { + if (Buffer.isBuffer(key)) { + return; + } + + if (typeof key === 'string') { + return; + } + + if (!supportsKeyObjects) { + throw typeError(MSG_INVALID_VERIFIER_KEY); + } + + if (typeof key !== 'object') { + throw typeError(MSG_INVALID_VERIFIER_KEY); + } + + if (typeof key.type !== 'string') { + throw typeError(MSG_INVALID_VERIFIER_KEY); + } + + if (typeof key.asymmetricKeyType !== 'string') { + throw typeError(MSG_INVALID_VERIFIER_KEY); + } + + if (typeof key.export !== 'function') { + throw typeError(MSG_INVALID_VERIFIER_KEY); + } +}; + +function checkIsPrivateKey(key) { + if (Buffer.isBuffer(key)) { + return; + } + + if (typeof key === 'string') { + return; + } + + if (typeof key === 'object') { + return; + } + + throw typeError(MSG_INVALID_SIGNER_KEY); +}; + +function checkIsSecretKey(key) { + if (Buffer.isBuffer(key)) { + return; + } + + if (typeof key === 'string') { + return key; + } + + if (!supportsKeyObjects) { + throw typeError(MSG_INVALID_SECRET); + } + + if (typeof key !== 'object') { + throw typeError(MSG_INVALID_SECRET); + } + + if (key.type !== 'secret') { + throw typeError(MSG_INVALID_SECRET); + } + + if (typeof key.export !== 'function') { + throw typeError(MSG_INVALID_SECRET); + } +} + +function fromBase64(base64) { + return base64 + .replace(/=/g, '') + .replace(/\+/g, '-') + .replace(/\//g, '_'); +} + +function toBase64(base64url) { + base64url = base64url.toString(); + + var padding = 4 - base64url.length % 4; + if (padding !== 4) { + for (var i = 0; i < padding; ++i) { + base64url += '='; + } + } + + return base64url + .replace(/\-/g, '+') + .replace(/_/g, '/'); +} + +function typeError(template) { + var args = [].slice.call(arguments, 1); + var errMsg = util.format.bind(util, template).apply(null, args); + return new TypeError(errMsg); +} + +function bufferOrString(obj) { + return Buffer.isBuffer(obj) || typeof obj === 'string'; +} + +function normalizeInput(thing) { + if (!bufferOrString(thing)) + thing = JSON.stringify(thing); + return thing; +} + +function createHmacSigner(bits) { + return function sign(thing, secret) { + checkIsSecretKey(secret); + thing = normalizeInput(thing); + var hmac = crypto.createHmac('sha' + bits, secret); + var sig = (hmac.update(thing), hmac.digest('base64')) + return fromBase64(sig); + } +} + +function createHmacVerifier(bits) { + return function verify(thing, signature, secret) { + var computedSig = createHmacSigner(bits)(thing, secret); + return bufferEqual(Buffer.from(signature), Buffer.from(computedSig)); + } +} + +function createKeySigner(bits) { + return function sign(thing, privateKey) { + checkIsPrivateKey(privateKey); + thing = normalizeInput(thing); + // Even though we are specifying "RSA" here, this works with ECDSA + // keys as well. + var signer = crypto.createSign('RSA-SHA' + bits); + var sig = (signer.update(thing), signer.sign(privateKey, 'base64')); + return fromBase64(sig); + } +} + +function createKeyVerifier(bits) { + return function verify(thing, signature, publicKey) { + checkIsPublicKey(publicKey); + thing = normalizeInput(thing); + signature = toBase64(signature); + var verifier = crypto.createVerify('RSA-SHA' + bits); + verifier.update(thing); + return verifier.verify(publicKey, signature, 'base64'); + } +} + +function createPSSKeySigner(bits) { + return function sign(thing, privateKey) { + checkIsPrivateKey(privateKey); + thing = normalizeInput(thing); + var signer = crypto.createSign('RSA-SHA' + bits); + var sig = (signer.update(thing), signer.sign({ + key: privateKey, + padding: crypto.constants.RSA_PKCS1_PSS_PADDING, + saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST + }, 'base64')); + return fromBase64(sig); + } +} + +function createPSSKeyVerifier(bits) { + return function verify(thing, signature, publicKey) { + checkIsPublicKey(publicKey); + thing = normalizeInput(thing); + signature = toBase64(signature); + var verifier = crypto.createVerify('RSA-SHA' + bits); + verifier.update(thing); + return verifier.verify({ + key: publicKey, + padding: crypto.constants.RSA_PKCS1_PSS_PADDING, + saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST + }, signature, 'base64'); + } +} + +function createECDSASigner(bits) { + var inner = createKeySigner(bits); + return function sign() { + var signature = inner.apply(null, arguments); + signature = formatEcdsa.derToJose(signature, 'ES' + bits); + return signature; + }; +} + +function createECDSAVerifer(bits) { + var inner = createKeyVerifier(bits); + return function verify(thing, signature, publicKey) { + signature = formatEcdsa.joseToDer(signature, 'ES' + bits).toString('base64'); + var result = inner(thing, signature, publicKey); + return result; + }; +} + +function createNoneSigner() { + return function sign() { + return ''; + } +} + +function createNoneVerifier() { + return function verify(thing, signature) { + return signature === ''; + } +} + +module.exports = function jwa(algorithm) { + var signerFactories = { + hs: createHmacSigner, + rs: createKeySigner, + ps: createPSSKeySigner, + es: createECDSASigner, + none: createNoneSigner, + } + var verifierFactories = { + hs: createHmacVerifier, + rs: createKeyVerifier, + ps: createPSSKeyVerifier, + es: createECDSAVerifer, + none: createNoneVerifier, + } + var match = algorithm.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/); + if (!match) + throw typeError(MSG_INVALID_ALGORITHM, algorithm); + var algo = (match[1] || match[3]).toLowerCase(); + var bits = match[2]; + + return { + sign: signerFactories[algo](bits), + verify: verifierFactories[algo](bits), + } +}; + + +/***/ }), + +/***/ 4636: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +/*global exports*/ +var SignStream = __nccwpck_require__(73334); +var VerifyStream = __nccwpck_require__(5522); + +var ALGORITHMS = [ + 'HS256', 'HS384', 'HS512', + 'RS256', 'RS384', 'RS512', + 'PS256', 'PS384', 'PS512', + 'ES256', 'ES384', 'ES512' +]; + +exports.ALGORITHMS = ALGORITHMS; +exports.sign = SignStream.sign; +exports.verify = VerifyStream.verify; +exports.decode = VerifyStream.decode; +exports.isValid = VerifyStream.isValid; +exports.createSign = function createSign(opts) { + return new SignStream(opts); +}; +exports.createVerify = function createVerify(opts) { + return new VerifyStream(opts); +}; + + +/***/ }), + +/***/ 61868: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/*global module, process*/ +var Buffer = (__nccwpck_require__(21867).Buffer); +var Stream = __nccwpck_require__(12781); +var util = __nccwpck_require__(73837); + +function DataStream(data) { + this.buffer = null; + this.writable = true; + this.readable = true; + + // No input + if (!data) { + this.buffer = Buffer.alloc(0); + return this; + } + + // Stream + if (typeof data.pipe === 'function') { + this.buffer = Buffer.alloc(0); + data.pipe(this); + return this; + } + + // Buffer or String + // or Object (assumedly a passworded key) + if (data.length || typeof data === 'object') { + this.buffer = data; + this.writable = false; + process.nextTick(function () { + this.emit('end', data); + this.readable = false; + this.emit('close'); + }.bind(this)); + return this; + } + + throw new TypeError('Unexpected data type ('+ typeof data + ')'); +} +util.inherits(DataStream, Stream); + +DataStream.prototype.write = function write(data) { + this.buffer = Buffer.concat([this.buffer, Buffer.from(data)]); + this.emit('data', data); +}; + +DataStream.prototype.end = function end(data) { + if (data) + this.write(data); + this.emit('end', data); + this.emit('close'); + this.writable = false; + this.readable = false; +}; + +module.exports = DataStream; + + +/***/ }), + +/***/ 73334: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/*global module*/ +var Buffer = (__nccwpck_require__(21867).Buffer); +var DataStream = __nccwpck_require__(61868); +var jwa = __nccwpck_require__(96010); +var Stream = __nccwpck_require__(12781); +var toString = __nccwpck_require__(65292); +var util = __nccwpck_require__(73837); + +function base64url(string, encoding) { + return Buffer + .from(string, encoding) + .toString('base64') + .replace(/=/g, '') + .replace(/\+/g, '-') + .replace(/\//g, '_'); +} + +function jwsSecuredInput(header, payload, encoding) { + encoding = encoding || 'utf8'; + var encodedHeader = base64url(toString(header), 'binary'); + var encodedPayload = base64url(toString(payload), encoding); + return util.format('%s.%s', encodedHeader, encodedPayload); +} + +function jwsSign(opts) { + var header = opts.header; + var payload = opts.payload; + var secretOrKey = opts.secret || opts.privateKey; + var encoding = opts.encoding; + var algo = jwa(header.alg); + var securedInput = jwsSecuredInput(header, payload, encoding); + var signature = algo.sign(securedInput, secretOrKey); + return util.format('%s.%s', securedInput, signature); +} + +function SignStream(opts) { + var secret = opts.secret||opts.privateKey||opts.key; + var secretStream = new DataStream(secret); + this.readable = true; + this.header = opts.header; + this.encoding = opts.encoding; + this.secret = this.privateKey = this.key = secretStream; + this.payload = new DataStream(opts.payload); + this.secret.once('close', function () { + if (!this.payload.writable && this.readable) + this.sign(); + }.bind(this)); + + this.payload.once('close', function () { + if (!this.secret.writable && this.readable) + this.sign(); + }.bind(this)); +} +util.inherits(SignStream, Stream); + +SignStream.prototype.sign = function sign() { + try { + var signature = jwsSign({ + header: this.header, + payload: this.payload.buffer, + secret: this.secret.buffer, + encoding: this.encoding + }); + this.emit('done', signature); + this.emit('data', signature); + this.emit('end'); + this.readable = false; + return signature; + } catch (e) { + this.readable = false; + this.emit('error', e); + this.emit('close'); + } +}; + +SignStream.sign = jwsSign; + +module.exports = SignStream; + + +/***/ }), + +/***/ 65292: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/*global module*/ +var Buffer = (__nccwpck_require__(14300).Buffer); + +module.exports = function toString(obj) { + if (typeof obj === 'string') + return obj; + if (typeof obj === 'number' || Buffer.isBuffer(obj)) + return obj.toString(); + return JSON.stringify(obj); +}; + + +/***/ }), + +/***/ 5522: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/*global module*/ +var Buffer = (__nccwpck_require__(21867).Buffer); +var DataStream = __nccwpck_require__(61868); +var jwa = __nccwpck_require__(96010); +var Stream = __nccwpck_require__(12781); +var toString = __nccwpck_require__(65292); +var util = __nccwpck_require__(73837); +var JWS_REGEX = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/; + +function isObject(thing) { + return Object.prototype.toString.call(thing) === '[object Object]'; +} + +function safeJsonParse(thing) { + if (isObject(thing)) + return thing; + try { return JSON.parse(thing); } + catch (e) { return undefined; } +} + +function headerFromJWS(jwsSig) { + var encodedHeader = jwsSig.split('.', 1)[0]; + return safeJsonParse(Buffer.from(encodedHeader, 'base64').toString('binary')); +} + +function securedInputFromJWS(jwsSig) { + return jwsSig.split('.', 2).join('.'); +} + +function signatureFromJWS(jwsSig) { + return jwsSig.split('.')[2]; +} + +function payloadFromJWS(jwsSig, encoding) { + encoding = encoding || 'utf8'; + var payload = jwsSig.split('.')[1]; + return Buffer.from(payload, 'base64').toString(encoding); +} + +function isValidJws(string) { + return JWS_REGEX.test(string) && !!headerFromJWS(string); +} + +function jwsVerify(jwsSig, algorithm, secretOrKey) { + if (!algorithm) { + var err = new Error("Missing algorithm parameter for jws.verify"); + err.code = "MISSING_ALGORITHM"; + throw err; + } + jwsSig = toString(jwsSig); + var signature = signatureFromJWS(jwsSig); + var securedInput = securedInputFromJWS(jwsSig); + var algo = jwa(algorithm); + return algo.verify(securedInput, signature, secretOrKey); +} + +function jwsDecode(jwsSig, opts) { + opts = opts || {}; + jwsSig = toString(jwsSig); + + if (!isValidJws(jwsSig)) + return null; + + var header = headerFromJWS(jwsSig); + + if (!header) + return null; + + var payload = payloadFromJWS(jwsSig); + if (header.typ === 'JWT' || opts.json) + payload = JSON.parse(payload, opts.encoding); + + return { + header: header, + payload: payload, + signature: signatureFromJWS(jwsSig) + }; +} + +function VerifyStream(opts) { + opts = opts || {}; + var secretOrKey = opts.secret||opts.publicKey||opts.key; + var secretStream = new DataStream(secretOrKey); + this.readable = true; + this.algorithm = opts.algorithm; + this.encoding = opts.encoding; + this.secret = this.publicKey = this.key = secretStream; + this.signature = new DataStream(opts.signature); + this.secret.once('close', function () { + if (!this.signature.writable && this.readable) + this.verify(); + }.bind(this)); + + this.signature.once('close', function () { + if (!this.secret.writable && this.readable) + this.verify(); + }.bind(this)); +} +util.inherits(VerifyStream, Stream); +VerifyStream.prototype.verify = function verify() { + try { + var valid = jwsVerify(this.signature.buffer, this.algorithm, this.key.buffer); + var obj = jwsDecode(this.signature.buffer, this.encoding); + this.emit('done', valid, obj); + this.emit('data', valid); + this.emit('end'); + this.readable = false; + return valid; + } catch (e) { + this.readable = false; + this.emit('error', e); + this.emit('close'); + } +}; + +VerifyStream.decode = jwsDecode; +VerifyStream.isValid = isValidJws; +VerifyStream.verify = jwsVerify; + +module.exports = VerifyStream; + + +/***/ }), + +/***/ 46038: +/***/ ((module) => { + +"use strict"; + + +/** + * @param typeMap [Object] Map of MIME type -> Array[extensions] + * @param ... + */ +function Mime() { + this._types = Object.create(null); + this._extensions = Object.create(null); + + for (let i = 0; i < arguments.length; i++) { + this.define(arguments[i]); + } + + this.define = this.define.bind(this); + this.getType = this.getType.bind(this); + this.getExtension = this.getExtension.bind(this); +} + +/** + * Define mimetype -> extension mappings. Each key is a mime-type that maps + * to an array of extensions associated with the type. The first extension is + * used as the default extension for the type. + * + * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']}); + * + * If a type declares an extension that has already been defined, an error will + * be thrown. To suppress this error and force the extension to be associated + * with the new type, pass `force`=true. Alternatively, you may prefix the + * extension with "*" to map the type to extension, without mapping the + * extension to the type. + * + * e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']}); + * + * + * @param map (Object) type definitions + * @param force (Boolean) if true, force overriding of existing definitions + */ +Mime.prototype.define = function(typeMap, force) { + for (let type in typeMap) { + let extensions = typeMap[type].map(function(t) { + return t.toLowerCase(); + }); + type = type.toLowerCase(); + + for (let i = 0; i < extensions.length; i++) { + const ext = extensions[i]; + + // '*' prefix = not the preferred type for this extension. So fixup the + // extension, and skip it. + if (ext[0] === '*') { + continue; + } + + if (!force && (ext in this._types)) { + throw new Error( + 'Attempt to change mapping for "' + ext + + '" extension from "' + this._types[ext] + '" to "' + type + + '". Pass `force=true` to allow this, otherwise remove "' + ext + + '" from the list of extensions for "' + type + '".' + ); + } + + this._types[ext] = type; + } + + // Use first extension as default + if (force || !this._extensions[type]) { + const ext = extensions[0]; + this._extensions[type] = (ext[0] !== '*') ? ext : ext.substr(1); + } + } +}; + +/** + * Lookup a mime type based on extension + */ +Mime.prototype.getType = function(path) { + path = String(path); + let last = path.replace(/^.*[/\\]/, '').toLowerCase(); + let ext = last.replace(/^.*\./, '').toLowerCase(); + + let hasPath = last.length < path.length; + let hasDot = ext.length < last.length - 1; + + return (hasDot || !hasPath) && this._types[ext] || null; +}; + +/** + * Return file extension associated with a mime type + */ +Mime.prototype.getExtension = function(type) { + type = /^\s*([^;\s]*)/.test(type) && RegExp.$1; + return type && this._extensions[type.toLowerCase()] || null; +}; + +module.exports = Mime; + + +/***/ }), + +/***/ 29994: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +let Mime = __nccwpck_require__(46038); +module.exports = new Mime(__nccwpck_require__(13114), __nccwpck_require__(38809)); + + +/***/ }), + +/***/ 38809: +/***/ ((module) => { + +module.exports = {"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}; + +/***/ }), + +/***/ 13114: +/***/ ((module) => { + +module.exports = {"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}; + +/***/ }), + +/***/ 80900: +/***/ ((module) => { + +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} + + +/***/ }), + +/***/ 80467: +/***/ ((module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ value: true })); + +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + +var Stream = _interopDefault(__nccwpck_require__(12781)); +var http = _interopDefault(__nccwpck_require__(13685)); +var Url = _interopDefault(__nccwpck_require__(57310)); +var whatwgUrl = _interopDefault(__nccwpck_require__(73323)); +var https = _interopDefault(__nccwpck_require__(95687)); +var zlib = _interopDefault(__nccwpck_require__(59796)); + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream.Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +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 +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert; +try { + convert = (__nccwpck_require__(22877).convert); +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream.PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +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 (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream)) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [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(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http.STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + 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 INTERNALS$2 = Symbol('Request internals'); +const URL = Url.URL || whatwgUrl.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url.parse; +const format_url = Url.format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream.Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + 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 } +}); + +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1 = Url.URL || whatwgUrl.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream.PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1(original).hostname; + const dest = new URL$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch(url, opts) { + + // allow custom promise + if (!fetch.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch.Promise; + + // wrap http.request into fetch + return new fetch.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? https : http).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream.Readable) { + request.body.destroy(error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + finalize(); + }); + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } + + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib.Z_SYNC_FLUSH, + finishFlush: zlib.Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib.createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib.createInflate()); + } else { + body = body.pipe(zlib.createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') { + body = body.pipe(zlib.createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch.Promise = global.Promise; + +module.exports = exports = fetch; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports["default"] = exports; +exports.Headers = Headers; +exports.Request = Request; +exports.Response = Response; +exports.FetchError = FetchError; + + +/***/ }), + +/***/ 42299: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var punycode = __nccwpck_require__(85477); +var mappingTable = __nccwpck_require__(1907); + +var PROCESSING_OPTIONS = { + TRANSITIONAL: 0, + NONTRANSITIONAL: 1 +}; + +function normalize(str) { // fix bug in v8 + return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); +} + +function findStatus(val) { + var start = 0; + var end = mappingTable.length - 1; + + while (start <= end) { + var mid = Math.floor((start + end) / 2); + + var target = mappingTable[mid]; + if (target[0][0] <= val && target[0][1] >= val) { + return target; + } else if (target[0][0] > val) { + end = mid - 1; + } else { + start = mid + 1; + } + } + + return null; +} + +var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + +function countSymbols(string) { + return string + // replace every surrogate pair with a BMP symbol + .replace(regexAstralSymbols, '_') + // then get the length + .length; +} + +function mapChars(domain_name, useSTD3, processing_option) { + var hasError = false; + var processed = ""; + + var len = countSymbols(domain_name); + for (var i = 0; i < len; ++i) { + var codePoint = domain_name.codePointAt(i); + var status = findStatus(codePoint); + + switch (status[1]) { + case "disallowed": + hasError = true; + processed += String.fromCodePoint(codePoint); + break; + case "ignored": + break; + case "mapped": + processed += String.fromCodePoint.apply(String, status[2]); + break; + case "deviation": + if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { + processed += String.fromCodePoint.apply(String, status[2]); + } else { + processed += String.fromCodePoint(codePoint); + } + break; + case "valid": + processed += String.fromCodePoint(codePoint); + break; + case "disallowed_STD3_mapped": + if (useSTD3) { + hasError = true; + processed += String.fromCodePoint(codePoint); + } else { + processed += String.fromCodePoint.apply(String, status[2]); + } + break; + case "disallowed_STD3_valid": + if (useSTD3) { + hasError = true; + } + + processed += String.fromCodePoint(codePoint); + break; + } + } + + return { + string: processed, + error: hasError + }; +} + +var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; + +function validateLabel(label, processing_option) { + if (label.substr(0, 4) === "xn--") { + label = punycode.toUnicode(label); + processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL; + } + + var error = false; + + if (normalize(label) !== label || + (label[3] === "-" && label[4] === "-") || + label[0] === "-" || label[label.length - 1] === "-" || + label.indexOf(".") !== -1 || + label.search(combiningMarksRegex) === 0) { + error = true; + } + + var len = countSymbols(label); + for (var i = 0; i < len; ++i) { + var status = findStatus(label.codePointAt(i)); + if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== "valid" && status[1] !== "deviation")) { + error = true; + break; + } + } + + return { + label: label, + error: error + }; +} + +function processing(domain_name, useSTD3, processing_option) { + var result = mapChars(domain_name, useSTD3, processing_option); + result.string = normalize(result.string); + + var labels = result.string.split("."); + for (var i = 0; i < labels.length; ++i) { + try { + var validation = validateLabel(labels[i]); + labels[i] = validation.label; + result.error = result.error || validation.error; + } catch(e) { + result.error = true; + } + } + + return { + string: labels.join("."), + error: result.error + }; +} + +module.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { + var result = processing(domain_name, useSTD3, processing_option); + var labels = result.string.split("."); + labels = labels.map(function(l) { + try { + return punycode.toASCII(l); + } catch(e) { + result.error = true; + return l; + } + }); + + if (verifyDnsLength) { + var total = labels.slice(0, labels.length - 1).join(".").length; + if (total.length > 253 || total.length === 0) { + result.error = true; + } + + for (var i=0; i < labels.length; ++i) { + if (labels.length > 63 || labels.length === 0) { + result.error = true; + break; + } + } + } + + if (result.error) return null; + return labels.join("."); +}; + +module.exports.toUnicode = function(domain_name, useSTD3) { + var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); + + return { + domain: result.string, + error: result.error + }; +}; + +module.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS; + + +/***/ }), + +/***/ 15871: +/***/ ((module) => { + +"use strict"; + + +var conversions = {}; +module.exports = conversions; + +function sign(x) { + return x < 0 ? -1 : 1; +} + +function evenRound(x) { + // Round x to the nearest integer, choosing the even integer if it lies halfway between two. + if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor) + return Math.floor(x); + } else { + return Math.round(x); + } +} + +function createNumberConversion(bitLength, typeOpts) { + if (!typeOpts.unsigned) { + --bitLength; + } + const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); + const upperBound = Math.pow(2, bitLength) - 1; + + const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); + const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); + + return function(V, opts) { + if (!opts) opts = {}; + + let x = +V; + + if (opts.enforceRange) { + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite number"); + } + + x = sign(x) * Math.floor(Math.abs(x)); + if (x < lowerBound || x > upperBound) { + throw new TypeError("Argument is not in byte range"); + } + + return x; + } + + if (!isNaN(x) && opts.clamp) { + x = evenRound(x); + + if (x < lowerBound) x = lowerBound; + if (x > upperBound) x = upperBound; + return x; + } + + if (!Number.isFinite(x) || x === 0) { + return 0; + } + + x = sign(x) * Math.floor(Math.abs(x)); + x = x % moduloVal; + + if (!typeOpts.unsigned && x >= moduloBound) { + return x - moduloVal; + } else if (typeOpts.unsigned) { + if (x < 0) { + x += moduloVal; + } else if (x === -0) { // don't return negative zero + return 0; + } + } + + return x; + } +} + +conversions["void"] = function () { + return undefined; +}; + +conversions["boolean"] = function (val) { + return !!val; +}; + +conversions["byte"] = createNumberConversion(8, { unsigned: false }); +conversions["octet"] = createNumberConversion(8, { unsigned: true }); + +conversions["short"] = createNumberConversion(16, { unsigned: false }); +conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); + +conversions["long"] = createNumberConversion(32, { unsigned: false }); +conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); + +conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); +conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); + +conversions["double"] = function (V) { + const x = +V; + + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite floating-point value"); + } + + return x; +}; + +conversions["unrestricted double"] = function (V) { + const x = +V; + + if (isNaN(x)) { + throw new TypeError("Argument is NaN"); + } + + return x; +}; + +// not quite valid, but good enough for JS +conversions["float"] = conversions["double"]; +conversions["unrestricted float"] = conversions["unrestricted double"]; + +conversions["DOMString"] = function (V, opts) { + if (!opts) opts = {}; + + if (opts.treatNullAsEmptyString && V === null) { + return ""; + } + + return String(V); +}; + +conversions["ByteString"] = function (V, opts) { + const x = String(V); + let c = undefined; + for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) { + if (c > 255) { + throw new TypeError("Argument is not a valid bytestring"); + } + } + + return x; +}; + +conversions["USVString"] = function (V) { + const S = String(V); + const n = S.length; + const U = []; + for (let i = 0; i < n; ++i) { + const c = S.charCodeAt(i); + if (c < 0xD800 || c > 0xDFFF) { + U.push(String.fromCodePoint(c)); + } else if (0xDC00 <= c && c <= 0xDFFF) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + if (i === n - 1) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + const d = S.charCodeAt(i + 1); + if (0xDC00 <= d && d <= 0xDFFF) { + const a = c & 0x3FF; + const b = d & 0x3FF; + U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b)); + ++i; + } else { + U.push(String.fromCodePoint(0xFFFD)); + } + } + } + } + + return U.join(''); +}; + +conversions["Date"] = function (V, opts) { + if (!(V instanceof Date)) { + throw new TypeError("Argument is not a Date object"); + } + if (isNaN(V)) { + return undefined; + } + + return V; +}; + +conversions["RegExp"] = function (V, opts) { + if (!(V instanceof RegExp)) { + V = new RegExp(V); + } + + return V; +}; + + +/***/ }), + +/***/ 58262: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +const usm = __nccwpck_require__(40033); + +exports.implementation = class URLImpl { + constructor(constructorArgs) { + const url = constructorArgs[0]; + const base = constructorArgs[1]; + + let parsedBase = null; + if (base !== undefined) { + parsedBase = usm.basicURLParse(base); + if (parsedBase === "failure") { + throw new TypeError("Invalid base URL"); + } + } + + const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } + + this._url = parsedURL; + + // TODO: query stuff + } + + get href() { + return usm.serializeURL(this._url); + } + + set href(v) { + const parsedURL = usm.basicURLParse(v); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } + + this._url = parsedURL; + } + + get origin() { + return usm.serializeURLOrigin(this._url); + } + + get protocol() { + return this._url.scheme + ":"; + } + + set protocol(v) { + usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); + } + + get username() { + return this._url.username; + } + + set username(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + usm.setTheUsername(this._url, v); + } + + get password() { + return this._url.password; + } + + set password(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + usm.setThePassword(this._url, v); + } + + get host() { + const url = this._url; + + if (url.host === null) { + return ""; + } + + if (url.port === null) { + return usm.serializeHost(url.host); + } + + return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); + } + + set host(v) { + if (this._url.cannotBeABaseURL) { + return; + } + + usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); + } + + get hostname() { + if (this._url.host === null) { + return ""; + } + + return usm.serializeHost(this._url.host); + } + + set hostname(v) { + if (this._url.cannotBeABaseURL) { + return; + } + + usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); + } + + get port() { + if (this._url.port === null) { + return ""; + } + + return usm.serializeInteger(this._url.port); + } + + set port(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + if (v === "") { + this._url.port = null; + } else { + usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); + } + } + + get pathname() { + if (this._url.cannotBeABaseURL) { + return this._url.path[0]; + } + + if (this._url.path.length === 0) { + return ""; + } + + return "/" + this._url.path.join("/"); + } + + set pathname(v) { + if (this._url.cannotBeABaseURL) { + return; + } + + this._url.path = []; + usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); + } + + get search() { + if (this._url.query === null || this._url.query === "") { + return ""; + } + + return "?" + this._url.query; + } + + set search(v) { + // TODO: query stuff + + const url = this._url; + + if (v === "") { + url.query = null; + return; + } + + const input = v[0] === "?" ? v.substring(1) : v; + url.query = ""; + usm.basicURLParse(input, { url, stateOverride: "query" }); + } + + get hash() { + if (this._url.fragment === null || this._url.fragment === "") { + return ""; + } + + return "#" + this._url.fragment; + } + + set hash(v) { + if (v === "") { + this._url.fragment = null; + return; + } + + const input = v[0] === "#" ? v.substring(1) : v; + this._url.fragment = ""; + usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); + } + + toJSON() { + return this.href; + } +}; + + +/***/ }), + +/***/ 80653: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const conversions = __nccwpck_require__(15871); +const utils = __nccwpck_require__(60276); +const Impl = __nccwpck_require__(58262); + +const impl = utils.implSymbol; + +function URL(url) { + if (!this || this[impl] || !(this instanceof URL)) { + throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); + } + if (arguments.length < 1) { + throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); + } + const args = []; + for (let i = 0; i < arguments.length && i < 2; ++i) { + args[i] = arguments[i]; + } + args[0] = conversions["USVString"](args[0]); + if (args[1] !== undefined) { + args[1] = conversions["USVString"](args[1]); + } + + module.exports.setup(this, args); +} + +URL.prototype.toJSON = function toJSON() { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + const args = []; + for (let i = 0; i < arguments.length && i < 0; ++i) { + args[i] = arguments[i]; + } + return this[impl].toJSON.apply(this[impl], args); +}; +Object.defineProperty(URL.prototype, "href", { + get() { + return this[impl].href; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].href = V; + }, + enumerable: true, + configurable: true +}); + +URL.prototype.toString = function () { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + return this.href; +}; + +Object.defineProperty(URL.prototype, "origin", { + get() { + return this[impl].origin; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "protocol", { + get() { + return this[impl].protocol; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].protocol = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "username", { + get() { + return this[impl].username; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].username = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "password", { + get() { + return this[impl].password; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].password = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "host", { + get() { + return this[impl].host; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].host = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "hostname", { + get() { + return this[impl].hostname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hostname = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "port", { + get() { + return this[impl].port; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].port = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "pathname", { + get() { + return this[impl].pathname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].pathname = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "search", { + get() { + return this[impl].search; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].search = V; + }, + enumerable: true, + configurable: true +}); + +Object.defineProperty(URL.prototype, "hash", { + get() { + return this[impl].hash; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hash = V; + }, + enumerable: true, + configurable: true +}); + + +module.exports = { + is(obj) { + return !!obj && obj[impl] instanceof Impl.implementation; + }, + create(constructorArgs, privateData) { + let obj = Object.create(URL.prototype); + this.setup(obj, constructorArgs, privateData); + return obj; + }, + setup(obj, constructorArgs, privateData) { + if (!privateData) privateData = {}; + privateData.wrapper = obj; + + obj[impl] = new Impl.implementation(constructorArgs, privateData); + obj[impl][utils.wrapperSymbol] = obj; + }, + interface: URL, + expose: { + Window: { URL: URL }, + Worker: { URL: URL } + } +}; + + + +/***/ }), + +/***/ 73323: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +exports.URL = __nccwpck_require__(80653)["interface"]; +exports.serializeURL = __nccwpck_require__(40033).serializeURL; +exports.serializeURLOrigin = __nccwpck_require__(40033).serializeURLOrigin; +exports.basicURLParse = __nccwpck_require__(40033).basicURLParse; +exports.setTheUsername = __nccwpck_require__(40033).setTheUsername; +exports.setThePassword = __nccwpck_require__(40033).setThePassword; +exports.serializeHost = __nccwpck_require__(40033).serializeHost; +exports.serializeInteger = __nccwpck_require__(40033).serializeInteger; +exports.parseURL = __nccwpck_require__(40033).parseURL; + + +/***/ }), + +/***/ 40033: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const punycode = __nccwpck_require__(85477); +const tr46 = __nccwpck_require__(42299); + +const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 +}; + +const failure = Symbol("failure"); + +function countSymbols(str) { + return punycode.ucs2.decode(str).length; +} + +function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); +} + +function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; +} + +function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); +} + +function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); +} + +function isASCIIHex(c) { + return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); +} + +function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; +} + +function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; +} + +function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); +} + +function isWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); +} + +function isNormalizedWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; +} + +function containsForbiddenHostCodePoint(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; +} + +function containsForbiddenHostCodePointExcludingPercent(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; +} + +function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; +} + +function isSpecial(url) { + return isSpecialScheme(url.scheme); +} + +function defaultPort(scheme) { + return specialSchemes[scheme]; +} + +function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } + + return "%" + hex; +} + +function utf8PercentEncode(c) { + const buf = new Buffer(c); + + let str = ""; + + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } + + return str; +} + +function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); +} + +function isC0ControlPercentEncode(c) { + return c <= 0x1F || c > 0x7E; +} + +const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); +function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); +} + +const extraUserinfoPercentEncodeSet = + new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); +function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); +} + +function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); + + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } + + return cStr; +} + +function parseIPv4Number(input) { + let R = 10; + + if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } + + if (input === "") { + return 0; + } + + const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); + if (regex.test(input)) { + return failure; + } + + return parseInt(input, R); +} + +function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } + + if (parts.length > 4) { + return input; + } + + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } + + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } + + let ipv4 = numbers.pop(); + let counter = 0; + + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } + + return ipv4; +} + +function serializeIPv4(address) { + let output = ""; + let n = address; + + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } + + return output; +} + +function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; + + input = punycode.ucs2.decode(input); + + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } + + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } + + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } + + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } + + let value = 0; + let length = 0; + + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } + + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } + + pointer -= length; + + if (pieceIndex > 6) { + return failure; + } + + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; + + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; + } else { + return failure; + } + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } + + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; + } + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } + + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; + + ++numbersSeen; + + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } + + if (numbersSeen !== 4) { + return failure; + } + + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } + + address[pieceIndex] = value; + ++pieceIndex; + } + + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } + + return address; +} + +function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } + + return output; +} + +function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } + + return parseIPv6(input.substring(1, input.length - 1)); + } + + if (!isSpecialArg) { + return parseOpaqueHost(input); + } + + const domain = utf8PercentDecode(input); + const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + if (asciiDomain === null) { + return failure; + } + + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } + + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } + + return asciiDomain; +} + +function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } + + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; +} + +function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } + + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + return { + idx: maxIdx, + len: maxLen + }; +} + +function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } + + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } + + return host; +} + +function trimControlChars(url) { + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); +} + +function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); +} + +function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { + return; + } + + path.pop(); +} + +function includesCredentials(url) { + return url.username !== "" || url.password !== ""; +} + +function cannotHaveAUsernamePasswordPort(url) { + return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; +} + +function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); +} + +function URLStateMachine(input, base, encodingOverride, url, stateOverride) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } + + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + + this.state = stateOverride || "scheme start"; + + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; + + this.input = punycode.ucs2.decode(this.input); + + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); + + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } +} + +URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } + + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } + + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + return false; + } + + if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { + this.parseError = true; + } + this.state = "file"; + } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; +}; + +URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse hostname"] = +URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if (this.stateOverride && this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null)) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; +}; + +const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + +URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; + } + + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } + + return true; +}; + +URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; + + if (this.stateOverride) { + return false; + } + + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } + + return true; +}; + +URLStateMachine.prototype["parse path"] = function parsePath(c) { + if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35))) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if (isSingleDot(this.buffer) && c !== 47 && + !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } + + return true; +}; + +URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } + + return true; +}; + +URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || + buffer[i] === 0x3C || buffer[i] === 0x3E) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; +}; + +URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) { // do nothing + } else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; +}; + +function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; + } + output += "@"; + } + + output += serializeHost(url.host); + + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } + + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } + + if (url.query !== null) { + output += "?" + url.query; + } + + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } + + return output; +} + +function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); + + if (tuple.port !== null) { + result += ":" + tuple.port; + } + + return result; +} + +module.exports.serializeURL = serializeURL; + +module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } +}; + +module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } + + const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); + if (usm.failure) { + return "failure"; + } + + return usm.url; +}; + +module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; + +module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } +}; + +module.exports.serializeHost = serializeHost; + +module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; + +module.exports.serializeInteger = function (integer) { + return String(integer); +}; + +module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } + + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); +}; + + +/***/ }), + +/***/ 60276: +/***/ ((module) => { + +"use strict"; + + +module.exports.mixin = function mixin(target, source) { + const keys = Object.getOwnPropertyNames(source); + for (let i = 0; i < keys.length; ++i) { + Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); + } +}; + +module.exports.wrapperSymbol = Symbol("wrapper"); +module.exports.implSymbol = Symbol("impl"); + +module.exports.wrapperForImpl = function (impl) { + return impl[module.exports.wrapperSymbol]; +}; + +module.exports.implForWrapper = function (wrapper) { + return wrapper[module.exports.implSymbol]; +}; + + + +/***/ }), + +/***/ 87994: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Advanced Encryption Standard (AES) implementation. + * + * This implementation is based on the public domain library 'jscrypto' which + * was written by: + * + * Emily Stark (estark@stanford.edu) + * Mike Hamburg (mhamburg@stanford.edu) + * Dan Boneh (dabo@cs.stanford.edu) + * + * Parts of this code are based on the OpenSSL implementation of AES: + * http://www.openssl.org + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(7088); +__nccwpck_require__(10873); +__nccwpck_require__(28339); + +/* AES API */ +module.exports = forge.aes = forge.aes || {}; + +/** + * Deprecated. Instead, use: + * + * var cipher = forge.cipher.createCipher('AES-', key); + * cipher.start({iv: iv}); + * + * Creates an AES cipher object to encrypt data using the given symmetric key. + * The output will be stored in the 'output' member of the returned cipher. + * + * The key and iv may be given as a string of bytes, an array of bytes, + * a byte buffer, or an array of 32-bit words. + * + * @param key the symmetric key to use. + * @param iv the initialization vector to use. + * @param output the buffer to write to, null to create one. + * @param mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +forge.aes.startEncrypting = function(key, iv, output, mode) { + var cipher = _createCipher({ + key: key, + output: output, + decrypt: false, + mode: mode + }); + cipher.start(iv); + return cipher; +}; + +/** + * Deprecated. Instead, use: + * + * var cipher = forge.cipher.createCipher('AES-', key); + * + * Creates an AES cipher object to encrypt data using the given symmetric key. + * + * The key may be given as a string of bytes, an array of bytes, a + * byte buffer, or an array of 32-bit words. + * + * @param key the symmetric key to use. + * @param mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +forge.aes.createEncryptionCipher = function(key, mode) { + return _createCipher({ + key: key, + output: null, + decrypt: false, + mode: mode + }); +}; + +/** + * Deprecated. Instead, use: + * + * var decipher = forge.cipher.createDecipher('AES-', key); + * decipher.start({iv: iv}); + * + * Creates an AES cipher object to decrypt data using the given symmetric key. + * The output will be stored in the 'output' member of the returned cipher. + * + * The key and iv may be given as a string of bytes, an array of bytes, + * a byte buffer, or an array of 32-bit words. + * + * @param key the symmetric key to use. + * @param iv the initialization vector to use. + * @param output the buffer to write to, null to create one. + * @param mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +forge.aes.startDecrypting = function(key, iv, output, mode) { + var cipher = _createCipher({ + key: key, + output: output, + decrypt: true, + mode: mode + }); + cipher.start(iv); + return cipher; +}; + +/** + * Deprecated. Instead, use: + * + * var decipher = forge.cipher.createDecipher('AES-', key); + * + * Creates an AES cipher object to decrypt data using the given symmetric key. + * + * The key may be given as a string of bytes, an array of bytes, a + * byte buffer, or an array of 32-bit words. + * + * @param key the symmetric key to use. + * @param mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +forge.aes.createDecryptionCipher = function(key, mode) { + return _createCipher({ + key: key, + output: null, + decrypt: true, + mode: mode + }); +}; + +/** + * Creates a new AES cipher algorithm object. + * + * @param name the name of the algorithm. + * @param mode the mode factory function. + * + * @return the AES algorithm object. + */ +forge.aes.Algorithm = function(name, mode) { + if(!init) { + initialize(); + } + var self = this; + self.name = name; + self.mode = new mode({ + blockSize: 16, + cipher: { + encrypt: function(inBlock, outBlock) { + return _updateBlock(self._w, inBlock, outBlock, false); + }, + decrypt: function(inBlock, outBlock) { + return _updateBlock(self._w, inBlock, outBlock, true); + } + } + }); + self._init = false; +}; + +/** + * Initializes this AES algorithm by expanding its key. + * + * @param options the options to use. + * key the key to use with this algorithm. + * decrypt true if the algorithm should be initialized for decryption, + * false for encryption. + */ +forge.aes.Algorithm.prototype.initialize = function(options) { + if(this._init) { + return; + } + + var key = options.key; + var tmp; + + /* Note: The key may be a string of bytes, an array of bytes, a byte + buffer, or an array of 32-bit integers. If the key is in bytes, then + it must be 16, 24, or 32 bytes in length. If it is in 32-bit + integers, it must be 4, 6, or 8 integers long. */ + + if(typeof key === 'string' && + (key.length === 16 || key.length === 24 || key.length === 32)) { + // convert key string into byte buffer + key = forge.util.createBuffer(key); + } else if(forge.util.isArray(key) && + (key.length === 16 || key.length === 24 || key.length === 32)) { + // convert key integer array into byte buffer + tmp = key; + key = forge.util.createBuffer(); + for(var i = 0; i < tmp.length; ++i) { + key.putByte(tmp[i]); + } + } + + // convert key byte buffer into 32-bit integer array + if(!forge.util.isArray(key)) { + tmp = key; + key = []; + + // key lengths of 16, 24, 32 bytes allowed + var len = tmp.length(); + if(len === 16 || len === 24 || len === 32) { + len = len >>> 2; + for(var i = 0; i < len; ++i) { + key.push(tmp.getInt32()); + } + } + } + + // key must be an array of 32-bit integers by now + if(!forge.util.isArray(key) || + !(key.length === 4 || key.length === 6 || key.length === 8)) { + throw new Error('Invalid key parameter.'); + } + + // encryption operation is always used for these modes + var mode = this.mode.name; + var encryptOp = (['CFB', 'OFB', 'CTR', 'GCM'].indexOf(mode) !== -1); + + // do key expansion + this._w = _expandKey(key, options.decrypt && !encryptOp); + this._init = true; +}; + +/** + * Expands a key. Typically only used for testing. + * + * @param key the symmetric key to expand, as an array of 32-bit words. + * @param decrypt true to expand for decryption, false for encryption. + * + * @return the expanded key. + */ +forge.aes._expandKey = function(key, decrypt) { + if(!init) { + initialize(); + } + return _expandKey(key, decrypt); +}; + +/** + * Updates a single block. Typically only used for testing. + * + * @param w the expanded key to use. + * @param input an array of block-size 32-bit words. + * @param output an array of block-size 32-bit words. + * @param decrypt true to decrypt, false to encrypt. + */ +forge.aes._updateBlock = _updateBlock; + +/** Register AES algorithms **/ + +registerAlgorithm('AES-ECB', forge.cipher.modes.ecb); +registerAlgorithm('AES-CBC', forge.cipher.modes.cbc); +registerAlgorithm('AES-CFB', forge.cipher.modes.cfb); +registerAlgorithm('AES-OFB', forge.cipher.modes.ofb); +registerAlgorithm('AES-CTR', forge.cipher.modes.ctr); +registerAlgorithm('AES-GCM', forge.cipher.modes.gcm); + +function registerAlgorithm(name, mode) { + var factory = function() { + return new forge.aes.Algorithm(name, mode); + }; + forge.cipher.registerAlgorithm(name, factory); +} + +/** AES implementation **/ + +var init = false; // not yet initialized +var Nb = 4; // number of words comprising the state (AES = 4) +var sbox; // non-linear substitution table used in key expansion +var isbox; // inversion of sbox +var rcon; // round constant word array +var mix; // mix-columns table +var imix; // inverse mix-columns table + +/** + * Performs initialization, ie: precomputes tables to optimize for speed. + * + * One way to understand how AES works is to imagine that 'addition' and + * 'multiplication' are interfaces that require certain mathematical + * properties to hold true (ie: they are associative) but they might have + * different implementations and produce different kinds of results ... + * provided that their mathematical properties remain true. AES defines + * its own methods of addition and multiplication but keeps some important + * properties the same, ie: associativity and distributivity. The + * explanation below tries to shed some light on how AES defines addition + * and multiplication of bytes and 32-bit words in order to perform its + * encryption and decryption algorithms. + * + * The basics: + * + * The AES algorithm views bytes as binary representations of polynomials + * that have either 1 or 0 as the coefficients. It defines the addition + * or subtraction of two bytes as the XOR operation. It also defines the + * multiplication of two bytes as a finite field referred to as GF(2^8) + * (Note: 'GF' means "Galois Field" which is a field that contains a finite + * number of elements so GF(2^8) has 256 elements). + * + * This means that any two bytes can be represented as binary polynomials; + * when they multiplied together and modularly reduced by an irreducible + * polynomial of the 8th degree, the results are the field GF(2^8). The + * specific irreducible polynomial that AES uses in hexadecimal is 0x11b. + * This multiplication is associative with 0x01 as the identity: + * + * (b * 0x01 = GF(b, 0x01) = b). + * + * The operation GF(b, 0x02) can be performed at the byte level by left + * shifting b once and then XOR'ing it (to perform the modular reduction) + * with 0x11b if b is >= 128. Repeated application of the multiplication + * of 0x02 can be used to implement the multiplication of any two bytes. + * + * For instance, multiplying 0x57 and 0x13, denoted as GF(0x57, 0x13), can + * be performed by factoring 0x13 into 0x01, 0x02, and 0x10. Then these + * factors can each be multiplied by 0x57 and then added together. To do + * the multiplication, values for 0x57 multiplied by each of these 3 factors + * can be precomputed and stored in a table. To add them, the values from + * the table are XOR'd together. + * + * AES also defines addition and multiplication of words, that is 4-byte + * numbers represented as polynomials of 3 degrees where the coefficients + * are the values of the bytes. + * + * The word [a0, a1, a2, a3] is a polynomial a3x^3 + a2x^2 + a1x + a0. + * + * Addition is performed by XOR'ing like powers of x. Multiplication + * is performed in two steps, the first is an algebriac expansion as + * you would do normally (where addition is XOR). But the result is + * a polynomial larger than 3 degrees and thus it cannot fit in a word. So + * next the result is modularly reduced by an AES-specific polynomial of + * degree 4 which will always produce a polynomial of less than 4 degrees + * such that it will fit in a word. In AES, this polynomial is x^4 + 1. + * + * The modular product of two polynomials 'a' and 'b' is thus: + * + * d(x) = d3x^3 + d2x^2 + d1x + d0 + * with + * d0 = GF(a0, b0) ^ GF(a3, b1) ^ GF(a2, b2) ^ GF(a1, b3) + * d1 = GF(a1, b0) ^ GF(a0, b1) ^ GF(a3, b2) ^ GF(a2, b3) + * d2 = GF(a2, b0) ^ GF(a1, b1) ^ GF(a0, b2) ^ GF(a3, b3) + * d3 = GF(a3, b0) ^ GF(a2, b1) ^ GF(a1, b2) ^ GF(a0, b3) + * + * As a matrix: + * + * [d0] = [a0 a3 a2 a1][b0] + * [d1] [a1 a0 a3 a2][b1] + * [d2] [a2 a1 a0 a3][b2] + * [d3] [a3 a2 a1 a0][b3] + * + * Special polynomials defined by AES (0x02 == {02}): + * a(x) = {03}x^3 + {01}x^2 + {01}x + {02} + * a^-1(x) = {0b}x^3 + {0d}x^2 + {09}x + {0e}. + * + * These polynomials are used in the MixColumns() and InverseMixColumns() + * operations, respectively, to cause each element in the state to affect + * the output (referred to as diffusing). + * + * RotWord() uses: a0 = a1 = a2 = {00} and a3 = {01}, which is the + * polynomial x3. + * + * The ShiftRows() method modifies the last 3 rows in the state (where + * the state is 4 words with 4 bytes per word) by shifting bytes cyclically. + * The 1st byte in the second row is moved to the end of the row. The 1st + * and 2nd bytes in the third row are moved to the end of the row. The 1st, + * 2nd, and 3rd bytes are moved in the fourth row. + * + * More details on how AES arithmetic works: + * + * In the polynomial representation of binary numbers, XOR performs addition + * and subtraction and multiplication in GF(2^8) denoted as GF(a, b) + * corresponds with the multiplication of polynomials modulo an irreducible + * polynomial of degree 8. In other words, for AES, GF(a, b) will multiply + * polynomial 'a' with polynomial 'b' and then do a modular reduction by + * an AES-specific irreducible polynomial of degree 8. + * + * A polynomial is irreducible if its only divisors are one and itself. For + * the AES algorithm, this irreducible polynomial is: + * + * m(x) = x^8 + x^4 + x^3 + x + 1, + * + * or {01}{1b} in hexadecimal notation, where each coefficient is a bit: + * 100011011 = 283 = 0x11b. + * + * For example, GF(0x57, 0x83) = 0xc1 because + * + * 0x57 = 87 = 01010111 = x^6 + x^4 + x^2 + x + 1 + * 0x85 = 131 = 10000101 = x^7 + x + 1 + * + * (x^6 + x^4 + x^2 + x + 1) * (x^7 + x + 1) + * = x^13 + x^11 + x^9 + x^8 + x^7 + + * x^7 + x^5 + x^3 + x^2 + x + + * x^6 + x^4 + x^2 + x + 1 + * = x^13 + x^11 + x^9 + x^8 + x^6 + x^5 + x^4 + x^3 + 1 = y + * y modulo (x^8 + x^4 + x^3 + x + 1) + * = x^7 + x^6 + 1. + * + * The modular reduction by m(x) guarantees the result will be a binary + * polynomial of less than degree 8, so that it can fit in a byte. + * + * The operation to multiply a binary polynomial b with x (the polynomial + * x in binary representation is 00000010) is: + * + * b_7x^8 + b_6x^7 + b_5x^6 + b_4x^5 + b_3x^4 + b_2x^3 + b_1x^2 + b_0x^1 + * + * To get GF(b, x) we must reduce that by m(x). If b_7 is 0 (that is the + * most significant bit is 0 in b) then the result is already reduced. If + * it is 1, then we can reduce it by subtracting m(x) via an XOR. + * + * It follows that multiplication by x (00000010 or 0x02) can be implemented + * by performing a left shift followed by a conditional bitwise XOR with + * 0x1b. This operation on bytes is denoted by xtime(). Multiplication by + * higher powers of x can be implemented by repeated application of xtime(). + * + * By adding intermediate results, multiplication by any constant can be + * implemented. For instance: + * + * GF(0x57, 0x13) = 0xfe because: + * + * xtime(b) = (b & 128) ? (b << 1 ^ 0x11b) : (b << 1) + * + * Note: We XOR with 0x11b instead of 0x1b because in javascript our + * datatype for b can be larger than 1 byte, so a left shift will not + * automatically eliminate bits that overflow a byte ... by XOR'ing the + * overflow bit with 1 (the extra one from 0x11b) we zero it out. + * + * GF(0x57, 0x02) = xtime(0x57) = 0xae + * GF(0x57, 0x04) = xtime(0xae) = 0x47 + * GF(0x57, 0x08) = xtime(0x47) = 0x8e + * GF(0x57, 0x10) = xtime(0x8e) = 0x07 + * + * GF(0x57, 0x13) = GF(0x57, (0x01 ^ 0x02 ^ 0x10)) + * + * And by the distributive property (since XOR is addition and GF() is + * multiplication): + * + * = GF(0x57, 0x01) ^ GF(0x57, 0x02) ^ GF(0x57, 0x10) + * = 0x57 ^ 0xae ^ 0x07 + * = 0xfe. + */ +function initialize() { + init = true; + + /* Populate the Rcon table. These are the values given by + [x^(i-1),{00},{00},{00}] where x^(i-1) are powers of x (and x = 0x02) + in the field of GF(2^8), where i starts at 1. + + rcon[0] = [0x00, 0x00, 0x00, 0x00] + rcon[1] = [0x01, 0x00, 0x00, 0x00] 2^(1-1) = 2^0 = 1 + rcon[2] = [0x02, 0x00, 0x00, 0x00] 2^(2-1) = 2^1 = 2 + ... + rcon[9] = [0x1B, 0x00, 0x00, 0x00] 2^(9-1) = 2^8 = 0x1B + rcon[10] = [0x36, 0x00, 0x00, 0x00] 2^(10-1) = 2^9 = 0x36 + + We only store the first byte because it is the only one used. + */ + rcon = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1B, 0x36]; + + // compute xtime table which maps i onto GF(i, 0x02) + var xtime = new Array(256); + for(var i = 0; i < 128; ++i) { + xtime[i] = i << 1; + xtime[i + 128] = (i + 128) << 1 ^ 0x11B; + } + + // compute all other tables + sbox = new Array(256); + isbox = new Array(256); + mix = new Array(4); + imix = new Array(4); + for(var i = 0; i < 4; ++i) { + mix[i] = new Array(256); + imix[i] = new Array(256); + } + var e = 0, ei = 0, e2, e4, e8, sx, sx2, me, ime; + for(var i = 0; i < 256; ++i) { + /* We need to generate the SubBytes() sbox and isbox tables so that + we can perform byte substitutions. This requires us to traverse + all of the elements in GF, find their multiplicative inverses, + and apply to each the following affine transformation: + + bi' = bi ^ b(i + 4) mod 8 ^ b(i + 5) mod 8 ^ b(i + 6) mod 8 ^ + b(i + 7) mod 8 ^ ci + for 0 <= i < 8, where bi is the ith bit of the byte, and ci is the + ith bit of a byte c with the value {63} or {01100011}. + + It is possible to traverse every possible value in a Galois field + using what is referred to as a 'generator'. There are many + generators (128 out of 256): 3,5,6,9,11,82 to name a few. To fully + traverse GF we iterate 255 times, multiplying by our generator + each time. + + On each iteration we can determine the multiplicative inverse for + the current element. + + Suppose there is an element in GF 'e'. For a given generator 'g', + e = g^x. The multiplicative inverse of e is g^(255 - x). It turns + out that if use the inverse of a generator as another generator + it will produce all of the corresponding multiplicative inverses + at the same time. For this reason, we choose 5 as our inverse + generator because it only requires 2 multiplies and 1 add and its + inverse, 82, requires relatively few operations as well. + + In order to apply the affine transformation, the multiplicative + inverse 'ei' of 'e' can be repeatedly XOR'd (4 times) with a + bit-cycling of 'ei'. To do this 'ei' is first stored in 's' and + 'x'. Then 's' is left shifted and the high bit of 's' is made the + low bit. The resulting value is stored in 's'. Then 'x' is XOR'd + with 's' and stored in 'x'. On each subsequent iteration the same + operation is performed. When 4 iterations are complete, 'x' is + XOR'd with 'c' (0x63) and the transformed value is stored in 'x'. + For example: + + s = 01000001 + x = 01000001 + + iteration 1: s = 10000010, x ^= s + iteration 2: s = 00000101, x ^= s + iteration 3: s = 00001010, x ^= s + iteration 4: s = 00010100, x ^= s + x ^= 0x63 + + This can be done with a loop where s = (s << 1) | (s >> 7). However, + it can also be done by using a single 16-bit (in this case 32-bit) + number 'sx'. Since XOR is an associative operation, we can set 'sx' + to 'ei' and then XOR it with 'sx' left-shifted 1,2,3, and 4 times. + The most significant bits will flow into the high 8 bit positions + and be correctly XOR'd with one another. All that remains will be + to cycle the high 8 bits by XOR'ing them all with the lower 8 bits + afterwards. + + At the same time we're populating sbox and isbox we can precompute + the multiplication we'll need to do to do MixColumns() later. + */ + + // apply affine transformation + sx = ei ^ (ei << 1) ^ (ei << 2) ^ (ei << 3) ^ (ei << 4); + sx = (sx >> 8) ^ (sx & 255) ^ 0x63; + + // update tables + sbox[e] = sx; + isbox[sx] = e; + + /* Mixing columns is done using matrix multiplication. The columns + that are to be mixed are each a single word in the current state. + The state has Nb columns (4 columns). Therefore each column is a + 4 byte word. So to mix the columns in a single column 'c' where + its rows are r0, r1, r2, and r3, we use the following matrix + multiplication: + + [2 3 1 1]*[r0,c]=[r'0,c] + [1 2 3 1] [r1,c] [r'1,c] + [1 1 2 3] [r2,c] [r'2,c] + [3 1 1 2] [r3,c] [r'3,c] + + r0, r1, r2, and r3 are each 1 byte of one of the words in the + state (a column). To do matrix multiplication for each mixed + column c' we multiply the corresponding row from the left matrix + with the corresponding column from the right matrix. In total, we + get 4 equations: + + r0,c' = 2*r0,c + 3*r1,c + 1*r2,c + 1*r3,c + r1,c' = 1*r0,c + 2*r1,c + 3*r2,c + 1*r3,c + r2,c' = 1*r0,c + 1*r1,c + 2*r2,c + 3*r3,c + r3,c' = 3*r0,c + 1*r1,c + 1*r2,c + 2*r3,c + + As usual, the multiplication is as previously defined and the + addition is XOR. In order to optimize mixing columns we can store + the multiplication results in tables. If you think of the whole + column as a word (it might help to visualize by mentally rotating + the equations above by counterclockwise 90 degrees) then you can + see that it would be useful to map the multiplications performed on + each byte (r0, r1, r2, r3) onto a word as well. For instance, we + could map 2*r0,1*r0,1*r0,3*r0 onto a word by storing 2*r0 in the + highest 8 bits and 3*r0 in the lowest 8 bits (with the other two + respectively in the middle). This means that a table can be + constructed that uses r0 as an index to the word. We can do the + same with r1, r2, and r3, creating a total of 4 tables. + + To construct a full c', we can just look up each byte of c in + their respective tables and XOR the results together. + + Also, to build each table we only have to calculate the word + for 2,1,1,3 for every byte ... which we can do on each iteration + of this loop since we will iterate over every byte. After we have + calculated 2,1,1,3 we can get the results for the other tables + by cycling the byte at the end to the beginning. For instance + we can take the result of table 2,1,1,3 and produce table 3,2,1,1 + by moving the right most byte to the left most position just like + how you can imagine the 3 moved out of 2,1,1,3 and to the front + to produce 3,2,1,1. + + There is another optimization in that the same multiples of + the current element we need in order to advance our generator + to the next iteration can be reused in performing the 2,1,1,3 + calculation. We also calculate the inverse mix column tables, + with e,9,d,b being the inverse of 2,1,1,3. + + When we're done, and we need to actually mix columns, the first + byte of each state word should be put through mix[0] (2,1,1,3), + the second through mix[1] (3,2,1,1) and so forth. Then they should + be XOR'd together to produce the fully mixed column. + */ + + // calculate mix and imix table values + sx2 = xtime[sx]; + e2 = xtime[e]; + e4 = xtime[e2]; + e8 = xtime[e4]; + me = + (sx2 << 24) ^ // 2 + (sx << 16) ^ // 1 + (sx << 8) ^ // 1 + (sx ^ sx2); // 3 + ime = + (e2 ^ e4 ^ e8) << 24 ^ // E (14) + (e ^ e8) << 16 ^ // 9 + (e ^ e4 ^ e8) << 8 ^ // D (13) + (e ^ e2 ^ e8); // B (11) + // produce each of the mix tables by rotating the 2,1,1,3 value + for(var n = 0; n < 4; ++n) { + mix[n][e] = me; + imix[n][sx] = ime; + // cycle the right most byte to the left most position + // ie: 2,1,1,3 becomes 3,2,1,1 + me = me << 24 | me >>> 8; + ime = ime << 24 | ime >>> 8; + } + + // get next element and inverse + if(e === 0) { + // 1 is the inverse of 1 + e = ei = 1; + } else { + // e = 2e + 2*2*2*(10e)) = multiply e by 82 (chosen generator) + // ei = ei + 2*2*ei = multiply ei by 5 (inverse generator) + e = e2 ^ xtime[xtime[xtime[e2 ^ e8]]]; + ei ^= xtime[xtime[ei]]; + } + } +} + +/** + * Generates a key schedule using the AES key expansion algorithm. + * + * The AES algorithm takes the Cipher Key, K, and performs a Key Expansion + * routine to generate a key schedule. The Key Expansion generates a total + * of Nb*(Nr + 1) words: the algorithm requires an initial set of Nb words, + * and each of the Nr rounds requires Nb words of key data. The resulting + * key schedule consists of a linear array of 4-byte words, denoted [wi ], + * with i in the range 0 <= i < Nb(Nr + 1). + * + * KeyExpansion(byte key[4*Nk], word w[Nb*(Nr+1)], Nk) + * AES-128 (Nb=4, Nk=4, Nr=10) + * AES-192 (Nb=4, Nk=6, Nr=12) + * AES-256 (Nb=4, Nk=8, Nr=14) + * Note: Nr=Nk+6. + * + * Nb is the number of columns (32-bit words) comprising the State (or + * number of bytes in a block). For AES, Nb=4. + * + * @param key the key to schedule (as an array of 32-bit words). + * @param decrypt true to modify the key schedule to decrypt, false not to. + * + * @return the generated key schedule. + */ +function _expandKey(key, decrypt) { + // copy the key's words to initialize the key schedule + var w = key.slice(0); + + /* RotWord() will rotate a word, moving the first byte to the last + byte's position (shifting the other bytes left). + + We will be getting the value of Rcon at i / Nk. 'i' will iterate + from Nk to (Nb * Nr+1). Nk = 4 (4 byte key), Nb = 4 (4 words in + a block), Nr = Nk + 6 (10). Therefore 'i' will iterate from + 4 to 44 (exclusive). Each time we iterate 4 times, i / Nk will + increase by 1. We use a counter iNk to keep track of this. + */ + + // go through the rounds expanding the key + var temp, iNk = 1; + var Nk = w.length; + var Nr1 = Nk + 6 + 1; + var end = Nb * Nr1; + for(var i = Nk; i < end; ++i) { + temp = w[i - 1]; + if(i % Nk === 0) { + // temp = SubWord(RotWord(temp)) ^ Rcon[i / Nk] + temp = + sbox[temp >>> 16 & 255] << 24 ^ + sbox[temp >>> 8 & 255] << 16 ^ + sbox[temp & 255] << 8 ^ + sbox[temp >>> 24] ^ (rcon[iNk] << 24); + iNk++; + } else if(Nk > 6 && (i % Nk === 4)) { + // temp = SubWord(temp) + temp = + sbox[temp >>> 24] << 24 ^ + sbox[temp >>> 16 & 255] << 16 ^ + sbox[temp >>> 8 & 255] << 8 ^ + sbox[temp & 255]; + } + w[i] = w[i - Nk] ^ temp; + } + + /* When we are updating a cipher block we always use the code path for + encryption whether we are decrypting or not (to shorten code and + simplify the generation of look up tables). However, because there + are differences in the decryption algorithm, other than just swapping + in different look up tables, we must transform our key schedule to + account for these changes: + + 1. The decryption algorithm gets its key rounds in reverse order. + 2. The decryption algorithm adds the round key before mixing columns + instead of afterwards. + + We don't need to modify our key schedule to handle the first case, + we can just traverse the key schedule in reverse order when decrypting. + + The second case requires a little work. + + The tables we built for performing rounds will take an input and then + perform SubBytes() and MixColumns() or, for the decrypt version, + InvSubBytes() and InvMixColumns(). But the decrypt algorithm requires + us to AddRoundKey() before InvMixColumns(). This means we'll need to + apply some transformations to the round key to inverse-mix its columns + so they'll be correct for moving AddRoundKey() to after the state has + had its columns inverse-mixed. + + To inverse-mix the columns of the state when we're decrypting we use a + lookup table that will apply InvSubBytes() and InvMixColumns() at the + same time. However, the round key's bytes are not inverse-substituted + in the decryption algorithm. To get around this problem, we can first + substitute the bytes in the round key so that when we apply the + transformation via the InvSubBytes()+InvMixColumns() table, it will + undo our substitution leaving us with the original value that we + want -- and then inverse-mix that value. + + This change will correctly alter our key schedule so that we can XOR + each round key with our already transformed decryption state. This + allows us to use the same code path as the encryption algorithm. + + We make one more change to the decryption key. Since the decryption + algorithm runs in reverse from the encryption algorithm, we reverse + the order of the round keys to avoid having to iterate over the key + schedule backwards when running the encryption algorithm later in + decryption mode. In addition to reversing the order of the round keys, + we also swap each round key's 2nd and 4th rows. See the comments + section where rounds are performed for more details about why this is + done. These changes are done inline with the other substitution + described above. + */ + if(decrypt) { + var tmp; + var m0 = imix[0]; + var m1 = imix[1]; + var m2 = imix[2]; + var m3 = imix[3]; + var wnew = w.slice(0); + end = w.length; + for(var i = 0, wi = end - Nb; i < end; i += Nb, wi -= Nb) { + // do not sub the first or last round key (round keys are Nb + // words) as no column mixing is performed before they are added, + // but do change the key order + if(i === 0 || i === (end - Nb)) { + wnew[i] = w[wi]; + wnew[i + 1] = w[wi + 3]; + wnew[i + 2] = w[wi + 2]; + wnew[i + 3] = w[wi + 1]; + } else { + // substitute each round key byte because the inverse-mix + // table will inverse-substitute it (effectively cancel the + // substitution because round key bytes aren't sub'd in + // decryption mode) and swap indexes 3 and 1 + for(var n = 0; n < Nb; ++n) { + tmp = w[wi + n]; + wnew[i + (3&-n)] = + m0[sbox[tmp >>> 24]] ^ + m1[sbox[tmp >>> 16 & 255]] ^ + m2[sbox[tmp >>> 8 & 255]] ^ + m3[sbox[tmp & 255]]; + } + } + } + w = wnew; + } + + return w; +} + +/** + * Updates a single block (16 bytes) using AES. The update will either + * encrypt or decrypt the block. + * + * @param w the key schedule. + * @param input the input block (an array of 32-bit words). + * @param output the updated output block. + * @param decrypt true to decrypt the block, false to encrypt it. + */ +function _updateBlock(w, input, output, decrypt) { + /* + Cipher(byte in[4*Nb], byte out[4*Nb], word w[Nb*(Nr+1)]) + begin + byte state[4,Nb] + state = in + AddRoundKey(state, w[0, Nb-1]) + for round = 1 step 1 to Nr-1 + SubBytes(state) + ShiftRows(state) + MixColumns(state) + AddRoundKey(state, w[round*Nb, (round+1)*Nb-1]) + end for + SubBytes(state) + ShiftRows(state) + AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1]) + out = state + end + + InvCipher(byte in[4*Nb], byte out[4*Nb], word w[Nb*(Nr+1)]) + begin + byte state[4,Nb] + state = in + AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1]) + for round = Nr-1 step -1 downto 1 + InvShiftRows(state) + InvSubBytes(state) + AddRoundKey(state, w[round*Nb, (round+1)*Nb-1]) + InvMixColumns(state) + end for + InvShiftRows(state) + InvSubBytes(state) + AddRoundKey(state, w[0, Nb-1]) + out = state + end + */ + + // Encrypt: AddRoundKey(state, w[0, Nb-1]) + // Decrypt: AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1]) + var Nr = w.length / 4 - 1; + var m0, m1, m2, m3, sub; + if(decrypt) { + m0 = imix[0]; + m1 = imix[1]; + m2 = imix[2]; + m3 = imix[3]; + sub = isbox; + } else { + m0 = mix[0]; + m1 = mix[1]; + m2 = mix[2]; + m3 = mix[3]; + sub = sbox; + } + var a, b, c, d, a2, b2, c2; + a = input[0] ^ w[0]; + b = input[decrypt ? 3 : 1] ^ w[1]; + c = input[2] ^ w[2]; + d = input[decrypt ? 1 : 3] ^ w[3]; + var i = 3; + + /* In order to share code we follow the encryption algorithm when both + encrypting and decrypting. To account for the changes required in the + decryption algorithm, we use different lookup tables when decrypting + and use a modified key schedule to account for the difference in the + order of transformations applied when performing rounds. We also get + key rounds in reverse order (relative to encryption). */ + for(var round = 1; round < Nr; ++round) { + /* As described above, we'll be using table lookups to perform the + column mixing. Each column is stored as a word in the state (the + array 'input' has one column as a word at each index). In order to + mix a column, we perform these transformations on each row in c, + which is 1 byte in each word. The new column for c0 is c'0: + + m0 m1 m2 m3 + r0,c'0 = 2*r0,c0 + 3*r1,c0 + 1*r2,c0 + 1*r3,c0 + r1,c'0 = 1*r0,c0 + 2*r1,c0 + 3*r2,c0 + 1*r3,c0 + r2,c'0 = 1*r0,c0 + 1*r1,c0 + 2*r2,c0 + 3*r3,c0 + r3,c'0 = 3*r0,c0 + 1*r1,c0 + 1*r2,c0 + 2*r3,c0 + + So using mix tables where c0 is a word with r0 being its upper + 8 bits and r3 being its lower 8 bits: + + m0[c0 >> 24] will yield this word: [2*r0,1*r0,1*r0,3*r0] + ... + m3[c0 & 255] will yield this word: [1*r3,1*r3,3*r3,2*r3] + + Therefore to mix the columns in each word in the state we + do the following (& 255 omitted for brevity): + c'0,r0 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3] + c'0,r1 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3] + c'0,r2 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3] + c'0,r3 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3] + + However, before mixing, the algorithm requires us to perform + ShiftRows(). The ShiftRows() transformation cyclically shifts the + last 3 rows of the state over different offsets. The first row + (r = 0) is not shifted. + + s'_r,c = s_r,(c + shift(r, Nb) mod Nb + for 0 < r < 4 and 0 <= c < Nb and + shift(1, 4) = 1 + shift(2, 4) = 2 + shift(3, 4) = 3. + + This causes the first byte in r = 1 to be moved to the end of + the row, the first 2 bytes in r = 2 to be moved to the end of + the row, the first 3 bytes in r = 3 to be moved to the end of + the row: + + r1: [c0 c1 c2 c3] => [c1 c2 c3 c0] + r2: [c0 c1 c2 c3] [c2 c3 c0 c1] + r3: [c0 c1 c2 c3] [c3 c0 c1 c2] + + We can make these substitutions inline with our column mixing to + generate an updated set of equations to produce each word in the + state (note the columns have changed positions): + + c0 c1 c2 c3 => c0 c1 c2 c3 + c0 c1 c2 c3 c1 c2 c3 c0 (cycled 1 byte) + c0 c1 c2 c3 c2 c3 c0 c1 (cycled 2 bytes) + c0 c1 c2 c3 c3 c0 c1 c2 (cycled 3 bytes) + + Therefore: + + c'0 = 2*r0,c0 + 3*r1,c1 + 1*r2,c2 + 1*r3,c3 + c'0 = 1*r0,c0 + 2*r1,c1 + 3*r2,c2 + 1*r3,c3 + c'0 = 1*r0,c0 + 1*r1,c1 + 2*r2,c2 + 3*r3,c3 + c'0 = 3*r0,c0 + 1*r1,c1 + 1*r2,c2 + 2*r3,c3 + + c'1 = 2*r0,c1 + 3*r1,c2 + 1*r2,c3 + 1*r3,c0 + c'1 = 1*r0,c1 + 2*r1,c2 + 3*r2,c3 + 1*r3,c0 + c'1 = 1*r0,c1 + 1*r1,c2 + 2*r2,c3 + 3*r3,c0 + c'1 = 3*r0,c1 + 1*r1,c2 + 1*r2,c3 + 2*r3,c0 + + ... and so forth for c'2 and c'3. The important distinction is + that the columns are cycling, with c0 being used with the m0 + map when calculating c0, but c1 being used with the m0 map when + calculating c1 ... and so forth. + + When performing the inverse we transform the mirror image and + skip the bottom row, instead of the top one, and move upwards: + + c3 c2 c1 c0 => c0 c3 c2 c1 (cycled 3 bytes) *same as encryption + c3 c2 c1 c0 c1 c0 c3 c2 (cycled 2 bytes) + c3 c2 c1 c0 c2 c1 c0 c3 (cycled 1 byte) *same as encryption + c3 c2 c1 c0 c3 c2 c1 c0 + + If you compare the resulting matrices for ShiftRows()+MixColumns() + and for InvShiftRows()+InvMixColumns() the 2nd and 4th columns are + different (in encrypt mode vs. decrypt mode). So in order to use + the same code to handle both encryption and decryption, we will + need to do some mapping. + + If in encryption mode we let a=c0, b=c1, c=c2, d=c3, and r be + a row number in the state, then the resulting matrix in encryption + mode for applying the above transformations would be: + + r1: a b c d + r2: b c d a + r3: c d a b + r4: d a b c + + If we did the same in decryption mode we would get: + + r1: a d c b + r2: b a d c + r3: c b a d + r4: d c b a + + If instead we swap d and b (set b=c3 and d=c1), then we get: + + r1: a b c d + r2: d a b c + r3: c d a b + r4: b c d a + + Now the 1st and 3rd rows are the same as the encryption matrix. All + we need to do then to make the mapping exactly the same is to swap + the 2nd and 4th rows when in decryption mode. To do this without + having to do it on each iteration, we swapped the 2nd and 4th rows + in the decryption key schedule. We also have to do the swap above + when we first pull in the input and when we set the final output. */ + a2 = + m0[a >>> 24] ^ + m1[b >>> 16 & 255] ^ + m2[c >>> 8 & 255] ^ + m3[d & 255] ^ w[++i]; + b2 = + m0[b >>> 24] ^ + m1[c >>> 16 & 255] ^ + m2[d >>> 8 & 255] ^ + m3[a & 255] ^ w[++i]; + c2 = + m0[c >>> 24] ^ + m1[d >>> 16 & 255] ^ + m2[a >>> 8 & 255] ^ + m3[b & 255] ^ w[++i]; + d = + m0[d >>> 24] ^ + m1[a >>> 16 & 255] ^ + m2[b >>> 8 & 255] ^ + m3[c & 255] ^ w[++i]; + a = a2; + b = b2; + c = c2; + } + + /* + Encrypt: + SubBytes(state) + ShiftRows(state) + AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1]) + + Decrypt: + InvShiftRows(state) + InvSubBytes(state) + AddRoundKey(state, w[0, Nb-1]) + */ + // Note: rows are shifted inline + output[0] = + (sub[a >>> 24] << 24) ^ + (sub[b >>> 16 & 255] << 16) ^ + (sub[c >>> 8 & 255] << 8) ^ + (sub[d & 255]) ^ w[++i]; + output[decrypt ? 3 : 1] = + (sub[b >>> 24] << 24) ^ + (sub[c >>> 16 & 255] << 16) ^ + (sub[d >>> 8 & 255] << 8) ^ + (sub[a & 255]) ^ w[++i]; + output[2] = + (sub[c >>> 24] << 24) ^ + (sub[d >>> 16 & 255] << 16) ^ + (sub[a >>> 8 & 255] << 8) ^ + (sub[b & 255]) ^ w[++i]; + output[decrypt ? 1 : 3] = + (sub[d >>> 24] << 24) ^ + (sub[a >>> 16 & 255] << 16) ^ + (sub[b >>> 8 & 255] << 8) ^ + (sub[c & 255]) ^ w[++i]; +} + +/** + * Deprecated. Instead, use: + * + * forge.cipher.createCipher('AES-', key); + * forge.cipher.createDecipher('AES-', key); + * + * Creates a deprecated AES cipher object. This object's mode will default to + * CBC (cipher-block-chaining). + * + * The key and iv may be given as a string of bytes, an array of bytes, a + * byte buffer, or an array of 32-bit words. + * + * @param options the options to use. + * key the symmetric key to use. + * output the buffer to write to. + * decrypt true for decryption, false for encryption. + * mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +function _createCipher(options) { + options = options || {}; + var mode = (options.mode || 'CBC').toUpperCase(); + var algorithm = 'AES-' + mode; + + var cipher; + if(options.decrypt) { + cipher = forge.cipher.createDecipher(algorithm, options.key); + } else { + cipher = forge.cipher.createCipher(algorithm, options.key); + } + + // backwards compatible start API + var start = cipher.start; + cipher.start = function(iv, options) { + // backwards compatibility: support second arg as output buffer + var output = null; + if(options instanceof forge.util.ByteBuffer) { + output = options; + options = {}; + } + options = options || {}; + options.output = output; + options.iv = iv; + start.call(cipher, options); + }; + + return cipher; +} + + +/***/ }), + +/***/ 81449: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * A Javascript implementation of AES Cipher Suites for TLS. + * + * @author Dave Longley + * + * Copyright (c) 2009-2015 Digital Bazaar, Inc. + * + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(79167); + +var tls = module.exports = forge.tls; + +/** + * Supported cipher suites. + */ +tls.CipherSuites['TLS_RSA_WITH_AES_128_CBC_SHA'] = { + id: [0x00, 0x2f], + name: 'TLS_RSA_WITH_AES_128_CBC_SHA', + initSecurityParameters: function(sp) { + sp.bulk_cipher_algorithm = tls.BulkCipherAlgorithm.aes; + sp.cipher_type = tls.CipherType.block; + sp.enc_key_length = 16; + sp.block_length = 16; + sp.fixed_iv_length = 16; + sp.record_iv_length = 16; + sp.mac_algorithm = tls.MACAlgorithm.hmac_sha1; + sp.mac_length = 20; + sp.mac_key_length = 20; + }, + initConnectionState: initConnectionState +}; +tls.CipherSuites['TLS_RSA_WITH_AES_256_CBC_SHA'] = { + id: [0x00, 0x35], + name: 'TLS_RSA_WITH_AES_256_CBC_SHA', + initSecurityParameters: function(sp) { + sp.bulk_cipher_algorithm = tls.BulkCipherAlgorithm.aes; + sp.cipher_type = tls.CipherType.block; + sp.enc_key_length = 32; + sp.block_length = 16; + sp.fixed_iv_length = 16; + sp.record_iv_length = 16; + sp.mac_algorithm = tls.MACAlgorithm.hmac_sha1; + sp.mac_length = 20; + sp.mac_key_length = 20; + }, + initConnectionState: initConnectionState +}; + +function initConnectionState(state, c, sp) { + var client = (c.entity === forge.tls.ConnectionEnd.client); + + // cipher setup + state.read.cipherState = { + init: false, + cipher: forge.cipher.createDecipher('AES-CBC', client ? + sp.keys.server_write_key : sp.keys.client_write_key), + iv: client ? sp.keys.server_write_IV : sp.keys.client_write_IV + }; + state.write.cipherState = { + init: false, + cipher: forge.cipher.createCipher('AES-CBC', client ? + sp.keys.client_write_key : sp.keys.server_write_key), + iv: client ? sp.keys.client_write_IV : sp.keys.server_write_IV + }; + state.read.cipherFunction = decrypt_aes_cbc_sha1; + state.write.cipherFunction = encrypt_aes_cbc_sha1; + + // MAC setup + state.read.macLength = state.write.macLength = sp.mac_length; + state.read.macFunction = state.write.macFunction = tls.hmac_sha1; +} + +/** + * Encrypts the TLSCompressed record into a TLSCipherText record using AES + * in CBC mode. + * + * @param record the TLSCompressed record to encrypt. + * @param s the ConnectionState to use. + * + * @return true on success, false on failure. + */ +function encrypt_aes_cbc_sha1(record, s) { + var rval = false; + + // append MAC to fragment, update sequence number + var mac = s.macFunction(s.macKey, s.sequenceNumber, record); + record.fragment.putBytes(mac); + s.updateSequenceNumber(); + + // TLS 1.1+ use an explicit IV every time to protect against CBC attacks + var iv; + if(record.version.minor === tls.Versions.TLS_1_0.minor) { + // use the pre-generated IV when initializing for TLS 1.0, otherwise use + // the residue from the previous encryption + iv = s.cipherState.init ? null : s.cipherState.iv; + } else { + iv = forge.random.getBytesSync(16); + } + + s.cipherState.init = true; + + // start cipher + var cipher = s.cipherState.cipher; + cipher.start({iv: iv}); + + // TLS 1.1+ write IV into output + if(record.version.minor >= tls.Versions.TLS_1_1.minor) { + cipher.output.putBytes(iv); + } + + // do encryption (default padding is appropriate) + cipher.update(record.fragment); + if(cipher.finish(encrypt_aes_cbc_sha1_padding)) { + // set record fragment to encrypted output + record.fragment = cipher.output; + record.length = record.fragment.length(); + rval = true; + } + + return rval; +} + +/** + * Handles padding for aes_cbc_sha1 in encrypt mode. + * + * @param blockSize the block size. + * @param input the input buffer. + * @param decrypt true in decrypt mode, false in encrypt mode. + * + * @return true on success, false on failure. + */ +function encrypt_aes_cbc_sha1_padding(blockSize, input, decrypt) { + /* The encrypted data length (TLSCiphertext.length) is one more than the sum + of SecurityParameters.block_length, TLSCompressed.length, + SecurityParameters.mac_length, and padding_length. + + The padding may be any length up to 255 bytes long, as long as it results in + the TLSCiphertext.length being an integral multiple of the block length. + Lengths longer than necessary might be desirable to frustrate attacks on a + protocol based on analysis of the lengths of exchanged messages. Each uint8 + in the padding data vector must be filled with the padding length value. + + The padding length should be such that the total size of the + GenericBlockCipher structure is a multiple of the cipher's block length. + Legal values range from zero to 255, inclusive. This length specifies the + length of the padding field exclusive of the padding_length field itself. + + This is slightly different from PKCS#7 because the padding value is 1 + less than the actual number of padding bytes if you include the + padding_length uint8 itself as a padding byte. */ + if(!decrypt) { + // get the number of padding bytes required to reach the blockSize and + // subtract 1 for the padding value (to make room for the padding_length + // uint8) + var padding = blockSize - (input.length() % blockSize); + input.fillWithByte(padding - 1, padding); + } + return true; +} + +/** + * Handles padding for aes_cbc_sha1 in decrypt mode. + * + * @param blockSize the block size. + * @param output the output buffer. + * @param decrypt true in decrypt mode, false in encrypt mode. + * + * @return true on success, false on failure. + */ +function decrypt_aes_cbc_sha1_padding(blockSize, output, decrypt) { + var rval = true; + if(decrypt) { + /* The last byte in the output specifies the number of padding bytes not + including itself. Each of the padding bytes has the same value as that + last byte (known as the padding_length). Here we check all padding + bytes to ensure they have the value of padding_length even if one of + them is bad in order to ward-off timing attacks. */ + var len = output.length(); + var paddingLength = output.last(); + for(var i = len - 1 - paddingLength; i < len - 1; ++i) { + rval = rval && (output.at(i) == paddingLength); + } + if(rval) { + // trim off padding bytes and last padding length byte + output.truncate(paddingLength + 1); + } + } + return rval; +} + +/** + * Decrypts a TLSCipherText record into a TLSCompressed record using + * AES in CBC mode. + * + * @param record the TLSCipherText record to decrypt. + * @param s the ConnectionState to use. + * + * @return true on success, false on failure. + */ +function decrypt_aes_cbc_sha1(record, s) { + var rval = false; + + var iv; + if(record.version.minor === tls.Versions.TLS_1_0.minor) { + // use pre-generated IV when initializing for TLS 1.0, otherwise use the + // residue from the previous decryption + iv = s.cipherState.init ? null : s.cipherState.iv; + } else { + // TLS 1.1+ use an explicit IV every time to protect against CBC attacks + // that is appended to the record fragment + iv = record.fragment.getBytes(16); + } + + s.cipherState.init = true; + + // start cipher + var cipher = s.cipherState.cipher; + cipher.start({iv: iv}); + + // do decryption + cipher.update(record.fragment); + rval = cipher.finish(decrypt_aes_cbc_sha1_padding); + + // even if decryption fails, keep going to minimize timing attacks + + // decrypted data: + // first (len - 20) bytes = application data + // last 20 bytes = MAC + var macLen = s.macLength; + + // create a random MAC to check against should the mac length check fail + // Note: do this regardless of the failure to keep timing consistent + var mac = forge.random.getBytesSync(macLen); + + // get fragment and mac + var len = cipher.output.length(); + if(len >= macLen) { + record.fragment = cipher.output.getBytes(len - macLen); + mac = cipher.output.getBytes(macLen); + } else { + // bad data, but get bytes anyway to try to keep timing consistent + record.fragment = cipher.output.getBytes(); + } + record.fragment = forge.util.createBuffer(record.fragment); + record.length = record.fragment.length(); + + // see if data integrity checks out, update sequence number + var mac2 = s.macFunction(s.macKey, s.sequenceNumber, record); + s.updateSequenceNumber(); + rval = compareMacs(s.macKey, mac, mac2) && rval; + return rval; +} + +/** + * Safely compare two MACs. This function will compare two MACs in a way + * that protects against timing attacks. + * + * TODO: Expose elsewhere as a utility API. + * + * See: https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2011/february/double-hmac-verification/ + * + * @param key the MAC key to use. + * @param mac1 as a binary-encoded string of bytes. + * @param mac2 as a binary-encoded string of bytes. + * + * @return true if the MACs are the same, false if not. + */ +function compareMacs(key, mac1, mac2) { + var hmac = forge.hmac.create(); + + hmac.start('SHA1', key); + hmac.update(mac1); + mac1 = hmac.digest().getBytes(); + + hmac.start(null, null); + hmac.update(mac2); + mac2 = hmac.digest().getBytes(); + + return mac1 === mac2; +} + + +/***/ }), + +/***/ 29414: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +/** + * Copyright (c) 2019 Digital Bazaar, Inc. + */ + +var forge = __nccwpck_require__(89177); +__nccwpck_require__(39549); +var asn1 = forge.asn1; + +exports.privateKeyValidator = { + // PrivateKeyInfo + name: 'PrivateKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + // Version (INTEGER) + name: 'PrivateKeyInfo.version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyVersion' + }, { + // privateKeyAlgorithm + name: 'PrivateKeyInfo.privateKeyAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'privateKeyOid' + }] + }, { + // PrivateKey + name: 'PrivateKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'privateKey' + }] +}; + +exports.publicKeyValidator = { + name: 'SubjectPublicKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'subjectPublicKeyInfo', + value: [{ + name: 'SubjectPublicKeyInfo.AlgorithmIdentifier', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'publicKeyOid' + }] + }, + // capture group for ed25519PublicKey + { + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + composed: true, + captureBitStringValue: 'ed25519PublicKey' + } + // FIXME: this is capture group for rsaPublicKey, use it in this API or + // discard? + /* { + // subjectPublicKey + name: 'SubjectPublicKeyInfo.subjectPublicKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + value: [{ + // RSAPublicKey + name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + optional: true, + captureAsn1: 'rsaPublicKey' + }] + } */ + ] +}; + + +/***/ }), + +/***/ 39549: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of Abstract Syntax Notation Number One. + * + * @author Dave Longley + * + * Copyright (c) 2010-2015 Digital Bazaar, Inc. + * + * An API for storing data using the Abstract Syntax Notation Number One + * format using DER (Distinguished Encoding Rules) encoding. This encoding is + * commonly used to store data for PKI, i.e. X.509 Certificates, and this + * implementation exists for that purpose. + * + * Abstract Syntax Notation Number One (ASN.1) is used to define the abstract + * syntax of information without restricting the way the information is encoded + * for transmission. It provides a standard that allows for open systems + * communication. ASN.1 defines the syntax of information data and a number of + * simple data types as well as a notation for describing them and specifying + * values for them. + * + * The RSA algorithm creates public and private keys that are often stored in + * X.509 or PKCS#X formats -- which use ASN.1 (encoded in DER format). This + * class provides the most basic functionality required to store and load DSA + * keys that are encoded according to ASN.1. + * + * The most common binary encodings for ASN.1 are BER (Basic Encoding Rules) + * and DER (Distinguished Encoding Rules). DER is just a subset of BER that + * has stricter requirements for how data must be encoded. + * + * Each ASN.1 structure has a tag (a byte identifying the ASN.1 structure type) + * and a byte array for the value of this ASN1 structure which may be data or a + * list of ASN.1 structures. + * + * Each ASN.1 structure using BER is (Tag-Length-Value): + * + * | byte 0 | bytes X | bytes Y | + * |--------|---------|---------- + * | tag | length | value | + * + * ASN.1 allows for tags to be of "High-tag-number form" which allows a tag to + * be two or more octets, but that is not supported by this class. A tag is + * only 1 byte. Bits 1-5 give the tag number (ie the data type within a + * particular 'class'), 6 indicates whether or not the ASN.1 value is + * constructed from other ASN.1 values, and bits 7 and 8 give the 'class'. If + * bits 7 and 8 are both zero, the class is UNIVERSAL. If only bit 7 is set, + * then the class is APPLICATION. If only bit 8 is set, then the class is + * CONTEXT_SPECIFIC. If both bits 7 and 8 are set, then the class is PRIVATE. + * The tag numbers for the data types for the class UNIVERSAL are listed below: + * + * UNIVERSAL 0 Reserved for use by the encoding rules + * UNIVERSAL 1 Boolean type + * UNIVERSAL 2 Integer type + * UNIVERSAL 3 Bitstring type + * UNIVERSAL 4 Octetstring type + * UNIVERSAL 5 Null type + * UNIVERSAL 6 Object identifier type + * UNIVERSAL 7 Object descriptor type + * UNIVERSAL 8 External type and Instance-of type + * UNIVERSAL 9 Real type + * UNIVERSAL 10 Enumerated type + * UNIVERSAL 11 Embedded-pdv type + * UNIVERSAL 12 UTF8String type + * UNIVERSAL 13 Relative object identifier type + * UNIVERSAL 14-15 Reserved for future editions + * UNIVERSAL 16 Sequence and Sequence-of types + * UNIVERSAL 17 Set and Set-of types + * UNIVERSAL 18-22, 25-30 Character string types + * UNIVERSAL 23-24 Time types + * + * The length of an ASN.1 structure is specified after the tag identifier. + * There is a definite form and an indefinite form. The indefinite form may + * be used if the encoding is constructed and not all immediately available. + * The indefinite form is encoded using a length byte with only the 8th bit + * set. The end of the constructed object is marked using end-of-contents + * octets (two zero bytes). + * + * The definite form looks like this: + * + * The length may take up 1 or more bytes, it depends on the length of the + * value of the ASN.1 structure. DER encoding requires that if the ASN.1 + * structure has a value that has a length greater than 127, more than 1 byte + * will be used to store its length, otherwise just one byte will be used. + * This is strict. + * + * In the case that the length of the ASN.1 value is less than 127, 1 octet + * (byte) is used to store the "short form" length. The 8th bit has a value of + * 0 indicating the length is "short form" and not "long form" and bits 7-1 + * give the length of the data. (The 8th bit is the left-most, most significant + * bit: also known as big endian or network format). + * + * In the case that the length of the ASN.1 value is greater than 127, 2 to + * 127 octets (bytes) are used to store the "long form" length. The first + * byte's 8th bit is set to 1 to indicate the length is "long form." Bits 7-1 + * give the number of additional octets. All following octets are in base 256 + * with the most significant digit first (typical big-endian binary unsigned + * integer storage). So, for instance, if the length of a value was 257, the + * first byte would be set to: + * + * 10000010 = 130 = 0x82. + * + * This indicates there are 2 octets (base 256) for the length. The second and + * third bytes (the octets just mentioned) would store the length in base 256: + * + * octet 2: 00000001 = 1 * 256^1 = 256 + * octet 3: 00000001 = 1 * 256^0 = 1 + * total = 257 + * + * The algorithm for converting a js integer value of 257 to base-256 is: + * + * var value = 257; + * var bytes = []; + * bytes[0] = (value >>> 8) & 0xFF; // most significant byte first + * bytes[1] = value & 0xFF; // least significant byte last + * + * On the ASN.1 UNIVERSAL Object Identifier (OID) type: + * + * An OID can be written like: "value1.value2.value3...valueN" + * + * The DER encoding rules: + * + * The first byte has the value 40 * value1 + value2. + * The following bytes, if any, encode the remaining values. Each value is + * encoded in base 128, most significant digit first (big endian), with as + * few digits as possible, and the most significant bit of each byte set + * to 1 except the last in each value's encoding. For example: Given the + * OID "1.2.840.113549", its DER encoding is (remember each byte except the + * last one in each encoding is OR'd with 0x80): + * + * byte 1: 40 * 1 + 2 = 42 = 0x2A. + * bytes 2-3: 128 * 6 + 72 = 840 = 6 72 = 6 72 = 0x0648 = 0x8648 + * bytes 4-6: 16384 * 6 + 128 * 119 + 13 = 6 119 13 = 0x06770D = 0x86F70D + * + * The final value is: 0x2A864886F70D. + * The full OID (including ASN.1 tag and length of 6 bytes) is: + * 0x06062A864886F70D + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); +__nccwpck_require__(81925); + +/* ASN.1 API */ +var asn1 = module.exports = forge.asn1 = forge.asn1 || {}; + +/** + * ASN.1 classes. + */ +asn1.Class = { + UNIVERSAL: 0x00, + APPLICATION: 0x40, + CONTEXT_SPECIFIC: 0x80, + PRIVATE: 0xC0 +}; + +/** + * ASN.1 types. Not all types are supported by this implementation, only + * those necessary to implement a simple PKI are implemented. + */ +asn1.Type = { + NONE: 0, + BOOLEAN: 1, + INTEGER: 2, + BITSTRING: 3, + OCTETSTRING: 4, + NULL: 5, + OID: 6, + ODESC: 7, + EXTERNAL: 8, + REAL: 9, + ENUMERATED: 10, + EMBEDDED: 11, + UTF8: 12, + ROID: 13, + SEQUENCE: 16, + SET: 17, + PRINTABLESTRING: 19, + IA5STRING: 22, + UTCTIME: 23, + GENERALIZEDTIME: 24, + BMPSTRING: 30 +}; + +/** + * Creates a new asn1 object. + * + * @param tagClass the tag class for the object. + * @param type the data type (tag number) for the object. + * @param constructed true if the asn1 object is in constructed form. + * @param value the value for the object, if it is not constructed. + * @param [options] the options to use: + * [bitStringContents] the plain BIT STRING content including padding + * byte. + * + * @return the asn1 object. + */ +asn1.create = function(tagClass, type, constructed, value, options) { + /* An asn1 object has a tagClass, a type, a constructed flag, and a + value. The value's type depends on the constructed flag. If + constructed, it will contain a list of other asn1 objects. If not, + it will contain the ASN.1 value as an array of bytes formatted + according to the ASN.1 data type. */ + + // remove undefined values + if(forge.util.isArray(value)) { + var tmp = []; + for(var i = 0; i < value.length; ++i) { + if(value[i] !== undefined) { + tmp.push(value[i]); + } + } + value = tmp; + } + + var obj = { + tagClass: tagClass, + type: type, + constructed: constructed, + composed: constructed || forge.util.isArray(value), + value: value + }; + if(options && 'bitStringContents' in options) { + // TODO: copy byte buffer if it's a buffer not a string + obj.bitStringContents = options.bitStringContents; + // TODO: add readonly flag to avoid this overhead + // save copy to detect changes + obj.original = asn1.copy(obj); + } + return obj; +}; + +/** + * Copies an asn1 object. + * + * @param obj the asn1 object. + * @param [options] copy options: + * [excludeBitStringContents] true to not copy bitStringContents + * + * @return the a copy of the asn1 object. + */ +asn1.copy = function(obj, options) { + var copy; + + if(forge.util.isArray(obj)) { + copy = []; + for(var i = 0; i < obj.length; ++i) { + copy.push(asn1.copy(obj[i], options)); + } + return copy; + } + + if(typeof obj === 'string') { + // TODO: copy byte buffer if it's a buffer not a string + return obj; + } + + copy = { + tagClass: obj.tagClass, + type: obj.type, + constructed: obj.constructed, + composed: obj.composed, + value: asn1.copy(obj.value, options) + }; + if(options && !options.excludeBitStringContents) { + // TODO: copy byte buffer if it's a buffer not a string + copy.bitStringContents = obj.bitStringContents; + } + return copy; +}; + +/** + * Compares asn1 objects for equality. + * + * Note this function does not run in constant time. + * + * @param obj1 the first asn1 object. + * @param obj2 the second asn1 object. + * @param [options] compare options: + * [includeBitStringContents] true to compare bitStringContents + * + * @return true if the asn1 objects are equal. + */ +asn1.equals = function(obj1, obj2, options) { + if(forge.util.isArray(obj1)) { + if(!forge.util.isArray(obj2)) { + return false; + } + if(obj1.length !== obj2.length) { + return false; + } + for(var i = 0; i < obj1.length; ++i) { + if(!asn1.equals(obj1[i], obj2[i])) { + return false; + } + } + return true; + } + + if(typeof obj1 !== typeof obj2) { + return false; + } + + if(typeof obj1 === 'string') { + return obj1 === obj2; + } + + var equal = obj1.tagClass === obj2.tagClass && + obj1.type === obj2.type && + obj1.constructed === obj2.constructed && + obj1.composed === obj2.composed && + asn1.equals(obj1.value, obj2.value); + if(options && options.includeBitStringContents) { + equal = equal && (obj1.bitStringContents === obj2.bitStringContents); + } + + return equal; +}; + +/** + * Gets the length of a BER-encoded ASN.1 value. + * + * In case the length is not specified, undefined is returned. + * + * @param b the BER-encoded ASN.1 byte buffer, starting with the first + * length byte. + * + * @return the length of the BER-encoded ASN.1 value or undefined. + */ +asn1.getBerValueLength = function(b) { + // TODO: move this function and related DER/BER functions to a der.js + // file; better abstract ASN.1 away from der/ber. + var b2 = b.getByte(); + if(b2 === 0x80) { + return undefined; + } + + // see if the length is "short form" or "long form" (bit 8 set) + var length; + var longForm = b2 & 0x80; + if(!longForm) { + // length is just the first byte + length = b2; + } else { + // the number of bytes the length is specified in bits 7 through 1 + // and each length byte is in big-endian base-256 + length = b.getInt((b2 & 0x7F) << 3); + } + return length; +}; + +/** + * Check if the byte buffer has enough bytes. Throws an Error if not. + * + * @param bytes the byte buffer to parse from. + * @param remaining the bytes remaining in the current parsing state. + * @param n the number of bytes the buffer must have. + */ +function _checkBufferLength(bytes, remaining, n) { + if(n > remaining) { + var error = new Error('Too few bytes to parse DER.'); + error.available = bytes.length(); + error.remaining = remaining; + error.requested = n; + throw error; + } +} + +/** + * Gets the length of a BER-encoded ASN.1 value. + * + * In case the length is not specified, undefined is returned. + * + * @param bytes the byte buffer to parse from. + * @param remaining the bytes remaining in the current parsing state. + * + * @return the length of the BER-encoded ASN.1 value or undefined. + */ +var _getValueLength = function(bytes, remaining) { + // TODO: move this function and related DER/BER functions to a der.js + // file; better abstract ASN.1 away from der/ber. + // fromDer already checked that this byte exists + var b2 = bytes.getByte(); + remaining--; + if(b2 === 0x80) { + return undefined; + } + + // see if the length is "short form" or "long form" (bit 8 set) + var length; + var longForm = b2 & 0x80; + if(!longForm) { + // length is just the first byte + length = b2; + } else { + // the number of bytes the length is specified in bits 7 through 1 + // and each length byte is in big-endian base-256 + var longFormBytes = b2 & 0x7F; + _checkBufferLength(bytes, remaining, longFormBytes); + length = bytes.getInt(longFormBytes << 3); + } + // FIXME: this will only happen for 32 bit getInt with high bit set + if(length < 0) { + throw new Error('Negative length: ' + length); + } + return length; +}; + +/** + * Parses an asn1 object from a byte buffer in DER format. + * + * @param bytes the byte buffer to parse from. + * @param [strict] true to be strict when checking value lengths, false to + * allow truncated values (default: true). + * @param [options] object with options or boolean strict flag + * [strict] true to be strict when checking value lengths, false to + * allow truncated values (default: true). + * [decodeBitStrings] true to attempt to decode the content of + * BIT STRINGs (not OCTET STRINGs) using strict mode. Note that + * without schema support to understand the data context this can + * erroneously decode values that happen to be valid ASN.1. This + * flag will be deprecated or removed as soon as schema support is + * available. (default: true) + * + * @return the parsed asn1 object. + */ +asn1.fromDer = function(bytes, options) { + if(options === undefined) { + options = { + strict: true, + decodeBitStrings: true + }; + } + if(typeof options === 'boolean') { + options = { + strict: options, + decodeBitStrings: true + }; + } + if(!('strict' in options)) { + options.strict = true; + } + if(!('decodeBitStrings' in options)) { + options.decodeBitStrings = true; + } + + // wrap in buffer if needed + if(typeof bytes === 'string') { + bytes = forge.util.createBuffer(bytes); + } + + return _fromDer(bytes, bytes.length(), 0, options); +}; + +/** + * Internal function to parse an asn1 object from a byte buffer in DER format. + * + * @param bytes the byte buffer to parse from. + * @param remaining the number of bytes remaining for this chunk. + * @param depth the current parsing depth. + * @param options object with same options as fromDer(). + * + * @return the parsed asn1 object. + */ +function _fromDer(bytes, remaining, depth, options) { + // temporary storage for consumption calculations + var start; + + // minimum length for ASN.1 DER structure is 2 + _checkBufferLength(bytes, remaining, 2); + + // get the first byte + var b1 = bytes.getByte(); + // consumed one byte + remaining--; + + // get the tag class + var tagClass = (b1 & 0xC0); + + // get the type (bits 1-5) + var type = b1 & 0x1F; + + // get the variable value length and adjust remaining bytes + start = bytes.length(); + var length = _getValueLength(bytes, remaining); + remaining -= start - bytes.length(); + + // ensure there are enough bytes to get the value + if(length !== undefined && length > remaining) { + if(options.strict) { + var error = new Error('Too few bytes to read ASN.1 value.'); + error.available = bytes.length(); + error.remaining = remaining; + error.requested = length; + throw error; + } + // Note: be lenient with truncated values and use remaining state bytes + length = remaining; + } + + // value storage + var value; + // possible BIT STRING contents storage + var bitStringContents; + + // constructed flag is bit 6 (32 = 0x20) of the first byte + var constructed = ((b1 & 0x20) === 0x20); + if(constructed) { + // parse child asn1 objects from the value + value = []; + if(length === undefined) { + // asn1 object of indefinite length, read until end tag + for(;;) { + _checkBufferLength(bytes, remaining, 2); + if(bytes.bytes(2) === String.fromCharCode(0, 0)) { + bytes.getBytes(2); + remaining -= 2; + break; + } + start = bytes.length(); + value.push(_fromDer(bytes, remaining, depth + 1, options)); + remaining -= start - bytes.length(); + } + } else { + // parsing asn1 object of definite length + while(length > 0) { + start = bytes.length(); + value.push(_fromDer(bytes, length, depth + 1, options)); + remaining -= start - bytes.length(); + length -= start - bytes.length(); + } + } + } + + // if a BIT STRING, save the contents including padding + if(value === undefined && tagClass === asn1.Class.UNIVERSAL && + type === asn1.Type.BITSTRING) { + bitStringContents = bytes.bytes(length); + } + + // determine if a non-constructed value should be decoded as a composed + // value that contains other ASN.1 objects. BIT STRINGs (and OCTET STRINGs) + // can be used this way. + if(value === undefined && options.decodeBitStrings && + tagClass === asn1.Class.UNIVERSAL && + // FIXME: OCTET STRINGs not yet supported here + // .. other parts of forge expect to decode OCTET STRINGs manually + (type === asn1.Type.BITSTRING /*|| type === asn1.Type.OCTETSTRING*/) && + length > 1) { + // save read position + var savedRead = bytes.read; + var savedRemaining = remaining; + var unused = 0; + if(type === asn1.Type.BITSTRING) { + /* The first octet gives the number of bits by which the length of the + bit string is less than the next multiple of eight (this is called + the "number of unused bits"). + + The second and following octets give the value of the bit string + converted to an octet string. */ + _checkBufferLength(bytes, remaining, 1); + unused = bytes.getByte(); + remaining--; + } + // if all bits are used, maybe the BIT/OCTET STRING holds ASN.1 objs + if(unused === 0) { + try { + // attempt to parse child asn1 object from the value + // (stored in array to signal composed value) + start = bytes.length(); + var subOptions = { + // enforce strict mode to avoid parsing ASN.1 from plain data + verbose: options.verbose, + strict: true, + decodeBitStrings: true + }; + var composed = _fromDer(bytes, remaining, depth + 1, subOptions); + var used = start - bytes.length(); + remaining -= used; + if(type == asn1.Type.BITSTRING) { + used++; + } + + // if the data all decoded and the class indicates UNIVERSAL or + // CONTEXT_SPECIFIC then assume we've got an encapsulated ASN.1 object + var tc = composed.tagClass; + if(used === length && + (tc === asn1.Class.UNIVERSAL || tc === asn1.Class.CONTEXT_SPECIFIC)) { + value = [composed]; + } + } catch(ex) { + } + } + if(value === undefined) { + // restore read position + bytes.read = savedRead; + remaining = savedRemaining; + } + } + + if(value === undefined) { + // asn1 not constructed or composed, get raw value + // TODO: do DER to OID conversion and vice-versa in .toDer? + + if(length === undefined) { + if(options.strict) { + throw new Error('Non-constructed ASN.1 object of indefinite length.'); + } + // be lenient and use remaining state bytes + length = remaining; + } + + if(type === asn1.Type.BMPSTRING) { + value = ''; + for(; length > 0; length -= 2) { + _checkBufferLength(bytes, remaining, 2); + value += String.fromCharCode(bytes.getInt16()); + remaining -= 2; + } + } else { + value = bytes.getBytes(length); + } + } + + // add BIT STRING contents if available + var asn1Options = bitStringContents === undefined ? null : { + bitStringContents: bitStringContents + }; + + // create and return asn1 object + return asn1.create(tagClass, type, constructed, value, asn1Options); +} + +/** + * Converts the given asn1 object to a buffer of bytes in DER format. + * + * @param asn1 the asn1 object to convert to bytes. + * + * @return the buffer of bytes. + */ +asn1.toDer = function(obj) { + var bytes = forge.util.createBuffer(); + + // build the first byte + var b1 = obj.tagClass | obj.type; + + // for storing the ASN.1 value + var value = forge.util.createBuffer(); + + // use BIT STRING contents if available and data not changed + var useBitStringContents = false; + if('bitStringContents' in obj) { + useBitStringContents = true; + if(obj.original) { + useBitStringContents = asn1.equals(obj, obj.original); + } + } + + if(useBitStringContents) { + value.putBytes(obj.bitStringContents); + } else if(obj.composed) { + // if composed, use each child asn1 object's DER bytes as value + // turn on 6th bit (0x20 = 32) to indicate asn1 is constructed + // from other asn1 objects + if(obj.constructed) { + b1 |= 0x20; + } else { + // type is a bit string, add unused bits of 0x00 + value.putByte(0x00); + } + + // add all of the child DER bytes together + for(var i = 0; i < obj.value.length; ++i) { + if(obj.value[i] !== undefined) { + value.putBuffer(asn1.toDer(obj.value[i])); + } + } + } else { + // use asn1.value directly + if(obj.type === asn1.Type.BMPSTRING) { + for(var i = 0; i < obj.value.length; ++i) { + value.putInt16(obj.value.charCodeAt(i)); + } + } else { + // ensure integer is minimally-encoded + // TODO: should all leading bytes be stripped vs just one? + // .. ex '00 00 01' => '01'? + if(obj.type === asn1.Type.INTEGER && + obj.value.length > 1 && + // leading 0x00 for positive integer + ((obj.value.charCodeAt(0) === 0 && + (obj.value.charCodeAt(1) & 0x80) === 0) || + // leading 0xFF for negative integer + (obj.value.charCodeAt(0) === 0xFF && + (obj.value.charCodeAt(1) & 0x80) === 0x80))) { + value.putBytes(obj.value.substr(1)); + } else { + value.putBytes(obj.value); + } + } + } + + // add tag byte + bytes.putByte(b1); + + // use "short form" encoding + if(value.length() <= 127) { + // one byte describes the length + // bit 8 = 0 and bits 7-1 = length + bytes.putByte(value.length() & 0x7F); + } else { + // use "long form" encoding + // 2 to 127 bytes describe the length + // first byte: bit 8 = 1 and bits 7-1 = # of additional bytes + // other bytes: length in base 256, big-endian + var len = value.length(); + var lenBytes = ''; + do { + lenBytes += String.fromCharCode(len & 0xFF); + len = len >>> 8; + } while(len > 0); + + // set first byte to # bytes used to store the length and turn on + // bit 8 to indicate long-form length is used + bytes.putByte(lenBytes.length | 0x80); + + // concatenate length bytes in reverse since they were generated + // little endian and we need big endian + for(var i = lenBytes.length - 1; i >= 0; --i) { + bytes.putByte(lenBytes.charCodeAt(i)); + } + } + + // concatenate value bytes + bytes.putBuffer(value); + return bytes; +}; + +/** + * Converts an OID dot-separated string to a byte buffer. The byte buffer + * contains only the DER-encoded value, not any tag or length bytes. + * + * @param oid the OID dot-separated string. + * + * @return the byte buffer. + */ +asn1.oidToDer = function(oid) { + // split OID into individual values + var values = oid.split('.'); + var bytes = forge.util.createBuffer(); + + // first byte is 40 * value1 + value2 + bytes.putByte(40 * parseInt(values[0], 10) + parseInt(values[1], 10)); + // other bytes are each value in base 128 with 8th bit set except for + // the last byte for each value + var last, valueBytes, value, b; + for(var i = 2; i < values.length; ++i) { + // produce value bytes in reverse because we don't know how many + // bytes it will take to store the value + last = true; + valueBytes = []; + value = parseInt(values[i], 10); + do { + b = value & 0x7F; + value = value >>> 7; + // if value is not last, then turn on 8th bit + if(!last) { + b |= 0x80; + } + valueBytes.push(b); + last = false; + } while(value > 0); + + // add value bytes in reverse (needs to be in big endian) + for(var n = valueBytes.length - 1; n >= 0; --n) { + bytes.putByte(valueBytes[n]); + } + } + + return bytes; +}; + +/** + * Converts a DER-encoded byte buffer to an OID dot-separated string. The + * byte buffer should contain only the DER-encoded value, not any tag or + * length bytes. + * + * @param bytes the byte buffer. + * + * @return the OID dot-separated string. + */ +asn1.derToOid = function(bytes) { + var oid; + + // wrap in buffer if needed + if(typeof bytes === 'string') { + bytes = forge.util.createBuffer(bytes); + } + + // first byte is 40 * value1 + value2 + var b = bytes.getByte(); + oid = Math.floor(b / 40) + '.' + (b % 40); + + // other bytes are each value in base 128 with 8th bit set except for + // the last byte for each value + var value = 0; + while(bytes.length() > 0) { + b = bytes.getByte(); + value = value << 7; + // not the last byte for the value + if(b & 0x80) { + value += b & 0x7F; + } else { + // last byte + oid += '.' + (value + b); + value = 0; + } + } + + return oid; +}; + +/** + * Converts a UTCTime value to a date. + * + * Note: GeneralizedTime has 4 digits for the year and is used for X.509 + * dates past 2049. Parsing that structure hasn't been implemented yet. + * + * @param utc the UTCTime value to convert. + * + * @return the date. + */ +asn1.utcTimeToDate = function(utc) { + /* The following formats can be used: + + YYMMDDhhmmZ + YYMMDDhhmm+hh'mm' + YYMMDDhhmm-hh'mm' + YYMMDDhhmmssZ + YYMMDDhhmmss+hh'mm' + YYMMDDhhmmss-hh'mm' + + Where: + + YY is the least significant two digits of the year + MM is the month (01 to 12) + DD is the day (01 to 31) + hh is the hour (00 to 23) + mm are the minutes (00 to 59) + ss are the seconds (00 to 59) + Z indicates that local time is GMT, + indicates that local time is + later than GMT, and - indicates that local time is earlier than GMT + hh' is the absolute value of the offset from GMT in hours + mm' is the absolute value of the offset from GMT in minutes */ + var date = new Date(); + + // if YY >= 50 use 19xx, if YY < 50 use 20xx + var year = parseInt(utc.substr(0, 2), 10); + year = (year >= 50) ? 1900 + year : 2000 + year; + var MM = parseInt(utc.substr(2, 2), 10) - 1; // use 0-11 for month + var DD = parseInt(utc.substr(4, 2), 10); + var hh = parseInt(utc.substr(6, 2), 10); + var mm = parseInt(utc.substr(8, 2), 10); + var ss = 0; + + // not just YYMMDDhhmmZ + if(utc.length > 11) { + // get character after minutes + var c = utc.charAt(10); + var end = 10; + + // see if seconds are present + if(c !== '+' && c !== '-') { + // get seconds + ss = parseInt(utc.substr(10, 2), 10); + end += 2; + } + } + + // update date + date.setUTCFullYear(year, MM, DD); + date.setUTCHours(hh, mm, ss, 0); + + if(end) { + // get +/- after end of time + c = utc.charAt(end); + if(c === '+' || c === '-') { + // get hours+minutes offset + var hhoffset = parseInt(utc.substr(end + 1, 2), 10); + var mmoffset = parseInt(utc.substr(end + 4, 2), 10); + + // calculate offset in milliseconds + var offset = hhoffset * 60 + mmoffset; + offset *= 60000; + + // apply offset + if(c === '+') { + date.setTime(+date - offset); + } else { + date.setTime(+date + offset); + } + } + } + + return date; +}; + +/** + * Converts a GeneralizedTime value to a date. + * + * @param gentime the GeneralizedTime value to convert. + * + * @return the date. + */ +asn1.generalizedTimeToDate = function(gentime) { + /* The following formats can be used: + + YYYYMMDDHHMMSS + YYYYMMDDHHMMSS.fff + YYYYMMDDHHMMSSZ + YYYYMMDDHHMMSS.fffZ + YYYYMMDDHHMMSS+hh'mm' + YYYYMMDDHHMMSS.fff+hh'mm' + YYYYMMDDHHMMSS-hh'mm' + YYYYMMDDHHMMSS.fff-hh'mm' + + Where: + + YYYY is the year + MM is the month (01 to 12) + DD is the day (01 to 31) + hh is the hour (00 to 23) + mm are the minutes (00 to 59) + ss are the seconds (00 to 59) + .fff is the second fraction, accurate to three decimal places + Z indicates that local time is GMT, + indicates that local time is + later than GMT, and - indicates that local time is earlier than GMT + hh' is the absolute value of the offset from GMT in hours + mm' is the absolute value of the offset from GMT in minutes */ + var date = new Date(); + + var YYYY = parseInt(gentime.substr(0, 4), 10); + var MM = parseInt(gentime.substr(4, 2), 10) - 1; // use 0-11 for month + var DD = parseInt(gentime.substr(6, 2), 10); + var hh = parseInt(gentime.substr(8, 2), 10); + var mm = parseInt(gentime.substr(10, 2), 10); + var ss = parseInt(gentime.substr(12, 2), 10); + var fff = 0; + var offset = 0; + var isUTC = false; + + if(gentime.charAt(gentime.length - 1) === 'Z') { + isUTC = true; + } + + var end = gentime.length - 5, c = gentime.charAt(end); + if(c === '+' || c === '-') { + // get hours+minutes offset + var hhoffset = parseInt(gentime.substr(end + 1, 2), 10); + var mmoffset = parseInt(gentime.substr(end + 4, 2), 10); + + // calculate offset in milliseconds + offset = hhoffset * 60 + mmoffset; + offset *= 60000; + + // apply offset + if(c === '+') { + offset *= -1; + } + + isUTC = true; + } + + // check for second fraction + if(gentime.charAt(14) === '.') { + fff = parseFloat(gentime.substr(14), 10) * 1000; + } + + if(isUTC) { + date.setUTCFullYear(YYYY, MM, DD); + date.setUTCHours(hh, mm, ss, fff); + + // apply offset + date.setTime(+date + offset); + } else { + date.setFullYear(YYYY, MM, DD); + date.setHours(hh, mm, ss, fff); + } + + return date; +}; + +/** + * Converts a date to a UTCTime value. + * + * Note: GeneralizedTime has 4 digits for the year and is used for X.509 + * dates past 2049. Converting to a GeneralizedTime hasn't been + * implemented yet. + * + * @param date the date to convert. + * + * @return the UTCTime value. + */ +asn1.dateToUtcTime = function(date) { + // TODO: validate; currently assumes proper format + if(typeof date === 'string') { + return date; + } + + var rval = ''; + + // create format YYMMDDhhmmssZ + var format = []; + format.push(('' + date.getUTCFullYear()).substr(2)); + format.push('' + (date.getUTCMonth() + 1)); + format.push('' + date.getUTCDate()); + format.push('' + date.getUTCHours()); + format.push('' + date.getUTCMinutes()); + format.push('' + date.getUTCSeconds()); + + // ensure 2 digits are used for each format entry + for(var i = 0; i < format.length; ++i) { + if(format[i].length < 2) { + rval += '0'; + } + rval += format[i]; + } + rval += 'Z'; + + return rval; +}; + +/** + * Converts a date to a GeneralizedTime value. + * + * @param date the date to convert. + * + * @return the GeneralizedTime value as a string. + */ +asn1.dateToGeneralizedTime = function(date) { + // TODO: validate; currently assumes proper format + if(typeof date === 'string') { + return date; + } + + var rval = ''; + + // create format YYYYMMDDHHMMSSZ + var format = []; + format.push('' + date.getUTCFullYear()); + format.push('' + (date.getUTCMonth() + 1)); + format.push('' + date.getUTCDate()); + format.push('' + date.getUTCHours()); + format.push('' + date.getUTCMinutes()); + format.push('' + date.getUTCSeconds()); + + // ensure 2 digits are used for each format entry + for(var i = 0; i < format.length; ++i) { + if(format[i].length < 2) { + rval += '0'; + } + rval += format[i]; + } + rval += 'Z'; + + return rval; +}; + +/** + * Converts a javascript integer to a DER-encoded byte buffer to be used + * as the value for an INTEGER type. + * + * @param x the integer. + * + * @return the byte buffer. + */ +asn1.integerToDer = function(x) { + var rval = forge.util.createBuffer(); + if(x >= -0x80 && x < 0x80) { + return rval.putSignedInt(x, 8); + } + if(x >= -0x8000 && x < 0x8000) { + return rval.putSignedInt(x, 16); + } + if(x >= -0x800000 && x < 0x800000) { + return rval.putSignedInt(x, 24); + } + if(x >= -0x80000000 && x < 0x80000000) { + return rval.putSignedInt(x, 32); + } + var error = new Error('Integer too large; max is 32-bits.'); + error.integer = x; + throw error; +}; + +/** + * Converts a DER-encoded byte buffer to a javascript integer. This is + * typically used to decode the value of an INTEGER type. + * + * @param bytes the byte buffer. + * + * @return the integer. + */ +asn1.derToInteger = function(bytes) { + // wrap in buffer if needed + if(typeof bytes === 'string') { + bytes = forge.util.createBuffer(bytes); + } + + var n = bytes.length() * 8; + if(n > 32) { + throw new Error('Integer too large; max is 32-bits.'); + } + return bytes.getSignedInt(n); +}; + +/** + * Validates that the given ASN.1 object is at least a super set of the + * given ASN.1 structure. Only tag classes and types are checked. An + * optional map may also be provided to capture ASN.1 values while the + * structure is checked. + * + * To capture an ASN.1 value, set an object in the validator's 'capture' + * parameter to the key to use in the capture map. To capture the full + * ASN.1 object, specify 'captureAsn1'. To capture BIT STRING bytes, including + * the leading unused bits counter byte, specify 'captureBitStringContents'. + * To capture BIT STRING bytes, without the leading unused bits counter byte, + * specify 'captureBitStringValue'. + * + * Objects in the validator may set a field 'optional' to true to indicate + * that it isn't necessary to pass validation. + * + * @param obj the ASN.1 object to validate. + * @param v the ASN.1 structure validator. + * @param capture an optional map to capture values in. + * @param errors an optional array for storing validation errors. + * + * @return true on success, false on failure. + */ +asn1.validate = function(obj, v, capture, errors) { + var rval = false; + + // ensure tag class and type are the same if specified + if((obj.tagClass === v.tagClass || typeof(v.tagClass) === 'undefined') && + (obj.type === v.type || typeof(v.type) === 'undefined')) { + // ensure constructed flag is the same if specified + if(obj.constructed === v.constructed || + typeof(v.constructed) === 'undefined') { + rval = true; + + // handle sub values + if(v.value && forge.util.isArray(v.value)) { + var j = 0; + for(var i = 0; rval && i < v.value.length; ++i) { + rval = v.value[i].optional || false; + if(obj.value[j]) { + rval = asn1.validate(obj.value[j], v.value[i], capture, errors); + if(rval) { + ++j; + } else if(v.value[i].optional) { + rval = true; + } + } + if(!rval && errors) { + errors.push( + '[' + v.name + '] ' + + 'Tag class "' + v.tagClass + '", type "' + + v.type + '" expected value length "' + + v.value.length + '", got "' + + obj.value.length + '"'); + } + } + } + + if(rval && capture) { + if(v.capture) { + capture[v.capture] = obj.value; + } + if(v.captureAsn1) { + capture[v.captureAsn1] = obj; + } + if(v.captureBitStringContents && 'bitStringContents' in obj) { + capture[v.captureBitStringContents] = obj.bitStringContents; + } + if(v.captureBitStringValue && 'bitStringContents' in obj) { + var value; + if(obj.bitStringContents.length < 2) { + capture[v.captureBitStringValue] = ''; + } else { + // FIXME: support unused bits with data shifting + var unused = obj.bitStringContents.charCodeAt(0); + if(unused !== 0) { + throw new Error( + 'captureBitStringValue only supported for zero unused bits'); + } + capture[v.captureBitStringValue] = obj.bitStringContents.slice(1); + } + } + } + } else if(errors) { + errors.push( + '[' + v.name + '] ' + + 'Expected constructed "' + v.constructed + '", got "' + + obj.constructed + '"'); + } + } else if(errors) { + if(obj.tagClass !== v.tagClass) { + errors.push( + '[' + v.name + '] ' + + 'Expected tag class "' + v.tagClass + '", got "' + + obj.tagClass + '"'); + } + if(obj.type !== v.type) { + errors.push( + '[' + v.name + '] ' + + 'Expected type "' + v.type + '", got "' + obj.type + '"'); + } + } + return rval; +}; + +// regex for testing for non-latin characters +var _nonLatinRegex = /[^\\u0000-\\u00ff]/; + +/** + * Pretty prints an ASN.1 object to a string. + * + * @param obj the object to write out. + * @param level the level in the tree. + * @param indentation the indentation to use. + * + * @return the string. + */ +asn1.prettyPrint = function(obj, level, indentation) { + var rval = ''; + + // set default level and indentation + level = level || 0; + indentation = indentation || 2; + + // start new line for deep levels + if(level > 0) { + rval += '\n'; + } + + // create indent + var indent = ''; + for(var i = 0; i < level * indentation; ++i) { + indent += ' '; + } + + // print class:type + rval += indent + 'Tag: '; + switch(obj.tagClass) { + case asn1.Class.UNIVERSAL: + rval += 'Universal:'; + break; + case asn1.Class.APPLICATION: + rval += 'Application:'; + break; + case asn1.Class.CONTEXT_SPECIFIC: + rval += 'Context-Specific:'; + break; + case asn1.Class.PRIVATE: + rval += 'Private:'; + break; + } + + if(obj.tagClass === asn1.Class.UNIVERSAL) { + rval += obj.type; + + // known types + switch(obj.type) { + case asn1.Type.NONE: + rval += ' (None)'; + break; + case asn1.Type.BOOLEAN: + rval += ' (Boolean)'; + break; + case asn1.Type.INTEGER: + rval += ' (Integer)'; + break; + case asn1.Type.BITSTRING: + rval += ' (Bit string)'; + break; + case asn1.Type.OCTETSTRING: + rval += ' (Octet string)'; + break; + case asn1.Type.NULL: + rval += ' (Null)'; + break; + case asn1.Type.OID: + rval += ' (Object Identifier)'; + break; + case asn1.Type.ODESC: + rval += ' (Object Descriptor)'; + break; + case asn1.Type.EXTERNAL: + rval += ' (External or Instance of)'; + break; + case asn1.Type.REAL: + rval += ' (Real)'; + break; + case asn1.Type.ENUMERATED: + rval += ' (Enumerated)'; + break; + case asn1.Type.EMBEDDED: + rval += ' (Embedded PDV)'; + break; + case asn1.Type.UTF8: + rval += ' (UTF8)'; + break; + case asn1.Type.ROID: + rval += ' (Relative Object Identifier)'; + break; + case asn1.Type.SEQUENCE: + rval += ' (Sequence)'; + break; + case asn1.Type.SET: + rval += ' (Set)'; + break; + case asn1.Type.PRINTABLESTRING: + rval += ' (Printable String)'; + break; + case asn1.Type.IA5String: + rval += ' (IA5String (ASCII))'; + break; + case asn1.Type.UTCTIME: + rval += ' (UTC time)'; + break; + case asn1.Type.GENERALIZEDTIME: + rval += ' (Generalized time)'; + break; + case asn1.Type.BMPSTRING: + rval += ' (BMP String)'; + break; + } + } else { + rval += obj.type; + } + + rval += '\n'; + rval += indent + 'Constructed: ' + obj.constructed + '\n'; + + if(obj.composed) { + var subvalues = 0; + var sub = ''; + for(var i = 0; i < obj.value.length; ++i) { + if(obj.value[i] !== undefined) { + subvalues += 1; + sub += asn1.prettyPrint(obj.value[i], level + 1, indentation); + if((i + 1) < obj.value.length) { + sub += ','; + } + } + } + rval += indent + 'Sub values: ' + subvalues + sub; + } else { + rval += indent + 'Value: '; + if(obj.type === asn1.Type.OID) { + var oid = asn1.derToOid(obj.value); + rval += oid; + if(forge.pki && forge.pki.oids) { + if(oid in forge.pki.oids) { + rval += ' (' + forge.pki.oids[oid] + ') '; + } + } + } + if(obj.type === asn1.Type.INTEGER) { + try { + rval += asn1.derToInteger(obj.value); + } catch(ex) { + rval += '0x' + forge.util.bytesToHex(obj.value); + } + } else if(obj.type === asn1.Type.BITSTRING) { + // TODO: shift bits as needed to display without padding + if(obj.value.length > 1) { + // remove unused bits field + rval += '0x' + forge.util.bytesToHex(obj.value.slice(1)); + } else { + rval += '(none)'; + } + // show unused bit count + if(obj.value.length > 0) { + var unused = obj.value.charCodeAt(0); + if(unused == 1) { + rval += ' (1 unused bit shown)'; + } else if(unused > 1) { + rval += ' (' + unused + ' unused bits shown)'; + } + } + } else if(obj.type === asn1.Type.OCTETSTRING) { + if(!_nonLatinRegex.test(obj.value)) { + rval += '(' + obj.value + ') '; + } + rval += '0x' + forge.util.bytesToHex(obj.value); + } else if(obj.type === asn1.Type.UTF8) { + rval += forge.util.decodeUtf8(obj.value); + } else if(obj.type === asn1.Type.PRINTABLESTRING || + obj.type === asn1.Type.IA5String) { + rval += obj.value; + } else if(_nonLatinRegex.test(obj.value)) { + rval += '0x' + forge.util.bytesToHex(obj.value); + } else if(obj.value.length === 0) { + rval += '[null]'; + } else { + rval += obj.value; + } + } + + return rval; +}; + + +/***/ }), + +/***/ 72300: +/***/ ((module) => { + +/** + * Base-N/Base-X encoding/decoding functions. + * + * Original implementation from base-x: + * https://github.com/cryptocoinjs/base-x + * + * Which is MIT licensed: + * + * The MIT License (MIT) + * + * Copyright base-x contributors (c) 2016 + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + */ +var api = {}; +module.exports = api; + +// baseN alphabet indexes +var _reverseAlphabets = {}; + +/** + * BaseN-encodes a Uint8Array using the given alphabet. + * + * @param input the Uint8Array to encode. + * @param maxline the maximum number of encoded characters per line to use, + * defaults to none. + * + * @return the baseN-encoded output string. + */ +api.encode = function(input, alphabet, maxline) { + if(typeof alphabet !== 'string') { + throw new TypeError('"alphabet" must be a string.'); + } + if(maxline !== undefined && typeof maxline !== 'number') { + throw new TypeError('"maxline" must be a number.'); + } + + var output = ''; + + if(!(input instanceof Uint8Array)) { + // assume forge byte buffer + output = _encodeWithByteBuffer(input, alphabet); + } else { + var i = 0; + var base = alphabet.length; + var first = alphabet.charAt(0); + var digits = [0]; + for(i = 0; i < input.length; ++i) { + for(var j = 0, carry = input[i]; j < digits.length; ++j) { + carry += digits[j] << 8; + digits[j] = carry % base; + carry = (carry / base) | 0; + } + + while(carry > 0) { + digits.push(carry % base); + carry = (carry / base) | 0; + } + } + + // deal with leading zeros + for(i = 0; input[i] === 0 && i < input.length - 1; ++i) { + output += first; + } + // convert digits to a string + for(i = digits.length - 1; i >= 0; --i) { + output += alphabet[digits[i]]; + } + } + + if(maxline) { + var regex = new RegExp('.{1,' + maxline + '}', 'g'); + output = output.match(regex).join('\r\n'); + } + + return output; +}; + +/** + * Decodes a baseN-encoded (using the given alphabet) string to a + * Uint8Array. + * + * @param input the baseN-encoded input string. + * + * @return the Uint8Array. + */ +api.decode = function(input, alphabet) { + if(typeof input !== 'string') { + throw new TypeError('"input" must be a string.'); + } + if(typeof alphabet !== 'string') { + throw new TypeError('"alphabet" must be a string.'); + } + + var table = _reverseAlphabets[alphabet]; + if(!table) { + // compute reverse alphabet + table = _reverseAlphabets[alphabet] = []; + for(var i = 0; i < alphabet.length; ++i) { + table[alphabet.charCodeAt(i)] = i; + } + } + + // remove whitespace characters + input = input.replace(/\s/g, ''); + + var base = alphabet.length; + var first = alphabet.charAt(0); + var bytes = [0]; + for(var i = 0; i < input.length; i++) { + var value = table[input.charCodeAt(i)]; + if(value === undefined) { + return; + } + + for(var j = 0, carry = value; j < bytes.length; ++j) { + carry += bytes[j] * base; + bytes[j] = carry & 0xff; + carry >>= 8; + } + + while(carry > 0) { + bytes.push(carry & 0xff); + carry >>= 8; + } + } + + // deal with leading zeros + for(var k = 0; input[k] === first && k < input.length - 1; ++k) { + bytes.push(0); + } + + if(typeof Buffer !== 'undefined') { + return Buffer.from(bytes.reverse()); + } + + return new Uint8Array(bytes.reverse()); +}; + +function _encodeWithByteBuffer(input, alphabet) { + var i = 0; + var base = alphabet.length; + var first = alphabet.charAt(0); + var digits = [0]; + for(i = 0; i < input.length(); ++i) { + for(var j = 0, carry = input.at(i); j < digits.length; ++j) { + carry += digits[j] << 8; + digits[j] = carry % base; + carry = (carry / base) | 0; + } + + while(carry > 0) { + digits.push(carry % base); + carry = (carry / base) | 0; + } + } + + var output = ''; + + // deal with leading zeros + for(i = 0; input.at(i) === 0 && i < input.length() - 1; ++i) { + output += first; + } + // convert digits to a string + for(i = digits.length - 1; i >= 0; --i) { + output += alphabet[digits[i]]; + } + + return output; +} + + +/***/ }), + +/***/ 7088: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Cipher base API. + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +module.exports = forge.cipher = forge.cipher || {}; + +// registered algorithms +forge.cipher.algorithms = forge.cipher.algorithms || {}; + +/** + * Creates a cipher object that can be used to encrypt data using the given + * algorithm and key. The algorithm may be provided as a string value for a + * previously registered algorithm or it may be given as a cipher algorithm + * API object. + * + * @param algorithm the algorithm to use, either a string or an algorithm API + * object. + * @param key the key to use, as a binary-encoded string of bytes or a + * byte buffer. + * + * @return the cipher. + */ +forge.cipher.createCipher = function(algorithm, key) { + var api = algorithm; + if(typeof api === 'string') { + api = forge.cipher.getAlgorithm(api); + if(api) { + api = api(); + } + } + if(!api) { + throw new Error('Unsupported algorithm: ' + algorithm); + } + + // assume block cipher + return new forge.cipher.BlockCipher({ + algorithm: api, + key: key, + decrypt: false + }); +}; + +/** + * Creates a decipher object that can be used to decrypt data using the given + * algorithm and key. The algorithm may be provided as a string value for a + * previously registered algorithm or it may be given as a cipher algorithm + * API object. + * + * @param algorithm the algorithm to use, either a string or an algorithm API + * object. + * @param key the key to use, as a binary-encoded string of bytes or a + * byte buffer. + * + * @return the cipher. + */ +forge.cipher.createDecipher = function(algorithm, key) { + var api = algorithm; + if(typeof api === 'string') { + api = forge.cipher.getAlgorithm(api); + if(api) { + api = api(); + } + } + if(!api) { + throw new Error('Unsupported algorithm: ' + algorithm); + } + + // assume block cipher + return new forge.cipher.BlockCipher({ + algorithm: api, + key: key, + decrypt: true + }); +}; + +/** + * Registers an algorithm by name. If the name was already registered, the + * algorithm API object will be overwritten. + * + * @param name the name of the algorithm. + * @param algorithm the algorithm API object. + */ +forge.cipher.registerAlgorithm = function(name, algorithm) { + name = name.toUpperCase(); + forge.cipher.algorithms[name] = algorithm; +}; + +/** + * Gets a registered algorithm by name. + * + * @param name the name of the algorithm. + * + * @return the algorithm, if found, null if not. + */ +forge.cipher.getAlgorithm = function(name) { + name = name.toUpperCase(); + if(name in forge.cipher.algorithms) { + return forge.cipher.algorithms[name]; + } + return null; +}; + +var BlockCipher = forge.cipher.BlockCipher = function(options) { + this.algorithm = options.algorithm; + this.mode = this.algorithm.mode; + this.blockSize = this.mode.blockSize; + this._finish = false; + this._input = null; + this.output = null; + this._op = options.decrypt ? this.mode.decrypt : this.mode.encrypt; + this._decrypt = options.decrypt; + this.algorithm.initialize(options); +}; + +/** + * Starts or restarts the encryption or decryption process, whichever + * was previously configured. + * + * For non-GCM mode, the IV may be a binary-encoded string of bytes, an array + * of bytes, a byte buffer, or an array of 32-bit integers. If the IV is in + * bytes, then it must be Nb (16) bytes in length. If the IV is given in as + * 32-bit integers, then it must be 4 integers long. + * + * Note: an IV is not required or used in ECB mode. + * + * For GCM-mode, the IV must be given as a binary-encoded string of bytes or + * a byte buffer. The number of bytes should be 12 (96 bits) as recommended + * by NIST SP-800-38D but another length may be given. + * + * @param options the options to use: + * iv the initialization vector to use as a binary-encoded string of + * bytes, null to reuse the last ciphered block from a previous + * update() (this "residue" method is for legacy support only). + * additionalData additional authentication data as a binary-encoded + * string of bytes, for 'GCM' mode, (default: none). + * tagLength desired length of authentication tag, in bits, for + * 'GCM' mode (0-128, default: 128). + * tag the authentication tag to check if decrypting, as a + * binary-encoded string of bytes. + * output the output the buffer to write to, null to create one. + */ +BlockCipher.prototype.start = function(options) { + options = options || {}; + var opts = {}; + for(var key in options) { + opts[key] = options[key]; + } + opts.decrypt = this._decrypt; + this._finish = false; + this._input = forge.util.createBuffer(); + this.output = options.output || forge.util.createBuffer(); + this.mode.start(opts); +}; + +/** + * Updates the next block according to the cipher mode. + * + * @param input the buffer to read from. + */ +BlockCipher.prototype.update = function(input) { + if(input) { + // input given, so empty it into the input buffer + this._input.putBuffer(input); + } + + // do cipher operation until it needs more input and not finished + while(!this._op.call(this.mode, this._input, this.output, this._finish) && + !this._finish) {} + + // free consumed memory from input buffer + this._input.compact(); +}; + +/** + * Finishes encrypting or decrypting. + * + * @param pad a padding function to use in CBC mode, null for default, + * signature(blockSize, buffer, decrypt). + * + * @return true if successful, false on error. + */ +BlockCipher.prototype.finish = function(pad) { + // backwards-compatibility w/deprecated padding API + // Note: will overwrite padding functions even after another start() call + if(pad && (this.mode.name === 'ECB' || this.mode.name === 'CBC')) { + this.mode.pad = function(input) { + return pad(this.blockSize, input, false); + }; + this.mode.unpad = function(output) { + return pad(this.blockSize, output, true); + }; + } + + // build options for padding and afterFinish functions + var options = {}; + options.decrypt = this._decrypt; + + // get # of bytes that won't fill a block + options.overflow = this._input.length() % this.blockSize; + + if(!this._decrypt && this.mode.pad) { + if(!this.mode.pad(this._input, options)) { + return false; + } + } + + // do final update + this._finish = true; + this.update(); + + if(this._decrypt && this.mode.unpad) { + if(!this.mode.unpad(this.output, options)) { + return false; + } + } + + if(this.mode.afterFinish) { + if(!this.mode.afterFinish(this.output, options)) { + return false; + } + } + + return true; +}; + + +/***/ }), + +/***/ 10873: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Supported cipher modes. + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +forge.cipher = forge.cipher || {}; + +// supported cipher modes +var modes = module.exports = forge.cipher.modes = forge.cipher.modes || {}; + +/** Electronic codebook (ECB) (Don't use this; it's not secure) **/ + +modes.ecb = function(options) { + options = options || {}; + this.name = 'ECB'; + this.cipher = options.cipher; + this.blockSize = options.blockSize || 16; + this._ints = this.blockSize / 4; + this._inBlock = new Array(this._ints); + this._outBlock = new Array(this._ints); +}; + +modes.ecb.prototype.start = function(options) {}; + +modes.ecb.prototype.encrypt = function(input, output, finish) { + // not enough input to encrypt + if(input.length() < this.blockSize && !(finish && input.length() > 0)) { + return true; + } + + // get next block + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = input.getInt32(); + } + + // encrypt block + this.cipher.encrypt(this._inBlock, this._outBlock); + + // write output + for(var i = 0; i < this._ints; ++i) { + output.putInt32(this._outBlock[i]); + } +}; + +modes.ecb.prototype.decrypt = function(input, output, finish) { + // not enough input to decrypt + if(input.length() < this.blockSize && !(finish && input.length() > 0)) { + return true; + } + + // get next block + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = input.getInt32(); + } + + // decrypt block + this.cipher.decrypt(this._inBlock, this._outBlock); + + // write output + for(var i = 0; i < this._ints; ++i) { + output.putInt32(this._outBlock[i]); + } +}; + +modes.ecb.prototype.pad = function(input, options) { + // add PKCS#7 padding to block (each pad byte is the + // value of the number of pad bytes) + var padding = (input.length() === this.blockSize ? + this.blockSize : (this.blockSize - input.length())); + input.fillWithByte(padding, padding); + return true; +}; + +modes.ecb.prototype.unpad = function(output, options) { + // check for error: input data not a multiple of blockSize + if(options.overflow > 0) { + return false; + } + + // ensure padding byte count is valid + var len = output.length(); + var count = output.at(len - 1); + if(count > (this.blockSize << 2)) { + return false; + } + + // trim off padding bytes + output.truncate(count); + return true; +}; + +/** Cipher-block Chaining (CBC) **/ + +modes.cbc = function(options) { + options = options || {}; + this.name = 'CBC'; + this.cipher = options.cipher; + this.blockSize = options.blockSize || 16; + this._ints = this.blockSize / 4; + this._inBlock = new Array(this._ints); + this._outBlock = new Array(this._ints); +}; + +modes.cbc.prototype.start = function(options) { + // Note: legacy support for using IV residue (has security flaws) + // if IV is null, reuse block from previous processing + if(options.iv === null) { + // must have a previous block + if(!this._prev) { + throw new Error('Invalid IV parameter.'); + } + this._iv = this._prev.slice(0); + } else if(!('iv' in options)) { + throw new Error('Invalid IV parameter.'); + } else { + // save IV as "previous" block + this._iv = transformIV(options.iv, this.blockSize); + this._prev = this._iv.slice(0); + } +}; + +modes.cbc.prototype.encrypt = function(input, output, finish) { + // not enough input to encrypt + if(input.length() < this.blockSize && !(finish && input.length() > 0)) { + return true; + } + + // get next block + // CBC XOR's IV (or previous block) with plaintext + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = this._prev[i] ^ input.getInt32(); + } + + // encrypt block + this.cipher.encrypt(this._inBlock, this._outBlock); + + // write output, save previous block + for(var i = 0; i < this._ints; ++i) { + output.putInt32(this._outBlock[i]); + } + this._prev = this._outBlock; +}; + +modes.cbc.prototype.decrypt = function(input, output, finish) { + // not enough input to decrypt + if(input.length() < this.blockSize && !(finish && input.length() > 0)) { + return true; + } + + // get next block + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = input.getInt32(); + } + + // decrypt block + this.cipher.decrypt(this._inBlock, this._outBlock); + + // write output, save previous ciphered block + // CBC XOR's IV (or previous block) with ciphertext + for(var i = 0; i < this._ints; ++i) { + output.putInt32(this._prev[i] ^ this._outBlock[i]); + } + this._prev = this._inBlock.slice(0); +}; + +modes.cbc.prototype.pad = function(input, options) { + // add PKCS#7 padding to block (each pad byte is the + // value of the number of pad bytes) + var padding = (input.length() === this.blockSize ? + this.blockSize : (this.blockSize - input.length())); + input.fillWithByte(padding, padding); + return true; +}; + +modes.cbc.prototype.unpad = function(output, options) { + // check for error: input data not a multiple of blockSize + if(options.overflow > 0) { + return false; + } + + // ensure padding byte count is valid + var len = output.length(); + var count = output.at(len - 1); + if(count > (this.blockSize << 2)) { + return false; + } + + // trim off padding bytes + output.truncate(count); + return true; +}; + +/** Cipher feedback (CFB) **/ + +modes.cfb = function(options) { + options = options || {}; + this.name = 'CFB'; + this.cipher = options.cipher; + this.blockSize = options.blockSize || 16; + this._ints = this.blockSize / 4; + this._inBlock = null; + this._outBlock = new Array(this._ints); + this._partialBlock = new Array(this._ints); + this._partialOutput = forge.util.createBuffer(); + this._partialBytes = 0; +}; + +modes.cfb.prototype.start = function(options) { + if(!('iv' in options)) { + throw new Error('Invalid IV parameter.'); + } + // use IV as first input + this._iv = transformIV(options.iv, this.blockSize); + this._inBlock = this._iv.slice(0); + this._partialBytes = 0; +}; + +modes.cfb.prototype.encrypt = function(input, output, finish) { + // not enough input to encrypt + var inputLength = input.length(); + if(inputLength === 0) { + return true; + } + + // encrypt block + this.cipher.encrypt(this._inBlock, this._outBlock); + + // handle full block + if(this._partialBytes === 0 && inputLength >= this.blockSize) { + // XOR input with output, write input as output + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = input.getInt32() ^ this._outBlock[i]; + output.putInt32(this._inBlock[i]); + } + return; + } + + // handle partial block + var partialBytes = (this.blockSize - inputLength) % this.blockSize; + if(partialBytes > 0) { + partialBytes = this.blockSize - partialBytes; + } + + // XOR input with output, write input as partial output + this._partialOutput.clear(); + for(var i = 0; i < this._ints; ++i) { + this._partialBlock[i] = input.getInt32() ^ this._outBlock[i]; + this._partialOutput.putInt32(this._partialBlock[i]); + } + + if(partialBytes > 0) { + // block still incomplete, restore input buffer + input.read -= this.blockSize; + } else { + // block complete, update input block + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = this._partialBlock[i]; + } + } + + // skip any previous partial bytes + if(this._partialBytes > 0) { + this._partialOutput.getBytes(this._partialBytes); + } + + if(partialBytes > 0 && !finish) { + output.putBytes(this._partialOutput.getBytes( + partialBytes - this._partialBytes)); + this._partialBytes = partialBytes; + return true; + } + + output.putBytes(this._partialOutput.getBytes( + inputLength - this._partialBytes)); + this._partialBytes = 0; +}; + +modes.cfb.prototype.decrypt = function(input, output, finish) { + // not enough input to decrypt + var inputLength = input.length(); + if(inputLength === 0) { + return true; + } + + // encrypt block (CFB always uses encryption mode) + this.cipher.encrypt(this._inBlock, this._outBlock); + + // handle full block + if(this._partialBytes === 0 && inputLength >= this.blockSize) { + // XOR input with output, write input as output + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = input.getInt32(); + output.putInt32(this._inBlock[i] ^ this._outBlock[i]); + } + return; + } + + // handle partial block + var partialBytes = (this.blockSize - inputLength) % this.blockSize; + if(partialBytes > 0) { + partialBytes = this.blockSize - partialBytes; + } + + // XOR input with output, write input as partial output + this._partialOutput.clear(); + for(var i = 0; i < this._ints; ++i) { + this._partialBlock[i] = input.getInt32(); + this._partialOutput.putInt32(this._partialBlock[i] ^ this._outBlock[i]); + } + + if(partialBytes > 0) { + // block still incomplete, restore input buffer + input.read -= this.blockSize; + } else { + // block complete, update input block + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = this._partialBlock[i]; + } + } + + // skip any previous partial bytes + if(this._partialBytes > 0) { + this._partialOutput.getBytes(this._partialBytes); + } + + if(partialBytes > 0 && !finish) { + output.putBytes(this._partialOutput.getBytes( + partialBytes - this._partialBytes)); + this._partialBytes = partialBytes; + return true; + } + + output.putBytes(this._partialOutput.getBytes( + inputLength - this._partialBytes)); + this._partialBytes = 0; +}; + +/** Output feedback (OFB) **/ + +modes.ofb = function(options) { + options = options || {}; + this.name = 'OFB'; + this.cipher = options.cipher; + this.blockSize = options.blockSize || 16; + this._ints = this.blockSize / 4; + this._inBlock = null; + this._outBlock = new Array(this._ints); + this._partialOutput = forge.util.createBuffer(); + this._partialBytes = 0; +}; + +modes.ofb.prototype.start = function(options) { + if(!('iv' in options)) { + throw new Error('Invalid IV parameter.'); + } + // use IV as first input + this._iv = transformIV(options.iv, this.blockSize); + this._inBlock = this._iv.slice(0); + this._partialBytes = 0; +}; + +modes.ofb.prototype.encrypt = function(input, output, finish) { + // not enough input to encrypt + var inputLength = input.length(); + if(input.length() === 0) { + return true; + } + + // encrypt block (OFB always uses encryption mode) + this.cipher.encrypt(this._inBlock, this._outBlock); + + // handle full block + if(this._partialBytes === 0 && inputLength >= this.blockSize) { + // XOR input with output and update next input + for(var i = 0; i < this._ints; ++i) { + output.putInt32(input.getInt32() ^ this._outBlock[i]); + this._inBlock[i] = this._outBlock[i]; + } + return; + } + + // handle partial block + var partialBytes = (this.blockSize - inputLength) % this.blockSize; + if(partialBytes > 0) { + partialBytes = this.blockSize - partialBytes; + } + + // XOR input with output + this._partialOutput.clear(); + for(var i = 0; i < this._ints; ++i) { + this._partialOutput.putInt32(input.getInt32() ^ this._outBlock[i]); + } + + if(partialBytes > 0) { + // block still incomplete, restore input buffer + input.read -= this.blockSize; + } else { + // block complete, update input block + for(var i = 0; i < this._ints; ++i) { + this._inBlock[i] = this._outBlock[i]; + } + } + + // skip any previous partial bytes + if(this._partialBytes > 0) { + this._partialOutput.getBytes(this._partialBytes); + } + + if(partialBytes > 0 && !finish) { + output.putBytes(this._partialOutput.getBytes( + partialBytes - this._partialBytes)); + this._partialBytes = partialBytes; + return true; + } + + output.putBytes(this._partialOutput.getBytes( + inputLength - this._partialBytes)); + this._partialBytes = 0; +}; + +modes.ofb.prototype.decrypt = modes.ofb.prototype.encrypt; + +/** Counter (CTR) **/ + +modes.ctr = function(options) { + options = options || {}; + this.name = 'CTR'; + this.cipher = options.cipher; + this.blockSize = options.blockSize || 16; + this._ints = this.blockSize / 4; + this._inBlock = null; + this._outBlock = new Array(this._ints); + this._partialOutput = forge.util.createBuffer(); + this._partialBytes = 0; +}; + +modes.ctr.prototype.start = function(options) { + if(!('iv' in options)) { + throw new Error('Invalid IV parameter.'); + } + // use IV as first input + this._iv = transformIV(options.iv, this.blockSize); + this._inBlock = this._iv.slice(0); + this._partialBytes = 0; +}; + +modes.ctr.prototype.encrypt = function(input, output, finish) { + // not enough input to encrypt + var inputLength = input.length(); + if(inputLength === 0) { + return true; + } + + // encrypt block (CTR always uses encryption mode) + this.cipher.encrypt(this._inBlock, this._outBlock); + + // handle full block + if(this._partialBytes === 0 && inputLength >= this.blockSize) { + // XOR input with output + for(var i = 0; i < this._ints; ++i) { + output.putInt32(input.getInt32() ^ this._outBlock[i]); + } + } else { + // handle partial block + var partialBytes = (this.blockSize - inputLength) % this.blockSize; + if(partialBytes > 0) { + partialBytes = this.blockSize - partialBytes; + } + + // XOR input with output + this._partialOutput.clear(); + for(var i = 0; i < this._ints; ++i) { + this._partialOutput.putInt32(input.getInt32() ^ this._outBlock[i]); + } + + if(partialBytes > 0) { + // block still incomplete, restore input buffer + input.read -= this.blockSize; + } + + // skip any previous partial bytes + if(this._partialBytes > 0) { + this._partialOutput.getBytes(this._partialBytes); + } + + if(partialBytes > 0 && !finish) { + output.putBytes(this._partialOutput.getBytes( + partialBytes - this._partialBytes)); + this._partialBytes = partialBytes; + return true; + } + + output.putBytes(this._partialOutput.getBytes( + inputLength - this._partialBytes)); + this._partialBytes = 0; + } + + // block complete, increment counter (input block) + inc32(this._inBlock); +}; + +modes.ctr.prototype.decrypt = modes.ctr.prototype.encrypt; + +/** Galois/Counter Mode (GCM) **/ + +modes.gcm = function(options) { + options = options || {}; + this.name = 'GCM'; + this.cipher = options.cipher; + this.blockSize = options.blockSize || 16; + this._ints = this.blockSize / 4; + this._inBlock = new Array(this._ints); + this._outBlock = new Array(this._ints); + this._partialOutput = forge.util.createBuffer(); + this._partialBytes = 0; + + // R is actually this value concatenated with 120 more zero bits, but + // we only XOR against R so the other zeros have no effect -- we just + // apply this value to the first integer in a block + this._R = 0xE1000000; +}; + +modes.gcm.prototype.start = function(options) { + if(!('iv' in options)) { + throw new Error('Invalid IV parameter.'); + } + // ensure IV is a byte buffer + var iv = forge.util.createBuffer(options.iv); + + // no ciphered data processed yet + this._cipherLength = 0; + + // default additional data is none + var additionalData; + if('additionalData' in options) { + additionalData = forge.util.createBuffer(options.additionalData); + } else { + additionalData = forge.util.createBuffer(); + } + + // default tag length is 128 bits + if('tagLength' in options) { + this._tagLength = options.tagLength; + } else { + this._tagLength = 128; + } + + // if tag is given, ensure tag matches tag length + this._tag = null; + if(options.decrypt) { + // save tag to check later + this._tag = forge.util.createBuffer(options.tag).getBytes(); + if(this._tag.length !== (this._tagLength / 8)) { + throw new Error('Authentication tag does not match tag length.'); + } + } + + // create tmp storage for hash calculation + this._hashBlock = new Array(this._ints); + + // no tag generated yet + this.tag = null; + + // generate hash subkey + // (apply block cipher to "zero" block) + this._hashSubkey = new Array(this._ints); + this.cipher.encrypt([0, 0, 0, 0], this._hashSubkey); + + // generate table M + // use 4-bit tables (32 component decomposition of a 16 byte value) + // 8-bit tables take more space and are known to have security + // vulnerabilities (in native implementations) + this.componentBits = 4; + this._m = this.generateHashTable(this._hashSubkey, this.componentBits); + + // Note: support IV length different from 96 bits? (only supporting + // 96 bits is recommended by NIST SP-800-38D) + // generate J_0 + var ivLength = iv.length(); + if(ivLength === 12) { + // 96-bit IV + this._j0 = [iv.getInt32(), iv.getInt32(), iv.getInt32(), 1]; + } else { + // IV is NOT 96-bits + this._j0 = [0, 0, 0, 0]; + while(iv.length() > 0) { + this._j0 = this.ghash( + this._hashSubkey, this._j0, + [iv.getInt32(), iv.getInt32(), iv.getInt32(), iv.getInt32()]); + } + this._j0 = this.ghash( + this._hashSubkey, this._j0, [0, 0].concat(from64To32(ivLength * 8))); + } + + // generate ICB (initial counter block) + this._inBlock = this._j0.slice(0); + inc32(this._inBlock); + this._partialBytes = 0; + + // consume authentication data + additionalData = forge.util.createBuffer(additionalData); + // save additional data length as a BE 64-bit number + this._aDataLength = from64To32(additionalData.length() * 8); + // pad additional data to 128 bit (16 byte) block size + var overflow = additionalData.length() % this.blockSize; + if(overflow) { + additionalData.fillWithByte(0, this.blockSize - overflow); + } + this._s = [0, 0, 0, 0]; + while(additionalData.length() > 0) { + this._s = this.ghash(this._hashSubkey, this._s, [ + additionalData.getInt32(), + additionalData.getInt32(), + additionalData.getInt32(), + additionalData.getInt32() + ]); + } +}; + +modes.gcm.prototype.encrypt = function(input, output, finish) { + // not enough input to encrypt + var inputLength = input.length(); + if(inputLength === 0) { + return true; + } + + // encrypt block + this.cipher.encrypt(this._inBlock, this._outBlock); + + // handle full block + if(this._partialBytes === 0 && inputLength >= this.blockSize) { + // XOR input with output + for(var i = 0; i < this._ints; ++i) { + output.putInt32(this._outBlock[i] ^= input.getInt32()); + } + this._cipherLength += this.blockSize; + } else { + // handle partial block + var partialBytes = (this.blockSize - inputLength) % this.blockSize; + if(partialBytes > 0) { + partialBytes = this.blockSize - partialBytes; + } + + // XOR input with output + this._partialOutput.clear(); + for(var i = 0; i < this._ints; ++i) { + this._partialOutput.putInt32(input.getInt32() ^ this._outBlock[i]); + } + + if(partialBytes <= 0 || finish) { + // handle overflow prior to hashing + if(finish) { + // get block overflow + var overflow = inputLength % this.blockSize; + this._cipherLength += overflow; + // truncate for hash function + this._partialOutput.truncate(this.blockSize - overflow); + } else { + this._cipherLength += this.blockSize; + } + + // get output block for hashing + for(var i = 0; i < this._ints; ++i) { + this._outBlock[i] = this._partialOutput.getInt32(); + } + this._partialOutput.read -= this.blockSize; + } + + // skip any previous partial bytes + if(this._partialBytes > 0) { + this._partialOutput.getBytes(this._partialBytes); + } + + if(partialBytes > 0 && !finish) { + // block still incomplete, restore input buffer, get partial output, + // and return early + input.read -= this.blockSize; + output.putBytes(this._partialOutput.getBytes( + partialBytes - this._partialBytes)); + this._partialBytes = partialBytes; + return true; + } + + output.putBytes(this._partialOutput.getBytes( + inputLength - this._partialBytes)); + this._partialBytes = 0; + } + + // update hash block S + this._s = this.ghash(this._hashSubkey, this._s, this._outBlock); + + // increment counter (input block) + inc32(this._inBlock); +}; + +modes.gcm.prototype.decrypt = function(input, output, finish) { + // not enough input to decrypt + var inputLength = input.length(); + if(inputLength < this.blockSize && !(finish && inputLength > 0)) { + return true; + } + + // encrypt block (GCM always uses encryption mode) + this.cipher.encrypt(this._inBlock, this._outBlock); + + // increment counter (input block) + inc32(this._inBlock); + + // update hash block S + this._hashBlock[0] = input.getInt32(); + this._hashBlock[1] = input.getInt32(); + this._hashBlock[2] = input.getInt32(); + this._hashBlock[3] = input.getInt32(); + this._s = this.ghash(this._hashSubkey, this._s, this._hashBlock); + + // XOR hash input with output + for(var i = 0; i < this._ints; ++i) { + output.putInt32(this._outBlock[i] ^ this._hashBlock[i]); + } + + // increment cipher data length + if(inputLength < this.blockSize) { + this._cipherLength += inputLength % this.blockSize; + } else { + this._cipherLength += this.blockSize; + } +}; + +modes.gcm.prototype.afterFinish = function(output, options) { + var rval = true; + + // handle overflow + if(options.decrypt && options.overflow) { + output.truncate(this.blockSize - options.overflow); + } + + // handle authentication tag + this.tag = forge.util.createBuffer(); + + // concatenate additional data length with cipher length + var lengths = this._aDataLength.concat(from64To32(this._cipherLength * 8)); + + // include lengths in hash + this._s = this.ghash(this._hashSubkey, this._s, lengths); + + // do GCTR(J_0, S) + var tag = []; + this.cipher.encrypt(this._j0, tag); + for(var i = 0; i < this._ints; ++i) { + this.tag.putInt32(this._s[i] ^ tag[i]); + } + + // trim tag to length + this.tag.truncate(this.tag.length() % (this._tagLength / 8)); + + // check authentication tag + if(options.decrypt && this.tag.bytes() !== this._tag) { + rval = false; + } + + return rval; +}; + +/** + * See NIST SP-800-38D 6.3 (Algorithm 1). This function performs Galois + * field multiplication. The field, GF(2^128), is defined by the polynomial: + * + * x^128 + x^7 + x^2 + x + 1 + * + * Which is represented in little-endian binary form as: 11100001 (0xe1). When + * the value of a coefficient is 1, a bit is set. The value R, is the + * concatenation of this value and 120 zero bits, yielding a 128-bit value + * which matches the block size. + * + * This function will multiply two elements (vectors of bytes), X and Y, in + * the field GF(2^128). The result is initialized to zero. For each bit of + * X (out of 128), x_i, if x_i is set, then the result is multiplied (XOR'd) + * by the current value of Y. For each bit, the value of Y will be raised by + * a power of x (multiplied by the polynomial x). This can be achieved by + * shifting Y once to the right. If the current value of Y, prior to being + * multiplied by x, has 0 as its LSB, then it is a 127th degree polynomial. + * Otherwise, we must divide by R after shifting to find the remainder. + * + * @param x the first block to multiply by the second. + * @param y the second block to multiply by the first. + * + * @return the block result of the multiplication. + */ +modes.gcm.prototype.multiply = function(x, y) { + var z_i = [0, 0, 0, 0]; + var v_i = y.slice(0); + + // calculate Z_128 (block has 128 bits) + for(var i = 0; i < 128; ++i) { + // if x_i is 0, Z_{i+1} = Z_i (unchanged) + // else Z_{i+1} = Z_i ^ V_i + // get x_i by finding 32-bit int position, then left shift 1 by remainder + var x_i = x[(i / 32) | 0] & (1 << (31 - i % 32)); + if(x_i) { + z_i[0] ^= v_i[0]; + z_i[1] ^= v_i[1]; + z_i[2] ^= v_i[2]; + z_i[3] ^= v_i[3]; + } + + // if LSB(V_i) is 1, V_i = V_i >> 1 + // else V_i = (V_i >> 1) ^ R + this.pow(v_i, v_i); + } + + return z_i; +}; + +modes.gcm.prototype.pow = function(x, out) { + // if LSB(x) is 1, x = x >>> 1 + // else x = (x >>> 1) ^ R + var lsb = x[3] & 1; + + // always do x >>> 1: + // starting with the rightmost integer, shift each integer to the right + // one bit, pulling in the bit from the integer to the left as its top + // most bit (do this for the last 3 integers) + for(var i = 3; i > 0; --i) { + out[i] = (x[i] >>> 1) | ((x[i - 1] & 1) << 31); + } + // shift the first integer normally + out[0] = x[0] >>> 1; + + // if lsb was not set, then polynomial had a degree of 127 and doesn't + // need to divided; otherwise, XOR with R to find the remainder; we only + // need to XOR the first integer since R technically ends w/120 zero bits + if(lsb) { + out[0] ^= this._R; + } +}; + +modes.gcm.prototype.tableMultiply = function(x) { + // assumes 4-bit tables are used + var z = [0, 0, 0, 0]; + for(var i = 0; i < 32; ++i) { + var idx = (i / 8) | 0; + var x_i = (x[idx] >>> ((7 - (i % 8)) * 4)) & 0xF; + var ah = this._m[i][x_i]; + z[0] ^= ah[0]; + z[1] ^= ah[1]; + z[2] ^= ah[2]; + z[3] ^= ah[3]; + } + return z; +}; + +/** + * A continuing version of the GHASH algorithm that operates on a single + * block. The hash block, last hash value (Ym) and the new block to hash + * are given. + * + * @param h the hash block. + * @param y the previous value for Ym, use [0, 0, 0, 0] for a new hash. + * @param x the block to hash. + * + * @return the hashed value (Ym). + */ +modes.gcm.prototype.ghash = function(h, y, x) { + y[0] ^= x[0]; + y[1] ^= x[1]; + y[2] ^= x[2]; + y[3] ^= x[3]; + return this.tableMultiply(y); + //return this.multiply(y, h); +}; + +/** + * Precomputes a table for multiplying against the hash subkey. This + * mechanism provides a substantial speed increase over multiplication + * performed without a table. The table-based multiplication this table is + * for solves X * H by multiplying each component of X by H and then + * composing the results together using XOR. + * + * This function can be used to generate tables with different bit sizes + * for the components, however, this implementation assumes there are + * 32 components of X (which is a 16 byte vector), therefore each component + * takes 4-bits (so the table is constructed with bits=4). + * + * @param h the hash subkey. + * @param bits the bit size for a component. + */ +modes.gcm.prototype.generateHashTable = function(h, bits) { + // TODO: There are further optimizations that would use only the + // first table M_0 (or some variant) along with a remainder table; + // this can be explored in the future + var multiplier = 8 / bits; + var perInt = 4 * multiplier; + var size = 16 * multiplier; + var m = new Array(size); + for(var i = 0; i < size; ++i) { + var tmp = [0, 0, 0, 0]; + var idx = (i / perInt) | 0; + var shft = ((perInt - 1 - (i % perInt)) * bits); + tmp[idx] = (1 << (bits - 1)) << shft; + m[i] = this.generateSubHashTable(this.multiply(tmp, h), bits); + } + return m; +}; + +/** + * Generates a table for multiplying against the hash subkey for one + * particular component (out of all possible component values). + * + * @param mid the pre-multiplied value for the middle key of the table. + * @param bits the bit size for a component. + */ +modes.gcm.prototype.generateSubHashTable = function(mid, bits) { + // compute the table quickly by minimizing the number of + // POW operations -- they only need to be performed for powers of 2, + // all other entries can be composed from those powers using XOR + var size = 1 << bits; + var half = size >>> 1; + var m = new Array(size); + m[half] = mid.slice(0); + var i = half >>> 1; + while(i > 0) { + // raise m0[2 * i] and store in m0[i] + this.pow(m[2 * i], m[i] = []); + i >>= 1; + } + i = 2; + while(i < half) { + for(var j = 1; j < i; ++j) { + var m_i = m[i]; + var m_j = m[j]; + m[i + j] = [ + m_i[0] ^ m_j[0], + m_i[1] ^ m_j[1], + m_i[2] ^ m_j[2], + m_i[3] ^ m_j[3] + ]; + } + i *= 2; + } + m[0] = [0, 0, 0, 0]; + /* Note: We could avoid storing these by doing composition during multiply + calculate top half using composition by speed is preferred. */ + for(i = half + 1; i < size; ++i) { + var c = m[i ^ half]; + m[i] = [mid[0] ^ c[0], mid[1] ^ c[1], mid[2] ^ c[2], mid[3] ^ c[3]]; + } + return m; +}; + +/** Utility functions */ + +function transformIV(iv, blockSize) { + if(typeof iv === 'string') { + // convert iv string into byte buffer + iv = forge.util.createBuffer(iv); + } + + if(forge.util.isArray(iv) && iv.length > 4) { + // convert iv byte array into byte buffer + var tmp = iv; + iv = forge.util.createBuffer(); + for(var i = 0; i < tmp.length; ++i) { + iv.putByte(tmp[i]); + } + } + + if(iv.length() < blockSize) { + throw new Error( + 'Invalid IV length; got ' + iv.length() + + ' bytes and expected ' + blockSize + ' bytes.'); + } + + if(!forge.util.isArray(iv)) { + // convert iv byte buffer into 32-bit integer array + var ints = []; + var blocks = blockSize / 4; + for(var i = 0; i < blocks; ++i) { + ints.push(iv.getInt32()); + } + iv = ints; + } + + return iv; +} + +function inc32(block) { + // increment last 32 bits of block only + block[block.length - 1] = (block[block.length - 1] + 1) & 0xFFFFFFFF; +} + +function from64To32(num) { + // convert 64-bit number to two BE Int32s + return [(num / 0x100000000) | 0, num & 0xFFFFFFFF]; +} + + +/***/ }), + +/***/ 52923: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Debugging support for web applications. + * + * @author David I. Lehn + * + * Copyright 2008-2013 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); + +/* DEBUG API */ +module.exports = forge.debug = forge.debug || {}; + +// Private storage for debugging. +// Useful to expose data that is otherwise unviewable behind closures. +// NOTE: remember that this can hold references to data and cause leaks! +// format is "forge._debug.. = data" +// Example: +// (function() { +// var cat = 'forge.test.Test'; // debugging category +// var sState = {...}; // local state +// forge.debug.set(cat, 'sState', sState); +// })(); +forge.debug.storage = {}; + +/** + * Gets debug data. Omit name for all cat data Omit name and cat for + * all data. + * + * @param cat name of debugging category. + * @param name name of data to get (optional). + * @return object with requested debug data or undefined. + */ +forge.debug.get = function(cat, name) { + var rval; + if(typeof(cat) === 'undefined') { + rval = forge.debug.storage; + } else if(cat in forge.debug.storage) { + if(typeof(name) === 'undefined') { + rval = forge.debug.storage[cat]; + } else { + rval = forge.debug.storage[cat][name]; + } + } + return rval; +}; + +/** + * Sets debug data. + * + * @param cat name of debugging category. + * @param name name of data to set. + * @param data data to set. + */ +forge.debug.set = function(cat, name, data) { + if(!(cat in forge.debug.storage)) { + forge.debug.storage[cat] = {}; + } + forge.debug.storage[cat][name] = data; +}; + +/** + * Clears debug data. Omit name for all cat data. Omit name and cat for + * all data. + * + * @param cat name of debugging category. + * @param name name of data to clear or omit to clear entire category. + */ +forge.debug.clear = function(cat, name) { + if(typeof(cat) === 'undefined') { + forge.debug.storage = {}; + } else if(cat in forge.debug.storage) { + if(typeof(name) === 'undefined') { + delete forge.debug.storage[cat]; + } else { + delete forge.debug.storage[cat][name]; + } + } +}; + + +/***/ }), + +/***/ 97157: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * DES (Data Encryption Standard) implementation. + * + * This implementation supports DES as well as 3DES-EDE in ECB and CBC mode. + * It is based on the BSD-licensed implementation by Paul Tero: + * + * Paul Tero, July 2001 + * http://www.tero.co.uk/des/ + * + * Optimised for performance with large blocks by + * Michael Hayworth, November 2001 + * http://www.netdealing.com + * + * THIS SOFTWARE IS PROVIDED "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @author Stefan Siegl + * @author Dave Longley + * + * Copyright (c) 2012 Stefan Siegl + * Copyright (c) 2012-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(7088); +__nccwpck_require__(10873); +__nccwpck_require__(28339); + +/* DES API */ +module.exports = forge.des = forge.des || {}; + +/** + * Deprecated. Instead, use: + * + * var cipher = forge.cipher.createCipher('DES-', key); + * cipher.start({iv: iv}); + * + * Creates an DES cipher object to encrypt data using the given symmetric key. + * The output will be stored in the 'output' member of the returned cipher. + * + * The key and iv may be given as binary-encoded strings of bytes or + * byte buffers. + * + * @param key the symmetric key to use (64 or 192 bits). + * @param iv the initialization vector to use. + * @param output the buffer to write to, null to create one. + * @param mode the cipher mode to use (default: 'CBC' if IV is + * given, 'ECB' if null). + * + * @return the cipher. + */ +forge.des.startEncrypting = function(key, iv, output, mode) { + var cipher = _createCipher({ + key: key, + output: output, + decrypt: false, + mode: mode || (iv === null ? 'ECB' : 'CBC') + }); + cipher.start(iv); + return cipher; +}; + +/** + * Deprecated. Instead, use: + * + * var cipher = forge.cipher.createCipher('DES-', key); + * + * Creates an DES cipher object to encrypt data using the given symmetric key. + * + * The key may be given as a binary-encoded string of bytes or a byte buffer. + * + * @param key the symmetric key to use (64 or 192 bits). + * @param mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +forge.des.createEncryptionCipher = function(key, mode) { + return _createCipher({ + key: key, + output: null, + decrypt: false, + mode: mode + }); +}; + +/** + * Deprecated. Instead, use: + * + * var decipher = forge.cipher.createDecipher('DES-', key); + * decipher.start({iv: iv}); + * + * Creates an DES cipher object to decrypt data using the given symmetric key. + * The output will be stored in the 'output' member of the returned cipher. + * + * The key and iv may be given as binary-encoded strings of bytes or + * byte buffers. + * + * @param key the symmetric key to use (64 or 192 bits). + * @param iv the initialization vector to use. + * @param output the buffer to write to, null to create one. + * @param mode the cipher mode to use (default: 'CBC' if IV is + * given, 'ECB' if null). + * + * @return the cipher. + */ +forge.des.startDecrypting = function(key, iv, output, mode) { + var cipher = _createCipher({ + key: key, + output: output, + decrypt: true, + mode: mode || (iv === null ? 'ECB' : 'CBC') + }); + cipher.start(iv); + return cipher; +}; + +/** + * Deprecated. Instead, use: + * + * var decipher = forge.cipher.createDecipher('DES-', key); + * + * Creates an DES cipher object to decrypt data using the given symmetric key. + * + * The key may be given as a binary-encoded string of bytes or a byte buffer. + * + * @param key the symmetric key to use (64 or 192 bits). + * @param mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +forge.des.createDecryptionCipher = function(key, mode) { + return _createCipher({ + key: key, + output: null, + decrypt: true, + mode: mode + }); +}; + +/** + * Creates a new DES cipher algorithm object. + * + * @param name the name of the algorithm. + * @param mode the mode factory function. + * + * @return the DES algorithm object. + */ +forge.des.Algorithm = function(name, mode) { + var self = this; + self.name = name; + self.mode = new mode({ + blockSize: 8, + cipher: { + encrypt: function(inBlock, outBlock) { + return _updateBlock(self._keys, inBlock, outBlock, false); + }, + decrypt: function(inBlock, outBlock) { + return _updateBlock(self._keys, inBlock, outBlock, true); + } + } + }); + self._init = false; +}; + +/** + * Initializes this DES algorithm by expanding its key. + * + * @param options the options to use. + * key the key to use with this algorithm. + * decrypt true if the algorithm should be initialized for decryption, + * false for encryption. + */ +forge.des.Algorithm.prototype.initialize = function(options) { + if(this._init) { + return; + } + + var key = forge.util.createBuffer(options.key); + if(this.name.indexOf('3DES') === 0) { + if(key.length() !== 24) { + throw new Error('Invalid Triple-DES key size: ' + key.length() * 8); + } + } + + // do key expansion to 16 or 48 subkeys (single or triple DES) + this._keys = _createKeys(key); + this._init = true; +}; + +/** Register DES algorithms **/ + +registerAlgorithm('DES-ECB', forge.cipher.modes.ecb); +registerAlgorithm('DES-CBC', forge.cipher.modes.cbc); +registerAlgorithm('DES-CFB', forge.cipher.modes.cfb); +registerAlgorithm('DES-OFB', forge.cipher.modes.ofb); +registerAlgorithm('DES-CTR', forge.cipher.modes.ctr); + +registerAlgorithm('3DES-ECB', forge.cipher.modes.ecb); +registerAlgorithm('3DES-CBC', forge.cipher.modes.cbc); +registerAlgorithm('3DES-CFB', forge.cipher.modes.cfb); +registerAlgorithm('3DES-OFB', forge.cipher.modes.ofb); +registerAlgorithm('3DES-CTR', forge.cipher.modes.ctr); + +function registerAlgorithm(name, mode) { + var factory = function() { + return new forge.des.Algorithm(name, mode); + }; + forge.cipher.registerAlgorithm(name, factory); +} + +/** DES implementation **/ + +var spfunction1 = [0x1010400,0,0x10000,0x1010404,0x1010004,0x10404,0x4,0x10000,0x400,0x1010400,0x1010404,0x400,0x1000404,0x1010004,0x1000000,0x4,0x404,0x1000400,0x1000400,0x10400,0x10400,0x1010000,0x1010000,0x1000404,0x10004,0x1000004,0x1000004,0x10004,0,0x404,0x10404,0x1000000,0x10000,0x1010404,0x4,0x1010000,0x1010400,0x1000000,0x1000000,0x400,0x1010004,0x10000,0x10400,0x1000004,0x400,0x4,0x1000404,0x10404,0x1010404,0x10004,0x1010000,0x1000404,0x1000004,0x404,0x10404,0x1010400,0x404,0x1000400,0x1000400,0,0x10004,0x10400,0,0x1010004]; +var spfunction2 = [-0x7fef7fe0,-0x7fff8000,0x8000,0x108020,0x100000,0x20,-0x7fefffe0,-0x7fff7fe0,-0x7fffffe0,-0x7fef7fe0,-0x7fef8000,-0x80000000,-0x7fff8000,0x100000,0x20,-0x7fefffe0,0x108000,0x100020,-0x7fff7fe0,0,-0x80000000,0x8000,0x108020,-0x7ff00000,0x100020,-0x7fffffe0,0,0x108000,0x8020,-0x7fef8000,-0x7ff00000,0x8020,0,0x108020,-0x7fefffe0,0x100000,-0x7fff7fe0,-0x7ff00000,-0x7fef8000,0x8000,-0x7ff00000,-0x7fff8000,0x20,-0x7fef7fe0,0x108020,0x20,0x8000,-0x80000000,0x8020,-0x7fef8000,0x100000,-0x7fffffe0,0x100020,-0x7fff7fe0,-0x7fffffe0,0x100020,0x108000,0,-0x7fff8000,0x8020,-0x80000000,-0x7fefffe0,-0x7fef7fe0,0x108000]; +var spfunction3 = [0x208,0x8020200,0,0x8020008,0x8000200,0,0x20208,0x8000200,0x20008,0x8000008,0x8000008,0x20000,0x8020208,0x20008,0x8020000,0x208,0x8000000,0x8,0x8020200,0x200,0x20200,0x8020000,0x8020008,0x20208,0x8000208,0x20200,0x20000,0x8000208,0x8,0x8020208,0x200,0x8000000,0x8020200,0x8000000,0x20008,0x208,0x20000,0x8020200,0x8000200,0,0x200,0x20008,0x8020208,0x8000200,0x8000008,0x200,0,0x8020008,0x8000208,0x20000,0x8000000,0x8020208,0x8,0x20208,0x20200,0x8000008,0x8020000,0x8000208,0x208,0x8020000,0x20208,0x8,0x8020008,0x20200]; +var spfunction4 = [0x802001,0x2081,0x2081,0x80,0x802080,0x800081,0x800001,0x2001,0,0x802000,0x802000,0x802081,0x81,0,0x800080,0x800001,0x1,0x2000,0x800000,0x802001,0x80,0x800000,0x2001,0x2080,0x800081,0x1,0x2080,0x800080,0x2000,0x802080,0x802081,0x81,0x800080,0x800001,0x802000,0x802081,0x81,0,0,0x802000,0x2080,0x800080,0x800081,0x1,0x802001,0x2081,0x2081,0x80,0x802081,0x81,0x1,0x2000,0x800001,0x2001,0x802080,0x800081,0x2001,0x2080,0x800000,0x802001,0x80,0x800000,0x2000,0x802080]; +var spfunction5 = [0x100,0x2080100,0x2080000,0x42000100,0x80000,0x100,0x40000000,0x2080000,0x40080100,0x80000,0x2000100,0x40080100,0x42000100,0x42080000,0x80100,0x40000000,0x2000000,0x40080000,0x40080000,0,0x40000100,0x42080100,0x42080100,0x2000100,0x42080000,0x40000100,0,0x42000000,0x2080100,0x2000000,0x42000000,0x80100,0x80000,0x42000100,0x100,0x2000000,0x40000000,0x2080000,0x42000100,0x40080100,0x2000100,0x40000000,0x42080000,0x2080100,0x40080100,0x100,0x2000000,0x42080000,0x42080100,0x80100,0x42000000,0x42080100,0x2080000,0,0x40080000,0x42000000,0x80100,0x2000100,0x40000100,0x80000,0,0x40080000,0x2080100,0x40000100]; +var spfunction6 = [0x20000010,0x20400000,0x4000,0x20404010,0x20400000,0x10,0x20404010,0x400000,0x20004000,0x404010,0x400000,0x20000010,0x400010,0x20004000,0x20000000,0x4010,0,0x400010,0x20004010,0x4000,0x404000,0x20004010,0x10,0x20400010,0x20400010,0,0x404010,0x20404000,0x4010,0x404000,0x20404000,0x20000000,0x20004000,0x10,0x20400010,0x404000,0x20404010,0x400000,0x4010,0x20000010,0x400000,0x20004000,0x20000000,0x4010,0x20000010,0x20404010,0x404000,0x20400000,0x404010,0x20404000,0,0x20400010,0x10,0x4000,0x20400000,0x404010,0x4000,0x400010,0x20004010,0,0x20404000,0x20000000,0x400010,0x20004010]; +var spfunction7 = [0x200000,0x4200002,0x4000802,0,0x800,0x4000802,0x200802,0x4200800,0x4200802,0x200000,0,0x4000002,0x2,0x4000000,0x4200002,0x802,0x4000800,0x200802,0x200002,0x4000800,0x4000002,0x4200000,0x4200800,0x200002,0x4200000,0x800,0x802,0x4200802,0x200800,0x2,0x4000000,0x200800,0x4000000,0x200800,0x200000,0x4000802,0x4000802,0x4200002,0x4200002,0x2,0x200002,0x4000000,0x4000800,0x200000,0x4200800,0x802,0x200802,0x4200800,0x802,0x4000002,0x4200802,0x4200000,0x200800,0,0x2,0x4200802,0,0x200802,0x4200000,0x800,0x4000002,0x4000800,0x800,0x200002]; +var spfunction8 = [0x10001040,0x1000,0x40000,0x10041040,0x10000000,0x10001040,0x40,0x10000000,0x40040,0x10040000,0x10041040,0x41000,0x10041000,0x41040,0x1000,0x40,0x10040000,0x10000040,0x10001000,0x1040,0x41000,0x40040,0x10040040,0x10041000,0x1040,0,0,0x10040040,0x10000040,0x10001000,0x41040,0x40000,0x41040,0x40000,0x10041000,0x1000,0x40,0x10040040,0x1000,0x41040,0x10001000,0x40,0x10000040,0x10040000,0x10040040,0x10000000,0x40000,0x10001040,0,0x10041040,0x40040,0x10000040,0x10040000,0x10001000,0x10001040,0,0x10041040,0x41000,0x41000,0x1040,0x1040,0x40040,0x10000000,0x10041000]; + +/** + * Create necessary sub keys. + * + * @param key the 64-bit or 192-bit key. + * + * @return the expanded keys. + */ +function _createKeys(key) { + var pc2bytes0 = [0,0x4,0x20000000,0x20000004,0x10000,0x10004,0x20010000,0x20010004,0x200,0x204,0x20000200,0x20000204,0x10200,0x10204,0x20010200,0x20010204], + pc2bytes1 = [0,0x1,0x100000,0x100001,0x4000000,0x4000001,0x4100000,0x4100001,0x100,0x101,0x100100,0x100101,0x4000100,0x4000101,0x4100100,0x4100101], + pc2bytes2 = [0,0x8,0x800,0x808,0x1000000,0x1000008,0x1000800,0x1000808,0,0x8,0x800,0x808,0x1000000,0x1000008,0x1000800,0x1000808], + pc2bytes3 = [0,0x200000,0x8000000,0x8200000,0x2000,0x202000,0x8002000,0x8202000,0x20000,0x220000,0x8020000,0x8220000,0x22000,0x222000,0x8022000,0x8222000], + pc2bytes4 = [0,0x40000,0x10,0x40010,0,0x40000,0x10,0x40010,0x1000,0x41000,0x1010,0x41010,0x1000,0x41000,0x1010,0x41010], + pc2bytes5 = [0,0x400,0x20,0x420,0,0x400,0x20,0x420,0x2000000,0x2000400,0x2000020,0x2000420,0x2000000,0x2000400,0x2000020,0x2000420], + pc2bytes6 = [0,0x10000000,0x80000,0x10080000,0x2,0x10000002,0x80002,0x10080002,0,0x10000000,0x80000,0x10080000,0x2,0x10000002,0x80002,0x10080002], + pc2bytes7 = [0,0x10000,0x800,0x10800,0x20000000,0x20010000,0x20000800,0x20010800,0x20000,0x30000,0x20800,0x30800,0x20020000,0x20030000,0x20020800,0x20030800], + pc2bytes8 = [0,0x40000,0,0x40000,0x2,0x40002,0x2,0x40002,0x2000000,0x2040000,0x2000000,0x2040000,0x2000002,0x2040002,0x2000002,0x2040002], + pc2bytes9 = [0,0x10000000,0x8,0x10000008,0,0x10000000,0x8,0x10000008,0x400,0x10000400,0x408,0x10000408,0x400,0x10000400,0x408,0x10000408], + pc2bytes10 = [0,0x20,0,0x20,0x100000,0x100020,0x100000,0x100020,0x2000,0x2020,0x2000,0x2020,0x102000,0x102020,0x102000,0x102020], + pc2bytes11 = [0,0x1000000,0x200,0x1000200,0x200000,0x1200000,0x200200,0x1200200,0x4000000,0x5000000,0x4000200,0x5000200,0x4200000,0x5200000,0x4200200,0x5200200], + pc2bytes12 = [0,0x1000,0x8000000,0x8001000,0x80000,0x81000,0x8080000,0x8081000,0x10,0x1010,0x8000010,0x8001010,0x80010,0x81010,0x8080010,0x8081010], + pc2bytes13 = [0,0x4,0x100,0x104,0,0x4,0x100,0x104,0x1,0x5,0x101,0x105,0x1,0x5,0x101,0x105]; + + // how many iterations (1 for des, 3 for triple des) + // changed by Paul 16/6/2007 to use Triple DES for 9+ byte keys + var iterations = key.length() > 8 ? 3 : 1; + + // stores the return keys + var keys = []; + + // now define the left shifts which need to be done + var shifts = [0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0]; + + var n = 0, tmp; + for(var j = 0; j < iterations; j++) { + var left = key.getInt32(); + var right = key.getInt32(); + + tmp = ((left >>> 4) ^ right) & 0x0f0f0f0f; + right ^= tmp; + left ^= (tmp << 4); + + tmp = ((right >>> -16) ^ left) & 0x0000ffff; + left ^= tmp; + right ^= (tmp << -16); + + tmp = ((left >>> 2) ^ right) & 0x33333333; + right ^= tmp; + left ^= (tmp << 2); + + tmp = ((right >>> -16) ^ left) & 0x0000ffff; + left ^= tmp; + right ^= (tmp << -16); + + tmp = ((left >>> 1) ^ right) & 0x55555555; + right ^= tmp; + left ^= (tmp << 1); + + tmp = ((right >>> 8) ^ left) & 0x00ff00ff; + left ^= tmp; + right ^= (tmp << 8); + + tmp = ((left >>> 1) ^ right) & 0x55555555; + right ^= tmp; + left ^= (tmp << 1); + + // right needs to be shifted and OR'd with last four bits of left + tmp = (left << 8) | ((right >>> 20) & 0x000000f0); + + // left needs to be put upside down + left = ((right << 24) | ((right << 8) & 0xff0000) | + ((right >>> 8) & 0xff00) | ((right >>> 24) & 0xf0)); + right = tmp; + + // now go through and perform these shifts on the left and right keys + for(var i = 0; i < shifts.length; ++i) { + //shift the keys either one or two bits to the left + if(shifts[i]) { + left = (left << 2) | (left >>> 26); + right = (right << 2) | (right >>> 26); + } else { + left = (left << 1) | (left >>> 27); + right = (right << 1) | (right >>> 27); + } + left &= -0xf; + right &= -0xf; + + // now apply PC-2, in such a way that E is easier when encrypting or + // decrypting this conversion will look like PC-2 except only the last 6 + // bits of each byte are used rather than 48 consecutive bits and the + // order of lines will be according to how the S selection functions will + // be applied: S2, S4, S6, S8, S1, S3, S5, S7 + var lefttmp = ( + pc2bytes0[left >>> 28] | pc2bytes1[(left >>> 24) & 0xf] | + pc2bytes2[(left >>> 20) & 0xf] | pc2bytes3[(left >>> 16) & 0xf] | + pc2bytes4[(left >>> 12) & 0xf] | pc2bytes5[(left >>> 8) & 0xf] | + pc2bytes6[(left >>> 4) & 0xf]); + var righttmp = ( + pc2bytes7[right >>> 28] | pc2bytes8[(right >>> 24) & 0xf] | + pc2bytes9[(right >>> 20) & 0xf] | pc2bytes10[(right >>> 16) & 0xf] | + pc2bytes11[(right >>> 12) & 0xf] | pc2bytes12[(right >>> 8) & 0xf] | + pc2bytes13[(right >>> 4) & 0xf]); + tmp = ((righttmp >>> 16) ^ lefttmp) & 0x0000ffff; + keys[n++] = lefttmp ^ tmp; + keys[n++] = righttmp ^ (tmp << 16); + } + } + + return keys; +} + +/** + * Updates a single block (1 byte) using DES. The update will either + * encrypt or decrypt the block. + * + * @param keys the expanded keys. + * @param input the input block (an array of 32-bit words). + * @param output the updated output block. + * @param decrypt true to decrypt the block, false to encrypt it. + */ +function _updateBlock(keys, input, output, decrypt) { + // set up loops for single or triple DES + var iterations = keys.length === 32 ? 3 : 9; + var looping; + if(iterations === 3) { + looping = decrypt ? [30, -2, -2] : [0, 32, 2]; + } else { + looping = (decrypt ? + [94, 62, -2, 32, 64, 2, 30, -2, -2] : + [0, 32, 2, 62, 30, -2, 64, 96, 2]); + } + + var tmp; + + var left = input[0]; + var right = input[1]; + + // first each 64 bit chunk of the message must be permuted according to IP + tmp = ((left >>> 4) ^ right) & 0x0f0f0f0f; + right ^= tmp; + left ^= (tmp << 4); + + tmp = ((left >>> 16) ^ right) & 0x0000ffff; + right ^= tmp; + left ^= (tmp << 16); + + tmp = ((right >>> 2) ^ left) & 0x33333333; + left ^= tmp; + right ^= (tmp << 2); + + tmp = ((right >>> 8) ^ left) & 0x00ff00ff; + left ^= tmp; + right ^= (tmp << 8); + + tmp = ((left >>> 1) ^ right) & 0x55555555; + right ^= tmp; + left ^= (tmp << 1); + + // rotate left 1 bit + left = ((left << 1) | (left >>> 31)); + right = ((right << 1) | (right >>> 31)); + + for(var j = 0; j < iterations; j += 3) { + var endloop = looping[j + 1]; + var loopinc = looping[j + 2]; + + // now go through and perform the encryption or decryption + for(var i = looping[j]; i != endloop; i += loopinc) { + var right1 = right ^ keys[i]; + var right2 = ((right >>> 4) | (right << 28)) ^ keys[i + 1]; + + // passing these bytes through the S selection functions + tmp = left; + left = right; + right = tmp ^ ( + spfunction2[(right1 >>> 24) & 0x3f] | + spfunction4[(right1 >>> 16) & 0x3f] | + spfunction6[(right1 >>> 8) & 0x3f] | + spfunction8[right1 & 0x3f] | + spfunction1[(right2 >>> 24) & 0x3f] | + spfunction3[(right2 >>> 16) & 0x3f] | + spfunction5[(right2 >>> 8) & 0x3f] | + spfunction7[right2 & 0x3f]); + } + // unreverse left and right + tmp = left; + left = right; + right = tmp; + } + + // rotate right 1 bit + left = ((left >>> 1) | (left << 31)); + right = ((right >>> 1) | (right << 31)); + + // now perform IP-1, which is IP in the opposite direction + tmp = ((left >>> 1) ^ right) & 0x55555555; + right ^= tmp; + left ^= (tmp << 1); + + tmp = ((right >>> 8) ^ left) & 0x00ff00ff; + left ^= tmp; + right ^= (tmp << 8); + + tmp = ((right >>> 2) ^ left) & 0x33333333; + left ^= tmp; + right ^= (tmp << 2); + + tmp = ((left >>> 16) ^ right) & 0x0000ffff; + right ^= tmp; + left ^= (tmp << 16); + + tmp = ((left >>> 4) ^ right) & 0x0f0f0f0f; + right ^= tmp; + left ^= (tmp << 4); + + output[0] = left; + output[1] = right; +} + +/** + * Deprecated. Instead, use: + * + * forge.cipher.createCipher('DES-', key); + * forge.cipher.createDecipher('DES-', key); + * + * Creates a deprecated DES cipher object. This object's mode will default to + * CBC (cipher-block-chaining). + * + * The key may be given as a binary-encoded string of bytes or a byte buffer. + * + * @param options the options to use. + * key the symmetric key to use (64 or 192 bits). + * output the buffer to write to. + * decrypt true for decryption, false for encryption. + * mode the cipher mode to use (default: 'CBC'). + * + * @return the cipher. + */ +function _createCipher(options) { + options = options || {}; + var mode = (options.mode || 'CBC').toUpperCase(); + var algorithm = 'DES-' + mode; + + var cipher; + if(options.decrypt) { + cipher = forge.cipher.createDecipher(algorithm, options.key); + } else { + cipher = forge.cipher.createCipher(algorithm, options.key); + } + + // backwards compatible start API + var start = cipher.start; + cipher.start = function(iv, options) { + // backwards compatibility: support second arg as output buffer + var output = null; + if(options instanceof forge.util.ByteBuffer) { + output = options; + options = {}; + } + options = options || {}; + options.output = output; + options.iv = iv; + start.call(cipher, options); + }; + + return cipher; +} + + +/***/ }), + +/***/ 90000: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * JavaScript implementation of Ed25519. + * + * Copyright (c) 2017-2019 Digital Bazaar, Inc. + * + * This implementation is based on the most excellent TweetNaCl which is + * in the public domain. Many thanks to its contributors: + * + * https://github.com/dchest/tweetnacl-js + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(27052); +__nccwpck_require__(57821); +__nccwpck_require__(59542); +__nccwpck_require__(28339); +var asn1Validator = __nccwpck_require__(29414); +var publicKeyValidator = asn1Validator.publicKeyValidator; +var privateKeyValidator = asn1Validator.privateKeyValidator; + +if(typeof BigInteger === 'undefined') { + var BigInteger = forge.jsbn.BigInteger; +} + +var ByteBuffer = forge.util.ByteBuffer; +var NativeBuffer = typeof Buffer === 'undefined' ? Uint8Array : Buffer; + +/* + * Ed25519 algorithms, see RFC 8032: + * https://tools.ietf.org/html/rfc8032 + */ +forge.pki = forge.pki || {}; +module.exports = forge.pki.ed25519 = forge.ed25519 = forge.ed25519 || {}; +var ed25519 = forge.ed25519; + +ed25519.constants = {}; +ed25519.constants.PUBLIC_KEY_BYTE_LENGTH = 32; +ed25519.constants.PRIVATE_KEY_BYTE_LENGTH = 64; +ed25519.constants.SEED_BYTE_LENGTH = 32; +ed25519.constants.SIGN_BYTE_LENGTH = 64; +ed25519.constants.HASH_BYTE_LENGTH = 64; + +ed25519.generateKeyPair = function(options) { + options = options || {}; + var seed = options.seed; + if(seed === undefined) { + // generate seed + seed = forge.random.getBytesSync(ed25519.constants.SEED_BYTE_LENGTH); + } else if(typeof seed === 'string') { + if(seed.length !== ed25519.constants.SEED_BYTE_LENGTH) { + throw new TypeError( + '"seed" must be ' + ed25519.constants.SEED_BYTE_LENGTH + + ' bytes in length.'); + } + } else if(!(seed instanceof Uint8Array)) { + throw new TypeError( + '"seed" must be a node.js Buffer, Uint8Array, or a binary string.'); + } + + seed = messageToNativeBuffer({message: seed, encoding: 'binary'}); + + var pk = new NativeBuffer(ed25519.constants.PUBLIC_KEY_BYTE_LENGTH); + var sk = new NativeBuffer(ed25519.constants.PRIVATE_KEY_BYTE_LENGTH); + for(var i = 0; i < 32; ++i) { + sk[i] = seed[i]; + } + crypto_sign_keypair(pk, sk); + return {publicKey: pk, privateKey: sk}; +}; + +/** + * Converts a private key from a RFC8410 ASN.1 encoding. + * + * @param obj - The asn1 representation of a private key. + * + * @returns {Object} keyInfo - The key information. + * @returns {Buffer|Uint8Array} keyInfo.privateKeyBytes - 32 private key bytes. + */ +ed25519.privateKeyFromAsn1 = function(obj) { + var capture = {}; + var errors = []; + var valid = forge.asn1.validate(obj, privateKeyValidator, capture, errors); + if(!valid) { + var error = new Error('Invalid Key.'); + error.errors = errors; + throw error; + } + var oid = forge.asn1.derToOid(capture.privateKeyOid); + var ed25519Oid = forge.oids.EdDSA25519; + if(oid !== ed25519Oid) { + throw new Error('Invalid OID "' + oid + '"; OID must be "' + + ed25519Oid + '".'); + } + var privateKey = capture.privateKey; + // manually extract the private key bytes from nested octet string, see FIXME: + // https://github.com/digitalbazaar/forge/blob/master/lib/asn1.js#L542 + var privateKeyBytes = messageToNativeBuffer({ + message: forge.asn1.fromDer(privateKey).value, + encoding: 'binary' + }); + // TODO: RFC8410 specifies a format for encoding the public key bytes along + // with the private key bytes. `publicKeyBytes` can be returned in the + // future. https://tools.ietf.org/html/rfc8410#section-10.3 + return {privateKeyBytes: privateKeyBytes}; +}; + +/** + * Converts a public key from a RFC8410 ASN.1 encoding. + * + * @param obj - The asn1 representation of a public key. + * + * @return {Buffer|Uint8Array} - 32 public key bytes. + */ +ed25519.publicKeyFromAsn1 = function(obj) { + // get SubjectPublicKeyInfo + var capture = {}; + var errors = []; + var valid = forge.asn1.validate(obj, publicKeyValidator, capture, errors); + if(!valid) { + var error = new Error('Invalid Key.'); + error.errors = errors; + throw error; + } + var oid = forge.asn1.derToOid(capture.publicKeyOid); + var ed25519Oid = forge.oids.EdDSA25519; + if(oid !== ed25519Oid) { + throw new Error('Invalid OID "' + oid + '"; OID must be "' + + ed25519Oid + '".'); + } + var publicKeyBytes = capture.ed25519PublicKey; + if(publicKeyBytes.length !== ed25519.constants.PUBLIC_KEY_BYTE_LENGTH) { + throw new Error('Key length is invalid.'); + } + return messageToNativeBuffer({ + message: publicKeyBytes, + encoding: 'binary' + }); +}; + +ed25519.publicKeyFromPrivateKey = function(options) { + options = options || {}; + var privateKey = messageToNativeBuffer({ + message: options.privateKey, encoding: 'binary' + }); + if(privateKey.length !== ed25519.constants.PRIVATE_KEY_BYTE_LENGTH) { + throw new TypeError( + '"options.privateKey" must have a byte length of ' + + ed25519.constants.PRIVATE_KEY_BYTE_LENGTH); + } + + var pk = new NativeBuffer(ed25519.constants.PUBLIC_KEY_BYTE_LENGTH); + for(var i = 0; i < pk.length; ++i) { + pk[i] = privateKey[32 + i]; + } + return pk; +}; + +ed25519.sign = function(options) { + options = options || {}; + var msg = messageToNativeBuffer(options); + var privateKey = messageToNativeBuffer({ + message: options.privateKey, + encoding: 'binary' + }); + if(privateKey.length === ed25519.constants.SEED_BYTE_LENGTH) { + var keyPair = ed25519.generateKeyPair({seed: privateKey}); + privateKey = keyPair.privateKey; + } else if(privateKey.length !== ed25519.constants.PRIVATE_KEY_BYTE_LENGTH) { + throw new TypeError( + '"options.privateKey" must have a byte length of ' + + ed25519.constants.SEED_BYTE_LENGTH + ' or ' + + ed25519.constants.PRIVATE_KEY_BYTE_LENGTH); + } + + var signedMsg = new NativeBuffer( + ed25519.constants.SIGN_BYTE_LENGTH + msg.length); + crypto_sign(signedMsg, msg, msg.length, privateKey); + + var sig = new NativeBuffer(ed25519.constants.SIGN_BYTE_LENGTH); + for(var i = 0; i < sig.length; ++i) { + sig[i] = signedMsg[i]; + } + return sig; +}; + +ed25519.verify = function(options) { + options = options || {}; + var msg = messageToNativeBuffer(options); + if(options.signature === undefined) { + throw new TypeError( + '"options.signature" must be a node.js Buffer, a Uint8Array, a forge ' + + 'ByteBuffer, or a binary string.'); + } + var sig = messageToNativeBuffer({ + message: options.signature, + encoding: 'binary' + }); + if(sig.length !== ed25519.constants.SIGN_BYTE_LENGTH) { + throw new TypeError( + '"options.signature" must have a byte length of ' + + ed25519.constants.SIGN_BYTE_LENGTH); + } + var publicKey = messageToNativeBuffer({ + message: options.publicKey, + encoding: 'binary' + }); + if(publicKey.length !== ed25519.constants.PUBLIC_KEY_BYTE_LENGTH) { + throw new TypeError( + '"options.publicKey" must have a byte length of ' + + ed25519.constants.PUBLIC_KEY_BYTE_LENGTH); + } + + var sm = new NativeBuffer(ed25519.constants.SIGN_BYTE_LENGTH + msg.length); + var m = new NativeBuffer(ed25519.constants.SIGN_BYTE_LENGTH + msg.length); + var i; + for(i = 0; i < ed25519.constants.SIGN_BYTE_LENGTH; ++i) { + sm[i] = sig[i]; + } + for(i = 0; i < msg.length; ++i) { + sm[i + ed25519.constants.SIGN_BYTE_LENGTH] = msg[i]; + } + return (crypto_sign_open(m, sm, sm.length, publicKey) >= 0); +}; + +function messageToNativeBuffer(options) { + var message = options.message; + if(message instanceof Uint8Array || message instanceof NativeBuffer) { + return message; + } + + var encoding = options.encoding; + if(message === undefined) { + if(options.md) { + // TODO: more rigorous validation that `md` is a MessageDigest + message = options.md.digest().getBytes(); + encoding = 'binary'; + } else { + throw new TypeError('"options.message" or "options.md" not specified.'); + } + } + + if(typeof message === 'string' && !encoding) { + throw new TypeError('"options.encoding" must be "binary" or "utf8".'); + } + + if(typeof message === 'string') { + if(typeof Buffer !== 'undefined') { + return Buffer.from(message, encoding); + } + message = new ByteBuffer(message, encoding); + } else if(!(message instanceof ByteBuffer)) { + throw new TypeError( + '"options.message" must be a node.js Buffer, a Uint8Array, a forge ' + + 'ByteBuffer, or a string with "options.encoding" specifying its ' + + 'encoding.'); + } + + // convert to native buffer + var buffer = new NativeBuffer(message.length()); + for(var i = 0; i < buffer.length; ++i) { + buffer[i] = message.at(i); + } + return buffer; +} + +var gf0 = gf(); +var gf1 = gf([1]); +var D = gf([ + 0x78a3, 0x1359, 0x4dca, 0x75eb, 0xd8ab, 0x4141, 0x0a4d, 0x0070, + 0xe898, 0x7779, 0x4079, 0x8cc7, 0xfe73, 0x2b6f, 0x6cee, 0x5203]); +var D2 = gf([ + 0xf159, 0x26b2, 0x9b94, 0xebd6, 0xb156, 0x8283, 0x149a, 0x00e0, + 0xd130, 0xeef3, 0x80f2, 0x198e, 0xfce7, 0x56df, 0xd9dc, 0x2406]); +var X = gf([ + 0xd51a, 0x8f25, 0x2d60, 0xc956, 0xa7b2, 0x9525, 0xc760, 0x692c, + 0xdc5c, 0xfdd6, 0xe231, 0xc0a4, 0x53fe, 0xcd6e, 0x36d3, 0x2169]); +var Y = gf([ + 0x6658, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, + 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666]); +var L = new Float64Array([ + 0xed, 0xd3, 0xf5, 0x5c, 0x1a, 0x63, 0x12, 0x58, + 0xd6, 0x9c, 0xf7, 0xa2, 0xde, 0xf9, 0xde, 0x14, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x10]); +var I = gf([ + 0xa0b0, 0x4a0e, 0x1b27, 0xc4ee, 0xe478, 0xad2f, 0x1806, 0x2f43, + 0xd7a7, 0x3dfb, 0x0099, 0x2b4d, 0xdf0b, 0x4fc1, 0x2480, 0x2b83]); + +// TODO: update forge buffer implementation to use `Buffer` or `Uint8Array`, +// whichever is available, to improve performance +function sha512(msg, msgLen) { + // Note: `out` and `msg` are NativeBuffer + var md = forge.md.sha512.create(); + var buffer = new ByteBuffer(msg); + md.update(buffer.getBytes(msgLen), 'binary'); + var hash = md.digest().getBytes(); + if(typeof Buffer !== 'undefined') { + return Buffer.from(hash, 'binary'); + } + var out = new NativeBuffer(ed25519.constants.HASH_BYTE_LENGTH); + for(var i = 0; i < 64; ++i) { + out[i] = hash.charCodeAt(i); + } + return out; +} + +function crypto_sign_keypair(pk, sk) { + var p = [gf(), gf(), gf(), gf()]; + var i; + + var d = sha512(sk, 32); + d[0] &= 248; + d[31] &= 127; + d[31] |= 64; + + scalarbase(p, d); + pack(pk, p); + + for(i = 0; i < 32; ++i) { + sk[i + 32] = pk[i]; + } + return 0; +} + +// Note: difference from C - smlen returned, not passed as argument. +function crypto_sign(sm, m, n, sk) { + var i, j, x = new Float64Array(64); + var p = [gf(), gf(), gf(), gf()]; + + var d = sha512(sk, 32); + d[0] &= 248; + d[31] &= 127; + d[31] |= 64; + + var smlen = n + 64; + for(i = 0; i < n; ++i) { + sm[64 + i] = m[i]; + } + for(i = 0; i < 32; ++i) { + sm[32 + i] = d[32 + i]; + } + + var r = sha512(sm.subarray(32), n + 32); + reduce(r); + scalarbase(p, r); + pack(sm, p); + + for(i = 32; i < 64; ++i) { + sm[i] = sk[i]; + } + var h = sha512(sm, n + 64); + reduce(h); + + for(i = 32; i < 64; ++i) { + x[i] = 0; + } + for(i = 0; i < 32; ++i) { + x[i] = r[i]; + } + for(i = 0; i < 32; ++i) { + for(j = 0; j < 32; j++) { + x[i + j] += h[i] * d[j]; + } + } + + modL(sm.subarray(32), x); + return smlen; +} + +function crypto_sign_open(m, sm, n, pk) { + var i, mlen; + var t = new NativeBuffer(32); + var p = [gf(), gf(), gf(), gf()], + q = [gf(), gf(), gf(), gf()]; + + mlen = -1; + if(n < 64) { + return -1; + } + + if(unpackneg(q, pk)) { + return -1; + } + + for(i = 0; i < n; ++i) { + m[i] = sm[i]; + } + for(i = 0; i < 32; ++i) { + m[i + 32] = pk[i]; + } + var h = sha512(m, n); + reduce(h); + scalarmult(p, q, h); + + scalarbase(q, sm.subarray(32)); + add(p, q); + pack(t, p); + + n -= 64; + if(crypto_verify_32(sm, 0, t, 0)) { + for(i = 0; i < n; ++i) { + m[i] = 0; + } + return -1; + } + + for(i = 0; i < n; ++i) { + m[i] = sm[i + 64]; + } + mlen = n; + return mlen; +} + +function modL(r, x) { + var carry, i, j, k; + for(i = 63; i >= 32; --i) { + carry = 0; + for(j = i - 32, k = i - 12; j < k; ++j) { + x[j] += carry - 16 * x[i] * L[j - (i - 32)]; + carry = (x[j] + 128) >> 8; + x[j] -= carry * 256; + } + x[j] += carry; + x[i] = 0; + } + carry = 0; + for(j = 0; j < 32; ++j) { + x[j] += carry - (x[31] >> 4) * L[j]; + carry = x[j] >> 8; + x[j] &= 255; + } + for(j = 0; j < 32; ++j) { + x[j] -= carry * L[j]; + } + for(i = 0; i < 32; ++i) { + x[i + 1] += x[i] >> 8; + r[i] = x[i] & 255; + } +} + +function reduce(r) { + var x = new Float64Array(64); + for(var i = 0; i < 64; ++i) { + x[i] = r[i]; + r[i] = 0; + } + modL(r, x); +} + +function add(p, q) { + var a = gf(), b = gf(), c = gf(), + d = gf(), e = gf(), f = gf(), + g = gf(), h = gf(), t = gf(); + + Z(a, p[1], p[0]); + Z(t, q[1], q[0]); + M(a, a, t); + A(b, p[0], p[1]); + A(t, q[0], q[1]); + M(b, b, t); + M(c, p[3], q[3]); + M(c, c, D2); + M(d, p[2], q[2]); + A(d, d, d); + Z(e, b, a); + Z(f, d, c); + A(g, d, c); + A(h, b, a); + + M(p[0], e, f); + M(p[1], h, g); + M(p[2], g, f); + M(p[3], e, h); +} + +function cswap(p, q, b) { + for(var i = 0; i < 4; ++i) { + sel25519(p[i], q[i], b); + } +} + +function pack(r, p) { + var tx = gf(), ty = gf(), zi = gf(); + inv25519(zi, p[2]); + M(tx, p[0], zi); + M(ty, p[1], zi); + pack25519(r, ty); + r[31] ^= par25519(tx) << 7; +} + +function pack25519(o, n) { + var i, j, b; + var m = gf(), t = gf(); + for(i = 0; i < 16; ++i) { + t[i] = n[i]; + } + car25519(t); + car25519(t); + car25519(t); + for(j = 0; j < 2; ++j) { + m[0] = t[0] - 0xffed; + for(i = 1; i < 15; ++i) { + m[i] = t[i] - 0xffff - ((m[i - 1] >> 16) & 1); + m[i-1] &= 0xffff; + } + m[15] = t[15] - 0x7fff - ((m[14] >> 16) & 1); + b = (m[15] >> 16) & 1; + m[14] &= 0xffff; + sel25519(t, m, 1 - b); + } + for (i = 0; i < 16; i++) { + o[2 * i] = t[i] & 0xff; + o[2 * i + 1] = t[i] >> 8; + } +} + +function unpackneg(r, p) { + var t = gf(), chk = gf(), num = gf(), + den = gf(), den2 = gf(), den4 = gf(), + den6 = gf(); + + set25519(r[2], gf1); + unpack25519(r[1], p); + S(num, r[1]); + M(den, num, D); + Z(num, num, r[2]); + A(den, r[2], den); + + S(den2, den); + S(den4, den2); + M(den6, den4, den2); + M(t, den6, num); + M(t, t, den); + + pow2523(t, t); + M(t, t, num); + M(t, t, den); + M(t, t, den); + M(r[0], t, den); + + S(chk, r[0]); + M(chk, chk, den); + if(neq25519(chk, num)) { + M(r[0], r[0], I); + } + + S(chk, r[0]); + M(chk, chk, den); + if(neq25519(chk, num)) { + return -1; + } + + if(par25519(r[0]) === (p[31] >> 7)) { + Z(r[0], gf0, r[0]); + } + + M(r[3], r[0], r[1]); + return 0; +} + +function unpack25519(o, n) { + var i; + for(i = 0; i < 16; ++i) { + o[i] = n[2 * i] + (n[2 * i + 1] << 8); + } + o[15] &= 0x7fff; +} + +function pow2523(o, i) { + var c = gf(); + var a; + for(a = 0; a < 16; ++a) { + c[a] = i[a]; + } + for(a = 250; a >= 0; --a) { + S(c, c); + if(a !== 1) { + M(c, c, i); + } + } + for(a = 0; a < 16; ++a) { + o[a] = c[a]; + } +} + +function neq25519(a, b) { + var c = new NativeBuffer(32); + var d = new NativeBuffer(32); + pack25519(c, a); + pack25519(d, b); + return crypto_verify_32(c, 0, d, 0); +} + +function crypto_verify_32(x, xi, y, yi) { + return vn(x, xi, y, yi, 32); +} + +function vn(x, xi, y, yi, n) { + var i, d = 0; + for(i = 0; i < n; ++i) { + d |= x[xi + i] ^ y[yi + i]; + } + return (1 & ((d - 1) >>> 8)) - 1; +} + +function par25519(a) { + var d = new NativeBuffer(32); + pack25519(d, a); + return d[0] & 1; +} + +function scalarmult(p, q, s) { + var b, i; + set25519(p[0], gf0); + set25519(p[1], gf1); + set25519(p[2], gf1); + set25519(p[3], gf0); + for(i = 255; i >= 0; --i) { + b = (s[(i / 8)|0] >> (i & 7)) & 1; + cswap(p, q, b); + add(q, p); + add(p, p); + cswap(p, q, b); + } +} + +function scalarbase(p, s) { + var q = [gf(), gf(), gf(), gf()]; + set25519(q[0], X); + set25519(q[1], Y); + set25519(q[2], gf1); + M(q[3], X, Y); + scalarmult(p, q, s); +} + +function set25519(r, a) { + var i; + for(i = 0; i < 16; i++) { + r[i] = a[i] | 0; + } +} + +function inv25519(o, i) { + var c = gf(); + var a; + for(a = 0; a < 16; ++a) { + c[a] = i[a]; + } + for(a = 253; a >= 0; --a) { + S(c, c); + if(a !== 2 && a !== 4) { + M(c, c, i); + } + } + for(a = 0; a < 16; ++a) { + o[a] = c[a]; + } +} + +function car25519(o) { + var i, v, c = 1; + for(i = 0; i < 16; ++i) { + v = o[i] + c + 65535; + c = Math.floor(v / 65536); + o[i] = v - c * 65536; + } + o[0] += c - 1 + 37 * (c - 1); +} + +function sel25519(p, q, b) { + var t, c = ~(b - 1); + for(var i = 0; i < 16; ++i) { + t = c & (p[i] ^ q[i]); + p[i] ^= t; + q[i] ^= t; + } +} + +function gf(init) { + var i, r = new Float64Array(16); + if(init) { + for(i = 0; i < init.length; ++i) { + r[i] = init[i]; + } + } + return r; +} + +function A(o, a, b) { + for(var i = 0; i < 16; ++i) { + o[i] = a[i] + b[i]; + } +} + +function Z(o, a, b) { + for(var i = 0; i < 16; ++i) { + o[i] = a[i] - b[i]; + } +} + +function S(o, a) { + M(o, a, a); +} + +function M(o, a, b) { + var v, c, + t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0, t5 = 0, t6 = 0, t7 = 0, + t8 = 0, t9 = 0, t10 = 0, t11 = 0, t12 = 0, t13 = 0, t14 = 0, t15 = 0, + t16 = 0, t17 = 0, t18 = 0, t19 = 0, t20 = 0, t21 = 0, t22 = 0, t23 = 0, + t24 = 0, t25 = 0, t26 = 0, t27 = 0, t28 = 0, t29 = 0, t30 = 0, + b0 = b[0], + b1 = b[1], + b2 = b[2], + b3 = b[3], + b4 = b[4], + b5 = b[5], + b6 = b[6], + b7 = b[7], + b8 = b[8], + b9 = b[9], + b10 = b[10], + b11 = b[11], + b12 = b[12], + b13 = b[13], + b14 = b[14], + b15 = b[15]; + + v = a[0]; + t0 += v * b0; + t1 += v * b1; + t2 += v * b2; + t3 += v * b3; + t4 += v * b4; + t5 += v * b5; + t6 += v * b6; + t7 += v * b7; + t8 += v * b8; + t9 += v * b9; + t10 += v * b10; + t11 += v * b11; + t12 += v * b12; + t13 += v * b13; + t14 += v * b14; + t15 += v * b15; + v = a[1]; + t1 += v * b0; + t2 += v * b1; + t3 += v * b2; + t4 += v * b3; + t5 += v * b4; + t6 += v * b5; + t7 += v * b6; + t8 += v * b7; + t9 += v * b8; + t10 += v * b9; + t11 += v * b10; + t12 += v * b11; + t13 += v * b12; + t14 += v * b13; + t15 += v * b14; + t16 += v * b15; + v = a[2]; + t2 += v * b0; + t3 += v * b1; + t4 += v * b2; + t5 += v * b3; + t6 += v * b4; + t7 += v * b5; + t8 += v * b6; + t9 += v * b7; + t10 += v * b8; + t11 += v * b9; + t12 += v * b10; + t13 += v * b11; + t14 += v * b12; + t15 += v * b13; + t16 += v * b14; + t17 += v * b15; + v = a[3]; + t3 += v * b0; + t4 += v * b1; + t5 += v * b2; + t6 += v * b3; + t7 += v * b4; + t8 += v * b5; + t9 += v * b6; + t10 += v * b7; + t11 += v * b8; + t12 += v * b9; + t13 += v * b10; + t14 += v * b11; + t15 += v * b12; + t16 += v * b13; + t17 += v * b14; + t18 += v * b15; + v = a[4]; + t4 += v * b0; + t5 += v * b1; + t6 += v * b2; + t7 += v * b3; + t8 += v * b4; + t9 += v * b5; + t10 += v * b6; + t11 += v * b7; + t12 += v * b8; + t13 += v * b9; + t14 += v * b10; + t15 += v * b11; + t16 += v * b12; + t17 += v * b13; + t18 += v * b14; + t19 += v * b15; + v = a[5]; + t5 += v * b0; + t6 += v * b1; + t7 += v * b2; + t8 += v * b3; + t9 += v * b4; + t10 += v * b5; + t11 += v * b6; + t12 += v * b7; + t13 += v * b8; + t14 += v * b9; + t15 += v * b10; + t16 += v * b11; + t17 += v * b12; + t18 += v * b13; + t19 += v * b14; + t20 += v * b15; + v = a[6]; + t6 += v * b0; + t7 += v * b1; + t8 += v * b2; + t9 += v * b3; + t10 += v * b4; + t11 += v * b5; + t12 += v * b6; + t13 += v * b7; + t14 += v * b8; + t15 += v * b9; + t16 += v * b10; + t17 += v * b11; + t18 += v * b12; + t19 += v * b13; + t20 += v * b14; + t21 += v * b15; + v = a[7]; + t7 += v * b0; + t8 += v * b1; + t9 += v * b2; + t10 += v * b3; + t11 += v * b4; + t12 += v * b5; + t13 += v * b6; + t14 += v * b7; + t15 += v * b8; + t16 += v * b9; + t17 += v * b10; + t18 += v * b11; + t19 += v * b12; + t20 += v * b13; + t21 += v * b14; + t22 += v * b15; + v = a[8]; + t8 += v * b0; + t9 += v * b1; + t10 += v * b2; + t11 += v * b3; + t12 += v * b4; + t13 += v * b5; + t14 += v * b6; + t15 += v * b7; + t16 += v * b8; + t17 += v * b9; + t18 += v * b10; + t19 += v * b11; + t20 += v * b12; + t21 += v * b13; + t22 += v * b14; + t23 += v * b15; + v = a[9]; + t9 += v * b0; + t10 += v * b1; + t11 += v * b2; + t12 += v * b3; + t13 += v * b4; + t14 += v * b5; + t15 += v * b6; + t16 += v * b7; + t17 += v * b8; + t18 += v * b9; + t19 += v * b10; + t20 += v * b11; + t21 += v * b12; + t22 += v * b13; + t23 += v * b14; + t24 += v * b15; + v = a[10]; + t10 += v * b0; + t11 += v * b1; + t12 += v * b2; + t13 += v * b3; + t14 += v * b4; + t15 += v * b5; + t16 += v * b6; + t17 += v * b7; + t18 += v * b8; + t19 += v * b9; + t20 += v * b10; + t21 += v * b11; + t22 += v * b12; + t23 += v * b13; + t24 += v * b14; + t25 += v * b15; + v = a[11]; + t11 += v * b0; + t12 += v * b1; + t13 += v * b2; + t14 += v * b3; + t15 += v * b4; + t16 += v * b5; + t17 += v * b6; + t18 += v * b7; + t19 += v * b8; + t20 += v * b9; + t21 += v * b10; + t22 += v * b11; + t23 += v * b12; + t24 += v * b13; + t25 += v * b14; + t26 += v * b15; + v = a[12]; + t12 += v * b0; + t13 += v * b1; + t14 += v * b2; + t15 += v * b3; + t16 += v * b4; + t17 += v * b5; + t18 += v * b6; + t19 += v * b7; + t20 += v * b8; + t21 += v * b9; + t22 += v * b10; + t23 += v * b11; + t24 += v * b12; + t25 += v * b13; + t26 += v * b14; + t27 += v * b15; + v = a[13]; + t13 += v * b0; + t14 += v * b1; + t15 += v * b2; + t16 += v * b3; + t17 += v * b4; + t18 += v * b5; + t19 += v * b6; + t20 += v * b7; + t21 += v * b8; + t22 += v * b9; + t23 += v * b10; + t24 += v * b11; + t25 += v * b12; + t26 += v * b13; + t27 += v * b14; + t28 += v * b15; + v = a[14]; + t14 += v * b0; + t15 += v * b1; + t16 += v * b2; + t17 += v * b3; + t18 += v * b4; + t19 += v * b5; + t20 += v * b6; + t21 += v * b7; + t22 += v * b8; + t23 += v * b9; + t24 += v * b10; + t25 += v * b11; + t26 += v * b12; + t27 += v * b13; + t28 += v * b14; + t29 += v * b15; + v = a[15]; + t15 += v * b0; + t16 += v * b1; + t17 += v * b2; + t18 += v * b3; + t19 += v * b4; + t20 += v * b5; + t21 += v * b6; + t22 += v * b7; + t23 += v * b8; + t24 += v * b9; + t25 += v * b10; + t26 += v * b11; + t27 += v * b12; + t28 += v * b13; + t29 += v * b14; + t30 += v * b15; + + t0 += 38 * t16; + t1 += 38 * t17; + t2 += 38 * t18; + t3 += 38 * t19; + t4 += 38 * t20; + t5 += 38 * t21; + t6 += 38 * t22; + t7 += 38 * t23; + t8 += 38 * t24; + t9 += 38 * t25; + t10 += 38 * t26; + t11 += 38 * t27; + t12 += 38 * t28; + t13 += 38 * t29; + t14 += 38 * t30; + // t15 left as is + + // first car + c = 1; + v = t0 + c + 65535; c = Math.floor(v / 65536); t0 = v - c * 65536; + v = t1 + c + 65535; c = Math.floor(v / 65536); t1 = v - c * 65536; + v = t2 + c + 65535; c = Math.floor(v / 65536); t2 = v - c * 65536; + v = t3 + c + 65535; c = Math.floor(v / 65536); t3 = v - c * 65536; + v = t4 + c + 65535; c = Math.floor(v / 65536); t4 = v - c * 65536; + v = t5 + c + 65535; c = Math.floor(v / 65536); t5 = v - c * 65536; + v = t6 + c + 65535; c = Math.floor(v / 65536); t6 = v - c * 65536; + v = t7 + c + 65535; c = Math.floor(v / 65536); t7 = v - c * 65536; + v = t8 + c + 65535; c = Math.floor(v / 65536); t8 = v - c * 65536; + v = t9 + c + 65535; c = Math.floor(v / 65536); t9 = v - c * 65536; + v = t10 + c + 65535; c = Math.floor(v / 65536); t10 = v - c * 65536; + v = t11 + c + 65535; c = Math.floor(v / 65536); t11 = v - c * 65536; + v = t12 + c + 65535; c = Math.floor(v / 65536); t12 = v - c * 65536; + v = t13 + c + 65535; c = Math.floor(v / 65536); t13 = v - c * 65536; + v = t14 + c + 65535; c = Math.floor(v / 65536); t14 = v - c * 65536; + v = t15 + c + 65535; c = Math.floor(v / 65536); t15 = v - c * 65536; + t0 += c-1 + 37 * (c-1); + + // second car + c = 1; + v = t0 + c + 65535; c = Math.floor(v / 65536); t0 = v - c * 65536; + v = t1 + c + 65535; c = Math.floor(v / 65536); t1 = v - c * 65536; + v = t2 + c + 65535; c = Math.floor(v / 65536); t2 = v - c * 65536; + v = t3 + c + 65535; c = Math.floor(v / 65536); t3 = v - c * 65536; + v = t4 + c + 65535; c = Math.floor(v / 65536); t4 = v - c * 65536; + v = t5 + c + 65535; c = Math.floor(v / 65536); t5 = v - c * 65536; + v = t6 + c + 65535; c = Math.floor(v / 65536); t6 = v - c * 65536; + v = t7 + c + 65535; c = Math.floor(v / 65536); t7 = v - c * 65536; + v = t8 + c + 65535; c = Math.floor(v / 65536); t8 = v - c * 65536; + v = t9 + c + 65535; c = Math.floor(v / 65536); t9 = v - c * 65536; + v = t10 + c + 65535; c = Math.floor(v / 65536); t10 = v - c * 65536; + v = t11 + c + 65535; c = Math.floor(v / 65536); t11 = v - c * 65536; + v = t12 + c + 65535; c = Math.floor(v / 65536); t12 = v - c * 65536; + v = t13 + c + 65535; c = Math.floor(v / 65536); t13 = v - c * 65536; + v = t14 + c + 65535; c = Math.floor(v / 65536); t14 = v - c * 65536; + v = t15 + c + 65535; c = Math.floor(v / 65536); t15 = v - c * 65536; + t0 += c-1 + 37 * (c-1); + + o[ 0] = t0; + o[ 1] = t1; + o[ 2] = t2; + o[ 3] = t3; + o[ 4] = t4; + o[ 5] = t5; + o[ 6] = t6; + o[ 7] = t7; + o[ 8] = t8; + o[ 9] = t9; + o[10] = t10; + o[11] = t11; + o[12] = t12; + o[13] = t13; + o[14] = t14; + o[15] = t15; +} + + +/***/ }), + +/***/ 89177: +/***/ ((module) => { + +/** + * Node.js module for Forge. + * + * @author Dave Longley + * + * Copyright 2011-2016 Digital Bazaar, Inc. + */ +module.exports = { + // default options + options: { + usePureJavaScript: false + } +}; + + +/***/ }), + +/***/ 95104: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Hash-based Message Authentication Code implementation. Requires a message + * digest object that can be obtained, for example, from forge.md.sha1 or + * forge.md.md5. + * + * @author Dave Longley + * + * Copyright (c) 2010-2012 Digital Bazaar, Inc. All rights reserved. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(86231); +__nccwpck_require__(28339); + +/* HMAC API */ +var hmac = module.exports = forge.hmac = forge.hmac || {}; + +/** + * Creates an HMAC object that uses the given message digest object. + * + * @return an HMAC object. + */ +hmac.create = function() { + // the hmac key to use + var _key = null; + + // the message digest to use + var _md = null; + + // the inner padding + var _ipadding = null; + + // the outer padding + var _opadding = null; + + // hmac context + var ctx = {}; + + /** + * Starts or restarts the HMAC with the given key and message digest. + * + * @param md the message digest to use, null to reuse the previous one, + * a string to use builtin 'sha1', 'md5', 'sha256'. + * @param key the key to use as a string, array of bytes, byte buffer, + * or null to reuse the previous key. + */ + ctx.start = function(md, key) { + if(md !== null) { + if(typeof md === 'string') { + // create builtin message digest + md = md.toLowerCase(); + if(md in forge.md.algorithms) { + _md = forge.md.algorithms[md].create(); + } else { + throw new Error('Unknown hash algorithm "' + md + '"'); + } + } else { + // store message digest + _md = md; + } + } + + if(key === null) { + // reuse previous key + key = _key; + } else { + if(typeof key === 'string') { + // convert string into byte buffer + key = forge.util.createBuffer(key); + } else if(forge.util.isArray(key)) { + // convert byte array into byte buffer + var tmp = key; + key = forge.util.createBuffer(); + for(var i = 0; i < tmp.length; ++i) { + key.putByte(tmp[i]); + } + } + + // if key is longer than blocksize, hash it + var keylen = key.length(); + if(keylen > _md.blockLength) { + _md.start(); + _md.update(key.bytes()); + key = _md.digest(); + } + + // mix key into inner and outer padding + // ipadding = [0x36 * blocksize] ^ key + // opadding = [0x5C * blocksize] ^ key + _ipadding = forge.util.createBuffer(); + _opadding = forge.util.createBuffer(); + keylen = key.length(); + for(var i = 0; i < keylen; ++i) { + var tmp = key.at(i); + _ipadding.putByte(0x36 ^ tmp); + _opadding.putByte(0x5C ^ tmp); + } + + // if key is shorter than blocksize, add additional padding + if(keylen < _md.blockLength) { + var tmp = _md.blockLength - keylen; + for(var i = 0; i < tmp; ++i) { + _ipadding.putByte(0x36); + _opadding.putByte(0x5C); + } + } + _key = key; + _ipadding = _ipadding.bytes(); + _opadding = _opadding.bytes(); + } + + // digest is done like so: hash(opadding | hash(ipadding | message)) + + // prepare to do inner hash + // hash(ipadding | message) + _md.start(); + _md.update(_ipadding); + }; + + /** + * Updates the HMAC with the given message bytes. + * + * @param bytes the bytes to update with. + */ + ctx.update = function(bytes) { + _md.update(bytes); + }; + + /** + * Produces the Message Authentication Code (MAC). + * + * @return a byte buffer containing the digest value. + */ + ctx.getMac = function() { + // digest is done like so: hash(opadding | hash(ipadding | message)) + // here we do the outer hashing + var inner = _md.digest().bytes(); + _md.start(); + _md.update(_opadding); + _md.update(inner); + return _md.digest(); + }; + // alias for getMac + ctx.digest = ctx.getMac; + + return ctx; +}; + + +/***/ }), + +/***/ 57655: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Node.js module for Forge. + * + * @author Dave Longley + * + * Copyright 2011-2016 Digital Bazaar, Inc. + */ +module.exports = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(81449); +__nccwpck_require__(39549); +__nccwpck_require__(7088); +__nccwpck_require__(52923); +__nccwpck_require__(97157); +__nccwpck_require__(90000); +__nccwpck_require__(95104); +__nccwpck_require__(45173); +__nccwpck_require__(49994); +__nccwpck_require__(51145); +__nccwpck_require__(73339); +__nccwpck_require__(31611); +__nccwpck_require__(70154); +__nccwpck_require__(57014); +__nccwpck_require__(30466); +__nccwpck_require__(94829); +__nccwpck_require__(6924); +__nccwpck_require__(6861); +__nccwpck_require__(94467); +__nccwpck_require__(4376); +__nccwpck_require__(57821); +__nccwpck_require__(39965); +__nccwpck_require__(94280); +__nccwpck_require__(19563); +__nccwpck_require__(79167); +__nccwpck_require__(28339); + + +/***/ }), + +/***/ 27052: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +// Copyright (c) 2005 Tom Wu +// All Rights Reserved. +// See "LICENSE" for details. + +// Basic JavaScript BN library - subset useful for RSA encryption. + +/* +Licensing (LICENSE) +------------------- + +This software is covered under the following copyright: +*/ +/* + * Copyright (c) 2003-2005 Tom Wu + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + * + * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, + * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER + * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF + * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT + * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * In addition, the following condition applies: + * + * All redistributions must retain an intact copy of this copyright notice + * and disclaimer. + */ +/* +Address all questions regarding this license to: + + Tom Wu + tjw@cs.Stanford.EDU +*/ +var forge = __nccwpck_require__(89177); + +module.exports = forge.jsbn = forge.jsbn || {}; + +// Bits per digit +var dbits; + +// JavaScript engine analysis +var canary = 0xdeadbeefcafe; +var j_lm = ((canary&0xffffff)==0xefcafe); + +// (public) Constructor +function BigInteger(a,b,c) { + this.data = []; + if(a != null) + if("number" == typeof a) this.fromNumber(a,b,c); + else if(b == null && "string" != typeof a) this.fromString(a,256); + else this.fromString(a,b); +} +forge.jsbn.BigInteger = BigInteger; + +// return new, unset BigInteger +function nbi() { return new BigInteger(null); } + +// am: Compute w_j += (x*this_i), propagate carries, +// c is initial carry, returns final carry. +// c < 3*dvalue, x < 2*dvalue, this_i < dvalue +// We need to select the fastest one that works in this environment. + +// am1: use a single mult and divide to get the high bits, +// max digit bits should be 26 because +// max internal value = 2*dvalue^2-2*dvalue (< 2^53) +function am1(i,x,w,j,c,n) { + while(--n >= 0) { + var v = x*this.data[i++]+w.data[j]+c; + c = Math.floor(v/0x4000000); + w.data[j++] = v&0x3ffffff; + } + return c; +} +// am2 avoids a big mult-and-extract completely. +// Max digit bits should be <= 30 because we do bitwise ops +// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31) +function am2(i,x,w,j,c,n) { + var xl = x&0x7fff, xh = x>>15; + while(--n >= 0) { + var l = this.data[i]&0x7fff; + var h = this.data[i++]>>15; + var m = xh*l+h*xl; + l = xl*l+((m&0x7fff)<<15)+w.data[j]+(c&0x3fffffff); + c = (l>>>30)+(m>>>15)+xh*h+(c>>>30); + w.data[j++] = l&0x3fffffff; + } + return c; +} +// Alternately, set max digit bits to 28 since some +// browsers slow down when dealing with 32-bit numbers. +function am3(i,x,w,j,c,n) { + var xl = x&0x3fff, xh = x>>14; + while(--n >= 0) { + var l = this.data[i]&0x3fff; + var h = this.data[i++]>>14; + var m = xh*l+h*xl; + l = xl*l+((m&0x3fff)<<14)+w.data[j]+c; + c = (l>>28)+(m>>14)+xh*h; + w.data[j++] = l&0xfffffff; + } + return c; +} + +// node.js (no browser) +if(typeof(navigator) === 'undefined') +{ + BigInteger.prototype.am = am3; + dbits = 28; +} else if(j_lm && (navigator.appName == "Microsoft Internet Explorer")) { + BigInteger.prototype.am = am2; + dbits = 30; +} else if(j_lm && (navigator.appName != "Netscape")) { + BigInteger.prototype.am = am1; + dbits = 26; +} else { // Mozilla/Netscape seems to prefer am3 + BigInteger.prototype.am = am3; + dbits = 28; +} + +BigInteger.prototype.DB = dbits; +BigInteger.prototype.DM = ((1<= 0; --i) r.data[i] = this.data[i]; + r.t = this.t; + r.s = this.s; +} + +// (protected) set from integer value x, -DV <= x < DV +function bnpFromInt(x) { + this.t = 1; + this.s = (x<0)?-1:0; + if(x > 0) this.data[0] = x; + else if(x < -1) this.data[0] = x+this.DV; + else this.t = 0; +} + +// return bigint initialized to value +function nbv(i) { var r = nbi(); r.fromInt(i); return r; } + +// (protected) set from string and radix +function bnpFromString(s,b) { + var k; + if(b == 16) k = 4; + else if(b == 8) k = 3; + else if(b == 256) k = 8; // byte array + else if(b == 2) k = 1; + else if(b == 32) k = 5; + else if(b == 4) k = 2; + else { this.fromRadix(s,b); return; } + this.t = 0; + this.s = 0; + var i = s.length, mi = false, sh = 0; + while(--i >= 0) { + var x = (k==8)?s[i]&0xff:intAt(s,i); + if(x < 0) { + if(s.charAt(i) == "-") mi = true; + continue; + } + mi = false; + if(sh == 0) + this.data[this.t++] = x; + else if(sh+k > this.DB) { + this.data[this.t-1] |= (x&((1<<(this.DB-sh))-1))<>(this.DB-sh)); + } else + this.data[this.t-1] |= x<= this.DB) sh -= this.DB; + } + if(k == 8 && (s[0]&0x80) != 0) { + this.s = -1; + if(sh > 0) this.data[this.t-1] |= ((1<<(this.DB-sh))-1)< 0 && this.data[this.t-1] == c) --this.t; +} + +// (public) return string representation in given radix +function bnToString(b) { + if(this.s < 0) return "-"+this.negate().toString(b); + var k; + if(b == 16) k = 4; + else if(b == 8) k = 3; + else if(b == 2) k = 1; + else if(b == 32) k = 5; + else if(b == 4) k = 2; + else return this.toRadix(b); + var km = (1< 0) { + if(p < this.DB && (d = this.data[i]>>p) > 0) { m = true; r = int2char(d); } + while(i >= 0) { + if(p < k) { + d = (this.data[i]&((1<>(p+=this.DB-k); + } else { + d = (this.data[i]>>(p-=k))&km; + if(p <= 0) { p += this.DB; --i; } + } + if(d > 0) m = true; + if(m) r += int2char(d); + } + } + return m?r:"0"; +} + +// (public) -this +function bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; } + +// (public) |this| +function bnAbs() { return (this.s<0)?this.negate():this; } + +// (public) return + if this > a, - if this < a, 0 if equal +function bnCompareTo(a) { + var r = this.s-a.s; + if(r != 0) return r; + var i = this.t; + r = i-a.t; + if(r != 0) return (this.s<0)?-r:r; + while(--i >= 0) if((r=this.data[i]-a.data[i]) != 0) return r; + return 0; +} + +// returns bit length of the integer x +function nbits(x) { + var r = 1, t; + if((t=x>>>16) != 0) { x = t; r += 16; } + if((t=x>>8) != 0) { x = t; r += 8; } + if((t=x>>4) != 0) { x = t; r += 4; } + if((t=x>>2) != 0) { x = t; r += 2; } + if((t=x>>1) != 0) { x = t; r += 1; } + return r; +} + +// (public) return the number of bits in "this" +function bnBitLength() { + if(this.t <= 0) return 0; + return this.DB*(this.t-1)+nbits(this.data[this.t-1]^(this.s&this.DM)); +} + +// (protected) r = this << n*DB +function bnpDLShiftTo(n,r) { + var i; + for(i = this.t-1; i >= 0; --i) r.data[i+n] = this.data[i]; + for(i = n-1; i >= 0; --i) r.data[i] = 0; + r.t = this.t+n; + r.s = this.s; +} + +// (protected) r = this >> n*DB +function bnpDRShiftTo(n,r) { + for(var i = n; i < this.t; ++i) r.data[i-n] = this.data[i]; + r.t = Math.max(this.t-n,0); + r.s = this.s; +} + +// (protected) r = this << n +function bnpLShiftTo(n,r) { + var bs = n%this.DB; + var cbs = this.DB-bs; + var bm = (1<= 0; --i) { + r.data[i+ds+1] = (this.data[i]>>cbs)|c; + c = (this.data[i]&bm)<= 0; --i) r.data[i] = 0; + r.data[ds] = c; + r.t = this.t+ds+1; + r.s = this.s; + r.clamp(); +} + +// (protected) r = this >> n +function bnpRShiftTo(n,r) { + r.s = this.s; + var ds = Math.floor(n/this.DB); + if(ds >= this.t) { r.t = 0; return; } + var bs = n%this.DB; + var cbs = this.DB-bs; + var bm = (1<>bs; + for(var i = ds+1; i < this.t; ++i) { + r.data[i-ds-1] |= (this.data[i]&bm)<>bs; + } + if(bs > 0) r.data[this.t-ds-1] |= (this.s&bm)<>= this.DB; + } + if(a.t < this.t) { + c -= a.s; + while(i < this.t) { + c += this.data[i]; + r.data[i++] = c&this.DM; + c >>= this.DB; + } + c += this.s; + } else { + c += this.s; + while(i < a.t) { + c -= a.data[i]; + r.data[i++] = c&this.DM; + c >>= this.DB; + } + c -= a.s; + } + r.s = (c<0)?-1:0; + if(c < -1) r.data[i++] = this.DV+c; + else if(c > 0) r.data[i++] = c; + r.t = i; + r.clamp(); +} + +// (protected) r = this * a, r != this,a (HAC 14.12) +// "this" should be the larger one if appropriate. +function bnpMultiplyTo(a,r) { + var x = this.abs(), y = a.abs(); + var i = x.t; + r.t = i+y.t; + while(--i >= 0) r.data[i] = 0; + for(i = 0; i < y.t; ++i) r.data[i+x.t] = x.am(0,y.data[i],r,i,0,x.t); + r.s = 0; + r.clamp(); + if(this.s != a.s) BigInteger.ZERO.subTo(r,r); +} + +// (protected) r = this^2, r != this (HAC 14.16) +function bnpSquareTo(r) { + var x = this.abs(); + var i = r.t = 2*x.t; + while(--i >= 0) r.data[i] = 0; + for(i = 0; i < x.t-1; ++i) { + var c = x.am(i,x.data[i],r,2*i,0,1); + if((r.data[i+x.t]+=x.am(i+1,2*x.data[i],r,2*i+1,c,x.t-i-1)) >= x.DV) { + r.data[i+x.t] -= x.DV; + r.data[i+x.t+1] = 1; + } + } + if(r.t > 0) r.data[r.t-1] += x.am(i,x.data[i],r,2*i,0,1); + r.s = 0; + r.clamp(); +} + +// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20) +// r != q, this != m. q or r may be null. +function bnpDivRemTo(m,q,r) { + var pm = m.abs(); + if(pm.t <= 0) return; + var pt = this.abs(); + if(pt.t < pm.t) { + if(q != null) q.fromInt(0); + if(r != null) this.copyTo(r); + return; + } + if(r == null) r = nbi(); + var y = nbi(), ts = this.s, ms = m.s; + var nsh = this.DB-nbits(pm.data[pm.t-1]); // normalize modulus + if(nsh > 0) { pm.lShiftTo(nsh,y); pt.lShiftTo(nsh,r); } else { pm.copyTo(y); pt.copyTo(r); } + var ys = y.t; + var y0 = y.data[ys-1]; + if(y0 == 0) return; + var yt = y0*(1<1)?y.data[ys-2]>>this.F2:0); + var d1 = this.FV/yt, d2 = (1<= 0) { + r.data[r.t++] = 1; + r.subTo(t,r); + } + BigInteger.ONE.dlShiftTo(ys,t); + t.subTo(y,y); // "negative" y so we can replace sub with am later + while(y.t < ys) y.data[y.t++] = 0; + while(--j >= 0) { + // Estimate quotient digit + var qd = (r.data[--i]==y0)?this.DM:Math.floor(r.data[i]*d1+(r.data[i-1]+e)*d2); + if((r.data[i]+=y.am(0,qd,r,j,0,ys)) < qd) { // Try it out + y.dlShiftTo(j,t); + r.subTo(t,r); + while(r.data[i] < --qd) r.subTo(t,r); + } + } + if(q != null) { + r.drShiftTo(ys,q); + if(ts != ms) BigInteger.ZERO.subTo(q,q); + } + r.t = ys; + r.clamp(); + if(nsh > 0) r.rShiftTo(nsh,r); // Denormalize remainder + if(ts < 0) BigInteger.ZERO.subTo(r,r); +} + +// (public) this mod a +function bnMod(a) { + var r = nbi(); + this.abs().divRemTo(a,null,r); + if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r); + return r; +} + +// Modular reduction using "classic" algorithm +function Classic(m) { this.m = m; } +function cConvert(x) { + if(x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m); + else return x; +} +function cRevert(x) { return x; } +function cReduce(x) { x.divRemTo(this.m,null,x); } +function cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } +function cSqrTo(x,r) { x.squareTo(r); this.reduce(r); } + +Classic.prototype.convert = cConvert; +Classic.prototype.revert = cRevert; +Classic.prototype.reduce = cReduce; +Classic.prototype.mulTo = cMulTo; +Classic.prototype.sqrTo = cSqrTo; + +// (protected) return "-1/this % 2^DB"; useful for Mont. reduction +// justification: +// xy == 1 (mod m) +// xy = 1+km +// xy(2-xy) = (1+km)(1-km) +// x[y(2-xy)] = 1-k^2m^2 +// x[y(2-xy)] == 1 (mod m^2) +// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2 +// should reduce x and y(2-xy) by m^2 at each step to keep size bounded. +// JS multiply "overflows" differently from C/C++, so care is needed here. +function bnpInvDigit() { + if(this.t < 1) return 0; + var x = this.data[0]; + if((x&1) == 0) return 0; + var y = x&3; // y == 1/x mod 2^2 + y = (y*(2-(x&0xf)*y))&0xf; // y == 1/x mod 2^4 + y = (y*(2-(x&0xff)*y))&0xff; // y == 1/x mod 2^8 + y = (y*(2-(((x&0xffff)*y)&0xffff)))&0xffff; // y == 1/x mod 2^16 + // last step - calculate inverse mod DV directly; + // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints + y = (y*(2-x*y%this.DV))%this.DV; // y == 1/x mod 2^dbits + // we really want the negative inverse, and -DV < y < DV + return (y>0)?this.DV-y:-y; +} + +// Montgomery reduction +function Montgomery(m) { + this.m = m; + this.mp = m.invDigit(); + this.mpl = this.mp&0x7fff; + this.mph = this.mp>>15; + this.um = (1<<(m.DB-15))-1; + this.mt2 = 2*m.t; +} + +// xR mod m +function montConvert(x) { + var r = nbi(); + x.abs().dlShiftTo(this.m.t,r); + r.divRemTo(this.m,null,r); + if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r); + return r; +} + +// x/R mod m +function montRevert(x) { + var r = nbi(); + x.copyTo(r); + this.reduce(r); + return r; +} + +// x = x/R mod m (HAC 14.32) +function montReduce(x) { + while(x.t <= this.mt2) // pad x so am has enough room later + x.data[x.t++] = 0; + for(var i = 0; i < this.m.t; ++i) { + // faster way of calculating u0 = x.data[i]*mp mod DV + var j = x.data[i]&0x7fff; + var u0 = (j*this.mpl+(((j*this.mph+(x.data[i]>>15)*this.mpl)&this.um)<<15))&x.DM; + // use am to combine the multiply-shift-add into one call + j = i+this.m.t; + x.data[j] += this.m.am(0,u0,x,i,0,this.m.t); + // propagate carry + while(x.data[j] >= x.DV) { x.data[j] -= x.DV; x.data[++j]++; } + } + x.clamp(); + x.drShiftTo(this.m.t,x); + if(x.compareTo(this.m) >= 0) x.subTo(this.m,x); +} + +// r = "x^2/R mod m"; x != r +function montSqrTo(x,r) { x.squareTo(r); this.reduce(r); } + +// r = "xy/R mod m"; x,y != r +function montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } + +Montgomery.prototype.convert = montConvert; +Montgomery.prototype.revert = montRevert; +Montgomery.prototype.reduce = montReduce; +Montgomery.prototype.mulTo = montMulTo; +Montgomery.prototype.sqrTo = montSqrTo; + +// (protected) true iff this is even +function bnpIsEven() { return ((this.t>0)?(this.data[0]&1):this.s) == 0; } + +// (protected) this^e, e < 2^32, doing sqr and mul with "r" (HAC 14.79) +function bnpExp(e,z) { + if(e > 0xffffffff || e < 1) return BigInteger.ONE; + var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e)-1; + g.copyTo(r); + while(--i >= 0) { + z.sqrTo(r,r2); + if((e&(1< 0) z.mulTo(r2,g,r); + else { var t = r; r = r2; r2 = t; } + } + return z.revert(r); +} + +// (public) this^e % m, 0 <= e < 2^32 +function bnModPowInt(e,m) { + var z; + if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); + return this.exp(e,z); +} + +// protected +BigInteger.prototype.copyTo = bnpCopyTo; +BigInteger.prototype.fromInt = bnpFromInt; +BigInteger.prototype.fromString = bnpFromString; +BigInteger.prototype.clamp = bnpClamp; +BigInteger.prototype.dlShiftTo = bnpDLShiftTo; +BigInteger.prototype.drShiftTo = bnpDRShiftTo; +BigInteger.prototype.lShiftTo = bnpLShiftTo; +BigInteger.prototype.rShiftTo = bnpRShiftTo; +BigInteger.prototype.subTo = bnpSubTo; +BigInteger.prototype.multiplyTo = bnpMultiplyTo; +BigInteger.prototype.squareTo = bnpSquareTo; +BigInteger.prototype.divRemTo = bnpDivRemTo; +BigInteger.prototype.invDigit = bnpInvDigit; +BigInteger.prototype.isEven = bnpIsEven; +BigInteger.prototype.exp = bnpExp; + +// public +BigInteger.prototype.toString = bnToString; +BigInteger.prototype.negate = bnNegate; +BigInteger.prototype.abs = bnAbs; +BigInteger.prototype.compareTo = bnCompareTo; +BigInteger.prototype.bitLength = bnBitLength; +BigInteger.prototype.mod = bnMod; +BigInteger.prototype.modPowInt = bnModPowInt; + +// "constants" +BigInteger.ZERO = nbv(0); +BigInteger.ONE = nbv(1); + +// jsbn2 lib + +//Copyright (c) 2005-2009 Tom Wu +//All Rights Reserved. +//See "LICENSE" for details (See jsbn.js for LICENSE). + +//Extended JavaScript BN functions, required for RSA private ops. + +//Version 1.1: new BigInteger("0", 10) returns "proper" zero + +//(public) +function bnClone() { var r = nbi(); this.copyTo(r); return r; } + +//(public) return value as integer +function bnIntValue() { +if(this.s < 0) { + if(this.t == 1) return this.data[0]-this.DV; + else if(this.t == 0) return -1; +} else if(this.t == 1) return this.data[0]; +else if(this.t == 0) return 0; +// assumes 16 < DB < 32 +return ((this.data[1]&((1<<(32-this.DB))-1))<>24; } + +//(public) return value as short (assumes DB>=16) +function bnShortValue() { return (this.t==0)?this.s:(this.data[0]<<16)>>16; } + +//(protected) return x s.t. r^x < DV +function bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r)); } + +//(public) 0 if this == 0, 1 if this > 0 +function bnSigNum() { +if(this.s < 0) return -1; +else if(this.t <= 0 || (this.t == 1 && this.data[0] <= 0)) return 0; +else return 1; +} + +//(protected) convert to radix string +function bnpToRadix(b) { +if(b == null) b = 10; +if(this.signum() == 0 || b < 2 || b > 36) return "0"; +var cs = this.chunkSize(b); +var a = Math.pow(b,cs); +var d = nbv(a), y = nbi(), z = nbi(), r = ""; +this.divRemTo(d,y,z); +while(y.signum() > 0) { + r = (a+z.intValue()).toString(b).substr(1) + r; + y.divRemTo(d,y,z); +} +return z.intValue().toString(b) + r; +} + +//(protected) convert from radix string +function bnpFromRadix(s,b) { +this.fromInt(0); +if(b == null) b = 10; +var cs = this.chunkSize(b); +var d = Math.pow(b,cs), mi = false, j = 0, w = 0; +for(var i = 0; i < s.length; ++i) { + var x = intAt(s,i); + if(x < 0) { + if(s.charAt(i) == "-" && this.signum() == 0) mi = true; + continue; + } + w = b*w+x; + if(++j >= cs) { + this.dMultiply(d); + this.dAddOffset(w,0); + j = 0; + w = 0; + } +} +if(j > 0) { + this.dMultiply(Math.pow(b,j)); + this.dAddOffset(w,0); +} +if(mi) BigInteger.ZERO.subTo(this,this); +} + +//(protected) alternate constructor +function bnpFromNumber(a,b,c) { +if("number" == typeof b) { + // new BigInteger(int,int,RNG) + if(a < 2) this.fromInt(1); + else { + this.fromNumber(a,c); + if(!this.testBit(a-1)) // force MSB set + this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this); + if(this.isEven()) this.dAddOffset(1,0); // force odd + while(!this.isProbablePrime(b)) { + this.dAddOffset(2,0); + if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this); + } + } +} else { + // new BigInteger(int,RNG) + var x = new Array(), t = a&7; + x.length = (a>>3)+1; + b.nextBytes(x); + if(t > 0) x[0] &= ((1< 0) { + if(p < this.DB && (d = this.data[i]>>p) != (this.s&this.DM)>>p) + r[k++] = d|(this.s<<(this.DB-p)); + while(i >= 0) { + if(p < 8) { + d = (this.data[i]&((1<>(p+=this.DB-8); + } else { + d = (this.data[i]>>(p-=8))&0xff; + if(p <= 0) { p += this.DB; --i; } + } + if((d&0x80) != 0) d |= -256; + if(k == 0 && (this.s&0x80) != (d&0x80)) ++k; + if(k > 0 || d != this.s) r[k++] = d; + } +} +return r; +} + +function bnEquals(a) { return(this.compareTo(a)==0); } +function bnMin(a) { return(this.compareTo(a)<0)?this:a; } +function bnMax(a) { return(this.compareTo(a)>0)?this:a; } + +//(protected) r = this op a (bitwise) +function bnpBitwiseTo(a,op,r) { +var i, f, m = Math.min(a.t,this.t); +for(i = 0; i < m; ++i) r.data[i] = op(this.data[i],a.data[i]); +if(a.t < this.t) { + f = a.s&this.DM; + for(i = m; i < this.t; ++i) r.data[i] = op(this.data[i],f); + r.t = this.t; +} else { + f = this.s&this.DM; + for(i = m; i < a.t; ++i) r.data[i] = op(f,a.data[i]); + r.t = a.t; +} +r.s = op(this.s,a.s); +r.clamp(); +} + +//(public) this & a +function op_and(x,y) { return x&y; } +function bnAnd(a) { var r = nbi(); this.bitwiseTo(a,op_and,r); return r; } + +//(public) this | a +function op_or(x,y) { return x|y; } +function bnOr(a) { var r = nbi(); this.bitwiseTo(a,op_or,r); return r; } + +//(public) this ^ a +function op_xor(x,y) { return x^y; } +function bnXor(a) { var r = nbi(); this.bitwiseTo(a,op_xor,r); return r; } + +//(public) this & ~a +function op_andnot(x,y) { return x&~y; } +function bnAndNot(a) { var r = nbi(); this.bitwiseTo(a,op_andnot,r); return r; } + +//(public) ~this +function bnNot() { +var r = nbi(); +for(var i = 0; i < this.t; ++i) r.data[i] = this.DM&~this.data[i]; +r.t = this.t; +r.s = ~this.s; +return r; +} + +//(public) this << n +function bnShiftLeft(n) { +var r = nbi(); +if(n < 0) this.rShiftTo(-n,r); else this.lShiftTo(n,r); +return r; +} + +//(public) this >> n +function bnShiftRight(n) { +var r = nbi(); +if(n < 0) this.lShiftTo(-n,r); else this.rShiftTo(n,r); +return r; +} + +//return index of lowest 1-bit in x, x < 2^31 +function lbit(x) { +if(x == 0) return -1; +var r = 0; +if((x&0xffff) == 0) { x >>= 16; r += 16; } +if((x&0xff) == 0) { x >>= 8; r += 8; } +if((x&0xf) == 0) { x >>= 4; r += 4; } +if((x&3) == 0) { x >>= 2; r += 2; } +if((x&1) == 0) ++r; +return r; +} + +//(public) returns index of lowest 1-bit (or -1 if none) +function bnGetLowestSetBit() { +for(var i = 0; i < this.t; ++i) + if(this.data[i] != 0) return i*this.DB+lbit(this.data[i]); +if(this.s < 0) return this.t*this.DB; +return -1; +} + +//return number of 1 bits in x +function cbit(x) { +var r = 0; +while(x != 0) { x &= x-1; ++r; } +return r; +} + +//(public) return number of set bits +function bnBitCount() { +var r = 0, x = this.s&this.DM; +for(var i = 0; i < this.t; ++i) r += cbit(this.data[i]^x); +return r; +} + +//(public) true iff nth bit is set +function bnTestBit(n) { +var j = Math.floor(n/this.DB); +if(j >= this.t) return(this.s!=0); +return((this.data[j]&(1<<(n%this.DB)))!=0); +} + +//(protected) this op (1<>= this.DB; +} +if(a.t < this.t) { + c += a.s; + while(i < this.t) { + c += this.data[i]; + r.data[i++] = c&this.DM; + c >>= this.DB; + } + c += this.s; +} else { + c += this.s; + while(i < a.t) { + c += a.data[i]; + r.data[i++] = c&this.DM; + c >>= this.DB; + } + c += a.s; +} +r.s = (c<0)?-1:0; +if(c > 0) r.data[i++] = c; +else if(c < -1) r.data[i++] = this.DV+c; +r.t = i; +r.clamp(); +} + +//(public) this + a +function bnAdd(a) { var r = nbi(); this.addTo(a,r); return r; } + +//(public) this - a +function bnSubtract(a) { var r = nbi(); this.subTo(a,r); return r; } + +//(public) this * a +function bnMultiply(a) { var r = nbi(); this.multiplyTo(a,r); return r; } + +//(public) this / a +function bnDivide(a) { var r = nbi(); this.divRemTo(a,r,null); return r; } + +//(public) this % a +function bnRemainder(a) { var r = nbi(); this.divRemTo(a,null,r); return r; } + +//(public) [this/a,this%a] +function bnDivideAndRemainder(a) { +var q = nbi(), r = nbi(); +this.divRemTo(a,q,r); +return new Array(q,r); +} + +//(protected) this *= n, this >= 0, 1 < n < DV +function bnpDMultiply(n) { +this.data[this.t] = this.am(0,n-1,this,0,0,this.t); +++this.t; +this.clamp(); +} + +//(protected) this += n << w words, this >= 0 +function bnpDAddOffset(n,w) { +if(n == 0) return; +while(this.t <= w) this.data[this.t++] = 0; +this.data[w] += n; +while(this.data[w] >= this.DV) { + this.data[w] -= this.DV; + if(++w >= this.t) this.data[this.t++] = 0; + ++this.data[w]; +} +} + +//A "null" reducer +function NullExp() {} +function nNop(x) { return x; } +function nMulTo(x,y,r) { x.multiplyTo(y,r); } +function nSqrTo(x,r) { x.squareTo(r); } + +NullExp.prototype.convert = nNop; +NullExp.prototype.revert = nNop; +NullExp.prototype.mulTo = nMulTo; +NullExp.prototype.sqrTo = nSqrTo; + +//(public) this^e +function bnPow(e) { return this.exp(e,new NullExp()); } + +//(protected) r = lower n words of "this * a", a.t <= n +//"this" should be the larger one if appropriate. +function bnpMultiplyLowerTo(a,n,r) { +var i = Math.min(this.t+a.t,n); +r.s = 0; // assumes a,this >= 0 +r.t = i; +while(i > 0) r.data[--i] = 0; +var j; +for(j = r.t-this.t; i < j; ++i) r.data[i+this.t] = this.am(0,a.data[i],r,i,0,this.t); +for(j = Math.min(a.t,n); i < j; ++i) this.am(0,a.data[i],r,i,0,n-i); +r.clamp(); +} + +//(protected) r = "this * a" without lower n words, n > 0 +//"this" should be the larger one if appropriate. +function bnpMultiplyUpperTo(a,n,r) { +--n; +var i = r.t = this.t+a.t-n; +r.s = 0; // assumes a,this >= 0 +while(--i >= 0) r.data[i] = 0; +for(i = Math.max(n-this.t,0); i < a.t; ++i) + r.data[this.t+i-n] = this.am(n-i,a.data[i],r,0,0,this.t+i-n); +r.clamp(); +r.drShiftTo(1,r); +} + +//Barrett modular reduction +function Barrett(m) { +// setup Barrett +this.r2 = nbi(); +this.q3 = nbi(); +BigInteger.ONE.dlShiftTo(2*m.t,this.r2); +this.mu = this.r2.divide(m); +this.m = m; +} + +function barrettConvert(x) { +if(x.s < 0 || x.t > 2*this.m.t) return x.mod(this.m); +else if(x.compareTo(this.m) < 0) return x; +else { var r = nbi(); x.copyTo(r); this.reduce(r); return r; } +} + +function barrettRevert(x) { return x; } + +//x = x mod m (HAC 14.42) +function barrettReduce(x) { +x.drShiftTo(this.m.t-1,this.r2); +if(x.t > this.m.t+1) { x.t = this.m.t+1; x.clamp(); } +this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3); +this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2); +while(x.compareTo(this.r2) < 0) x.dAddOffset(1,this.m.t+1); +x.subTo(this.r2,x); +while(x.compareTo(this.m) >= 0) x.subTo(this.m,x); +} + +//r = x^2 mod m; x != r +function barrettSqrTo(x,r) { x.squareTo(r); this.reduce(r); } + +//r = x*y mod m; x,y != r +function barrettMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); } + +Barrett.prototype.convert = barrettConvert; +Barrett.prototype.revert = barrettRevert; +Barrett.prototype.reduce = barrettReduce; +Barrett.prototype.mulTo = barrettMulTo; +Barrett.prototype.sqrTo = barrettSqrTo; + +//(public) this^e % m (HAC 14.85) +function bnModPow(e,m) { +var i = e.bitLength(), k, r = nbv(1), z; +if(i <= 0) return r; +else if(i < 18) k = 1; +else if(i < 48) k = 3; +else if(i < 144) k = 4; +else if(i < 768) k = 5; +else k = 6; +if(i < 8) + z = new Classic(m); +else if(m.isEven()) + z = new Barrett(m); +else + z = new Montgomery(m); + +// precomputation +var g = new Array(), n = 3, k1 = k-1, km = (1< 1) { + var g2 = nbi(); + z.sqrTo(g[1],g2); + while(n <= km) { + g[n] = nbi(); + z.mulTo(g2,g[n-2],g[n]); + n += 2; + } +} + +var j = e.t-1, w, is1 = true, r2 = nbi(), t; +i = nbits(e.data[j])-1; +while(j >= 0) { + if(i >= k1) w = (e.data[j]>>(i-k1))&km; + else { + w = (e.data[j]&((1<<(i+1))-1))<<(k1-i); + if(j > 0) w |= e.data[j-1]>>(this.DB+i-k1); + } + + n = k; + while((w&1) == 0) { w >>= 1; --n; } + if((i -= n) < 0) { i += this.DB; --j; } + if(is1) { // ret == 1, don't bother squaring or multiplying it + g[w].copyTo(r); + is1 = false; + } else { + while(n > 1) { z.sqrTo(r,r2); z.sqrTo(r2,r); n -= 2; } + if(n > 0) z.sqrTo(r,r2); else { t = r; r = r2; r2 = t; } + z.mulTo(r2,g[w],r); + } + + while(j >= 0 && (e.data[j]&(1< 0) { + x.rShiftTo(g,x); + y.rShiftTo(g,y); +} +while(x.signum() > 0) { + if((i = x.getLowestSetBit()) > 0) x.rShiftTo(i,x); + if((i = y.getLowestSetBit()) > 0) y.rShiftTo(i,y); + if(x.compareTo(y) >= 0) { + x.subTo(y,x); + x.rShiftTo(1,x); + } else { + y.subTo(x,y); + y.rShiftTo(1,y); + } +} +if(g > 0) y.lShiftTo(g,y); +return y; +} + +//(protected) this % n, n < 2^26 +function bnpModInt(n) { +if(n <= 0) return 0; +var d = this.DV%n, r = (this.s<0)?n-1:0; +if(this.t > 0) + if(d == 0) r = this.data[0]%n; + else for(var i = this.t-1; i >= 0; --i) r = (d*r+this.data[i])%n; +return r; +} + +//(public) 1/this % m (HAC 14.61) +function bnModInverse(m) { +var ac = m.isEven(); +if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; +var u = m.clone(), v = this.clone(); +var a = nbv(1), b = nbv(0), c = nbv(0), d = nbv(1); +while(u.signum() != 0) { + while(u.isEven()) { + u.rShiftTo(1,u); + if(ac) { + if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); } + a.rShiftTo(1,a); + } else if(!b.isEven()) b.subTo(m,b); + b.rShiftTo(1,b); + } + while(v.isEven()) { + v.rShiftTo(1,v); + if(ac) { + if(!c.isEven() || !d.isEven()) { c.addTo(this,c); d.subTo(m,d); } + c.rShiftTo(1,c); + } else if(!d.isEven()) d.subTo(m,d); + d.rShiftTo(1,d); + } + if(u.compareTo(v) >= 0) { + u.subTo(v,u); + if(ac) a.subTo(c,a); + b.subTo(d,b); + } else { + v.subTo(u,v); + if(ac) c.subTo(a,c); + d.subTo(b,d); + } +} +if(v.compareTo(BigInteger.ONE) != 0) return BigInteger.ZERO; +if(d.compareTo(m) >= 0) return d.subtract(m); +if(d.signum() < 0) d.addTo(m,d); else return d; +if(d.signum() < 0) return d.add(m); else return d; +} + +var lowprimes = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509]; +var lplim = (1<<26)/lowprimes[lowprimes.length-1]; + +//(public) test primality with certainty >= 1-.5^t +function bnIsProbablePrime(t) { +var i, x = this.abs(); +if(x.t == 1 && x.data[0] <= lowprimes[lowprimes.length-1]) { + for(i = 0; i < lowprimes.length; ++i) + if(x.data[0] == lowprimes[i]) return true; + return false; +} +if(x.isEven()) return false; +i = 1; +while(i < lowprimes.length) { + var m = lowprimes[i], j = i+1; + while(j < lowprimes.length && m < lplim) m *= lowprimes[j++]; + m = x.modInt(m); + while(i < j) if(m%lowprimes[i++] == 0) return false; +} +return x.millerRabin(t); +} + +//(protected) true if probably prime (HAC 4.24, Miller-Rabin) +function bnpMillerRabin(t) { +var n1 = this.subtract(BigInteger.ONE); +var k = n1.getLowestSetBit(); +if(k <= 0) return false; +var r = n1.shiftRight(k); +var prng = bnGetPrng(); +var a; +for(var i = 0; i < t; ++i) { + // select witness 'a' at random from between 1 and n1 + do { + a = new BigInteger(this.bitLength(), prng); + } + while(a.compareTo(BigInteger.ONE) <= 0 || a.compareTo(n1) >= 0); + var y = a.modPow(r,this); + if(y.compareTo(BigInteger.ONE) != 0 && y.compareTo(n1) != 0) { + var j = 1; + while(j++ < k && y.compareTo(n1) != 0) { + y = y.modPowInt(2,this); + if(y.compareTo(BigInteger.ONE) == 0) return false; + } + if(y.compareTo(n1) != 0) return false; + } +} +return true; +} + +// get pseudo random number generator +function bnGetPrng() { + // create prng with api that matches BigInteger secure random + return { + // x is an array to fill with bytes + nextBytes: function(x) { + for(var i = 0; i < x.length; ++i) { + x[i] = Math.floor(Math.random() * 0x0100); + } + } + }; +} + +//protected +BigInteger.prototype.chunkSize = bnpChunkSize; +BigInteger.prototype.toRadix = bnpToRadix; +BigInteger.prototype.fromRadix = bnpFromRadix; +BigInteger.prototype.fromNumber = bnpFromNumber; +BigInteger.prototype.bitwiseTo = bnpBitwiseTo; +BigInteger.prototype.changeBit = bnpChangeBit; +BigInteger.prototype.addTo = bnpAddTo; +BigInteger.prototype.dMultiply = bnpDMultiply; +BigInteger.prototype.dAddOffset = bnpDAddOffset; +BigInteger.prototype.multiplyLowerTo = bnpMultiplyLowerTo; +BigInteger.prototype.multiplyUpperTo = bnpMultiplyUpperTo; +BigInteger.prototype.modInt = bnpModInt; +BigInteger.prototype.millerRabin = bnpMillerRabin; + +//public +BigInteger.prototype.clone = bnClone; +BigInteger.prototype.intValue = bnIntValue; +BigInteger.prototype.byteValue = bnByteValue; +BigInteger.prototype.shortValue = bnShortValue; +BigInteger.prototype.signum = bnSigNum; +BigInteger.prototype.toByteArray = bnToByteArray; +BigInteger.prototype.equals = bnEquals; +BigInteger.prototype.min = bnMin; +BigInteger.prototype.max = bnMax; +BigInteger.prototype.and = bnAnd; +BigInteger.prototype.or = bnOr; +BigInteger.prototype.xor = bnXor; +BigInteger.prototype.andNot = bnAndNot; +BigInteger.prototype.not = bnNot; +BigInteger.prototype.shiftLeft = bnShiftLeft; +BigInteger.prototype.shiftRight = bnShiftRight; +BigInteger.prototype.getLowestSetBit = bnGetLowestSetBit; +BigInteger.prototype.bitCount = bnBitCount; +BigInteger.prototype.testBit = bnTestBit; +BigInteger.prototype.setBit = bnSetBit; +BigInteger.prototype.clearBit = bnClearBit; +BigInteger.prototype.flipBit = bnFlipBit; +BigInteger.prototype.add = bnAdd; +BigInteger.prototype.subtract = bnSubtract; +BigInteger.prototype.multiply = bnMultiply; +BigInteger.prototype.divide = bnDivide; +BigInteger.prototype.remainder = bnRemainder; +BigInteger.prototype.divideAndRemainder = bnDivideAndRemainder; +BigInteger.prototype.modPow = bnModPow; +BigInteger.prototype.modInverse = bnModInverse; +BigInteger.prototype.pow = bnPow; +BigInteger.prototype.gcd = bnGCD; +BigInteger.prototype.isProbablePrime = bnIsProbablePrime; + +//BigInteger interfaces not implemented in jsbn: + +//BigInteger(int signum, byte[] magnitude) +//double doubleValue() +//float floatValue() +//int hashCode() +//long longValue() +//static BigInteger valueOf(long val) + + +/***/ }), + +/***/ 45173: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of RSA-KEM. + * + * @author Lautaro Cozzani Rodriguez + * @author Dave Longley + * + * Copyright (c) 2014 Lautaro Cozzani + * Copyright (c) 2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); +__nccwpck_require__(57821); +__nccwpck_require__(27052); + +module.exports = forge.kem = forge.kem || {}; + +var BigInteger = forge.jsbn.BigInteger; + +/** + * The API for the RSA Key Encapsulation Mechanism (RSA-KEM) from ISO 18033-2. + */ +forge.kem.rsa = {}; + +/** + * Creates an RSA KEM API object for generating a secret asymmetric key. + * + * The symmetric key may be generated via a call to 'encrypt', which will + * produce a ciphertext to be transmitted to the recipient and a key to be + * kept secret. The ciphertext is a parameter to be passed to 'decrypt' which + * will produce the same secret key for the recipient to use to decrypt a + * message that was encrypted with the secret key. + * + * @param kdf the KDF API to use (eg: new forge.kem.kdf1()). + * @param options the options to use. + * [prng] a custom crypto-secure pseudo-random number generator to use, + * that must define "getBytesSync". + */ +forge.kem.rsa.create = function(kdf, options) { + options = options || {}; + var prng = options.prng || forge.random; + + var kem = {}; + + /** + * Generates a secret key and its encapsulation. + * + * @param publicKey the RSA public key to encrypt with. + * @param keyLength the length, in bytes, of the secret key to generate. + * + * @return an object with: + * encapsulation: the ciphertext for generating the secret key, as a + * binary-encoded string of bytes. + * key: the secret key to use for encrypting a message. + */ + kem.encrypt = function(publicKey, keyLength) { + // generate a random r where 1 < r < n + var byteLength = Math.ceil(publicKey.n.bitLength() / 8); + var r; + do { + r = new BigInteger( + forge.util.bytesToHex(prng.getBytesSync(byteLength)), + 16).mod(publicKey.n); + } while(r.compareTo(BigInteger.ONE) <= 0); + + // prepend r with zeros + r = forge.util.hexToBytes(r.toString(16)); + var zeros = byteLength - r.length; + if(zeros > 0) { + r = forge.util.fillString(String.fromCharCode(0), zeros) + r; + } + + // encrypt the random + var encapsulation = publicKey.encrypt(r, 'NONE'); + + // generate the secret key + var key = kdf.generate(r, keyLength); + + return {encapsulation: encapsulation, key: key}; + }; + + /** + * Decrypts an encapsulated secret key. + * + * @param privateKey the RSA private key to decrypt with. + * @param encapsulation the ciphertext for generating the secret key, as + * a binary-encoded string of bytes. + * @param keyLength the length, in bytes, of the secret key to generate. + * + * @return the secret key as a binary-encoded string of bytes. + */ + kem.decrypt = function(privateKey, encapsulation, keyLength) { + // decrypt the encapsulation and generate the secret key + var r = privateKey.decrypt(encapsulation, 'NONE'); + return kdf.generate(r, keyLength); + }; + + return kem; +}; + +// TODO: add forge.kem.kdf.create('KDF1', {md: ..., ...}) API? + +/** + * Creates a key derivation API object that implements KDF1 per ISO 18033-2. + * + * @param md the hash API to use. + * @param [digestLength] an optional digest length that must be positive and + * less than or equal to md.digestLength. + * + * @return a KDF1 API object. + */ +forge.kem.kdf1 = function(md, digestLength) { + _createKDF(this, md, 0, digestLength || md.digestLength); +}; + +/** + * Creates a key derivation API object that implements KDF2 per ISO 18033-2. + * + * @param md the hash API to use. + * @param [digestLength] an optional digest length that must be positive and + * less than or equal to md.digestLength. + * + * @return a KDF2 API object. + */ +forge.kem.kdf2 = function(md, digestLength) { + _createKDF(this, md, 1, digestLength || md.digestLength); +}; + +/** + * Creates a KDF1 or KDF2 API object. + * + * @param md the hash API to use. + * @param counterStart the starting index for the counter. + * @param digestLength the digest length to use. + * + * @return the KDF API object. + */ +function _createKDF(kdf, md, counterStart, digestLength) { + /** + * Generate a key of the specified length. + * + * @param x the binary-encoded byte string to generate a key from. + * @param length the number of bytes to generate (the size of the key). + * + * @return the key as a binary-encoded string. + */ + kdf.generate = function(x, length) { + var key = new forge.util.ByteBuffer(); + + // run counter from counterStart to ceil(length / Hash.len) + var k = Math.ceil(length / digestLength) + counterStart; + + var c = new forge.util.ByteBuffer(); + for(var i = counterStart; i < k; ++i) { + // I2OSP(i, 4): convert counter to an octet string of 4 octets + c.putInt32(i); + + // digest 'x' and the counter and add the result to the key + md.start(); + md.update(x + c.getBytes()); + var hash = md.digest(); + key.putBytes(hash.getBytes(digestLength)); + } + + // truncate to the correct key length + key.truncate(key.length() - length); + return key.getBytes(); + }; +} + + +/***/ }), + +/***/ 49994: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Cross-browser support for logging in a web application. + * + * @author David I. Lehn + * + * Copyright (c) 2008-2013 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +/* LOG API */ +module.exports = forge.log = forge.log || {}; + +/** + * Application logging system. + * + * Each logger level available as it's own function of the form: + * forge.log.level(category, args...) + * The category is an arbitrary string, and the args are the same as + * Firebug's console.log API. By default the call will be output as: + * 'LEVEL [category] , args[1], ...' + * This enables proper % formatting via the first argument. + * Each category is enabled by default but can be enabled or disabled with + * the setCategoryEnabled() function. + */ +// list of known levels +forge.log.levels = [ + 'none', 'error', 'warning', 'info', 'debug', 'verbose', 'max']; +// info on the levels indexed by name: +// index: level index +// name: uppercased display name +var sLevelInfo = {}; +// list of loggers +var sLoggers = []; +/** + * Standard console logger. If no console support is enabled this will + * remain null. Check before using. + */ +var sConsoleLogger = null; + +// logger flags +/** + * Lock the level at the current value. Used in cases where user config may + * set the level such that only critical messages are seen but more verbose + * messages are needed for debugging or other purposes. + */ +forge.log.LEVEL_LOCKED = (1 << 1); +/** + * Always call log function. By default, the logging system will check the + * message level against logger.level before calling the log function. This + * flag allows the function to do its own check. + */ +forge.log.NO_LEVEL_CHECK = (1 << 2); +/** + * Perform message interpolation with the passed arguments. "%" style + * fields in log messages will be replaced by arguments as needed. Some + * loggers, such as Firebug, may do this automatically. The original log + * message will be available as 'message' and the interpolated version will + * be available as 'fullMessage'. + */ +forge.log.INTERPOLATE = (1 << 3); + +// setup each log level +for(var i = 0; i < forge.log.levels.length; ++i) { + var level = forge.log.levels[i]; + sLevelInfo[level] = { + index: i, + name: level.toUpperCase() + }; +} + +/** + * Message logger. Will dispatch a message to registered loggers as needed. + * + * @param message message object + */ +forge.log.logMessage = function(message) { + var messageLevelIndex = sLevelInfo[message.level].index; + for(var i = 0; i < sLoggers.length; ++i) { + var logger = sLoggers[i]; + if(logger.flags & forge.log.NO_LEVEL_CHECK) { + logger.f(message); + } else { + // get logger level + var loggerLevelIndex = sLevelInfo[logger.level].index; + // check level + if(messageLevelIndex <= loggerLevelIndex) { + // message critical enough, call logger + logger.f(logger, message); + } + } + } +}; + +/** + * Sets the 'standard' key on a message object to: + * "LEVEL [category] " + message + * + * @param message a message log object + */ +forge.log.prepareStandard = function(message) { + if(!('standard' in message)) { + message.standard = + sLevelInfo[message.level].name + + //' ' + +message.timestamp + + ' [' + message.category + '] ' + + message.message; + } +}; + +/** + * Sets the 'full' key on a message object to the original message + * interpolated via % formatting with the message arguments. + * + * @param message a message log object. + */ +forge.log.prepareFull = function(message) { + if(!('full' in message)) { + // copy args and insert message at the front + var args = [message.message]; + args = args.concat([] || 0); + // format the message + message.full = forge.util.format.apply(this, args); + } +}; + +/** + * Applies both preparseStandard() and prepareFull() to a message object and + * store result in 'standardFull'. + * + * @param message a message log object. + */ +forge.log.prepareStandardFull = function(message) { + if(!('standardFull' in message)) { + // FIXME implement 'standardFull' logging + forge.log.prepareStandard(message); + message.standardFull = message.standard; + } +}; + +// create log level functions +if(true) { + // levels for which we want functions + var levels = ['error', 'warning', 'info', 'debug', 'verbose']; + for(var i = 0; i < levels.length; ++i) { + // wrap in a function to ensure proper level var is passed + (function(level) { + // create function for this level + forge.log[level] = function(category, message/*, args...*/) { + // convert arguments to real array, remove category and message + var args = Array.prototype.slice.call(arguments).slice(2); + // create message object + // Note: interpolation and standard formatting is done lazily + var msg = { + timestamp: new Date(), + level: level, + category: category, + message: message, + 'arguments': args + /*standard*/ + /*full*/ + /*fullMessage*/ + }; + // process this message + forge.log.logMessage(msg); + }; + })(levels[i]); + } +} + +/** + * Creates a new logger with specified custom logging function. + * + * The logging function has a signature of: + * function(logger, message) + * logger: current logger + * message: object: + * level: level id + * category: category + * message: string message + * arguments: Array of extra arguments + * fullMessage: interpolated message and arguments if INTERPOLATE flag set + * + * @param logFunction a logging function which takes a log message object + * as a parameter. + * + * @return a logger object. + */ +forge.log.makeLogger = function(logFunction) { + var logger = { + flags: 0, + f: logFunction + }; + forge.log.setLevel(logger, 'none'); + return logger; +}; + +/** + * Sets the current log level on a logger. + * + * @param logger the target logger. + * @param level the new maximum log level as a string. + * + * @return true if set, false if not. + */ +forge.log.setLevel = function(logger, level) { + var rval = false; + if(logger && !(logger.flags & forge.log.LEVEL_LOCKED)) { + for(var i = 0; i < forge.log.levels.length; ++i) { + var aValidLevel = forge.log.levels[i]; + if(level == aValidLevel) { + // set level + logger.level = level; + rval = true; + break; + } + } + } + + return rval; +}; + +/** + * Locks the log level at its current value. + * + * @param logger the target logger. + * @param lock boolean lock value, default to true. + */ +forge.log.lock = function(logger, lock) { + if(typeof lock === 'undefined' || lock) { + logger.flags |= forge.log.LEVEL_LOCKED; + } else { + logger.flags &= ~forge.log.LEVEL_LOCKED; + } +}; + +/** + * Adds a logger. + * + * @param logger the logger object. + */ +forge.log.addLogger = function(logger) { + sLoggers.push(logger); +}; + +// setup the console logger if possible, else create fake console.log +if(typeof(console) !== 'undefined' && 'log' in console) { + var logger; + if(console.error && console.warn && console.info && console.debug) { + // looks like Firebug-style logging is available + // level handlers map + var levelHandlers = { + error: console.error, + warning: console.warn, + info: console.info, + debug: console.debug, + verbose: console.debug + }; + var f = function(logger, message) { + forge.log.prepareStandard(message); + var handler = levelHandlers[message.level]; + // prepend standard message and concat args + var args = [message.standard]; + args = args.concat(message['arguments'].slice()); + // apply to low-level console function + handler.apply(console, args); + }; + logger = forge.log.makeLogger(f); + } else { + // only appear to have basic console.log + var f = function(logger, message) { + forge.log.prepareStandardFull(message); + console.log(message.standardFull); + }; + logger = forge.log.makeLogger(f); + } + forge.log.setLevel(logger, 'debug'); + forge.log.addLogger(logger); + sConsoleLogger = logger; +} else { + // define fake console.log to avoid potential script errors on + // browsers that do not have console logging + console = { + log: function() {} + }; +} + +/* + * Check for logging control query vars. + * + * console.level= + * Set's the console log level by name. Useful to override defaults and + * allow more verbose logging before a user config is loaded. + * + * console.lock= + * Lock the console log level at whatever level it is set at. This is run + * after console.level is processed. Useful to force a level of verbosity + * that could otherwise be limited by a user config. + */ +if(sConsoleLogger !== null) { + var query = forge.util.getQueryVariables(); + if('console.level' in query) { + // set with last value + forge.log.setLevel( + sConsoleLogger, query['console.level'].slice(-1)[0]); + } + if('console.lock' in query) { + // set with last value + var lock = query['console.lock'].slice(-1)[0]; + if(lock == 'true') { + forge.log.lock(sConsoleLogger); + } + } +} + +// provide public access to console logger +forge.log.consoleLogger = sConsoleLogger; + + +/***/ }), + +/***/ 51145: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Node.js module for all known Forge message digests. + * + * @author Dave Longley + * + * Copyright 2011-2017 Digital Bazaar, Inc. + */ +module.exports = __nccwpck_require__(86231); + +__nccwpck_require__(86594); +__nccwpck_require__(90279); +__nccwpck_require__(44086); +__nccwpck_require__(59542); + + +/***/ }), + +/***/ 86231: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Node.js module for Forge message digests. + * + * @author Dave Longley + * + * Copyright 2011-2017 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); + +module.exports = forge.md = forge.md || {}; +forge.md.algorithms = forge.md.algorithms || {}; + + +/***/ }), + +/***/ 86594: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Message Digest Algorithm 5 with 128-bit digest (MD5) implementation. + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(86231); +__nccwpck_require__(28339); + +var md5 = module.exports = forge.md5 = forge.md5 || {}; +forge.md.md5 = forge.md.algorithms.md5 = md5; + +/** + * Creates an MD5 message digest object. + * + * @return a message digest object. + */ +md5.create = function() { + // do initialization as necessary + if(!_initialized) { + _init(); + } + + // MD5 state contains four 32-bit integers + var _state = null; + + // input buffer + var _input = forge.util.createBuffer(); + + // used for word storage + var _w = new Array(16); + + // message digest object + var md = { + algorithm: 'md5', + blockLength: 64, + digestLength: 16, + // 56-bit length of message so far (does not including padding) + messageLength: 0, + // true message length + fullMessageLength: null, + // size of message length in bytes + messageLengthSize: 8 + }; + + /** + * Starts the digest. + * + * @return this digest object. + */ + md.start = function() { + // up to 56-bit message length for convenience + md.messageLength = 0; + + // full message length (set md.messageLength64 for backwards-compatibility) + md.fullMessageLength = md.messageLength64 = []; + var int32s = md.messageLengthSize / 4; + for(var i = 0; i < int32s; ++i) { + md.fullMessageLength.push(0); + } + _input = forge.util.createBuffer(); + _state = { + h0: 0x67452301, + h1: 0xEFCDAB89, + h2: 0x98BADCFE, + h3: 0x10325476 + }; + return md; + }; + // start digest automatically for first time + md.start(); + + /** + * Updates the digest with the given message input. The given input can + * treated as raw input (no encoding will be applied) or an encoding of + * 'utf8' maybe given to encode the input using UTF-8. + * + * @param msg the message input to update with. + * @param encoding the encoding to use (default: 'raw', other: 'utf8'). + * + * @return this digest object. + */ + md.update = function(msg, encoding) { + if(encoding === 'utf8') { + msg = forge.util.encodeUtf8(msg); + } + + // update message length + var len = msg.length; + md.messageLength += len; + len = [(len / 0x100000000) >>> 0, len >>> 0]; + for(var i = md.fullMessageLength.length - 1; i >= 0; --i) { + md.fullMessageLength[i] += len[1]; + len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0); + md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0; + len[0] = (len[1] / 0x100000000) >>> 0; + } + + // add bytes to input buffer + _input.putBytes(msg); + + // process bytes + _update(_state, _w, _input); + + // compact input buffer every 2K or if empty + if(_input.read > 2048 || _input.length() === 0) { + _input.compact(); + } + + return md; + }; + + /** + * Produces the digest. + * + * @return a byte buffer containing the digest value. + */ + md.digest = function() { + /* Note: Here we copy the remaining bytes in the input buffer and + add the appropriate MD5 padding. Then we do the final update + on a copy of the state so that if the user wants to get + intermediate digests they can do so. */ + + /* Determine the number of bytes that must be added to the message + to ensure its length is congruent to 448 mod 512. In other words, + the data to be digested must be a multiple of 512 bits (or 128 bytes). + This data includes the message, some padding, and the length of the + message. Since the length of the message will be encoded as 8 bytes (64 + bits), that means that the last segment of the data must have 56 bytes + (448 bits) of message and padding. Therefore, the length of the message + plus the padding must be congruent to 448 mod 512 because + 512 - 128 = 448. + + In order to fill up the message length it must be filled with + padding that begins with 1 bit followed by all 0 bits. Padding + must *always* be present, so if the message length is already + congruent to 448 mod 512, then 512 padding bits must be added. */ + + var finalBlock = forge.util.createBuffer(); + finalBlock.putBytes(_input.bytes()); + + // compute remaining size to be digested (include message length size) + var remaining = ( + md.fullMessageLength[md.fullMessageLength.length - 1] + + md.messageLengthSize); + + // add padding for overflow blockSize - overflow + // _padding starts with 1 byte with first bit is set (byte value 128), then + // there may be up to (blockSize - 1) other pad bytes + var overflow = remaining & (md.blockLength - 1); + finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow)); + + // serialize message length in bits in little-endian order; since length + // is stored in bytes we multiply by 8 and add carry + var bits, carry = 0; + for(var i = md.fullMessageLength.length - 1; i >= 0; --i) { + bits = md.fullMessageLength[i] * 8 + carry; + carry = (bits / 0x100000000) >>> 0; + finalBlock.putInt32Le(bits >>> 0); + } + + var s2 = { + h0: _state.h0, + h1: _state.h1, + h2: _state.h2, + h3: _state.h3 + }; + _update(s2, _w, finalBlock); + var rval = forge.util.createBuffer(); + rval.putInt32Le(s2.h0); + rval.putInt32Le(s2.h1); + rval.putInt32Le(s2.h2); + rval.putInt32Le(s2.h3); + return rval; + }; + + return md; +}; + +// padding, constant tables for calculating md5 +var _padding = null; +var _g = null; +var _r = null; +var _k = null; +var _initialized = false; + +/** + * Initializes the constant tables. + */ +function _init() { + // create padding + _padding = String.fromCharCode(128); + _padding += forge.util.fillString(String.fromCharCode(0x00), 64); + + // g values + _g = [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 1, 6, 11, 0, 5, 10, 15, 4, 9, 14, 3, 8, 13, 2, 7, 12, + 5, 8, 11, 14, 1, 4, 7, 10, 13, 0, 3, 6, 9, 12, 15, 2, + 0, 7, 14, 5, 12, 3, 10, 1, 8, 15, 6, 13, 4, 11, 2, 9]; + + // rounds table + _r = [ + 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, + 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, + 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, + 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21]; + + // get the result of abs(sin(i + 1)) as a 32-bit integer + _k = new Array(64); + for(var i = 0; i < 64; ++i) { + _k[i] = Math.floor(Math.abs(Math.sin(i + 1)) * 0x100000000); + } + + // now initialized + _initialized = true; +} + +/** + * Updates an MD5 state with the given byte buffer. + * + * @param s the MD5 state to update. + * @param w the array to use to store words. + * @param bytes the byte buffer to update with. + */ +function _update(s, w, bytes) { + // consume 512 bit (64 byte) chunks + var t, a, b, c, d, f, r, i; + var len = bytes.length(); + while(len >= 64) { + // initialize hash value for this chunk + a = s.h0; + b = s.h1; + c = s.h2; + d = s.h3; + + // round 1 + for(i = 0; i < 16; ++i) { + w[i] = bytes.getInt32Le(); + f = d ^ (b & (c ^ d)); + t = (a + f + _k[i] + w[i]); + r = _r[i]; + a = d; + d = c; + c = b; + b += (t << r) | (t >>> (32 - r)); + } + // round 2 + for(; i < 32; ++i) { + f = c ^ (d & (b ^ c)); + t = (a + f + _k[i] + w[_g[i]]); + r = _r[i]; + a = d; + d = c; + c = b; + b += (t << r) | (t >>> (32 - r)); + } + // round 3 + for(; i < 48; ++i) { + f = b ^ c ^ d; + t = (a + f + _k[i] + w[_g[i]]); + r = _r[i]; + a = d; + d = c; + c = b; + b += (t << r) | (t >>> (32 - r)); + } + // round 4 + for(; i < 64; ++i) { + f = c ^ (b | ~d); + t = (a + f + _k[i] + w[_g[i]]); + r = _r[i]; + a = d; + d = c; + c = b; + b += (t << r) | (t >>> (32 - r)); + } + + // update hash state + s.h0 = (s.h0 + a) | 0; + s.h1 = (s.h1 + b) | 0; + s.h2 = (s.h2 + c) | 0; + s.h3 = (s.h3 + d) | 0; + + len -= 64; + } +} + + +/***/ }), + +/***/ 27973: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Node.js module for Forge mask generation functions. + * + * @author Stefan Siegl + * + * Copyright 2012 Stefan Siegl + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(73339); + +module.exports = forge.mgf = forge.mgf || {}; +forge.mgf.mgf1 = forge.mgf1; + + +/***/ }), + +/***/ 73339: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of mask generation function MGF1. + * + * @author Stefan Siegl + * @author Dave Longley + * + * Copyright (c) 2012 Stefan Siegl + * Copyright (c) 2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +forge.mgf = forge.mgf || {}; +var mgf1 = module.exports = forge.mgf.mgf1 = forge.mgf1 = forge.mgf1 || {}; + +/** + * Creates a MGF1 mask generation function object. + * + * @param md the message digest API to use (eg: forge.md.sha1.create()). + * + * @return a mask generation function object. + */ +mgf1.create = function(md) { + var mgf = { + /** + * Generate mask of specified length. + * + * @param {String} seed The seed for mask generation. + * @param maskLen Number of bytes to generate. + * @return {String} The generated mask. + */ + generate: function(seed, maskLen) { + /* 2. Let T be the empty octet string. */ + var t = new forge.util.ByteBuffer(); + + /* 3. For counter from 0 to ceil(maskLen / hLen), do the following: */ + var len = Math.ceil(maskLen / md.digestLength); + for(var i = 0; i < len; i++) { + /* a. Convert counter to an octet string C of length 4 octets */ + var c = new forge.util.ByteBuffer(); + c.putInt32(i); + + /* b. Concatenate the hash of the seed mgfSeed and C to the octet + * string T: */ + md.start(); + md.update(seed + c.getBytes()); + t.putBuffer(md.digest()); + } + + /* Output the leading maskLen octets of T as the octet string mask. */ + t.truncate(t.length() - maskLen); + return t.getBytes(); + } + }; + + return mgf; +}; + + +/***/ }), + +/***/ 81925: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Object IDs for ASN.1. + * + * @author Dave Longley + * + * Copyright (c) 2010-2013 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); + +forge.pki = forge.pki || {}; +var oids = module.exports = forge.pki.oids = forge.oids = forge.oids || {}; + +// set id to name mapping and name to id mapping +function _IN(id, name) { + oids[id] = name; + oids[name] = id; +} +// set id to name mapping only +function _I_(id, name) { + oids[id] = name; +} + +// algorithm OIDs +_IN('1.2.840.113549.1.1.1', 'rsaEncryption'); +// Note: md2 & md4 not implemented +//_IN('1.2.840.113549.1.1.2', 'md2WithRSAEncryption'); +//_IN('1.2.840.113549.1.1.3', 'md4WithRSAEncryption'); +_IN('1.2.840.113549.1.1.4', 'md5WithRSAEncryption'); +_IN('1.2.840.113549.1.1.5', 'sha1WithRSAEncryption'); +_IN('1.2.840.113549.1.1.7', 'RSAES-OAEP'); +_IN('1.2.840.113549.1.1.8', 'mgf1'); +_IN('1.2.840.113549.1.1.9', 'pSpecified'); +_IN('1.2.840.113549.1.1.10', 'RSASSA-PSS'); +_IN('1.2.840.113549.1.1.11', 'sha256WithRSAEncryption'); +_IN('1.2.840.113549.1.1.12', 'sha384WithRSAEncryption'); +_IN('1.2.840.113549.1.1.13', 'sha512WithRSAEncryption'); +// Edwards-curve Digital Signature Algorithm (EdDSA) Ed25519 +_IN('1.3.101.112', 'EdDSA25519'); + +_IN('1.2.840.10040.4.3', 'dsa-with-sha1'); + +_IN('1.3.14.3.2.7', 'desCBC'); + +_IN('1.3.14.3.2.26', 'sha1'); +_IN('2.16.840.1.101.3.4.2.1', 'sha256'); +_IN('2.16.840.1.101.3.4.2.2', 'sha384'); +_IN('2.16.840.1.101.3.4.2.3', 'sha512'); +_IN('1.2.840.113549.2.5', 'md5'); + +// pkcs#7 content types +_IN('1.2.840.113549.1.7.1', 'data'); +_IN('1.2.840.113549.1.7.2', 'signedData'); +_IN('1.2.840.113549.1.7.3', 'envelopedData'); +_IN('1.2.840.113549.1.7.4', 'signedAndEnvelopedData'); +_IN('1.2.840.113549.1.7.5', 'digestedData'); +_IN('1.2.840.113549.1.7.6', 'encryptedData'); + +// pkcs#9 oids +_IN('1.2.840.113549.1.9.1', 'emailAddress'); +_IN('1.2.840.113549.1.9.2', 'unstructuredName'); +_IN('1.2.840.113549.1.9.3', 'contentType'); +_IN('1.2.840.113549.1.9.4', 'messageDigest'); +_IN('1.2.840.113549.1.9.5', 'signingTime'); +_IN('1.2.840.113549.1.9.6', 'counterSignature'); +_IN('1.2.840.113549.1.9.7', 'challengePassword'); +_IN('1.2.840.113549.1.9.8', 'unstructuredAddress'); +_IN('1.2.840.113549.1.9.14', 'extensionRequest'); + +_IN('1.2.840.113549.1.9.20', 'friendlyName'); +_IN('1.2.840.113549.1.9.21', 'localKeyId'); +_IN('1.2.840.113549.1.9.22.1', 'x509Certificate'); + +// pkcs#12 safe bags +_IN('1.2.840.113549.1.12.10.1.1', 'keyBag'); +_IN('1.2.840.113549.1.12.10.1.2', 'pkcs8ShroudedKeyBag'); +_IN('1.2.840.113549.1.12.10.1.3', 'certBag'); +_IN('1.2.840.113549.1.12.10.1.4', 'crlBag'); +_IN('1.2.840.113549.1.12.10.1.5', 'secretBag'); +_IN('1.2.840.113549.1.12.10.1.6', 'safeContentsBag'); + +// password-based-encryption for pkcs#12 +_IN('1.2.840.113549.1.5.13', 'pkcs5PBES2'); +_IN('1.2.840.113549.1.5.12', 'pkcs5PBKDF2'); + +_IN('1.2.840.113549.1.12.1.1', 'pbeWithSHAAnd128BitRC4'); +_IN('1.2.840.113549.1.12.1.2', 'pbeWithSHAAnd40BitRC4'); +_IN('1.2.840.113549.1.12.1.3', 'pbeWithSHAAnd3-KeyTripleDES-CBC'); +_IN('1.2.840.113549.1.12.1.4', 'pbeWithSHAAnd2-KeyTripleDES-CBC'); +_IN('1.2.840.113549.1.12.1.5', 'pbeWithSHAAnd128BitRC2-CBC'); +_IN('1.2.840.113549.1.12.1.6', 'pbewithSHAAnd40BitRC2-CBC'); + +// hmac OIDs +_IN('1.2.840.113549.2.7', 'hmacWithSHA1'); +_IN('1.2.840.113549.2.8', 'hmacWithSHA224'); +_IN('1.2.840.113549.2.9', 'hmacWithSHA256'); +_IN('1.2.840.113549.2.10', 'hmacWithSHA384'); +_IN('1.2.840.113549.2.11', 'hmacWithSHA512'); + +// symmetric key algorithm oids +_IN('1.2.840.113549.3.7', 'des-EDE3-CBC'); +_IN('2.16.840.1.101.3.4.1.2', 'aes128-CBC'); +_IN('2.16.840.1.101.3.4.1.22', 'aes192-CBC'); +_IN('2.16.840.1.101.3.4.1.42', 'aes256-CBC'); + +// certificate issuer/subject OIDs +_IN('2.5.4.3', 'commonName'); +_IN('2.5.4.5', 'serialName'); +_IN('2.5.4.6', 'countryName'); +_IN('2.5.4.7', 'localityName'); +_IN('2.5.4.8', 'stateOrProvinceName'); +_IN('2.5.4.9', 'streetAddress'); +_IN('2.5.4.10', 'organizationName'); +_IN('2.5.4.11', 'organizationalUnitName'); +_IN('2.5.4.13', 'description'); +_IN('2.5.4.15', 'businessCategory'); +_IN('2.5.4.17', 'postalCode'); +_IN('1.3.6.1.4.1.311.60.2.1.2', 'jurisdictionOfIncorporationStateOrProvinceName'); +_IN('1.3.6.1.4.1.311.60.2.1.3', 'jurisdictionOfIncorporationCountryName'); + +// X.509 extension OIDs +_IN('2.16.840.1.113730.1.1', 'nsCertType'); +_IN('2.16.840.1.113730.1.13', 'nsComment'); // deprecated in theory; still widely used +_I_('2.5.29.1', 'authorityKeyIdentifier'); // deprecated, use .35 +_I_('2.5.29.2', 'keyAttributes'); // obsolete use .37 or .15 +_I_('2.5.29.3', 'certificatePolicies'); // deprecated, use .32 +_I_('2.5.29.4', 'keyUsageRestriction'); // obsolete use .37 or .15 +_I_('2.5.29.5', 'policyMapping'); // deprecated use .33 +_I_('2.5.29.6', 'subtreesConstraint'); // obsolete use .30 +_I_('2.5.29.7', 'subjectAltName'); // deprecated use .17 +_I_('2.5.29.8', 'issuerAltName'); // deprecated use .18 +_I_('2.5.29.9', 'subjectDirectoryAttributes'); +_I_('2.5.29.10', 'basicConstraints'); // deprecated use .19 +_I_('2.5.29.11', 'nameConstraints'); // deprecated use .30 +_I_('2.5.29.12', 'policyConstraints'); // deprecated use .36 +_I_('2.5.29.13', 'basicConstraints'); // deprecated use .19 +_IN('2.5.29.14', 'subjectKeyIdentifier'); +_IN('2.5.29.15', 'keyUsage'); +_I_('2.5.29.16', 'privateKeyUsagePeriod'); +_IN('2.5.29.17', 'subjectAltName'); +_IN('2.5.29.18', 'issuerAltName'); +_IN('2.5.29.19', 'basicConstraints'); +_I_('2.5.29.20', 'cRLNumber'); +_I_('2.5.29.21', 'cRLReason'); +_I_('2.5.29.22', 'expirationDate'); +_I_('2.5.29.23', 'instructionCode'); +_I_('2.5.29.24', 'invalidityDate'); +_I_('2.5.29.25', 'cRLDistributionPoints'); // deprecated use .31 +_I_('2.5.29.26', 'issuingDistributionPoint'); // deprecated use .28 +_I_('2.5.29.27', 'deltaCRLIndicator'); +_I_('2.5.29.28', 'issuingDistributionPoint'); +_I_('2.5.29.29', 'certificateIssuer'); +_I_('2.5.29.30', 'nameConstraints'); +_IN('2.5.29.31', 'cRLDistributionPoints'); +_IN('2.5.29.32', 'certificatePolicies'); +_I_('2.5.29.33', 'policyMappings'); +_I_('2.5.29.34', 'policyConstraints'); // deprecated use .36 +_IN('2.5.29.35', 'authorityKeyIdentifier'); +_I_('2.5.29.36', 'policyConstraints'); +_IN('2.5.29.37', 'extKeyUsage'); +_I_('2.5.29.46', 'freshestCRL'); +_I_('2.5.29.54', 'inhibitAnyPolicy'); + +// extKeyUsage purposes +_IN('1.3.6.1.4.1.11129.2.4.2', 'timestampList'); +_IN('1.3.6.1.5.5.7.1.1', 'authorityInfoAccess'); +_IN('1.3.6.1.5.5.7.3.1', 'serverAuth'); +_IN('1.3.6.1.5.5.7.3.2', 'clientAuth'); +_IN('1.3.6.1.5.5.7.3.3', 'codeSigning'); +_IN('1.3.6.1.5.5.7.3.4', 'emailProtection'); +_IN('1.3.6.1.5.5.7.3.8', 'timeStamping'); + + +/***/ }), + +/***/ 21281: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Password-based encryption functions. + * + * @author Dave Longley + * @author Stefan Siegl + * + * Copyright (c) 2010-2013 Digital Bazaar, Inc. + * Copyright (c) 2012 Stefan Siegl + * + * An EncryptedPrivateKeyInfo: + * + * EncryptedPrivateKeyInfo ::= SEQUENCE { + * encryptionAlgorithm EncryptionAlgorithmIdentifier, + * encryptedData EncryptedData } + * + * EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier + * + * EncryptedData ::= OCTET STRING + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(39549); +__nccwpck_require__(97157); +__nccwpck_require__(86231); +__nccwpck_require__(81925); +__nccwpck_require__(31611); +__nccwpck_require__(70154); +__nccwpck_require__(57821); +__nccwpck_require__(39965); +__nccwpck_require__(53921); +__nccwpck_require__(28339); + +if(typeof BigInteger === 'undefined') { + var BigInteger = forge.jsbn.BigInteger; +} + +// shortcut for asn.1 API +var asn1 = forge.asn1; + +/* Password-based encryption implementation. */ +var pki = forge.pki = forge.pki || {}; +module.exports = pki.pbe = forge.pbe = forge.pbe || {}; +var oids = pki.oids; + +// validator for an EncryptedPrivateKeyInfo structure +// Note: Currently only works w/algorithm params +var encryptedPrivateKeyValidator = { + name: 'EncryptedPrivateKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'EncryptedPrivateKeyInfo.encryptionAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'encryptionOid' + }, { + name: 'AlgorithmIdentifier.parameters', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'encryptionParams' + }] + }, { + // encryptedData + name: 'EncryptedPrivateKeyInfo.encryptedData', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'encryptedData' + }] +}; + +// validator for a PBES2Algorithms structure +// Note: Currently only works w/PBKDF2 + AES encryption schemes +var PBES2AlgorithmsValidator = { + name: 'PBES2Algorithms', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'PBES2Algorithms.keyDerivationFunc', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'PBES2Algorithms.keyDerivationFunc.oid', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'kdfOid' + }, { + name: 'PBES2Algorithms.params', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'PBES2Algorithms.params.salt', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'kdfSalt' + }, { + name: 'PBES2Algorithms.params.iterationCount', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'kdfIterationCount' + }, { + name: 'PBES2Algorithms.params.keyLength', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + optional: true, + capture: 'keyLength' + }, { + // prf + name: 'PBES2Algorithms.params.prf', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + optional: true, + value: [{ + name: 'PBES2Algorithms.params.prf.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'prfOid' + }] + }] + }] + }, { + name: 'PBES2Algorithms.encryptionScheme', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'PBES2Algorithms.encryptionScheme.oid', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'encOid' + }, { + name: 'PBES2Algorithms.encryptionScheme.iv', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'encIv' + }] + }] +}; + +var pkcs12PbeParamsValidator = { + name: 'pkcs-12PbeParams', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'pkcs-12PbeParams.salt', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'salt' + }, { + name: 'pkcs-12PbeParams.iterations', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'iterations' + }] +}; + +/** + * Encrypts a ASN.1 PrivateKeyInfo object, producing an EncryptedPrivateKeyInfo. + * + * PBES2Algorithms ALGORITHM-IDENTIFIER ::= + * { {PBES2-params IDENTIFIED BY id-PBES2}, ...} + * + * id-PBES2 OBJECT IDENTIFIER ::= {pkcs-5 13} + * + * PBES2-params ::= SEQUENCE { + * keyDerivationFunc AlgorithmIdentifier {{PBES2-KDFs}}, + * encryptionScheme AlgorithmIdentifier {{PBES2-Encs}} + * } + * + * PBES2-KDFs ALGORITHM-IDENTIFIER ::= + * { {PBKDF2-params IDENTIFIED BY id-PBKDF2}, ... } + * + * PBES2-Encs ALGORITHM-IDENTIFIER ::= { ... } + * + * PBKDF2-params ::= SEQUENCE { + * salt CHOICE { + * specified OCTET STRING, + * otherSource AlgorithmIdentifier {{PBKDF2-SaltSources}} + * }, + * iterationCount INTEGER (1..MAX), + * keyLength INTEGER (1..MAX) OPTIONAL, + * prf AlgorithmIdentifier {{PBKDF2-PRFs}} DEFAULT algid-hmacWithSHA1 + * } + * + * @param obj the ASN.1 PrivateKeyInfo object. + * @param password the password to encrypt with. + * @param options: + * algorithm the encryption algorithm to use + * ('aes128', 'aes192', 'aes256', '3des'), defaults to 'aes128'. + * count the iteration count to use. + * saltSize the salt size to use. + * prfAlgorithm the PRF message digest algorithm to use + * ('sha1', 'sha224', 'sha256', 'sha384', 'sha512') + * + * @return the ASN.1 EncryptedPrivateKeyInfo. + */ +pki.encryptPrivateKeyInfo = function(obj, password, options) { + // set default options + options = options || {}; + options.saltSize = options.saltSize || 8; + options.count = options.count || 2048; + options.algorithm = options.algorithm || 'aes128'; + options.prfAlgorithm = options.prfAlgorithm || 'sha1'; + + // generate PBE params + var salt = forge.random.getBytesSync(options.saltSize); + var count = options.count; + var countBytes = asn1.integerToDer(count); + var dkLen; + var encryptionAlgorithm; + var encryptedData; + if(options.algorithm.indexOf('aes') === 0 || options.algorithm === 'des') { + // do PBES2 + var ivLen, encOid, cipherFn; + switch(options.algorithm) { + case 'aes128': + dkLen = 16; + ivLen = 16; + encOid = oids['aes128-CBC']; + cipherFn = forge.aes.createEncryptionCipher; + break; + case 'aes192': + dkLen = 24; + ivLen = 16; + encOid = oids['aes192-CBC']; + cipherFn = forge.aes.createEncryptionCipher; + break; + case 'aes256': + dkLen = 32; + ivLen = 16; + encOid = oids['aes256-CBC']; + cipherFn = forge.aes.createEncryptionCipher; + break; + case 'des': + dkLen = 8; + ivLen = 8; + encOid = oids['desCBC']; + cipherFn = forge.des.createEncryptionCipher; + break; + default: + var error = new Error('Cannot encrypt private key. Unknown encryption algorithm.'); + error.algorithm = options.algorithm; + throw error; + } + + // get PRF message digest + var prfAlgorithm = 'hmacWith' + options.prfAlgorithm.toUpperCase(); + var md = prfAlgorithmToMessageDigest(prfAlgorithm); + + // encrypt private key using pbe SHA-1 and AES/DES + var dk = forge.pkcs5.pbkdf2(password, salt, count, dkLen, md); + var iv = forge.random.getBytesSync(ivLen); + var cipher = cipherFn(dk); + cipher.start(iv); + cipher.update(asn1.toDer(obj)); + cipher.finish(); + encryptedData = cipher.output.getBytes(); + + // get PBKDF2-params + var params = createPbkdf2Params(salt, countBytes, dkLen, prfAlgorithm); + + encryptionAlgorithm = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(oids['pkcs5PBES2']).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // keyDerivationFunc + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(oids['pkcs5PBKDF2']).getBytes()), + // PBKDF2-params + params + ]), + // encryptionScheme + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(encOid).getBytes()), + // iv + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, iv) + ]) + ]) + ]); + } else if(options.algorithm === '3des') { + // Do PKCS12 PBE + dkLen = 24; + + var saltBytes = new forge.util.ByteBuffer(salt); + var dk = pki.pbe.generatePkcs12Key(password, saltBytes, 1, count, dkLen); + var iv = pki.pbe.generatePkcs12Key(password, saltBytes, 2, count, dkLen); + var cipher = forge.des.createEncryptionCipher(dk); + cipher.start(iv); + cipher.update(asn1.toDer(obj)); + cipher.finish(); + encryptedData = cipher.output.getBytes(); + + encryptionAlgorithm = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(oids['pbeWithSHAAnd3-KeyTripleDES-CBC']).getBytes()), + // pkcs-12PbeParams + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // salt + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, salt), + // iteration count + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + countBytes.getBytes()) + ]) + ]); + } else { + var error = new Error('Cannot encrypt private key. Unknown encryption algorithm.'); + error.algorithm = options.algorithm; + throw error; + } + + // EncryptedPrivateKeyInfo + var rval = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // encryptionAlgorithm + encryptionAlgorithm, + // encryptedData + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, encryptedData) + ]); + return rval; +}; + +/** + * Decrypts a ASN.1 PrivateKeyInfo object. + * + * @param obj the ASN.1 EncryptedPrivateKeyInfo object. + * @param password the password to decrypt with. + * + * @return the ASN.1 PrivateKeyInfo on success, null on failure. + */ +pki.decryptPrivateKeyInfo = function(obj, password) { + var rval = null; + + // get PBE params + var capture = {}; + var errors = []; + if(!asn1.validate(obj, encryptedPrivateKeyValidator, capture, errors)) { + var error = new Error('Cannot read encrypted private key. ' + + 'ASN.1 object is not a supported EncryptedPrivateKeyInfo.'); + error.errors = errors; + throw error; + } + + // get cipher + var oid = asn1.derToOid(capture.encryptionOid); + var cipher = pki.pbe.getCipher(oid, capture.encryptionParams, password); + + // get encrypted data + var encrypted = forge.util.createBuffer(capture.encryptedData); + + cipher.update(encrypted); + if(cipher.finish()) { + rval = asn1.fromDer(cipher.output); + } + + return rval; +}; + +/** + * Converts a EncryptedPrivateKeyInfo to PEM format. + * + * @param epki the EncryptedPrivateKeyInfo. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted encrypted private key. + */ +pki.encryptedPrivateKeyToPem = function(epki, maxline) { + // convert to DER, then PEM-encode + var msg = { + type: 'ENCRYPTED PRIVATE KEY', + body: asn1.toDer(epki).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + +/** + * Converts a PEM-encoded EncryptedPrivateKeyInfo to ASN.1 format. Decryption + * is not performed. + * + * @param pem the EncryptedPrivateKeyInfo in PEM-format. + * + * @return the ASN.1 EncryptedPrivateKeyInfo. + */ +pki.encryptedPrivateKeyFromPem = function(pem) { + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'ENCRYPTED PRIVATE KEY') { + var error = new Error('Could not convert encrypted private key from PEM; ' + + 'PEM header type is "ENCRYPTED PRIVATE KEY".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert encrypted private key from PEM; ' + + 'PEM is encrypted.'); + } + + // convert DER to ASN.1 object + return asn1.fromDer(msg.body); +}; + +/** + * Encrypts an RSA private key. By default, the key will be wrapped in + * a PrivateKeyInfo and encrypted to produce a PKCS#8 EncryptedPrivateKeyInfo. + * This is the standard, preferred way to encrypt a private key. + * + * To produce a non-standard PEM-encrypted private key that uses encapsulated + * headers to indicate the encryption algorithm (old-style non-PKCS#8 OpenSSL + * private key encryption), set the 'legacy' option to true. Note: Using this + * option will cause the iteration count to be forced to 1. + * + * Note: The 'des' algorithm is supported, but it is not considered to be + * secure because it only uses a single 56-bit key. If possible, it is highly + * recommended that a different algorithm be used. + * + * @param rsaKey the RSA key to encrypt. + * @param password the password to use. + * @param options: + * algorithm: the encryption algorithm to use + * ('aes128', 'aes192', 'aes256', '3des', 'des'). + * count: the iteration count to use. + * saltSize: the salt size to use. + * legacy: output an old non-PKCS#8 PEM-encrypted+encapsulated + * headers (DEK-Info) private key. + * + * @return the PEM-encoded ASN.1 EncryptedPrivateKeyInfo. + */ +pki.encryptRsaPrivateKey = function(rsaKey, password, options) { + // standard PKCS#8 + options = options || {}; + if(!options.legacy) { + // encrypt PrivateKeyInfo + var rval = pki.wrapRsaPrivateKey(pki.privateKeyToAsn1(rsaKey)); + rval = pki.encryptPrivateKeyInfo(rval, password, options); + return pki.encryptedPrivateKeyToPem(rval); + } + + // legacy non-PKCS#8 + var algorithm; + var iv; + var dkLen; + var cipherFn; + switch(options.algorithm) { + case 'aes128': + algorithm = 'AES-128-CBC'; + dkLen = 16; + iv = forge.random.getBytesSync(16); + cipherFn = forge.aes.createEncryptionCipher; + break; + case 'aes192': + algorithm = 'AES-192-CBC'; + dkLen = 24; + iv = forge.random.getBytesSync(16); + cipherFn = forge.aes.createEncryptionCipher; + break; + case 'aes256': + algorithm = 'AES-256-CBC'; + dkLen = 32; + iv = forge.random.getBytesSync(16); + cipherFn = forge.aes.createEncryptionCipher; + break; + case '3des': + algorithm = 'DES-EDE3-CBC'; + dkLen = 24; + iv = forge.random.getBytesSync(8); + cipherFn = forge.des.createEncryptionCipher; + break; + case 'des': + algorithm = 'DES-CBC'; + dkLen = 8; + iv = forge.random.getBytesSync(8); + cipherFn = forge.des.createEncryptionCipher; + break; + default: + var error = new Error('Could not encrypt RSA private key; unsupported ' + + 'encryption algorithm "' + options.algorithm + '".'); + error.algorithm = options.algorithm; + throw error; + } + + // encrypt private key using OpenSSL legacy key derivation + var dk = forge.pbe.opensslDeriveBytes(password, iv.substr(0, 8), dkLen); + var cipher = cipherFn(dk); + cipher.start(iv); + cipher.update(asn1.toDer(pki.privateKeyToAsn1(rsaKey))); + cipher.finish(); + + var msg = { + type: 'RSA PRIVATE KEY', + procType: { + version: '4', + type: 'ENCRYPTED' + }, + dekInfo: { + algorithm: algorithm, + parameters: forge.util.bytesToHex(iv).toUpperCase() + }, + body: cipher.output.getBytes() + }; + return forge.pem.encode(msg); +}; + +/** + * Decrypts an RSA private key. + * + * @param pem the PEM-formatted EncryptedPrivateKeyInfo to decrypt. + * @param password the password to use. + * + * @return the RSA key on success, null on failure. + */ +pki.decryptRsaPrivateKey = function(pem, password) { + var rval = null; + + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'ENCRYPTED PRIVATE KEY' && + msg.type !== 'PRIVATE KEY' && + msg.type !== 'RSA PRIVATE KEY') { + var error = new Error('Could not convert private key from PEM; PEM header type ' + + 'is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".'); + error.headerType = error; + throw error; + } + + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + var dkLen; + var cipherFn; + switch(msg.dekInfo.algorithm) { + case 'DES-CBC': + dkLen = 8; + cipherFn = forge.des.createDecryptionCipher; + break; + case 'DES-EDE3-CBC': + dkLen = 24; + cipherFn = forge.des.createDecryptionCipher; + break; + case 'AES-128-CBC': + dkLen = 16; + cipherFn = forge.aes.createDecryptionCipher; + break; + case 'AES-192-CBC': + dkLen = 24; + cipherFn = forge.aes.createDecryptionCipher; + break; + case 'AES-256-CBC': + dkLen = 32; + cipherFn = forge.aes.createDecryptionCipher; + break; + case 'RC2-40-CBC': + dkLen = 5; + cipherFn = function(key) { + return forge.rc2.createDecryptionCipher(key, 40); + }; + break; + case 'RC2-64-CBC': + dkLen = 8; + cipherFn = function(key) { + return forge.rc2.createDecryptionCipher(key, 64); + }; + break; + case 'RC2-128-CBC': + dkLen = 16; + cipherFn = function(key) { + return forge.rc2.createDecryptionCipher(key, 128); + }; + break; + default: + var error = new Error('Could not decrypt private key; unsupported ' + + 'encryption algorithm "' + msg.dekInfo.algorithm + '".'); + error.algorithm = msg.dekInfo.algorithm; + throw error; + } + + // use OpenSSL legacy key derivation + var iv = forge.util.hexToBytes(msg.dekInfo.parameters); + var dk = forge.pbe.opensslDeriveBytes(password, iv.substr(0, 8), dkLen); + var cipher = cipherFn(dk); + cipher.start(iv); + cipher.update(forge.util.createBuffer(msg.body)); + if(cipher.finish()) { + rval = cipher.output.getBytes(); + } else { + return rval; + } + } else { + rval = msg.body; + } + + if(msg.type === 'ENCRYPTED PRIVATE KEY') { + rval = pki.decryptPrivateKeyInfo(asn1.fromDer(rval), password); + } else { + // decryption already performed above + rval = asn1.fromDer(rval); + } + + if(rval !== null) { + rval = pki.privateKeyFromAsn1(rval); + } + + return rval; +}; + +/** + * Derives a PKCS#12 key. + * + * @param password the password to derive the key material from, null or + * undefined for none. + * @param salt the salt, as a ByteBuffer, to use. + * @param id the PKCS#12 ID byte (1 = key material, 2 = IV, 3 = MAC). + * @param iter the iteration count. + * @param n the number of bytes to derive from the password. + * @param md the message digest to use, defaults to SHA-1. + * + * @return a ByteBuffer with the bytes derived from the password. + */ +pki.pbe.generatePkcs12Key = function(password, salt, id, iter, n, md) { + var j, l; + + if(typeof md === 'undefined' || md === null) { + if(!('sha1' in forge.md)) { + throw new Error('"sha1" hash algorithm unavailable.'); + } + md = forge.md.sha1.create(); + } + + var u = md.digestLength; + var v = md.blockLength; + var result = new forge.util.ByteBuffer(); + + /* Convert password to Unicode byte buffer + trailing 0-byte. */ + var passBuf = new forge.util.ByteBuffer(); + if(password !== null && password !== undefined) { + for(l = 0; l < password.length; l++) { + passBuf.putInt16(password.charCodeAt(l)); + } + passBuf.putInt16(0); + } + + /* Length of salt and password in BYTES. */ + var p = passBuf.length(); + var s = salt.length(); + + /* 1. Construct a string, D (the "diversifier"), by concatenating + v copies of ID. */ + var D = new forge.util.ByteBuffer(); + D.fillWithByte(id, v); + + /* 2. Concatenate copies of the salt together to create a string S of length + v * ceil(s / v) bytes (the final copy of the salt may be trunacted + to create S). + Note that if the salt is the empty string, then so is S. */ + var Slen = v * Math.ceil(s / v); + var S = new forge.util.ByteBuffer(); + for(l = 0; l < Slen; l++) { + S.putByte(salt.at(l % s)); + } + + /* 3. Concatenate copies of the password together to create a string P of + length v * ceil(p / v) bytes (the final copy of the password may be + truncated to create P). + Note that if the password is the empty string, then so is P. */ + var Plen = v * Math.ceil(p / v); + var P = new forge.util.ByteBuffer(); + for(l = 0; l < Plen; l++) { + P.putByte(passBuf.at(l % p)); + } + + /* 4. Set I=S||P to be the concatenation of S and P. */ + var I = S; + I.putBuffer(P); + + /* 5. Set c=ceil(n / u). */ + var c = Math.ceil(n / u); + + /* 6. For i=1, 2, ..., c, do the following: */ + for(var i = 1; i <= c; i++) { + /* a) Set Ai=H^r(D||I). (l.e. the rth hash of D||I, H(H(H(...H(D||I)))) */ + var buf = new forge.util.ByteBuffer(); + buf.putBytes(D.bytes()); + buf.putBytes(I.bytes()); + for(var round = 0; round < iter; round++) { + md.start(); + md.update(buf.getBytes()); + buf = md.digest(); + } + + /* b) Concatenate copies of Ai to create a string B of length v bytes (the + final copy of Ai may be truncated to create B). */ + var B = new forge.util.ByteBuffer(); + for(l = 0; l < v; l++) { + B.putByte(buf.at(l % u)); + } + + /* c) Treating I as a concatenation I0, I1, ..., Ik-1 of v-byte blocks, + where k=ceil(s / v) + ceil(p / v), modify I by setting + Ij=(Ij+B+1) mod 2v for each j. */ + var k = Math.ceil(s / v) + Math.ceil(p / v); + var Inew = new forge.util.ByteBuffer(); + for(j = 0; j < k; j++) { + var chunk = new forge.util.ByteBuffer(I.getBytes(v)); + var x = 0x1ff; + for(l = B.length() - 1; l >= 0; l--) { + x = x >> 8; + x += B.at(l) + chunk.at(l); + chunk.setAt(l, x & 0xff); + } + Inew.putBuffer(chunk); + } + I = Inew; + + /* Add Ai to A. */ + result.putBuffer(buf); + } + + result.truncate(result.length() - n); + return result; +}; + +/** + * Get new Forge cipher object instance. + * + * @param oid the OID (in string notation). + * @param params the ASN.1 params object. + * @param password the password to decrypt with. + * + * @return new cipher object instance. + */ +pki.pbe.getCipher = function(oid, params, password) { + switch(oid) { + case pki.oids['pkcs5PBES2']: + return pki.pbe.getCipherForPBES2(oid, params, password); + + case pki.oids['pbeWithSHAAnd3-KeyTripleDES-CBC']: + case pki.oids['pbewithSHAAnd40BitRC2-CBC']: + return pki.pbe.getCipherForPKCS12PBE(oid, params, password); + + default: + var error = new Error('Cannot read encrypted PBE data block. Unsupported OID.'); + error.oid = oid; + error.supportedOids = [ + 'pkcs5PBES2', + 'pbeWithSHAAnd3-KeyTripleDES-CBC', + 'pbewithSHAAnd40BitRC2-CBC' + ]; + throw error; + } +}; + +/** + * Get new Forge cipher object instance according to PBES2 params block. + * + * The returned cipher instance is already started using the IV + * from PBES2 parameter block. + * + * @param oid the PKCS#5 PBKDF2 OID (in string notation). + * @param params the ASN.1 PBES2-params object. + * @param password the password to decrypt with. + * + * @return new cipher object instance. + */ +pki.pbe.getCipherForPBES2 = function(oid, params, password) { + // get PBE params + var capture = {}; + var errors = []; + if(!asn1.validate(params, PBES2AlgorithmsValidator, capture, errors)) { + var error = new Error('Cannot read password-based-encryption algorithm ' + + 'parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.'); + error.errors = errors; + throw error; + } + + // check oids + oid = asn1.derToOid(capture.kdfOid); + if(oid !== pki.oids['pkcs5PBKDF2']) { + var error = new Error('Cannot read encrypted private key. ' + + 'Unsupported key derivation function OID.'); + error.oid = oid; + error.supportedOids = ['pkcs5PBKDF2']; + throw error; + } + oid = asn1.derToOid(capture.encOid); + if(oid !== pki.oids['aes128-CBC'] && + oid !== pki.oids['aes192-CBC'] && + oid !== pki.oids['aes256-CBC'] && + oid !== pki.oids['des-EDE3-CBC'] && + oid !== pki.oids['desCBC']) { + var error = new Error('Cannot read encrypted private key. ' + + 'Unsupported encryption scheme OID.'); + error.oid = oid; + error.supportedOids = [ + 'aes128-CBC', 'aes192-CBC', 'aes256-CBC', 'des-EDE3-CBC', 'desCBC']; + throw error; + } + + // set PBE params + var salt = capture.kdfSalt; + var count = forge.util.createBuffer(capture.kdfIterationCount); + count = count.getInt(count.length() << 3); + var dkLen; + var cipherFn; + switch(pki.oids[oid]) { + case 'aes128-CBC': + dkLen = 16; + cipherFn = forge.aes.createDecryptionCipher; + break; + case 'aes192-CBC': + dkLen = 24; + cipherFn = forge.aes.createDecryptionCipher; + break; + case 'aes256-CBC': + dkLen = 32; + cipherFn = forge.aes.createDecryptionCipher; + break; + case 'des-EDE3-CBC': + dkLen = 24; + cipherFn = forge.des.createDecryptionCipher; + break; + case 'desCBC': + dkLen = 8; + cipherFn = forge.des.createDecryptionCipher; + break; + } + + // get PRF message digest + var md = prfOidToMessageDigest(capture.prfOid); + + // decrypt private key using pbe with chosen PRF and AES/DES + var dk = forge.pkcs5.pbkdf2(password, salt, count, dkLen, md); + var iv = capture.encIv; + var cipher = cipherFn(dk); + cipher.start(iv); + + return cipher; +}; + +/** + * Get new Forge cipher object instance for PKCS#12 PBE. + * + * The returned cipher instance is already started using the key & IV + * derived from the provided password and PKCS#12 PBE salt. + * + * @param oid The PKCS#12 PBE OID (in string notation). + * @param params The ASN.1 PKCS#12 PBE-params object. + * @param password The password to decrypt with. + * + * @return the new cipher object instance. + */ +pki.pbe.getCipherForPKCS12PBE = function(oid, params, password) { + // get PBE params + var capture = {}; + var errors = []; + if(!asn1.validate(params, pkcs12PbeParamsValidator, capture, errors)) { + var error = new Error('Cannot read password-based-encryption algorithm ' + + 'parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.'); + error.errors = errors; + throw error; + } + + var salt = forge.util.createBuffer(capture.salt); + var count = forge.util.createBuffer(capture.iterations); + count = count.getInt(count.length() << 3); + + var dkLen, dIvLen, cipherFn; + switch(oid) { + case pki.oids['pbeWithSHAAnd3-KeyTripleDES-CBC']: + dkLen = 24; + dIvLen = 8; + cipherFn = forge.des.startDecrypting; + break; + + case pki.oids['pbewithSHAAnd40BitRC2-CBC']: + dkLen = 5; + dIvLen = 8; + cipherFn = function(key, iv) { + var cipher = forge.rc2.createDecryptionCipher(key, 40); + cipher.start(iv, null); + return cipher; + }; + break; + + default: + var error = new Error('Cannot read PKCS #12 PBE data block. Unsupported OID.'); + error.oid = oid; + throw error; + } + + // get PRF message digest + var md = prfOidToMessageDigest(capture.prfOid); + var key = pki.pbe.generatePkcs12Key(password, salt, 1, count, dkLen, md); + md.start(); + var iv = pki.pbe.generatePkcs12Key(password, salt, 2, count, dIvLen, md); + + return cipherFn(key, iv); +}; + +/** + * OpenSSL's legacy key derivation function. + * + * See: http://www.openssl.org/docs/crypto/EVP_BytesToKey.html + * + * @param password the password to derive the key from. + * @param salt the salt to use, null for none. + * @param dkLen the number of bytes needed for the derived key. + * @param [options] the options to use: + * [md] an optional message digest object to use. + */ +pki.pbe.opensslDeriveBytes = function(password, salt, dkLen, md) { + if(typeof md === 'undefined' || md === null) { + if(!('md5' in forge.md)) { + throw new Error('"md5" hash algorithm unavailable.'); + } + md = forge.md.md5.create(); + } + if(salt === null) { + salt = ''; + } + var digests = [hash(md, password + salt)]; + for(var length = 16, i = 1; length < dkLen; ++i, length += 16) { + digests.push(hash(md, digests[i - 1] + password + salt)); + } + return digests.join('').substr(0, dkLen); +}; + +function hash(md, bytes) { + return md.start().update(bytes).digest().getBytes(); +} + +function prfOidToMessageDigest(prfOid) { + // get PRF algorithm, default to SHA-1 + var prfAlgorithm; + if(!prfOid) { + prfAlgorithm = 'hmacWithSHA1'; + } else { + prfAlgorithm = pki.oids[asn1.derToOid(prfOid)]; + if(!prfAlgorithm) { + var error = new Error('Unsupported PRF OID.'); + error.oid = prfOid; + error.supported = [ + 'hmacWithSHA1', 'hmacWithSHA224', 'hmacWithSHA256', 'hmacWithSHA384', + 'hmacWithSHA512']; + throw error; + } + } + return prfAlgorithmToMessageDigest(prfAlgorithm); +} + +function prfAlgorithmToMessageDigest(prfAlgorithm) { + var factory = forge.md; + switch(prfAlgorithm) { + case 'hmacWithSHA224': + factory = forge.md.sha512; + case 'hmacWithSHA1': + case 'hmacWithSHA256': + case 'hmacWithSHA384': + case 'hmacWithSHA512': + prfAlgorithm = prfAlgorithm.substr(8).toLowerCase(); + break; + default: + var error = new Error('Unsupported PRF algorithm.'); + error.algorithm = prfAlgorithm; + error.supported = [ + 'hmacWithSHA1', 'hmacWithSHA224', 'hmacWithSHA256', 'hmacWithSHA384', + 'hmacWithSHA512']; + throw error; + } + if(!factory || !(prfAlgorithm in factory)) { + throw new Error('Unknown hash algorithm: ' + prfAlgorithm); + } + return factory[prfAlgorithm].create(); +} + +function createPbkdf2Params(salt, countBytes, dkLen, prfAlgorithm) { + var params = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // salt + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, salt), + // iteration count + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + countBytes.getBytes()) + ]); + // when PRF algorithm is not SHA-1 default, add key length and PRF algorithm + if(prfAlgorithm !== 'hmacWithSHA1') { + params.value.push( + // key length + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + forge.util.hexToBytes(dkLen.toString(16))), + // AlgorithmIdentifier + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids[prfAlgorithm]).getBytes()), + // parameters (null) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ])); + } + return params; +} + + +/***/ }), + +/***/ 31611: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Password-Based Key-Derivation Function #2 implementation. + * + * See RFC 2898 for details. + * + * @author Dave Longley + * + * Copyright (c) 2010-2013 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(95104); +__nccwpck_require__(86231); +__nccwpck_require__(28339); + +var pkcs5 = forge.pkcs5 = forge.pkcs5 || {}; + +var crypto; +if(forge.util.isNodejs && !forge.options.usePureJavaScript) { + crypto = __nccwpck_require__(6113); +} + +/** + * Derives a key from a password. + * + * @param p the password as a binary-encoded string of bytes. + * @param s the salt as a binary-encoded string of bytes. + * @param c the iteration count, a positive integer. + * @param dkLen the intended length, in bytes, of the derived key, + * (max: 2^32 - 1) * hash length of the PRF. + * @param [md] the message digest (or algorithm identifier as a string) to use + * in the PRF, defaults to SHA-1. + * @param [callback(err, key)] presence triggers asynchronous version, called + * once the operation completes. + * + * @return the derived key, as a binary-encoded string of bytes, for the + * synchronous version (if no callback is specified). + */ +module.exports = forge.pbkdf2 = pkcs5.pbkdf2 = function( + p, s, c, dkLen, md, callback) { + if(typeof md === 'function') { + callback = md; + md = null; + } + + // use native implementation if possible and not disabled, note that + // some node versions only support SHA-1, others allow digest to be changed + if(forge.util.isNodejs && !forge.options.usePureJavaScript && + crypto.pbkdf2 && (md === null || typeof md !== 'object') && + (crypto.pbkdf2Sync.length > 4 || (!md || md === 'sha1'))) { + if(typeof md !== 'string') { + // default prf to SHA-1 + md = 'sha1'; + } + p = Buffer.from(p, 'binary'); + s = Buffer.from(s, 'binary'); + if(!callback) { + if(crypto.pbkdf2Sync.length === 4) { + return crypto.pbkdf2Sync(p, s, c, dkLen).toString('binary'); + } + return crypto.pbkdf2Sync(p, s, c, dkLen, md).toString('binary'); + } + if(crypto.pbkdf2Sync.length === 4) { + return crypto.pbkdf2(p, s, c, dkLen, function(err, key) { + if(err) { + return callback(err); + } + callback(null, key.toString('binary')); + }); + } + return crypto.pbkdf2(p, s, c, dkLen, md, function(err, key) { + if(err) { + return callback(err); + } + callback(null, key.toString('binary')); + }); + } + + if(typeof md === 'undefined' || md === null) { + // default prf to SHA-1 + md = 'sha1'; + } + if(typeof md === 'string') { + if(!(md in forge.md.algorithms)) { + throw new Error('Unknown hash algorithm: ' + md); + } + md = forge.md[md].create(); + } + + var hLen = md.digestLength; + + /* 1. If dkLen > (2^32 - 1) * hLen, output "derived key too long" and + stop. */ + if(dkLen > (0xFFFFFFFF * hLen)) { + var err = new Error('Derived key is too long.'); + if(callback) { + return callback(err); + } + throw err; + } + + /* 2. Let len be the number of hLen-octet blocks in the derived key, + rounding up, and let r be the number of octets in the last + block: + + len = CEIL(dkLen / hLen), + r = dkLen - (len - 1) * hLen. */ + var len = Math.ceil(dkLen / hLen); + var r = dkLen - (len - 1) * hLen; + + /* 3. For each block of the derived key apply the function F defined + below to the password P, the salt S, the iteration count c, and + the block index to compute the block: + + T_1 = F(P, S, c, 1), + T_2 = F(P, S, c, 2), + ... + T_len = F(P, S, c, len), + + where the function F is defined as the exclusive-or sum of the + first c iterates of the underlying pseudorandom function PRF + applied to the password P and the concatenation of the salt S + and the block index i: + + F(P, S, c, i) = u_1 XOR u_2 XOR ... XOR u_c + + where + + u_1 = PRF(P, S || INT(i)), + u_2 = PRF(P, u_1), + ... + u_c = PRF(P, u_{c-1}). + + Here, INT(i) is a four-octet encoding of the integer i, most + significant octet first. */ + var prf = forge.hmac.create(); + prf.start(md, p); + var dk = ''; + var xor, u_c, u_c1; + + // sync version + if(!callback) { + for(var i = 1; i <= len; ++i) { + // PRF(P, S || INT(i)) (first iteration) + prf.start(null, null); + prf.update(s); + prf.update(forge.util.int32ToBytes(i)); + xor = u_c1 = prf.digest().getBytes(); + + // PRF(P, u_{c-1}) (other iterations) + for(var j = 2; j <= c; ++j) { + prf.start(null, null); + prf.update(u_c1); + u_c = prf.digest().getBytes(); + // F(p, s, c, i) + xor = forge.util.xorBytes(xor, u_c, hLen); + u_c1 = u_c; + } + + /* 4. Concatenate the blocks and extract the first dkLen octets to + produce a derived key DK: + + DK = T_1 || T_2 || ... || T_len<0..r-1> */ + dk += (i < len) ? xor : xor.substr(0, r); + } + /* 5. Output the derived key DK. */ + return dk; + } + + // async version + var i = 1, j; + function outer() { + if(i > len) { + // done + return callback(null, dk); + } + + // PRF(P, S || INT(i)) (first iteration) + prf.start(null, null); + prf.update(s); + prf.update(forge.util.int32ToBytes(i)); + xor = u_c1 = prf.digest().getBytes(); + + // PRF(P, u_{c-1}) (other iterations) + j = 2; + inner(); + } + + function inner() { + if(j <= c) { + prf.start(null, null); + prf.update(u_c1); + u_c = prf.digest().getBytes(); + // F(p, s, c, i) + xor = forge.util.xorBytes(xor, u_c, hLen); + u_c1 = u_c; + ++j; + return forge.util.setImmediate(inner); + } + + /* 4. Concatenate the blocks and extract the first dkLen octets to + produce a derived key DK: + + DK = T_1 || T_2 || ... || T_len<0..r-1> */ + dk += (i < len) ? xor : xor.substr(0, r); + + ++i; + outer(); + } + + outer(); +}; + + +/***/ }), + +/***/ 70154: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of basic PEM (Privacy Enhanced Mail) algorithms. + * + * See: RFC 1421. + * + * @author Dave Longley + * + * Copyright (c) 2013-2014 Digital Bazaar, Inc. + * + * A Forge PEM object has the following fields: + * + * type: identifies the type of message (eg: "RSA PRIVATE KEY"). + * + * procType: identifies the type of processing performed on the message, + * it has two subfields: version and type, eg: 4,ENCRYPTED. + * + * contentDomain: identifies the type of content in the message, typically + * only uses the value: "RFC822". + * + * dekInfo: identifies the message encryption algorithm and mode and includes + * any parameters for the algorithm, it has two subfields: algorithm and + * parameters, eg: DES-CBC,F8143EDE5960C597. + * + * headers: contains all other PEM encapsulated headers -- where order is + * significant (for pairing data like recipient ID + key info). + * + * body: the binary-encoded body. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +// shortcut for pem API +var pem = module.exports = forge.pem = forge.pem || {}; + +/** + * Encodes (serializes) the given PEM object. + * + * @param msg the PEM message object to encode. + * @param options the options to use: + * maxline the maximum characters per line for the body, (default: 64). + * + * @return the PEM-formatted string. + */ +pem.encode = function(msg, options) { + options = options || {}; + var rval = '-----BEGIN ' + msg.type + '-----\r\n'; + + // encode special headers + var header; + if(msg.procType) { + header = { + name: 'Proc-Type', + values: [String(msg.procType.version), msg.procType.type] + }; + rval += foldHeader(header); + } + if(msg.contentDomain) { + header = {name: 'Content-Domain', values: [msg.contentDomain]}; + rval += foldHeader(header); + } + if(msg.dekInfo) { + header = {name: 'DEK-Info', values: [msg.dekInfo.algorithm]}; + if(msg.dekInfo.parameters) { + header.values.push(msg.dekInfo.parameters); + } + rval += foldHeader(header); + } + + if(msg.headers) { + // encode all other headers + for(var i = 0; i < msg.headers.length; ++i) { + rval += foldHeader(msg.headers[i]); + } + } + + // terminate header + if(msg.procType) { + rval += '\r\n'; + } + + // add body + rval += forge.util.encode64(msg.body, options.maxline || 64) + '\r\n'; + + rval += '-----END ' + msg.type + '-----\r\n'; + return rval; +}; + +/** + * Decodes (deserializes) all PEM messages found in the given string. + * + * @param str the PEM-formatted string to decode. + * + * @return the PEM message objects in an array. + */ +pem.decode = function(str) { + var rval = []; + + // split string into PEM messages (be lenient w/EOF on BEGIN line) + var rMessage = /\s*-----BEGIN ([A-Z0-9- ]+)-----\r?\n?([\x21-\x7e\s]+?(?:\r?\n\r?\n))?([:A-Za-z0-9+\/=\s]+?)-----END \1-----/g; + var rHeader = /([\x21-\x7e]+):\s*([\x21-\x7e\s^:]+)/; + var rCRLF = /\r?\n/; + var match; + while(true) { + match = rMessage.exec(str); + if(!match) { + break; + } + + var msg = { + type: match[1], + procType: null, + contentDomain: null, + dekInfo: null, + headers: [], + body: forge.util.decode64(match[3]) + }; + rval.push(msg); + + // no headers + if(!match[2]) { + continue; + } + + // parse headers + var lines = match[2].split(rCRLF); + var li = 0; + while(match && li < lines.length) { + // get line, trim any rhs whitespace + var line = lines[li].replace(/\s+$/, ''); + + // RFC2822 unfold any following folded lines + for(var nl = li + 1; nl < lines.length; ++nl) { + var next = lines[nl]; + if(!/\s/.test(next[0])) { + break; + } + line += next; + li = nl; + } + + // parse header + match = line.match(rHeader); + if(match) { + var header = {name: match[1], values: []}; + var values = match[2].split(','); + for(var vi = 0; vi < values.length; ++vi) { + header.values.push(ltrim(values[vi])); + } + + // Proc-Type must be the first header + if(!msg.procType) { + if(header.name !== 'Proc-Type') { + throw new Error('Invalid PEM formatted message. The first ' + + 'encapsulated header must be "Proc-Type".'); + } else if(header.values.length !== 2) { + throw new Error('Invalid PEM formatted message. The "Proc-Type" ' + + 'header must have two subfields.'); + } + msg.procType = {version: values[0], type: values[1]}; + } else if(!msg.contentDomain && header.name === 'Content-Domain') { + // special-case Content-Domain + msg.contentDomain = values[0] || ''; + } else if(!msg.dekInfo && header.name === 'DEK-Info') { + // special-case DEK-Info + if(header.values.length === 0) { + throw new Error('Invalid PEM formatted message. The "DEK-Info" ' + + 'header must have at least one subfield.'); + } + msg.dekInfo = {algorithm: values[0], parameters: values[1] || null}; + } else { + msg.headers.push(header); + } + } + + ++li; + } + + if(msg.procType === 'ENCRYPTED' && !msg.dekInfo) { + throw new Error('Invalid PEM formatted message. The "DEK-Info" ' + + 'header must be present if "Proc-Type" is "ENCRYPTED".'); + } + } + + if(rval.length === 0) { + throw new Error('Invalid PEM formatted message.'); + } + + return rval; +}; + +function foldHeader(header) { + var rval = header.name + ': '; + + // ensure values with CRLF are folded + var values = []; + var insertSpace = function(match, $1) { + return ' ' + $1; + }; + for(var i = 0; i < header.values.length; ++i) { + values.push(header.values[i].replace(/^(\S+\r\n)/, insertSpace)); + } + rval += values.join(',') + '\r\n'; + + // do folding + var length = 0; + var candidate = -1; + for(var i = 0; i < rval.length; ++i, ++length) { + if(length > 65 && candidate !== -1) { + var insert = rval[candidate]; + if(insert === ',') { + ++candidate; + rval = rval.substr(0, candidate) + '\r\n ' + rval.substr(candidate); + } else { + rval = rval.substr(0, candidate) + + '\r\n' + insert + rval.substr(candidate + 1); + } + length = (i - candidate - 1); + candidate = -1; + ++i; + } else if(rval[i] === ' ' || rval[i] === '\t' || rval[i] === ',') { + candidate = i; + } + } + + return rval; +} + +function ltrim(str) { + return str.replace(/^\s+/, ''); +} + + +/***/ }), + +/***/ 57014: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Partial implementation of PKCS#1 v2.2: RSA-OEAP + * + * Modified but based on the following MIT and BSD licensed code: + * + * https://github.com/kjur/jsjws/blob/master/rsa.js: + * + * The 'jsjws'(JSON Web Signature JavaScript Library) License + * + * Copyright (c) 2012 Kenji Urushima + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + * http://webrsa.cvs.sourceforge.net/viewvc/webrsa/Client/RSAES-OAEP.js?content-type=text%2Fplain: + * + * RSAES-OAEP.js + * $Id: RSAES-OAEP.js,v 1.1.1.1 2003/03/19 15:37:20 ellispritchard Exp $ + * JavaScript Implementation of PKCS #1 v2.1 RSA CRYPTOGRAPHY STANDARD (RSA Laboratories, June 14, 2002) + * Copyright (C) Ellis Pritchard, Guardian Unlimited 2003. + * Contact: ellis@nukinetics.com + * Distributed under the BSD License. + * + * Official documentation: http://www.rsa.com/rsalabs/node.asp?id=2125 + * + * @author Evan Jones (http://evanjones.ca/) + * @author Dave Longley + * + * Copyright (c) 2013-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); +__nccwpck_require__(57821); +__nccwpck_require__(90279); + +// shortcut for PKCS#1 API +var pkcs1 = module.exports = forge.pkcs1 = forge.pkcs1 || {}; + +/** + * Encode the given RSAES-OAEP message (M) using key, with optional label (L) + * and seed. + * + * This method does not perform RSA encryption, it only encodes the message + * using RSAES-OAEP. + * + * @param key the RSA key to use. + * @param message the message to encode. + * @param options the options to use: + * label an optional label to use. + * seed the seed to use. + * md the message digest object to use, undefined for SHA-1. + * mgf1 optional mgf1 parameters: + * md the message digest object to use for MGF1. + * + * @return the encoded message bytes. + */ +pkcs1.encode_rsa_oaep = function(key, message, options) { + // parse arguments + var label; + var seed; + var md; + var mgf1Md; + // legacy args (label, seed, md) + if(typeof options === 'string') { + label = options; + seed = arguments[3] || undefined; + md = arguments[4] || undefined; + } else if(options) { + label = options.label || undefined; + seed = options.seed || undefined; + md = options.md || undefined; + if(options.mgf1 && options.mgf1.md) { + mgf1Md = options.mgf1.md; + } + } + + // default OAEP to SHA-1 message digest + if(!md) { + md = forge.md.sha1.create(); + } else { + md.start(); + } + + // default MGF-1 to same as OAEP + if(!mgf1Md) { + mgf1Md = md; + } + + // compute length in bytes and check output + var keyLength = Math.ceil(key.n.bitLength() / 8); + var maxLength = keyLength - 2 * md.digestLength - 2; + if(message.length > maxLength) { + var error = new Error('RSAES-OAEP input message length is too long.'); + error.length = message.length; + error.maxLength = maxLength; + throw error; + } + + if(!label) { + label = ''; + } + md.update(label, 'raw'); + var lHash = md.digest(); + + var PS = ''; + var PS_length = maxLength - message.length; + for(var i = 0; i < PS_length; i++) { + PS += '\x00'; + } + + var DB = lHash.getBytes() + PS + '\x01' + message; + + if(!seed) { + seed = forge.random.getBytes(md.digestLength); + } else if(seed.length !== md.digestLength) { + var error = new Error('Invalid RSAES-OAEP seed. The seed length must ' + + 'match the digest length.'); + error.seedLength = seed.length; + error.digestLength = md.digestLength; + throw error; + } + + var dbMask = rsa_mgf1(seed, keyLength - md.digestLength - 1, mgf1Md); + var maskedDB = forge.util.xorBytes(DB, dbMask, DB.length); + + var seedMask = rsa_mgf1(maskedDB, md.digestLength, mgf1Md); + var maskedSeed = forge.util.xorBytes(seed, seedMask, seed.length); + + // return encoded message + return '\x00' + maskedSeed + maskedDB; +}; + +/** + * Decode the given RSAES-OAEP encoded message (EM) using key, with optional + * label (L). + * + * This method does not perform RSA decryption, it only decodes the message + * using RSAES-OAEP. + * + * @param key the RSA key to use. + * @param em the encoded message to decode. + * @param options the options to use: + * label an optional label to use. + * md the message digest object to use for OAEP, undefined for SHA-1. + * mgf1 optional mgf1 parameters: + * md the message digest object to use for MGF1. + * + * @return the decoded message bytes. + */ +pkcs1.decode_rsa_oaep = function(key, em, options) { + // parse args + var label; + var md; + var mgf1Md; + // legacy args + if(typeof options === 'string') { + label = options; + md = arguments[3] || undefined; + } else if(options) { + label = options.label || undefined; + md = options.md || undefined; + if(options.mgf1 && options.mgf1.md) { + mgf1Md = options.mgf1.md; + } + } + + // compute length in bytes + var keyLength = Math.ceil(key.n.bitLength() / 8); + + if(em.length !== keyLength) { + var error = new Error('RSAES-OAEP encoded message length is invalid.'); + error.length = em.length; + error.expectedLength = keyLength; + throw error; + } + + // default OAEP to SHA-1 message digest + if(md === undefined) { + md = forge.md.sha1.create(); + } else { + md.start(); + } + + // default MGF-1 to same as OAEP + if(!mgf1Md) { + mgf1Md = md; + } + + if(keyLength < 2 * md.digestLength + 2) { + throw new Error('RSAES-OAEP key is too short for the hash function.'); + } + + if(!label) { + label = ''; + } + md.update(label, 'raw'); + var lHash = md.digest().getBytes(); + + // split the message into its parts + var y = em.charAt(0); + var maskedSeed = em.substring(1, md.digestLength + 1); + var maskedDB = em.substring(1 + md.digestLength); + + var seedMask = rsa_mgf1(maskedDB, md.digestLength, mgf1Md); + var seed = forge.util.xorBytes(maskedSeed, seedMask, maskedSeed.length); + + var dbMask = rsa_mgf1(seed, keyLength - md.digestLength - 1, mgf1Md); + var db = forge.util.xorBytes(maskedDB, dbMask, maskedDB.length); + + var lHashPrime = db.substring(0, md.digestLength); + + // constant time check that all values match what is expected + var error = (y !== '\x00'); + + // constant time check lHash vs lHashPrime + for(var i = 0; i < md.digestLength; ++i) { + error |= (lHash.charAt(i) !== lHashPrime.charAt(i)); + } + + // "constant time" find the 0x1 byte separating the padding (zeros) from the + // message + // TODO: It must be possible to do this in a better/smarter way? + var in_ps = 1; + var index = md.digestLength; + for(var j = md.digestLength; j < db.length; j++) { + var code = db.charCodeAt(j); + + var is_0 = (code & 0x1) ^ 0x1; + + // non-zero if not 0 or 1 in the ps section + var error_mask = in_ps ? 0xfffe : 0x0000; + error |= (code & error_mask); + + // latch in_ps to zero after we find 0x1 + in_ps = in_ps & is_0; + index += in_ps; + } + + if(error || db.charCodeAt(index) !== 0x1) { + throw new Error('Invalid RSAES-OAEP padding.'); + } + + return db.substring(index + 1); +}; + +function rsa_mgf1(seed, maskLength, hash) { + // default to SHA-1 message digest + if(!hash) { + hash = forge.md.sha1.create(); + } + var t = ''; + var count = Math.ceil(maskLength / hash.digestLength); + for(var i = 0; i < count; ++i) { + var c = String.fromCharCode( + (i >> 24) & 0xFF, (i >> 16) & 0xFF, (i >> 8) & 0xFF, i & 0xFF); + hash.start(); + hash.update(seed + c); + t += hash.digest().getBytes(); + } + return t.substring(0, maskLength); +} + + +/***/ }), + +/***/ 30466: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of PKCS#12. + * + * @author Dave Longley + * @author Stefan Siegl + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + * Copyright (c) 2012 Stefan Siegl + * + * The ASN.1 representation of PKCS#12 is as follows + * (see ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-12/pkcs-12-tc1.pdf for details) + * + * PFX ::= SEQUENCE { + * version INTEGER {v3(3)}(v3,...), + * authSafe ContentInfo, + * macData MacData OPTIONAL + * } + * + * MacData ::= SEQUENCE { + * mac DigestInfo, + * macSalt OCTET STRING, + * iterations INTEGER DEFAULT 1 + * } + * Note: The iterations default is for historical reasons and its use is + * deprecated. A higher value, like 1024, is recommended. + * + * DigestInfo is defined in PKCS#7 as follows: + * + * DigestInfo ::= SEQUENCE { + * digestAlgorithm DigestAlgorithmIdentifier, + * digest Digest + * } + * + * DigestAlgorithmIdentifier ::= AlgorithmIdentifier + * + * The AlgorithmIdentifier contains an Object Identifier (OID) and parameters + * for the algorithm, if any. In the case of SHA1 there is none. + * + * AlgorithmIdentifer ::= SEQUENCE { + * algorithm OBJECT IDENTIFIER, + * parameters ANY DEFINED BY algorithm OPTIONAL + * } + * + * Digest ::= OCTET STRING + * + * + * ContentInfo ::= SEQUENCE { + * contentType ContentType, + * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL + * } + * + * ContentType ::= OBJECT IDENTIFIER + * + * AuthenticatedSafe ::= SEQUENCE OF ContentInfo + * -- Data if unencrypted + * -- EncryptedData if password-encrypted + * -- EnvelopedData if public key-encrypted + * + * + * SafeContents ::= SEQUENCE OF SafeBag + * + * SafeBag ::= SEQUENCE { + * bagId BAG-TYPE.&id ({PKCS12BagSet}) + * bagValue [0] EXPLICIT BAG-TYPE.&Type({PKCS12BagSet}{@bagId}), + * bagAttributes SET OF PKCS12Attribute OPTIONAL + * } + * + * PKCS12Attribute ::= SEQUENCE { + * attrId ATTRIBUTE.&id ({PKCS12AttrSet}), + * attrValues SET OF ATTRIBUTE.&Type ({PKCS12AttrSet}{@attrId}) + * } -- This type is compatible with the X.500 type 'Attribute' + * + * PKCS12AttrSet ATTRIBUTE ::= { + * friendlyName | -- from PKCS #9 + * localKeyId, -- from PKCS #9 + * ... -- Other attributes are allowed + * } + * + * CertBag ::= SEQUENCE { + * certId BAG-TYPE.&id ({CertTypes}), + * certValue [0] EXPLICIT BAG-TYPE.&Type ({CertTypes}{@certId}) + * } + * + * x509Certificate BAG-TYPE ::= {OCTET STRING IDENTIFIED BY {certTypes 1}} + * -- DER-encoded X.509 certificate stored in OCTET STRING + * + * sdsiCertificate BAG-TYPE ::= {IA5String IDENTIFIED BY {certTypes 2}} + * -- Base64-encoded SDSI certificate stored in IA5String + * + * CertTypes BAG-TYPE ::= { + * x509Certificate | + * sdsiCertificate, + * ... -- For future extensions + * } + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(39549); +__nccwpck_require__(95104); +__nccwpck_require__(81925); +__nccwpck_require__(70266); +__nccwpck_require__(21281); +__nccwpck_require__(57821); +__nccwpck_require__(53921); +__nccwpck_require__(90279); +__nccwpck_require__(28339); +__nccwpck_require__(8180); + +// shortcut for asn.1 & PKI API +var asn1 = forge.asn1; +var pki = forge.pki; + +// shortcut for PKCS#12 API +var p12 = module.exports = forge.pkcs12 = forge.pkcs12 || {}; + +var contentInfoValidator = { + name: 'ContentInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, // a ContentInfo + constructed: true, + value: [{ + name: 'ContentInfo.contentType', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'contentType' + }, { + name: 'ContentInfo.content', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + constructed: true, + captureAsn1: 'content' + }] +}; + +var pfxValidator = { + name: 'PFX', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'PFX.version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'version' + }, + contentInfoValidator, { + name: 'PFX.macData', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + optional: true, + captureAsn1: 'mac', + value: [{ + name: 'PFX.macData.mac', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, // DigestInfo + constructed: true, + value: [{ + name: 'PFX.macData.mac.digestAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, // DigestAlgorithmIdentifier + constructed: true, + value: [{ + name: 'PFX.macData.mac.digestAlgorithm.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'macAlgorithm' + }, { + name: 'PFX.macData.mac.digestAlgorithm.parameters', + tagClass: asn1.Class.UNIVERSAL, + captureAsn1: 'macAlgorithmParameters' + }] + }, { + name: 'PFX.macData.mac.digest', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'macDigest' + }] + }, { + name: 'PFX.macData.macSalt', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'macSalt' + }, { + name: 'PFX.macData.iterations', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + optional: true, + capture: 'macIterations' + }] + }] +}; + +var safeBagValidator = { + name: 'SafeBag', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'SafeBag.bagId', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'bagId' + }, { + name: 'SafeBag.bagValue', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + constructed: true, + captureAsn1: 'bagValue' + }, { + name: 'SafeBag.bagAttributes', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SET, + constructed: true, + optional: true, + capture: 'bagAttributes' + }] +}; + +var attributeValidator = { + name: 'Attribute', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'Attribute.attrId', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'oid' + }, { + name: 'Attribute.attrValues', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SET, + constructed: true, + capture: 'values' + }] +}; + +var certBagValidator = { + name: 'CertBag', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'CertBag.certId', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'certId' + }, { + name: 'CertBag.certValue', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + constructed: true, + /* So far we only support X.509 certificates (which are wrapped in + an OCTET STRING, hence hard code that here). */ + value: [{ + name: 'CertBag.certValue[0]', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Class.OCTETSTRING, + constructed: false, + capture: 'cert' + }] + }] +}; + +/** + * Search SafeContents structure for bags with matching attributes. + * + * The search can optionally be narrowed by a certain bag type. + * + * @param safeContents the SafeContents structure to search in. + * @param attrName the name of the attribute to compare against. + * @param attrValue the attribute value to search for. + * @param [bagType] bag type to narrow search by. + * + * @return an array of matching bags. + */ +function _getBagsByAttribute(safeContents, attrName, attrValue, bagType) { + var result = []; + + for(var i = 0; i < safeContents.length; i++) { + for(var j = 0; j < safeContents[i].safeBags.length; j++) { + var bag = safeContents[i].safeBags[j]; + if(bagType !== undefined && bag.type !== bagType) { + continue; + } + // only filter by bag type, no attribute specified + if(attrName === null) { + result.push(bag); + continue; + } + if(bag.attributes[attrName] !== undefined && + bag.attributes[attrName].indexOf(attrValue) >= 0) { + result.push(bag); + } + } + } + + return result; +} + +/** + * Converts a PKCS#12 PFX in ASN.1 notation into a PFX object. + * + * @param obj The PKCS#12 PFX in ASN.1 notation. + * @param strict true to use strict DER decoding, false not to (default: true). + * @param {String} password Password to decrypt with (optional). + * + * @return PKCS#12 PFX object. + */ +p12.pkcs12FromAsn1 = function(obj, strict, password) { + // handle args + if(typeof strict === 'string') { + password = strict; + strict = true; + } else if(strict === undefined) { + strict = true; + } + + // validate PFX and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(obj, pfxValidator, capture, errors)) { + var error = new Error('Cannot read PKCS#12 PFX. ' + + 'ASN.1 object is not an PKCS#12 PFX.'); + error.errors = error; + throw error; + } + + var pfx = { + version: capture.version.charCodeAt(0), + safeContents: [], + + /** + * Gets bags with matching attributes. + * + * @param filter the attributes to filter by: + * [localKeyId] the localKeyId to search for. + * [localKeyIdHex] the localKeyId in hex to search for. + * [friendlyName] the friendly name to search for. + * [bagType] bag type to narrow each attribute search by. + * + * @return a map of attribute type to an array of matching bags or, if no + * attribute was given but a bag type, the map key will be the + * bag type. + */ + getBags: function(filter) { + var rval = {}; + + var localKeyId; + if('localKeyId' in filter) { + localKeyId = filter.localKeyId; + } else if('localKeyIdHex' in filter) { + localKeyId = forge.util.hexToBytes(filter.localKeyIdHex); + } + + // filter on bagType only + if(localKeyId === undefined && !('friendlyName' in filter) && + 'bagType' in filter) { + rval[filter.bagType] = _getBagsByAttribute( + pfx.safeContents, null, null, filter.bagType); + } + + if(localKeyId !== undefined) { + rval.localKeyId = _getBagsByAttribute( + pfx.safeContents, 'localKeyId', + localKeyId, filter.bagType); + } + if('friendlyName' in filter) { + rval.friendlyName = _getBagsByAttribute( + pfx.safeContents, 'friendlyName', + filter.friendlyName, filter.bagType); + } + + return rval; + }, + + /** + * DEPRECATED: use getBags() instead. + * + * Get bags with matching friendlyName attribute. + * + * @param friendlyName the friendly name to search for. + * @param [bagType] bag type to narrow search by. + * + * @return an array of bags with matching friendlyName attribute. + */ + getBagsByFriendlyName: function(friendlyName, bagType) { + return _getBagsByAttribute( + pfx.safeContents, 'friendlyName', friendlyName, bagType); + }, + + /** + * DEPRECATED: use getBags() instead. + * + * Get bags with matching localKeyId attribute. + * + * @param localKeyId the localKeyId to search for. + * @param [bagType] bag type to narrow search by. + * + * @return an array of bags with matching localKeyId attribute. + */ + getBagsByLocalKeyId: function(localKeyId, bagType) { + return _getBagsByAttribute( + pfx.safeContents, 'localKeyId', localKeyId, bagType); + } + }; + + if(capture.version.charCodeAt(0) !== 3) { + var error = new Error('PKCS#12 PFX of version other than 3 not supported.'); + error.version = capture.version.charCodeAt(0); + throw error; + } + + if(asn1.derToOid(capture.contentType) !== pki.oids.data) { + var error = new Error('Only PKCS#12 PFX in password integrity mode supported.'); + error.oid = asn1.derToOid(capture.contentType); + throw error; + } + + var data = capture.content.value[0]; + if(data.tagClass !== asn1.Class.UNIVERSAL || + data.type !== asn1.Type.OCTETSTRING) { + throw new Error('PKCS#12 authSafe content data is not an OCTET STRING.'); + } + data = _decodePkcs7Data(data); + + // check for MAC + if(capture.mac) { + var md = null; + var macKeyBytes = 0; + var macAlgorithm = asn1.derToOid(capture.macAlgorithm); + switch(macAlgorithm) { + case pki.oids.sha1: + md = forge.md.sha1.create(); + macKeyBytes = 20; + break; + case pki.oids.sha256: + md = forge.md.sha256.create(); + macKeyBytes = 32; + break; + case pki.oids.sha384: + md = forge.md.sha384.create(); + macKeyBytes = 48; + break; + case pki.oids.sha512: + md = forge.md.sha512.create(); + macKeyBytes = 64; + break; + case pki.oids.md5: + md = forge.md.md5.create(); + macKeyBytes = 16; + break; + } + if(md === null) { + throw new Error('PKCS#12 uses unsupported MAC algorithm: ' + macAlgorithm); + } + + // verify MAC (iterations default to 1) + var macSalt = new forge.util.ByteBuffer(capture.macSalt); + var macIterations = (('macIterations' in capture) ? + parseInt(forge.util.bytesToHex(capture.macIterations), 16) : 1); + var macKey = p12.generateKey( + password, macSalt, 3, macIterations, macKeyBytes, md); + var mac = forge.hmac.create(); + mac.start(md, macKey); + mac.update(data.value); + var macValue = mac.getMac(); + if(macValue.getBytes() !== capture.macDigest) { + throw new Error('PKCS#12 MAC could not be verified. Invalid password?'); + } + } + + _decodeAuthenticatedSafe(pfx, data.value, strict, password); + return pfx; +}; + +/** + * Decodes PKCS#7 Data. PKCS#7 (RFC 2315) defines "Data" as an OCTET STRING, + * but it is sometimes an OCTET STRING that is composed/constructed of chunks, + * each its own OCTET STRING. This is BER-encoding vs. DER-encoding. This + * function transforms this corner-case into the usual simple, + * non-composed/constructed OCTET STRING. + * + * This function may be moved to ASN.1 at some point to better deal with + * more BER-encoding issues, should they arise. + * + * @param data the ASN.1 Data object to transform. + */ +function _decodePkcs7Data(data) { + // handle special case of "chunked" data content: an octet string composed + // of other octet strings + if(data.composed || data.constructed) { + var value = forge.util.createBuffer(); + for(var i = 0; i < data.value.length; ++i) { + value.putBytes(data.value[i].value); + } + data.composed = data.constructed = false; + data.value = value.getBytes(); + } + return data; +} + +/** + * Decode PKCS#12 AuthenticatedSafe (BER encoded) into PFX object. + * + * The AuthenticatedSafe is a BER-encoded SEQUENCE OF ContentInfo. + * + * @param pfx The PKCS#12 PFX object to fill. + * @param {String} authSafe BER-encoded AuthenticatedSafe. + * @param strict true to use strict DER decoding, false not to. + * @param {String} password Password to decrypt with (optional). + */ +function _decodeAuthenticatedSafe(pfx, authSafe, strict, password) { + authSafe = asn1.fromDer(authSafe, strict); /* actually it's BER encoded */ + + if(authSafe.tagClass !== asn1.Class.UNIVERSAL || + authSafe.type !== asn1.Type.SEQUENCE || + authSafe.constructed !== true) { + throw new Error('PKCS#12 AuthenticatedSafe expected to be a ' + + 'SEQUENCE OF ContentInfo'); + } + + for(var i = 0; i < authSafe.value.length; i++) { + var contentInfo = authSafe.value[i]; + + // validate contentInfo and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(contentInfo, contentInfoValidator, capture, errors)) { + var error = new Error('Cannot read ContentInfo.'); + error.errors = errors; + throw error; + } + + var obj = { + encrypted: false + }; + var safeContents = null; + var data = capture.content.value[0]; + switch(asn1.derToOid(capture.contentType)) { + case pki.oids.data: + if(data.tagClass !== asn1.Class.UNIVERSAL || + data.type !== asn1.Type.OCTETSTRING) { + throw new Error('PKCS#12 SafeContents Data is not an OCTET STRING.'); + } + safeContents = _decodePkcs7Data(data).value; + break; + case pki.oids.encryptedData: + safeContents = _decryptSafeContents(data, password); + obj.encrypted = true; + break; + default: + var error = new Error('Unsupported PKCS#12 contentType.'); + error.contentType = asn1.derToOid(capture.contentType); + throw error; + } + + obj.safeBags = _decodeSafeContents(safeContents, strict, password); + pfx.safeContents.push(obj); + } +} + +/** + * Decrypt PKCS#7 EncryptedData structure. + * + * @param data ASN.1 encoded EncryptedContentInfo object. + * @param password The user-provided password. + * + * @return The decrypted SafeContents (ASN.1 object). + */ +function _decryptSafeContents(data, password) { + var capture = {}; + var errors = []; + if(!asn1.validate( + data, forge.pkcs7.asn1.encryptedDataValidator, capture, errors)) { + var error = new Error('Cannot read EncryptedContentInfo.'); + error.errors = errors; + throw error; + } + + var oid = asn1.derToOid(capture.contentType); + if(oid !== pki.oids.data) { + var error = new Error( + 'PKCS#12 EncryptedContentInfo ContentType is not Data.'); + error.oid = oid; + throw error; + } + + // get cipher + oid = asn1.derToOid(capture.encAlgorithm); + var cipher = pki.pbe.getCipher(oid, capture.encParameter, password); + + // get encrypted data + var encryptedContentAsn1 = _decodePkcs7Data(capture.encryptedContentAsn1); + var encrypted = forge.util.createBuffer(encryptedContentAsn1.value); + + cipher.update(encrypted); + if(!cipher.finish()) { + throw new Error('Failed to decrypt PKCS#12 SafeContents.'); + } + + return cipher.output.getBytes(); +} + +/** + * Decode PKCS#12 SafeContents (BER-encoded) into array of Bag objects. + * + * The safeContents is a BER-encoded SEQUENCE OF SafeBag. + * + * @param {String} safeContents BER-encoded safeContents. + * @param strict true to use strict DER decoding, false not to. + * @param {String} password Password to decrypt with (optional). + * + * @return {Array} Array of Bag objects. + */ +function _decodeSafeContents(safeContents, strict, password) { + // if strict and no safe contents, return empty safes + if(!strict && safeContents.length === 0) { + return []; + } + + // actually it's BER-encoded + safeContents = asn1.fromDer(safeContents, strict); + + if(safeContents.tagClass !== asn1.Class.UNIVERSAL || + safeContents.type !== asn1.Type.SEQUENCE || + safeContents.constructed !== true) { + throw new Error( + 'PKCS#12 SafeContents expected to be a SEQUENCE OF SafeBag.'); + } + + var res = []; + for(var i = 0; i < safeContents.value.length; i++) { + var safeBag = safeContents.value[i]; + + // validate SafeBag and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(safeBag, safeBagValidator, capture, errors)) { + var error = new Error('Cannot read SafeBag.'); + error.errors = errors; + throw error; + } + + /* Create bag object and push to result array. */ + var bag = { + type: asn1.derToOid(capture.bagId), + attributes: _decodeBagAttributes(capture.bagAttributes) + }; + res.push(bag); + + var validator, decoder; + var bagAsn1 = capture.bagValue.value[0]; + switch(bag.type) { + case pki.oids.pkcs8ShroudedKeyBag: + /* bagAsn1 has a EncryptedPrivateKeyInfo, which we need to decrypt. + Afterwards we can handle it like a keyBag, + which is a PrivateKeyInfo. */ + bagAsn1 = pki.decryptPrivateKeyInfo(bagAsn1, password); + if(bagAsn1 === null) { + throw new Error( + 'Unable to decrypt PKCS#8 ShroudedKeyBag, wrong password?'); + } + + /* fall through */ + case pki.oids.keyBag: + /* A PKCS#12 keyBag is a simple PrivateKeyInfo as understood by our + PKI module, hence we don't have to do validation/capturing here, + just pass what we already got. */ + try { + bag.key = pki.privateKeyFromAsn1(bagAsn1); + } catch(e) { + // ignore unknown key type, pass asn1 value + bag.key = null; + bag.asn1 = bagAsn1; + } + continue; /* Nothing more to do. */ + + case pki.oids.certBag: + /* A PKCS#12 certBag can wrap both X.509 and sdsi certificates. + Therefore put the SafeBag content through another validator to + capture the fields. Afterwards check & store the results. */ + validator = certBagValidator; + decoder = function() { + if(asn1.derToOid(capture.certId) !== pki.oids.x509Certificate) { + var error = new Error( + 'Unsupported certificate type, only X.509 supported.'); + error.oid = asn1.derToOid(capture.certId); + throw error; + } + + // true=produce cert hash + var certAsn1 = asn1.fromDer(capture.cert, strict); + try { + bag.cert = pki.certificateFromAsn1(certAsn1, true); + } catch(e) { + // ignore unknown cert type, pass asn1 value + bag.cert = null; + bag.asn1 = certAsn1; + } + }; + break; + + default: + var error = new Error('Unsupported PKCS#12 SafeBag type.'); + error.oid = bag.type; + throw error; + } + + /* Validate SafeBag value (i.e. CertBag, etc.) and capture data if needed. */ + if(validator !== undefined && + !asn1.validate(bagAsn1, validator, capture, errors)) { + var error = new Error('Cannot read PKCS#12 ' + validator.name); + error.errors = errors; + throw error; + } + + /* Call decoder function from above to store the results. */ + decoder(); + } + + return res; +} + +/** + * Decode PKCS#12 SET OF PKCS12Attribute into JavaScript object. + * + * @param attributes SET OF PKCS12Attribute (ASN.1 object). + * + * @return the decoded attributes. + */ +function _decodeBagAttributes(attributes) { + var decodedAttrs = {}; + + if(attributes !== undefined) { + for(var i = 0; i < attributes.length; ++i) { + var capture = {}; + var errors = []; + if(!asn1.validate(attributes[i], attributeValidator, capture, errors)) { + var error = new Error('Cannot read PKCS#12 BagAttribute.'); + error.errors = errors; + throw error; + } + + var oid = asn1.derToOid(capture.oid); + if(pki.oids[oid] === undefined) { + // unsupported attribute type, ignore. + continue; + } + + decodedAttrs[pki.oids[oid]] = []; + for(var j = 0; j < capture.values.length; ++j) { + decodedAttrs[pki.oids[oid]].push(capture.values[j].value); + } + } + } + + return decodedAttrs; +} + +/** + * Wraps a private key and certificate in a PKCS#12 PFX wrapper. If a + * password is provided then the private key will be encrypted. + * + * An entire certificate chain may also be included. To do this, pass + * an array for the "cert" parameter where the first certificate is + * the one that is paired with the private key and each subsequent one + * verifies the previous one. The certificates may be in PEM format or + * have been already parsed by Forge. + * + * @todo implement password-based-encryption for the whole package + * + * @param key the private key. + * @param cert the certificate (may be an array of certificates in order + * to specify a certificate chain). + * @param password the password to use, null for none. + * @param options: + * algorithm the encryption algorithm to use + * ('aes128', 'aes192', 'aes256', '3des'), defaults to 'aes128'. + * count the iteration count to use. + * saltSize the salt size to use. + * useMac true to include a MAC, false not to, defaults to true. + * localKeyId the local key ID to use, in hex. + * friendlyName the friendly name to use. + * generateLocalKeyId true to generate a random local key ID, + * false not to, defaults to true. + * + * @return the PKCS#12 PFX ASN.1 object. + */ +p12.toPkcs12Asn1 = function(key, cert, password, options) { + // set default options + options = options || {}; + options.saltSize = options.saltSize || 8; + options.count = options.count || 2048; + options.algorithm = options.algorithm || options.encAlgorithm || 'aes128'; + if(!('useMac' in options)) { + options.useMac = true; + } + if(!('localKeyId' in options)) { + options.localKeyId = null; + } + if(!('generateLocalKeyId' in options)) { + options.generateLocalKeyId = true; + } + + var localKeyId = options.localKeyId; + var bagAttrs; + if(localKeyId !== null) { + localKeyId = forge.util.hexToBytes(localKeyId); + } else if(options.generateLocalKeyId) { + // use SHA-1 of paired cert, if available + if(cert) { + var pairedCert = forge.util.isArray(cert) ? cert[0] : cert; + if(typeof pairedCert === 'string') { + pairedCert = pki.certificateFromPem(pairedCert); + } + var sha1 = forge.md.sha1.create(); + sha1.update(asn1.toDer(pki.certificateToAsn1(pairedCert)).getBytes()); + localKeyId = sha1.digest().getBytes(); + } else { + // FIXME: consider using SHA-1 of public key (which can be generated + // from private key components), see: cert.generateSubjectKeyIdentifier + // generate random bytes + localKeyId = forge.random.getBytes(20); + } + } + + var attrs = []; + if(localKeyId !== null) { + attrs.push( + // localKeyID + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // attrId + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.localKeyId).getBytes()), + // attrValues + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + localKeyId) + ]) + ])); + } + if('friendlyName' in options) { + attrs.push( + // friendlyName + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // attrId + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.friendlyName).getBytes()), + // attrValues + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BMPSTRING, false, + options.friendlyName) + ]) + ])); + } + + if(attrs.length > 0) { + bagAttrs = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, attrs); + } + + // collect contents for AuthenticatedSafe + var contents = []; + + // create safe bag(s) for certificate chain + var chain = []; + if(cert !== null) { + if(forge.util.isArray(cert)) { + chain = cert; + } else { + chain = [cert]; + } + } + + var certSafeBags = []; + for(var i = 0; i < chain.length; ++i) { + // convert cert from PEM as necessary + cert = chain[i]; + if(typeof cert === 'string') { + cert = pki.certificateFromPem(cert); + } + + // SafeBag + var certBagAttrs = (i === 0) ? bagAttrs : undefined; + var certAsn1 = pki.certificateToAsn1(cert); + var certSafeBag = + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // bagId + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.certBag).getBytes()), + // bagValue + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + // CertBag + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // certId + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.x509Certificate).getBytes()), + // certValue (x509Certificate) + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + asn1.toDer(certAsn1).getBytes()) + ])])]), + // bagAttributes (OPTIONAL) + certBagAttrs + ]); + certSafeBags.push(certSafeBag); + } + + if(certSafeBags.length > 0) { + // SafeContents + var certSafeContents = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, certSafeBags); + + // ContentInfo + var certCI = + // PKCS#7 ContentInfo + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // contentType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + // OID for the content type is 'data' + asn1.oidToDer(pki.oids.data).getBytes()), + // content + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + asn1.toDer(certSafeContents).getBytes()) + ]) + ]); + contents.push(certCI); + } + + // create safe contents for private key + var keyBag = null; + if(key !== null) { + // SafeBag + var pkAsn1 = pki.wrapRsaPrivateKey(pki.privateKeyToAsn1(key)); + if(password === null) { + // no encryption + keyBag = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // bagId + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.keyBag).getBytes()), + // bagValue + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + // PrivateKeyInfo + pkAsn1 + ]), + // bagAttributes (OPTIONAL) + bagAttrs + ]); + } else { + // encrypted PrivateKeyInfo + keyBag = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // bagId + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.pkcs8ShroudedKeyBag).getBytes()), + // bagValue + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + // EncryptedPrivateKeyInfo + pki.encryptPrivateKeyInfo(pkAsn1, password, options) + ]), + // bagAttributes (OPTIONAL) + bagAttrs + ]); + } + + // SafeContents + var keySafeContents = + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [keyBag]); + + // ContentInfo + var keyCI = + // PKCS#7 ContentInfo + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // contentType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + // OID for the content type is 'data' + asn1.oidToDer(pki.oids.data).getBytes()), + // content + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + asn1.toDer(keySafeContents).getBytes()) + ]) + ]); + contents.push(keyCI); + } + + // create AuthenticatedSafe by stringing together the contents + var safe = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, contents); + + var macData; + if(options.useMac) { + // MacData + var sha1 = forge.md.sha1.create(); + var macSalt = new forge.util.ByteBuffer( + forge.random.getBytes(options.saltSize)); + var count = options.count; + // 160-bit key + var key = p12.generateKey(password, macSalt, 3, count, 20); + var mac = forge.hmac.create(); + mac.start(sha1, key); + mac.update(asn1.toDer(safe).getBytes()); + var macValue = mac.getMac(); + macData = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // mac DigestInfo + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // digestAlgorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm = SHA-1 + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.sha1).getBytes()), + // parameters = Null + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]), + // digest + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, + false, macValue.getBytes()) + ]), + // macSalt OCTET STRING + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, macSalt.getBytes()), + // iterations INTEGER (XXX: Only support count < 65536) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(count).getBytes() + ) + ]); + } + + // PFX + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // version (3) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(3).getBytes()), + // PKCS#7 ContentInfo + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // contentType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + // OID for the content type is 'data' + asn1.oidToDer(pki.oids.data).getBytes()), + // content + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + asn1.toDer(safe).getBytes()) + ]) + ]), + macData + ]); +}; + +/** + * Derives a PKCS#12 key. + * + * @param password the password to derive the key material from, null or + * undefined for none. + * @param salt the salt, as a ByteBuffer, to use. + * @param id the PKCS#12 ID byte (1 = key material, 2 = IV, 3 = MAC). + * @param iter the iteration count. + * @param n the number of bytes to derive from the password. + * @param md the message digest to use, defaults to SHA-1. + * + * @return a ByteBuffer with the bytes derived from the password. + */ +p12.generateKey = forge.pbe.generatePkcs12Key; + + +/***/ }), + +/***/ 94829: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of PKCS#7 v1.5. + * + * @author Stefan Siegl + * @author Dave Longley + * + * Copyright (c) 2012 Stefan Siegl + * Copyright (c) 2012-2015 Digital Bazaar, Inc. + * + * Currently this implementation only supports ContentType of EnvelopedData, + * EncryptedData, or SignedData at the root level. The top level elements may + * contain only a ContentInfo of ContentType Data, i.e. plain data. Further + * nesting is not (yet) supported. + * + * The Forge validators for PKCS #7's ASN.1 structures are available from + * a separate file pkcs7asn1.js, since those are referenced from other + * PKCS standards like PKCS #12. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(39549); +__nccwpck_require__(97157); +__nccwpck_require__(81925); +__nccwpck_require__(70154); +__nccwpck_require__(70266); +__nccwpck_require__(57821); +__nccwpck_require__(28339); +__nccwpck_require__(8180); + +// shortcut for ASN.1 API +var asn1 = forge.asn1; + +// shortcut for PKCS#7 API +var p7 = module.exports = forge.pkcs7 = forge.pkcs7 || {}; + +/** + * Converts a PKCS#7 message from PEM format. + * + * @param pem the PEM-formatted PKCS#7 message. + * + * @return the PKCS#7 message. + */ +p7.messageFromPem = function(pem) { + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'PKCS7') { + var error = new Error('Could not convert PKCS#7 message from PEM; PEM ' + + 'header type is not "PKCS#7".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert PKCS#7 message from PEM; PEM is encrypted.'); + } + + // convert DER to ASN.1 object + var obj = asn1.fromDer(msg.body); + + return p7.messageFromAsn1(obj); +}; + +/** + * Converts a PKCS#7 message to PEM format. + * + * @param msg The PKCS#7 message object + * @param maxline The maximum characters per line, defaults to 64. + * + * @return The PEM-formatted PKCS#7 message. + */ +p7.messageToPem = function(msg, maxline) { + // convert to ASN.1, then DER, then PEM-encode + var pemObj = { + type: 'PKCS7', + body: asn1.toDer(msg.toAsn1()).getBytes() + }; + return forge.pem.encode(pemObj, {maxline: maxline}); +}; + +/** + * Converts a PKCS#7 message from an ASN.1 object. + * + * @param obj the ASN.1 representation of a ContentInfo. + * + * @return the PKCS#7 message. + */ +p7.messageFromAsn1 = function(obj) { + // validate root level ContentInfo and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(obj, p7.asn1.contentInfoValidator, capture, errors)) { + var error = new Error('Cannot read PKCS#7 message. ' + + 'ASN.1 object is not an PKCS#7 ContentInfo.'); + error.errors = errors; + throw error; + } + + var contentType = asn1.derToOid(capture.contentType); + var msg; + + switch(contentType) { + case forge.pki.oids.envelopedData: + msg = p7.createEnvelopedData(); + break; + + case forge.pki.oids.encryptedData: + msg = p7.createEncryptedData(); + break; + + case forge.pki.oids.signedData: + msg = p7.createSignedData(); + break; + + default: + throw new Error('Cannot read PKCS#7 message. ContentType with OID ' + + contentType + ' is not (yet) supported.'); + } + + msg.fromAsn1(capture.content.value[0]); + return msg; +}; + +p7.createSignedData = function() { + var msg = null; + msg = { + type: forge.pki.oids.signedData, + version: 1, + certificates: [], + crls: [], + // TODO: add json-formatted signer stuff here? + signers: [], + // populated during sign() + digestAlgorithmIdentifiers: [], + contentInfo: null, + signerInfos: [], + + fromAsn1: function(obj) { + // validate SignedData content block and capture data. + _fromAsn1(msg, obj, p7.asn1.signedDataValidator); + msg.certificates = []; + msg.crls = []; + msg.digestAlgorithmIdentifiers = []; + msg.contentInfo = null; + msg.signerInfos = []; + + if(msg.rawCapture.certificates) { + var certs = msg.rawCapture.certificates.value; + for(var i = 0; i < certs.length; ++i) { + msg.certificates.push(forge.pki.certificateFromAsn1(certs[i])); + } + } + + // TODO: parse crls + }, + + toAsn1: function() { + // degenerate case with no content + if(!msg.contentInfo) { + msg.sign(); + } + + var certs = []; + for(var i = 0; i < msg.certificates.length; ++i) { + certs.push(forge.pki.certificateToAsn1(msg.certificates[i])); + } + + var crls = []; + // TODO: implement CRLs + + // [0] SignedData + var signedData = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // Version + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(msg.version).getBytes()), + // DigestAlgorithmIdentifiers + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SET, true, + msg.digestAlgorithmIdentifiers), + // ContentInfo + msg.contentInfo + ]) + ]); + if(certs.length > 0) { + // [0] IMPLICIT ExtendedCertificatesAndCertificates OPTIONAL + signedData.value[0].value.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, certs)); + } + if(crls.length > 0) { + // [1] IMPLICIT CertificateRevocationLists OPTIONAL + signedData.value[0].value.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, crls)); + } + // SignerInfos + signedData.value[0].value.push( + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, + msg.signerInfos)); + + // ContentInfo + return asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // ContentType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(msg.type).getBytes()), + // [0] SignedData + signedData + ]); + }, + + /** + * Add (another) entity to list of signers. + * + * Note: If authenticatedAttributes are provided, then, per RFC 2315, + * they must include at least two attributes: content type and + * message digest. The message digest attribute value will be + * auto-calculated during signing and will be ignored if provided. + * + * Here's an example of providing these two attributes: + * + * forge.pkcs7.createSignedData(); + * p7.addSigner({ + * issuer: cert.issuer.attributes, + * serialNumber: cert.serialNumber, + * key: privateKey, + * digestAlgorithm: forge.pki.oids.sha1, + * authenticatedAttributes: [{ + * type: forge.pki.oids.contentType, + * value: forge.pki.oids.data + * }, { + * type: forge.pki.oids.messageDigest + * }] + * }); + * + * TODO: Support [subjectKeyIdentifier] as signer's ID. + * + * @param signer the signer information: + * key the signer's private key. + * [certificate] a certificate containing the public key + * associated with the signer's private key; use this option as + * an alternative to specifying signer.issuer and + * signer.serialNumber. + * [issuer] the issuer attributes (eg: cert.issuer.attributes). + * [serialNumber] the signer's certificate's serial number in + * hexadecimal (eg: cert.serialNumber). + * [digestAlgorithm] the message digest OID, as a string, to use + * (eg: forge.pki.oids.sha1). + * [authenticatedAttributes] an optional array of attributes + * to also sign along with the content. + */ + addSigner: function(signer) { + var issuer = signer.issuer; + var serialNumber = signer.serialNumber; + if(signer.certificate) { + var cert = signer.certificate; + if(typeof cert === 'string') { + cert = forge.pki.certificateFromPem(cert); + } + issuer = cert.issuer.attributes; + serialNumber = cert.serialNumber; + } + var key = signer.key; + if(!key) { + throw new Error( + 'Could not add PKCS#7 signer; no private key specified.'); + } + if(typeof key === 'string') { + key = forge.pki.privateKeyFromPem(key); + } + + // ensure OID known for digest algorithm + var digestAlgorithm = signer.digestAlgorithm || forge.pki.oids.sha1; + switch(digestAlgorithm) { + case forge.pki.oids.sha1: + case forge.pki.oids.sha256: + case forge.pki.oids.sha384: + case forge.pki.oids.sha512: + case forge.pki.oids.md5: + break; + default: + throw new Error( + 'Could not add PKCS#7 signer; unknown message digest algorithm: ' + + digestAlgorithm); + } + + // if authenticatedAttributes is present, then the attributes + // must contain at least PKCS #9 content-type and message-digest + var authenticatedAttributes = signer.authenticatedAttributes || []; + if(authenticatedAttributes.length > 0) { + var contentType = false; + var messageDigest = false; + for(var i = 0; i < authenticatedAttributes.length; ++i) { + var attr = authenticatedAttributes[i]; + if(!contentType && attr.type === forge.pki.oids.contentType) { + contentType = true; + if(messageDigest) { + break; + } + continue; + } + if(!messageDigest && attr.type === forge.pki.oids.messageDigest) { + messageDigest = true; + if(contentType) { + break; + } + continue; + } + } + + if(!contentType || !messageDigest) { + throw new Error('Invalid signer.authenticatedAttributes. If ' + + 'signer.authenticatedAttributes is specified, then it must ' + + 'contain at least two attributes, PKCS #9 content-type and ' + + 'PKCS #9 message-digest.'); + } + } + + msg.signers.push({ + key: key, + version: 1, + issuer: issuer, + serialNumber: serialNumber, + digestAlgorithm: digestAlgorithm, + signatureAlgorithm: forge.pki.oids.rsaEncryption, + signature: null, + authenticatedAttributes: authenticatedAttributes, + unauthenticatedAttributes: [] + }); + }, + + /** + * Signs the content. + * @param options Options to apply when signing: + * [detached] boolean. If signing should be done in detached mode. Defaults to false. + */ + sign: function(options) { + options = options || {}; + // auto-generate content info + if(typeof msg.content !== 'object' || msg.contentInfo === null) { + // use Data ContentInfo + msg.contentInfo = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // ContentType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(forge.pki.oids.data).getBytes()) + ]); + + // add actual content, if present + if('content' in msg) { + var content; + if(msg.content instanceof forge.util.ByteBuffer) { + content = msg.content.bytes(); + } else if(typeof msg.content === 'string') { + content = forge.util.encodeUtf8(msg.content); + } + + if (options.detached) { + msg.detachedContent = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, content); + } else { + msg.contentInfo.value.push( + // [0] EXPLICIT content + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + content) + ])); + } + } + } + + // no signers, return early (degenerate case for certificate container) + if(msg.signers.length === 0) { + return; + } + + // generate digest algorithm identifiers + var mds = addDigestAlgorithmIds(); + + // generate signerInfos + addSignerInfos(mds); + }, + + verify: function() { + throw new Error('PKCS#7 signature verification not yet implemented.'); + }, + + /** + * Add a certificate. + * + * @param cert the certificate to add. + */ + addCertificate: function(cert) { + // convert from PEM + if(typeof cert === 'string') { + cert = forge.pki.certificateFromPem(cert); + } + msg.certificates.push(cert); + }, + + /** + * Add a certificate revokation list. + * + * @param crl the certificate revokation list to add. + */ + addCertificateRevokationList: function(crl) { + throw new Error('PKCS#7 CRL support not yet implemented.'); + } + }; + return msg; + + function addDigestAlgorithmIds() { + var mds = {}; + + for(var i = 0; i < msg.signers.length; ++i) { + var signer = msg.signers[i]; + var oid = signer.digestAlgorithm; + if(!(oid in mds)) { + // content digest + mds[oid] = forge.md[forge.pki.oids[oid]].create(); + } + if(signer.authenticatedAttributes.length === 0) { + // no custom attributes to digest; use content message digest + signer.md = mds[oid]; + } else { + // custom attributes to be digested; use own message digest + // TODO: optimize to just copy message digest state if that + // feature is ever supported with message digests + signer.md = forge.md[forge.pki.oids[oid]].create(); + } + } + + // add unique digest algorithm identifiers + msg.digestAlgorithmIdentifiers = []; + for(var oid in mds) { + msg.digestAlgorithmIdentifiers.push( + // AlgorithmIdentifier + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(oid).getBytes()), + // parameters (null) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ])); + } + + return mds; + } + + function addSignerInfos(mds) { + var content; + + if (msg.detachedContent) { + // Signature has been made in detached mode. + content = msg.detachedContent; + } else { + // Note: ContentInfo is a SEQUENCE with 2 values, second value is + // the content field and is optional for a ContentInfo but required here + // since signers are present + // get ContentInfo content + content = msg.contentInfo.value[1]; + // skip [0] EXPLICIT content wrapper + content = content.value[0]; + } + + if(!content) { + throw new Error( + 'Could not sign PKCS#7 message; there is no content to sign.'); + } + + // get ContentInfo content type + var contentType = asn1.derToOid(msg.contentInfo.value[0].value); + + // serialize content + var bytes = asn1.toDer(content); + + // skip identifier and length per RFC 2315 9.3 + // skip identifier (1 byte) + bytes.getByte(); + // read and discard length bytes + asn1.getBerValueLength(bytes); + bytes = bytes.getBytes(); + + // digest content DER value bytes + for(var oid in mds) { + mds[oid].start().update(bytes); + } + + // sign content + var signingTime = new Date(); + for(var i = 0; i < msg.signers.length; ++i) { + var signer = msg.signers[i]; + + if(signer.authenticatedAttributes.length === 0) { + // if ContentInfo content type is not "Data", then + // authenticatedAttributes must be present per RFC 2315 + if(contentType !== forge.pki.oids.data) { + throw new Error( + 'Invalid signer; authenticatedAttributes must be present ' + + 'when the ContentInfo content type is not PKCS#7 Data.'); + } + } else { + // process authenticated attributes + // [0] IMPLICIT + signer.authenticatedAttributesAsn1 = asn1.create( + asn1.Class.CONTEXT_SPECIFIC, 0, true, []); + + // per RFC 2315, attributes are to be digested using a SET container + // not the above [0] IMPLICIT container + var attrsAsn1 = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SET, true, []); + + for(var ai = 0; ai < signer.authenticatedAttributes.length; ++ai) { + var attr = signer.authenticatedAttributes[ai]; + if(attr.type === forge.pki.oids.messageDigest) { + // use content message digest as value + attr.value = mds[signer.digestAlgorithm].digest(); + } else if(attr.type === forge.pki.oids.signingTime) { + // auto-populate signing time if not already set + if(!attr.value) { + attr.value = signingTime; + } + } + + // convert to ASN.1 and push onto Attributes SET (for signing) and + // onto authenticatedAttributesAsn1 to complete SignedData ASN.1 + // TODO: optimize away duplication + attrsAsn1.value.push(_attributeToAsn1(attr)); + signer.authenticatedAttributesAsn1.value.push(_attributeToAsn1(attr)); + } + + // DER-serialize and digest SET OF attributes only + bytes = asn1.toDer(attrsAsn1).getBytes(); + signer.md.start().update(bytes); + } + + // sign digest + signer.signature = signer.key.sign(signer.md, 'RSASSA-PKCS1-V1_5'); + } + + // add signer info + msg.signerInfos = _signersToAsn1(msg.signers); + } +}; + +/** + * Creates an empty PKCS#7 message of type EncryptedData. + * + * @return the message. + */ +p7.createEncryptedData = function() { + var msg = null; + msg = { + type: forge.pki.oids.encryptedData, + version: 0, + encryptedContent: { + algorithm: forge.pki.oids['aes256-CBC'] + }, + + /** + * Reads an EncryptedData content block (in ASN.1 format) + * + * @param obj The ASN.1 representation of the EncryptedData content block + */ + fromAsn1: function(obj) { + // Validate EncryptedData content block and capture data. + _fromAsn1(msg, obj, p7.asn1.encryptedDataValidator); + }, + + /** + * Decrypt encrypted content + * + * @param key The (symmetric) key as a byte buffer + */ + decrypt: function(key) { + if(key !== undefined) { + msg.encryptedContent.key = key; + } + _decryptContent(msg); + } + }; + return msg; +}; + +/** + * Creates an empty PKCS#7 message of type EnvelopedData. + * + * @return the message. + */ +p7.createEnvelopedData = function() { + var msg = null; + msg = { + type: forge.pki.oids.envelopedData, + version: 0, + recipients: [], + encryptedContent: { + algorithm: forge.pki.oids['aes256-CBC'] + }, + + /** + * Reads an EnvelopedData content block (in ASN.1 format) + * + * @param obj the ASN.1 representation of the EnvelopedData content block. + */ + fromAsn1: function(obj) { + // validate EnvelopedData content block and capture data + var capture = _fromAsn1(msg, obj, p7.asn1.envelopedDataValidator); + msg.recipients = _recipientsFromAsn1(capture.recipientInfos.value); + }, + + toAsn1: function() { + // ContentInfo + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // ContentType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(msg.type).getBytes()), + // [0] EnvelopedData + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // Version + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(msg.version).getBytes()), + // RecipientInfos + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, + _recipientsToAsn1(msg.recipients)), + // EncryptedContentInfo + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, + _encryptedContentToAsn1(msg.encryptedContent)) + ]) + ]) + ]); + }, + + /** + * Find recipient by X.509 certificate's issuer. + * + * @param cert the certificate with the issuer to look for. + * + * @return the recipient object. + */ + findRecipient: function(cert) { + var sAttr = cert.issuer.attributes; + + for(var i = 0; i < msg.recipients.length; ++i) { + var r = msg.recipients[i]; + var rAttr = r.issuer; + + if(r.serialNumber !== cert.serialNumber) { + continue; + } + + if(rAttr.length !== sAttr.length) { + continue; + } + + var match = true; + for(var j = 0; j < sAttr.length; ++j) { + if(rAttr[j].type !== sAttr[j].type || + rAttr[j].value !== sAttr[j].value) { + match = false; + break; + } + } + + if(match) { + return r; + } + } + + return null; + }, + + /** + * Decrypt enveloped content + * + * @param recipient The recipient object related to the private key + * @param privKey The (RSA) private key object + */ + decrypt: function(recipient, privKey) { + if(msg.encryptedContent.key === undefined && recipient !== undefined && + privKey !== undefined) { + switch(recipient.encryptedContent.algorithm) { + case forge.pki.oids.rsaEncryption: + case forge.pki.oids.desCBC: + var key = privKey.decrypt(recipient.encryptedContent.content); + msg.encryptedContent.key = forge.util.createBuffer(key); + break; + + default: + throw new Error('Unsupported asymmetric cipher, ' + + 'OID ' + recipient.encryptedContent.algorithm); + } + } + + _decryptContent(msg); + }, + + /** + * Add (another) entity to list of recipients. + * + * @param cert The certificate of the entity to add. + */ + addRecipient: function(cert) { + msg.recipients.push({ + version: 0, + issuer: cert.issuer.attributes, + serialNumber: cert.serialNumber, + encryptedContent: { + // We simply assume rsaEncryption here, since forge.pki only + // supports RSA so far. If the PKI module supports other + // ciphers one day, we need to modify this one as well. + algorithm: forge.pki.oids.rsaEncryption, + key: cert.publicKey + } + }); + }, + + /** + * Encrypt enveloped content. + * + * This function supports two optional arguments, cipher and key, which + * can be used to influence symmetric encryption. Unless cipher is + * provided, the cipher specified in encryptedContent.algorithm is used + * (defaults to AES-256-CBC). If no key is provided, encryptedContent.key + * is (re-)used. If that one's not set, a random key will be generated + * automatically. + * + * @param [key] The key to be used for symmetric encryption. + * @param [cipher] The OID of the symmetric cipher to use. + */ + encrypt: function(key, cipher) { + // Part 1: Symmetric encryption + if(msg.encryptedContent.content === undefined) { + cipher = cipher || msg.encryptedContent.algorithm; + key = key || msg.encryptedContent.key; + + var keyLen, ivLen, ciphFn; + switch(cipher) { + case forge.pki.oids['aes128-CBC']: + keyLen = 16; + ivLen = 16; + ciphFn = forge.aes.createEncryptionCipher; + break; + + case forge.pki.oids['aes192-CBC']: + keyLen = 24; + ivLen = 16; + ciphFn = forge.aes.createEncryptionCipher; + break; + + case forge.pki.oids['aes256-CBC']: + keyLen = 32; + ivLen = 16; + ciphFn = forge.aes.createEncryptionCipher; + break; + + case forge.pki.oids['des-EDE3-CBC']: + keyLen = 24; + ivLen = 8; + ciphFn = forge.des.createEncryptionCipher; + break; + + default: + throw new Error('Unsupported symmetric cipher, OID ' + cipher); + } + + if(key === undefined) { + key = forge.util.createBuffer(forge.random.getBytes(keyLen)); + } else if(key.length() != keyLen) { + throw new Error('Symmetric key has wrong length; ' + + 'got ' + key.length() + ' bytes, expected ' + keyLen + '.'); + } + + // Keep a copy of the key & IV in the object, so the caller can + // use it for whatever reason. + msg.encryptedContent.algorithm = cipher; + msg.encryptedContent.key = key; + msg.encryptedContent.parameter = forge.util.createBuffer( + forge.random.getBytes(ivLen)); + + var ciph = ciphFn(key); + ciph.start(msg.encryptedContent.parameter.copy()); + ciph.update(msg.content); + + // The finish function does PKCS#7 padding by default, therefore + // no action required by us. + if(!ciph.finish()) { + throw new Error('Symmetric encryption failed.'); + } + + msg.encryptedContent.content = ciph.output; + } + + // Part 2: asymmetric encryption for each recipient + for(var i = 0; i < msg.recipients.length; ++i) { + var recipient = msg.recipients[i]; + + // Nothing to do, encryption already done. + if(recipient.encryptedContent.content !== undefined) { + continue; + } + + switch(recipient.encryptedContent.algorithm) { + case forge.pki.oids.rsaEncryption: + recipient.encryptedContent.content = + recipient.encryptedContent.key.encrypt( + msg.encryptedContent.key.data); + break; + + default: + throw new Error('Unsupported asymmetric cipher, OID ' + + recipient.encryptedContent.algorithm); + } + } + } + }; + return msg; +}; + +/** + * Converts a single recipient from an ASN.1 object. + * + * @param obj the ASN.1 RecipientInfo. + * + * @return the recipient object. + */ +function _recipientFromAsn1(obj) { + // validate EnvelopedData content block and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(obj, p7.asn1.recipientInfoValidator, capture, errors)) { + var error = new Error('Cannot read PKCS#7 RecipientInfo. ' + + 'ASN.1 object is not an PKCS#7 RecipientInfo.'); + error.errors = errors; + throw error; + } + + return { + version: capture.version.charCodeAt(0), + issuer: forge.pki.RDNAttributesAsArray(capture.issuer), + serialNumber: forge.util.createBuffer(capture.serial).toHex(), + encryptedContent: { + algorithm: asn1.derToOid(capture.encAlgorithm), + parameter: capture.encParameter.value, + content: capture.encKey + } + }; +} + +/** + * Converts a single recipient object to an ASN.1 object. + * + * @param obj the recipient object. + * + * @return the ASN.1 RecipientInfo. + */ +function _recipientToAsn1(obj) { + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // Version + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(obj.version).getBytes()), + // IssuerAndSerialNumber + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // Name + forge.pki.distinguishedNameToAsn1({attributes: obj.issuer}), + // Serial + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + forge.util.hexToBytes(obj.serialNumber)) + ]), + // KeyEncryptionAlgorithmIdentifier + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // Algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(obj.encryptedContent.algorithm).getBytes()), + // Parameter, force NULL, only RSA supported for now. + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]), + // EncryptedKey + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + obj.encryptedContent.content) + ]); +} + +/** + * Map a set of RecipientInfo ASN.1 objects to recipient objects. + * + * @param infos an array of ASN.1 representations RecipientInfo (i.e. SET OF). + * + * @return an array of recipient objects. + */ +function _recipientsFromAsn1(infos) { + var ret = []; + for(var i = 0; i < infos.length; ++i) { + ret.push(_recipientFromAsn1(infos[i])); + } + return ret; +} + +/** + * Map an array of recipient objects to ASN.1 RecipientInfo objects. + * + * @param recipients an array of recipientInfo objects. + * + * @return an array of ASN.1 RecipientInfos. + */ +function _recipientsToAsn1(recipients) { + var ret = []; + for(var i = 0; i < recipients.length; ++i) { + ret.push(_recipientToAsn1(recipients[i])); + } + return ret; +} + +/** + * Converts a single signer from an ASN.1 object. + * + * @param obj the ASN.1 representation of a SignerInfo. + * + * @return the signer object. + */ +function _signerFromAsn1(obj) { + // validate EnvelopedData content block and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(obj, p7.asn1.signerInfoValidator, capture, errors)) { + var error = new Error('Cannot read PKCS#7 SignerInfo. ' + + 'ASN.1 object is not an PKCS#7 SignerInfo.'); + error.errors = errors; + throw error; + } + + var rval = { + version: capture.version.charCodeAt(0), + issuer: forge.pki.RDNAttributesAsArray(capture.issuer), + serialNumber: forge.util.createBuffer(capture.serial).toHex(), + digestAlgorithm: asn1.derToOid(capture.digestAlgorithm), + signatureAlgorithm: asn1.derToOid(capture.signatureAlgorithm), + signature: capture.signature, + authenticatedAttributes: [], + unauthenticatedAttributes: [] + }; + + // TODO: convert attributes + var authenticatedAttributes = capture.authenticatedAttributes || []; + var unauthenticatedAttributes = capture.unauthenticatedAttributes || []; + + return rval; +} + +/** + * Converts a single signerInfo object to an ASN.1 object. + * + * @param obj the signerInfo object. + * + * @return the ASN.1 representation of a SignerInfo. + */ +function _signerToAsn1(obj) { + // SignerInfo + var rval = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // version + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(obj.version).getBytes()), + // issuerAndSerialNumber + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // name + forge.pki.distinguishedNameToAsn1({attributes: obj.issuer}), + // serial + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + forge.util.hexToBytes(obj.serialNumber)) + ]), + // digestAlgorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(obj.digestAlgorithm).getBytes()), + // parameters (null) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]) + ]); + + // authenticatedAttributes (OPTIONAL) + if(obj.authenticatedAttributesAsn1) { + // add ASN.1 previously generated during signing + rval.value.push(obj.authenticatedAttributesAsn1); + } + + // digestEncryptionAlgorithm + rval.value.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(obj.signatureAlgorithm).getBytes()), + // parameters (null) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ])); + + // encryptedDigest + rval.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, obj.signature)); + + // unauthenticatedAttributes (OPTIONAL) + if(obj.unauthenticatedAttributes.length > 0) { + // [1] IMPLICIT + var attrsAsn1 = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, []); + for(var i = 0; i < obj.unauthenticatedAttributes.length; ++i) { + var attr = obj.unauthenticatedAttributes[i]; + attrsAsn1.values.push(_attributeToAsn1(attr)); + } + rval.value.push(attrsAsn1); + } + + return rval; +} + +/** + * Map a set of SignerInfo ASN.1 objects to an array of signer objects. + * + * @param signerInfoAsn1s an array of ASN.1 SignerInfos (i.e. SET OF). + * + * @return an array of signers objects. + */ +function _signersFromAsn1(signerInfoAsn1s) { + var ret = []; + for(var i = 0; i < signerInfoAsn1s.length; ++i) { + ret.push(_signerFromAsn1(signerInfoAsn1s[i])); + } + return ret; +} + +/** + * Map an array of signer objects to ASN.1 objects. + * + * @param signers an array of signer objects. + * + * @return an array of ASN.1 SignerInfos. + */ +function _signersToAsn1(signers) { + var ret = []; + for(var i = 0; i < signers.length; ++i) { + ret.push(_signerToAsn1(signers[i])); + } + return ret; +} + +/** + * Convert an attribute object to an ASN.1 Attribute. + * + * @param attr the attribute object. + * + * @return the ASN.1 Attribute. + */ +function _attributeToAsn1(attr) { + var value; + + // TODO: generalize to support more attributes + if(attr.type === forge.pki.oids.contentType) { + value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(attr.value).getBytes()); + } else if(attr.type === forge.pki.oids.messageDigest) { + value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + attr.value.bytes()); + } else if(attr.type === forge.pki.oids.signingTime) { + /* Note per RFC 2985: Dates between 1 January 1950 and 31 December 2049 + (inclusive) MUST be encoded as UTCTime. Any dates with year values + before 1950 or after 2049 MUST be encoded as GeneralizedTime. [Further,] + UTCTime values MUST be expressed in Greenwich Mean Time (Zulu) and MUST + include seconds (i.e., times are YYMMDDHHMMSSZ), even where the + number of seconds is zero. Midnight (GMT) must be represented as + "YYMMDD000000Z". */ + // TODO: make these module-level constants + var jan_1_1950 = new Date('1950-01-01T00:00:00Z'); + var jan_1_2050 = new Date('2050-01-01T00:00:00Z'); + var date = attr.value; + if(typeof date === 'string') { + // try to parse date + var timestamp = Date.parse(date); + if(!isNaN(timestamp)) { + date = new Date(timestamp); + } else if(date.length === 13) { + // YYMMDDHHMMSSZ (13 chars for UTCTime) + date = asn1.utcTimeToDate(date); + } else { + // assume generalized time + date = asn1.generalizedTimeToDate(date); + } + } + + if(date >= jan_1_1950 && date < jan_1_2050) { + value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.UTCTIME, false, + asn1.dateToUtcTime(date)); + } else { + value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.GENERALIZEDTIME, false, + asn1.dateToGeneralizedTime(date)); + } + } + + // TODO: expose as common API call + // create a RelativeDistinguishedName set + // each value in the set is an AttributeTypeAndValue first + // containing the type (an OID) and second the value + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // AttributeType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(attr.type).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [ + // AttributeValue + value + ]) + ]); +} + +/** + * Map messages encrypted content to ASN.1 objects. + * + * @param ec The encryptedContent object of the message. + * + * @return ASN.1 representation of the encryptedContent object (SEQUENCE). + */ +function _encryptedContentToAsn1(ec) { + return [ + // ContentType, always Data for the moment + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(forge.pki.oids.data).getBytes()), + // ContentEncryptionAlgorithmIdentifier + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // Algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(ec.algorithm).getBytes()), + // Parameters (IV) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + ec.parameter.getBytes()) + ]), + // [0] EncryptedContent + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + ec.content.getBytes()) + ]) + ]; +} + +/** + * Reads the "common part" of an PKCS#7 content block (in ASN.1 format) + * + * This function reads the "common part" of the PKCS#7 content blocks + * EncryptedData and EnvelopedData, i.e. version number and symmetrically + * encrypted content block. + * + * The result of the ASN.1 validate and capture process is returned + * to allow the caller to extract further data, e.g. the list of recipients + * in case of a EnvelopedData object. + * + * @param msg the PKCS#7 object to read the data to. + * @param obj the ASN.1 representation of the content block. + * @param validator the ASN.1 structure validator object to use. + * + * @return the value map captured by validator object. + */ +function _fromAsn1(msg, obj, validator) { + var capture = {}; + var errors = []; + if(!asn1.validate(obj, validator, capture, errors)) { + var error = new Error('Cannot read PKCS#7 message. ' + + 'ASN.1 object is not a supported PKCS#7 message.'); + error.errors = error; + throw error; + } + + // Check contentType, so far we only support (raw) Data. + var contentType = asn1.derToOid(capture.contentType); + if(contentType !== forge.pki.oids.data) { + throw new Error('Unsupported PKCS#7 message. ' + + 'Only wrapped ContentType Data supported.'); + } + + if(capture.encryptedContent) { + var content = ''; + if(forge.util.isArray(capture.encryptedContent)) { + for(var i = 0; i < capture.encryptedContent.length; ++i) { + if(capture.encryptedContent[i].type !== asn1.Type.OCTETSTRING) { + throw new Error('Malformed PKCS#7 message, expecting encrypted ' + + 'content constructed of only OCTET STRING objects.'); + } + content += capture.encryptedContent[i].value; + } + } else { + content = capture.encryptedContent; + } + msg.encryptedContent = { + algorithm: asn1.derToOid(capture.encAlgorithm), + parameter: forge.util.createBuffer(capture.encParameter.value), + content: forge.util.createBuffer(content) + }; + } + + if(capture.content) { + var content = ''; + if(forge.util.isArray(capture.content)) { + for(var i = 0; i < capture.content.length; ++i) { + if(capture.content[i].type !== asn1.Type.OCTETSTRING) { + throw new Error('Malformed PKCS#7 message, expecting ' + + 'content constructed of only OCTET STRING objects.'); + } + content += capture.content[i].value; + } + } else { + content = capture.content; + } + msg.content = forge.util.createBuffer(content); + } + + msg.version = capture.version.charCodeAt(0); + msg.rawCapture = capture; + + return capture; +} + +/** + * Decrypt the symmetrically encrypted content block of the PKCS#7 message. + * + * Decryption is skipped in case the PKCS#7 message object already has a + * (decrypted) content attribute. The algorithm, key and cipher parameters + * (probably the iv) are taken from the encryptedContent attribute of the + * message object. + * + * @param The PKCS#7 message object. + */ +function _decryptContent(msg) { + if(msg.encryptedContent.key === undefined) { + throw new Error('Symmetric key not available.'); + } + + if(msg.content === undefined) { + var ciph; + + switch(msg.encryptedContent.algorithm) { + case forge.pki.oids['aes128-CBC']: + case forge.pki.oids['aes192-CBC']: + case forge.pki.oids['aes256-CBC']: + ciph = forge.aes.createDecryptionCipher(msg.encryptedContent.key); + break; + + case forge.pki.oids['desCBC']: + case forge.pki.oids['des-EDE3-CBC']: + ciph = forge.des.createDecryptionCipher(msg.encryptedContent.key); + break; + + default: + throw new Error('Unsupported symmetric cipher, OID ' + + msg.encryptedContent.algorithm); + } + ciph.start(msg.encryptedContent.parameter); + ciph.update(msg.encryptedContent.content); + + if(!ciph.finish()) { + throw new Error('Symmetric decryption failed.'); + } + + msg.content = ciph.output; + } +} + + +/***/ }), + +/***/ 70266: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of ASN.1 validators for PKCS#7 v1.5. + * + * @author Dave Longley + * @author Stefan Siegl + * + * Copyright (c) 2012-2015 Digital Bazaar, Inc. + * Copyright (c) 2012 Stefan Siegl + * + * The ASN.1 representation of PKCS#7 is as follows + * (see RFC #2315 for details, http://www.ietf.org/rfc/rfc2315.txt): + * + * A PKCS#7 message consists of a ContentInfo on root level, which may + * contain any number of further ContentInfo nested into it. + * + * ContentInfo ::= SEQUENCE { + * contentType ContentType, + * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL + * } + * + * ContentType ::= OBJECT IDENTIFIER + * + * EnvelopedData ::= SEQUENCE { + * version Version, + * recipientInfos RecipientInfos, + * encryptedContentInfo EncryptedContentInfo + * } + * + * EncryptedData ::= SEQUENCE { + * version Version, + * encryptedContentInfo EncryptedContentInfo + * } + * + * id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2) + * us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 } + * + * SignedData ::= SEQUENCE { + * version INTEGER, + * digestAlgorithms DigestAlgorithmIdentifiers, + * contentInfo ContentInfo, + * certificates [0] IMPLICIT Certificates OPTIONAL, + * crls [1] IMPLICIT CertificateRevocationLists OPTIONAL, + * signerInfos SignerInfos + * } + * + * SignerInfos ::= SET OF SignerInfo + * + * SignerInfo ::= SEQUENCE { + * version Version, + * issuerAndSerialNumber IssuerAndSerialNumber, + * digestAlgorithm DigestAlgorithmIdentifier, + * authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL, + * digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier, + * encryptedDigest EncryptedDigest, + * unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL + * } + * + * EncryptedDigest ::= OCTET STRING + * + * Attributes ::= SET OF Attribute + * + * Attribute ::= SEQUENCE { + * attrType OBJECT IDENTIFIER, + * attrValues SET OF AttributeValue + * } + * + * AttributeValue ::= ANY + * + * Version ::= INTEGER + * + * RecipientInfos ::= SET OF RecipientInfo + * + * EncryptedContentInfo ::= SEQUENCE { + * contentType ContentType, + * contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier, + * encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL + * } + * + * ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier + * + * The AlgorithmIdentifier contains an Object Identifier (OID) and parameters + * for the algorithm, if any. In the case of AES and DES3, there is only one, + * the IV. + * + * AlgorithmIdentifer ::= SEQUENCE { + * algorithm OBJECT IDENTIFIER, + * parameters ANY DEFINED BY algorithm OPTIONAL + * } + * + * EncryptedContent ::= OCTET STRING + * + * RecipientInfo ::= SEQUENCE { + * version Version, + * issuerAndSerialNumber IssuerAndSerialNumber, + * keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier, + * encryptedKey EncryptedKey + * } + * + * IssuerAndSerialNumber ::= SEQUENCE { + * issuer Name, + * serialNumber CertificateSerialNumber + * } + * + * CertificateSerialNumber ::= INTEGER + * + * KeyEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier + * + * EncryptedKey ::= OCTET STRING + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(39549); +__nccwpck_require__(28339); + +// shortcut for ASN.1 API +var asn1 = forge.asn1; + +// shortcut for PKCS#7 API +var p7v = module.exports = forge.pkcs7asn1 = forge.pkcs7asn1 || {}; +forge.pkcs7 = forge.pkcs7 || {}; +forge.pkcs7.asn1 = p7v; + +var contentInfoValidator = { + name: 'ContentInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'ContentInfo.ContentType', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'contentType' + }, { + name: 'ContentInfo.content', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + constructed: true, + optional: true, + captureAsn1: 'content' + }] +}; +p7v.contentInfoValidator = contentInfoValidator; + +var encryptedContentInfoValidator = { + name: 'EncryptedContentInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'EncryptedContentInfo.contentType', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'contentType' + }, { + name: 'EncryptedContentInfo.contentEncryptionAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'EncryptedContentInfo.contentEncryptionAlgorithm.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'encAlgorithm' + }, { + name: 'EncryptedContentInfo.contentEncryptionAlgorithm.parameter', + tagClass: asn1.Class.UNIVERSAL, + captureAsn1: 'encParameter' + }] + }, { + name: 'EncryptedContentInfo.encryptedContent', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + /* The PKCS#7 structure output by OpenSSL somewhat differs from what + * other implementations do generate. + * + * OpenSSL generates a structure like this: + * SEQUENCE { + * ... + * [0] + * 26 DA 67 D2 17 9C 45 3C B1 2A A8 59 2F 29 33 38 + * C3 C3 DF 86 71 74 7A 19 9F 40 D0 29 BE 85 90 45 + * ... + * } + * + * Whereas other implementations (and this PKCS#7 module) generate: + * SEQUENCE { + * ... + * [0] { + * OCTET STRING + * 26 DA 67 D2 17 9C 45 3C B1 2A A8 59 2F 29 33 38 + * C3 C3 DF 86 71 74 7A 19 9F 40 D0 29 BE 85 90 45 + * ... + * } + * } + * + * In order to support both, we just capture the context specific + * field here. The OCTET STRING bit is removed below. + */ + capture: 'encryptedContent', + captureAsn1: 'encryptedContentAsn1' + }] +}; + +p7v.envelopedDataValidator = { + name: 'EnvelopedData', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'EnvelopedData.Version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'version' + }, { + name: 'EnvelopedData.RecipientInfos', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SET, + constructed: true, + captureAsn1: 'recipientInfos' + }].concat(encryptedContentInfoValidator) +}; + +p7v.encryptedDataValidator = { + name: 'EncryptedData', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'EncryptedData.Version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'version' + }].concat(encryptedContentInfoValidator) +}; + +var signerValidator = { + name: 'SignerInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'SignerInfo.version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false + }, { + name: 'SignerInfo.issuerAndSerialNumber', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'SignerInfo.issuerAndSerialNumber.issuer', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'issuer' + }, { + name: 'SignerInfo.issuerAndSerialNumber.serialNumber', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'serial' + }] + }, { + name: 'SignerInfo.digestAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'SignerInfo.digestAlgorithm.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'digestAlgorithm' + }, { + name: 'SignerInfo.digestAlgorithm.parameter', + tagClass: asn1.Class.UNIVERSAL, + constructed: false, + captureAsn1: 'digestParameter', + optional: true + }] + }, { + name: 'SignerInfo.authenticatedAttributes', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + constructed: true, + optional: true, + capture: 'authenticatedAttributes' + }, { + name: 'SignerInfo.digestEncryptionAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + capture: 'signatureAlgorithm' + }, { + name: 'SignerInfo.encryptedDigest', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'signature' + }, { + name: 'SignerInfo.unauthenticatedAttributes', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 1, + constructed: true, + optional: true, + capture: 'unauthenticatedAttributes' + }] +}; + +p7v.signedDataValidator = { + name: 'SignedData', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'SignedData.Version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'version' + }, { + name: 'SignedData.DigestAlgorithms', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SET, + constructed: true, + captureAsn1: 'digestAlgorithms' + }, + contentInfoValidator, + { + name: 'SignedData.Certificates', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + optional: true, + captureAsn1: 'certificates' + }, { + name: 'SignedData.CertificateRevocationLists', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 1, + optional: true, + captureAsn1: 'crls' + }, { + name: 'SignedData.SignerInfos', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SET, + capture: 'signerInfos', + optional: true, + value: [signerValidator] + }] +}; + +p7v.recipientInfoValidator = { + name: 'RecipientInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'RecipientInfo.version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'version' + }, { + name: 'RecipientInfo.issuerAndSerial', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'RecipientInfo.issuerAndSerial.issuer', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'issuer' + }, { + name: 'RecipientInfo.issuerAndSerial.serialNumber', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'serial' + }] + }, { + name: 'RecipientInfo.keyEncryptionAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'RecipientInfo.keyEncryptionAlgorithm.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'encAlgorithm' + }, { + name: 'RecipientInfo.keyEncryptionAlgorithm.parameter', + tagClass: asn1.Class.UNIVERSAL, + constructed: false, + captureAsn1: 'encParameter' + }] + }, { + name: 'RecipientInfo.encryptedKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'encKey' + }] +}; + + +/***/ }), + +/***/ 6924: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of a basic Public Key Infrastructure, including + * support for RSA public and private keys. + * + * @author Dave Longley + * + * Copyright (c) 2010-2013 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(39549); +__nccwpck_require__(81925); +__nccwpck_require__(21281); +__nccwpck_require__(70154); +__nccwpck_require__(31611); +__nccwpck_require__(30466); +__nccwpck_require__(4376); +__nccwpck_require__(53921); +__nccwpck_require__(28339); +__nccwpck_require__(8180); + +// shortcut for asn.1 API +var asn1 = forge.asn1; + +/* Public Key Infrastructure (PKI) implementation. */ +var pki = module.exports = forge.pki = forge.pki || {}; + +/** + * NOTE: THIS METHOD IS DEPRECATED. Use pem.decode() instead. + * + * Converts PEM-formatted data to DER. + * + * @param pem the PEM-formatted data. + * + * @return the DER-formatted data. + */ +pki.pemToDer = function(pem) { + var msg = forge.pem.decode(pem)[0]; + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert PEM to DER; PEM is encrypted.'); + } + return forge.util.createBuffer(msg.body); +}; + +/** + * Converts an RSA private key from PEM format. + * + * @param pem the PEM-formatted private key. + * + * @return the private key. + */ +pki.privateKeyFromPem = function(pem) { + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'PRIVATE KEY' && msg.type !== 'RSA PRIVATE KEY') { + var error = new Error('Could not convert private key from PEM; PEM ' + + 'header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert private key from PEM; PEM is encrypted.'); + } + + // convert DER to ASN.1 object + var obj = asn1.fromDer(msg.body); + + return pki.privateKeyFromAsn1(obj); +}; + +/** + * Converts an RSA private key to PEM format. + * + * @param key the private key. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted private key. + */ +pki.privateKeyToPem = function(key, maxline) { + // convert to ASN.1, then DER, then PEM-encode + var msg = { + type: 'RSA PRIVATE KEY', + body: asn1.toDer(pki.privateKeyToAsn1(key)).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + +/** + * Converts a PrivateKeyInfo to PEM format. + * + * @param pki the PrivateKeyInfo. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted private key. + */ +pki.privateKeyInfoToPem = function(pki, maxline) { + // convert to DER, then PEM-encode + var msg = { + type: 'PRIVATE KEY', + body: asn1.toDer(pki).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + + +/***/ }), + +/***/ 6861: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Prime number generation API. + * + * @author Dave Longley + * + * Copyright (c) 2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); +__nccwpck_require__(27052); +__nccwpck_require__(57821); + +(function() { + +// forge.prime already defined +if(forge.prime) { + module.exports = forge.prime; + return; +} + +/* PRIME API */ +var prime = module.exports = forge.prime = forge.prime || {}; + +var BigInteger = forge.jsbn.BigInteger; + +// primes are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29 +var GCD_30_DELTA = [6, 4, 2, 4, 2, 4, 6, 2]; +var THIRTY = new BigInteger(null); +THIRTY.fromInt(30); +var op_or = function(x, y) {return x|y;}; + +/** + * Generates a random probable prime with the given number of bits. + * + * Alternative algorithms can be specified by name as a string or as an + * object with custom options like so: + * + * { + * name: 'PRIMEINC', + * options: { + * maxBlockTime: , + * millerRabinTests: , + * workerScript: , + * workers: . + * workLoad: the size of the work load, ie: number of possible prime + * numbers for each web worker to check per work assignment, + * (default: 100). + * } + * } + * + * @param bits the number of bits for the prime number. + * @param options the options to use. + * [algorithm] the algorithm to use (default: 'PRIMEINC'). + * [prng] a custom crypto-secure pseudo-random number generator to use, + * that must define "getBytesSync". + * + * @return callback(err, num) called once the operation completes. + */ +prime.generateProbablePrime = function(bits, options, callback) { + if(typeof options === 'function') { + callback = options; + options = {}; + } + options = options || {}; + + // default to PRIMEINC algorithm + var algorithm = options.algorithm || 'PRIMEINC'; + if(typeof algorithm === 'string') { + algorithm = {name: algorithm}; + } + algorithm.options = algorithm.options || {}; + + // create prng with api that matches BigInteger secure random + var prng = options.prng || forge.random; + var rng = { + // x is an array to fill with bytes + nextBytes: function(x) { + var b = prng.getBytesSync(x.length); + for(var i = 0; i < x.length; ++i) { + x[i] = b.charCodeAt(i); + } + } + }; + + if(algorithm.name === 'PRIMEINC') { + return primeincFindPrime(bits, rng, algorithm.options, callback); + } + + throw new Error('Invalid prime generation algorithm: ' + algorithm.name); +}; + +function primeincFindPrime(bits, rng, options, callback) { + if('workers' in options) { + return primeincFindPrimeWithWorkers(bits, rng, options, callback); + } + return primeincFindPrimeWithoutWorkers(bits, rng, options, callback); +} + +function primeincFindPrimeWithoutWorkers(bits, rng, options, callback) { + // initialize random number + var num = generateRandom(bits, rng); + + /* Note: All primes are of the form 30k+i for i < 30 and gcd(30, i)=1. The + number we are given is always aligned at 30k + 1. Each time the number is + determined not to be prime we add to get to the next 'i', eg: if the number + was at 30k + 1 we add 6. */ + var deltaIdx = 0; + + // get required number of MR tests + var mrTests = getMillerRabinTests(num.bitLength()); + if('millerRabinTests' in options) { + mrTests = options.millerRabinTests; + } + + // find prime nearest to 'num' for maxBlockTime ms + // 10 ms gives 5ms of leeway for other calculations before dropping + // below 60fps (1000/60 == 16.67), but in reality, the number will + // likely be higher due to an 'atomic' big int modPow + var maxBlockTime = 10; + if('maxBlockTime' in options) { + maxBlockTime = options.maxBlockTime; + } + + _primeinc(num, bits, rng, deltaIdx, mrTests, maxBlockTime, callback); +} + +function _primeinc(num, bits, rng, deltaIdx, mrTests, maxBlockTime, callback) { + var start = +new Date(); + do { + // overflow, regenerate random number + if(num.bitLength() > bits) { + num = generateRandom(bits, rng); + } + // do primality test + if(num.isProbablePrime(mrTests)) { + return callback(null, num); + } + // get next potential prime + num.dAddOffset(GCD_30_DELTA[deltaIdx++ % 8], 0); + } while(maxBlockTime < 0 || (+new Date() - start < maxBlockTime)); + + // keep trying later + forge.util.setImmediate(function() { + _primeinc(num, bits, rng, deltaIdx, mrTests, maxBlockTime, callback); + }); +} + +// NOTE: This algorithm is indeterminate in nature because workers +// run in parallel looking at different segments of numbers. Even if this +// algorithm is run twice with the same input from a predictable RNG, it +// may produce different outputs. +function primeincFindPrimeWithWorkers(bits, rng, options, callback) { + // web workers unavailable + if(typeof Worker === 'undefined') { + return primeincFindPrimeWithoutWorkers(bits, rng, options, callback); + } + + // initialize random number + var num = generateRandom(bits, rng); + + // use web workers to generate keys + var numWorkers = options.workers; + var workLoad = options.workLoad || 100; + var range = workLoad * 30 / 8; + var workerScript = options.workerScript || 'forge/prime.worker.js'; + if(numWorkers === -1) { + return forge.util.estimateCores(function(err, cores) { + if(err) { + // default to 2 + cores = 2; + } + numWorkers = cores - 1; + generate(); + }); + } + generate(); + + function generate() { + // require at least 1 worker + numWorkers = Math.max(1, numWorkers); + + // TODO: consider optimizing by starting workers outside getPrime() ... + // note that in order to clean up they will have to be made internally + // asynchronous which may actually be slower + + // start workers immediately + var workers = []; + for(var i = 0; i < numWorkers; ++i) { + // FIXME: fix path or use blob URLs + workers[i] = new Worker(workerScript); + } + var running = numWorkers; + + // listen for requests from workers and assign ranges to find prime + for(var i = 0; i < numWorkers; ++i) { + workers[i].addEventListener('message', workerMessage); + } + + /* Note: The distribution of random numbers is unknown. Therefore, each + web worker is continuously allocated a range of numbers to check for a + random number until one is found. + + Every 30 numbers will be checked just 8 times, because prime numbers + have the form: + + 30k+i, for i < 30 and gcd(30, i)=1 (there are 8 values of i for this) + + Therefore, if we want a web worker to run N checks before asking for + a new range of numbers, each range must contain N*30/8 numbers. + + For 100 checks (workLoad), this is a range of 375. */ + + var found = false; + function workerMessage(e) { + // ignore message, prime already found + if(found) { + return; + } + + --running; + var data = e.data; + if(data.found) { + // terminate all workers + for(var i = 0; i < workers.length; ++i) { + workers[i].terminate(); + } + found = true; + return callback(null, new BigInteger(data.prime, 16)); + } + + // overflow, regenerate random number + if(num.bitLength() > bits) { + num = generateRandom(bits, rng); + } + + // assign new range to check + var hex = num.toString(16); + + // start prime search + e.target.postMessage({ + hex: hex, + workLoad: workLoad + }); + + num.dAddOffset(range, 0); + } + } +} + +/** + * Generates a random number using the given number of bits and RNG. + * + * @param bits the number of bits for the number. + * @param rng the random number generator to use. + * + * @return the random number. + */ +function generateRandom(bits, rng) { + var num = new BigInteger(bits, rng); + // force MSB set + var bits1 = bits - 1; + if(!num.testBit(bits1)) { + num.bitwiseTo(BigInteger.ONE.shiftLeft(bits1), op_or, num); + } + // align number on 30k+1 boundary + num.dAddOffset(31 - num.mod(THIRTY).byteValue(), 0); + return num; +} + +/** + * Returns the required number of Miller-Rabin tests to generate a + * prime with an error probability of (1/2)^80. + * + * See Handbook of Applied Cryptography Chapter 4, Table 4.4. + * + * @param bits the bit size. + * + * @return the required number of iterations. + */ +function getMillerRabinTests(bits) { + if(bits <= 100) return 27; + if(bits <= 150) return 18; + if(bits <= 200) return 15; + if(bits <= 250) return 12; + if(bits <= 300) return 9; + if(bits <= 350) return 8; + if(bits <= 400) return 7; + if(bits <= 500) return 6; + if(bits <= 600) return 5; + if(bits <= 800) return 4; + if(bits <= 1250) return 3; + return 2; +} + +})(); + + +/***/ }), + +/***/ 94467: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * A javascript implementation of a cryptographically-secure + * Pseudo Random Number Generator (PRNG). The Fortuna algorithm is followed + * here though the use of SHA-256 is not enforced; when generating an + * a PRNG context, the hashing algorithm and block cipher used for + * the generator are specified via a plugin. + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +var _crypto = null; +if(forge.util.isNodejs && !forge.options.usePureJavaScript && + !process.versions['node-webkit']) { + _crypto = __nccwpck_require__(6113); +} + +/* PRNG API */ +var prng = module.exports = forge.prng = forge.prng || {}; + +/** + * Creates a new PRNG context. + * + * A PRNG plugin must be passed in that will provide: + * + * 1. A function that initializes the key and seed of a PRNG context. It + * will be given a 16 byte key and a 16 byte seed. Any key expansion + * or transformation of the seed from a byte string into an array of + * integers (or similar) should be performed. + * 2. The cryptographic function used by the generator. It takes a key and + * a seed. + * 3. A seed increment function. It takes the seed and returns seed + 1. + * 4. An api to create a message digest. + * + * For an example, see random.js. + * + * @param plugin the PRNG plugin to use. + */ +prng.create = function(plugin) { + var ctx = { + plugin: plugin, + key: null, + seed: null, + time: null, + // number of reseeds so far + reseeds: 0, + // amount of data generated so far + generated: 0, + // no initial key bytes + keyBytes: '' + }; + + // create 32 entropy pools (each is a message digest) + var md = plugin.md; + var pools = new Array(32); + for(var i = 0; i < 32; ++i) { + pools[i] = md.create(); + } + ctx.pools = pools; + + // entropy pools are written to cyclically, starting at index 0 + ctx.pool = 0; + + /** + * Generates random bytes. The bytes may be generated synchronously or + * asynchronously. Web workers must use the asynchronous interface or + * else the behavior is undefined. + * + * @param count the number of random bytes to generate. + * @param [callback(err, bytes)] called once the operation completes. + * + * @return count random bytes as a string. + */ + ctx.generate = function(count, callback) { + // do synchronously + if(!callback) { + return ctx.generateSync(count); + } + + // simple generator using counter-based CBC + var cipher = ctx.plugin.cipher; + var increment = ctx.plugin.increment; + var formatKey = ctx.plugin.formatKey; + var formatSeed = ctx.plugin.formatSeed; + var b = forge.util.createBuffer(); + + // paranoid deviation from Fortuna: + // reset key for every request to protect previously + // generated random bytes should the key be discovered; + // there is no 100ms based reseeding because of this + // forced reseed for every `generate` call + ctx.key = null; + + generate(); + + function generate(err) { + if(err) { + return callback(err); + } + + // sufficient bytes generated + if(b.length() >= count) { + return callback(null, b.getBytes(count)); + } + + // if amount of data generated is greater than 1 MiB, trigger reseed + if(ctx.generated > 0xfffff) { + ctx.key = null; + } + + if(ctx.key === null) { + // prevent stack overflow + return forge.util.nextTick(function() { + _reseed(generate); + }); + } + + // generate the random bytes + var bytes = cipher(ctx.key, ctx.seed); + ctx.generated += bytes.length; + b.putBytes(bytes); + + // generate bytes for a new key and seed + ctx.key = formatKey(cipher(ctx.key, increment(ctx.seed))); + ctx.seed = formatSeed(cipher(ctx.key, ctx.seed)); + + forge.util.setImmediate(generate); + } + }; + + /** + * Generates random bytes synchronously. + * + * @param count the number of random bytes to generate. + * + * @return count random bytes as a string. + */ + ctx.generateSync = function(count) { + // simple generator using counter-based CBC + var cipher = ctx.plugin.cipher; + var increment = ctx.plugin.increment; + var formatKey = ctx.plugin.formatKey; + var formatSeed = ctx.plugin.formatSeed; + + // paranoid deviation from Fortuna: + // reset key for every request to protect previously + // generated random bytes should the key be discovered; + // there is no 100ms based reseeding because of this + // forced reseed for every `generateSync` call + ctx.key = null; + + var b = forge.util.createBuffer(); + while(b.length() < count) { + // if amount of data generated is greater than 1 MiB, trigger reseed + if(ctx.generated > 0xfffff) { + ctx.key = null; + } + + if(ctx.key === null) { + _reseedSync(); + } + + // generate the random bytes + var bytes = cipher(ctx.key, ctx.seed); + ctx.generated += bytes.length; + b.putBytes(bytes); + + // generate bytes for a new key and seed + ctx.key = formatKey(cipher(ctx.key, increment(ctx.seed))); + ctx.seed = formatSeed(cipher(ctx.key, ctx.seed)); + } + + return b.getBytes(count); + }; + + /** + * Private function that asynchronously reseeds a generator. + * + * @param callback(err) called once the operation completes. + */ + function _reseed(callback) { + if(ctx.pools[0].messageLength >= 32) { + _seed(); + return callback(); + } + // not enough seed data... + var needed = (32 - ctx.pools[0].messageLength) << 5; + ctx.seedFile(needed, function(err, bytes) { + if(err) { + return callback(err); + } + ctx.collect(bytes); + _seed(); + callback(); + }); + } + + /** + * Private function that synchronously reseeds a generator. + */ + function _reseedSync() { + if(ctx.pools[0].messageLength >= 32) { + return _seed(); + } + // not enough seed data... + var needed = (32 - ctx.pools[0].messageLength) << 5; + ctx.collect(ctx.seedFileSync(needed)); + _seed(); + } + + /** + * Private function that seeds a generator once enough bytes are available. + */ + function _seed() { + // update reseed count + ctx.reseeds = (ctx.reseeds === 0xffffffff) ? 0 : ctx.reseeds + 1; + + // goal is to update `key` via: + // key = hash(key + s) + // where 's' is all collected entropy from selected pools, then... + + // create a plugin-based message digest + var md = ctx.plugin.md.create(); + + // consume current key bytes + md.update(ctx.keyBytes); + + // digest the entropy of pools whose index k meet the + // condition 'n mod 2^k == 0' where n is the number of reseeds + var _2powK = 1; + for(var k = 0; k < 32; ++k) { + if(ctx.reseeds % _2powK === 0) { + md.update(ctx.pools[k].digest().getBytes()); + ctx.pools[k].start(); + } + _2powK = _2powK << 1; + } + + // get digest for key bytes + ctx.keyBytes = md.digest().getBytes(); + + // paranoid deviation from Fortuna: + // update `seed` via `seed = hash(key)` + // instead of initializing to zero once and only + // ever incrementing it + md.start(); + md.update(ctx.keyBytes); + var seedBytes = md.digest().getBytes(); + + // update state + ctx.key = ctx.plugin.formatKey(ctx.keyBytes); + ctx.seed = ctx.plugin.formatSeed(seedBytes); + ctx.generated = 0; + } + + /** + * The built-in default seedFile. This seedFile is used when entropy + * is needed immediately. + * + * @param needed the number of bytes that are needed. + * + * @return the random bytes. + */ + function defaultSeedFile(needed) { + // use window.crypto.getRandomValues strong source of entropy if available + var getRandomValues = null; + var globalScope = forge.util.globalScope; + var _crypto = globalScope.crypto || globalScope.msCrypto; + if(_crypto && _crypto.getRandomValues) { + getRandomValues = function(arr) { + return _crypto.getRandomValues(arr); + }; + } + + var b = forge.util.createBuffer(); + if(getRandomValues) { + while(b.length() < needed) { + // max byte length is 65536 before QuotaExceededError is thrown + // http://www.w3.org/TR/WebCryptoAPI/#RandomSource-method-getRandomValues + var count = Math.max(1, Math.min(needed - b.length(), 65536) / 4); + var entropy = new Uint32Array(Math.floor(count)); + try { + getRandomValues(entropy); + for(var i = 0; i < entropy.length; ++i) { + b.putInt32(entropy[i]); + } + } catch(e) { + /* only ignore QuotaExceededError */ + if(!(typeof QuotaExceededError !== 'undefined' && + e instanceof QuotaExceededError)) { + throw e; + } + } + } + } + + // be sad and add some weak random data + if(b.length() < needed) { + /* Draws from Park-Miller "minimal standard" 31 bit PRNG, + implemented with David G. Carta's optimization: with 32 bit math + and without division (Public Domain). */ + var hi, lo, next; + var seed = Math.floor(Math.random() * 0x010000); + while(b.length() < needed) { + lo = 16807 * (seed & 0xFFFF); + hi = 16807 * (seed >> 16); + lo += (hi & 0x7FFF) << 16; + lo += hi >> 15; + lo = (lo & 0x7FFFFFFF) + (lo >> 31); + seed = lo & 0xFFFFFFFF; + + // consume lower 3 bytes of seed + for(var i = 0; i < 3; ++i) { + // throw in more pseudo random + next = seed >>> (i << 3); + next ^= Math.floor(Math.random() * 0x0100); + b.putByte(String.fromCharCode(next & 0xFF)); + } + } + } + + return b.getBytes(needed); + } + // initialize seed file APIs + if(_crypto) { + // use nodejs async API + ctx.seedFile = function(needed, callback) { + _crypto.randomBytes(needed, function(err, bytes) { + if(err) { + return callback(err); + } + callback(null, bytes.toString()); + }); + }; + // use nodejs sync API + ctx.seedFileSync = function(needed) { + return _crypto.randomBytes(needed).toString(); + }; + } else { + ctx.seedFile = function(needed, callback) { + try { + callback(null, defaultSeedFile(needed)); + } catch(e) { + callback(e); + } + }; + ctx.seedFileSync = defaultSeedFile; + } + + /** + * Adds entropy to a prng ctx's accumulator. + * + * @param bytes the bytes of entropy as a string. + */ + ctx.collect = function(bytes) { + // iterate over pools distributing entropy cyclically + var count = bytes.length; + for(var i = 0; i < count; ++i) { + ctx.pools[ctx.pool].update(bytes.substr(i, 1)); + ctx.pool = (ctx.pool === 31) ? 0 : ctx.pool + 1; + } + }; + + /** + * Collects an integer of n bits. + * + * @param i the integer entropy. + * @param n the number of bits in the integer. + */ + ctx.collectInt = function(i, n) { + var bytes = ''; + for(var x = 0; x < n; x += 8) { + bytes += String.fromCharCode((i >> x) & 0xFF); + } + ctx.collect(bytes); + }; + + /** + * Registers a Web Worker to receive immediate entropy from the main thread. + * This method is required until Web Workers can access the native crypto + * API. This method should be called twice for each created worker, once in + * the main thread, and once in the worker itself. + * + * @param worker the worker to register. + */ + ctx.registerWorker = function(worker) { + // worker receives random bytes + if(worker === self) { + ctx.seedFile = function(needed, callback) { + function listener(e) { + var data = e.data; + if(data.forge && data.forge.prng) { + self.removeEventListener('message', listener); + callback(data.forge.prng.err, data.forge.prng.bytes); + } + } + self.addEventListener('message', listener); + self.postMessage({forge: {prng: {needed: needed}}}); + }; + } else { + // main thread sends random bytes upon request + var listener = function(e) { + var data = e.data; + if(data.forge && data.forge.prng) { + ctx.seedFile(data.forge.prng.needed, function(err, bytes) { + worker.postMessage({forge: {prng: {err: err, bytes: bytes}}}); + }); + } + }; + // TODO: do we need to remove the event listener when the worker dies? + worker.addEventListener('message', listener); + } + }; + + return ctx; +}; + + +/***/ }), + +/***/ 4376: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of PKCS#1 PSS signature padding. + * + * @author Stefan Siegl + * + * Copyright (c) 2012 Stefan Siegl + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(57821); +__nccwpck_require__(28339); + +// shortcut for PSS API +var pss = module.exports = forge.pss = forge.pss || {}; + +/** + * Creates a PSS signature scheme object. + * + * There are several ways to provide a salt for encoding: + * + * 1. Specify the saltLength only and the built-in PRNG will generate it. + * 2. Specify the saltLength and a custom PRNG with 'getBytesSync' defined that + * will be used. + * 3. Specify the salt itself as a forge.util.ByteBuffer. + * + * @param options the options to use: + * md the message digest object to use, a forge md instance. + * mgf the mask generation function to use, a forge mgf instance. + * [saltLength] the length of the salt in octets. + * [prng] the pseudo-random number generator to use to produce a salt. + * [salt] the salt to use when encoding. + * + * @return a signature scheme object. + */ +pss.create = function(options) { + // backwards compatibility w/legacy args: hash, mgf, sLen + if(arguments.length === 3) { + options = { + md: arguments[0], + mgf: arguments[1], + saltLength: arguments[2] + }; + } + + var hash = options.md; + var mgf = options.mgf; + var hLen = hash.digestLength; + + var salt_ = options.salt || null; + if(typeof salt_ === 'string') { + // assume binary-encoded string + salt_ = forge.util.createBuffer(salt_); + } + + var sLen; + if('saltLength' in options) { + sLen = options.saltLength; + } else if(salt_ !== null) { + sLen = salt_.length(); + } else { + throw new Error('Salt length not specified or specific salt not given.'); + } + + if(salt_ !== null && salt_.length() !== sLen) { + throw new Error('Given salt length does not match length of given salt.'); + } + + var prng = options.prng || forge.random; + + var pssobj = {}; + + /** + * Encodes a PSS signature. + * + * This function implements EMSA-PSS-ENCODE as per RFC 3447, section 9.1.1. + * + * @param md the message digest object with the hash to sign. + * @param modsBits the length of the RSA modulus in bits. + * + * @return the encoded message as a binary-encoded string of length + * ceil((modBits - 1) / 8). + */ + pssobj.encode = function(md, modBits) { + var i; + var emBits = modBits - 1; + var emLen = Math.ceil(emBits / 8); + + /* 2. Let mHash = Hash(M), an octet string of length hLen. */ + var mHash = md.digest().getBytes(); + + /* 3. If emLen < hLen + sLen + 2, output "encoding error" and stop. */ + if(emLen < hLen + sLen + 2) { + throw new Error('Message is too long to encrypt.'); + } + + /* 4. Generate a random octet string salt of length sLen; if sLen = 0, + * then salt is the empty string. */ + var salt; + if(salt_ === null) { + salt = prng.getBytesSync(sLen); + } else { + salt = salt_.bytes(); + } + + /* 5. Let M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt; */ + var m_ = new forge.util.ByteBuffer(); + m_.fillWithByte(0, 8); + m_.putBytes(mHash); + m_.putBytes(salt); + + /* 6. Let H = Hash(M'), an octet string of length hLen. */ + hash.start(); + hash.update(m_.getBytes()); + var h = hash.digest().getBytes(); + + /* 7. Generate an octet string PS consisting of emLen - sLen - hLen - 2 + * zero octets. The length of PS may be 0. */ + var ps = new forge.util.ByteBuffer(); + ps.fillWithByte(0, emLen - sLen - hLen - 2); + + /* 8. Let DB = PS || 0x01 || salt; DB is an octet string of length + * emLen - hLen - 1. */ + ps.putByte(0x01); + ps.putBytes(salt); + var db = ps.getBytes(); + + /* 9. Let dbMask = MGF(H, emLen - hLen - 1). */ + var maskLen = emLen - hLen - 1; + var dbMask = mgf.generate(h, maskLen); + + /* 10. Let maskedDB = DB \xor dbMask. */ + var maskedDB = ''; + for(i = 0; i < maskLen; i++) { + maskedDB += String.fromCharCode(db.charCodeAt(i) ^ dbMask.charCodeAt(i)); + } + + /* 11. Set the leftmost 8emLen - emBits bits of the leftmost octet in + * maskedDB to zero. */ + var mask = (0xFF00 >> (8 * emLen - emBits)) & 0xFF; + maskedDB = String.fromCharCode(maskedDB.charCodeAt(0) & ~mask) + + maskedDB.substr(1); + + /* 12. Let EM = maskedDB || H || 0xbc. + * 13. Output EM. */ + return maskedDB + h + String.fromCharCode(0xbc); + }; + + /** + * Verifies a PSS signature. + * + * This function implements EMSA-PSS-VERIFY as per RFC 3447, section 9.1.2. + * + * @param mHash the message digest hash, as a binary-encoded string, to + * compare against the signature. + * @param em the encoded message, as a binary-encoded string + * (RSA decryption result). + * @param modsBits the length of the RSA modulus in bits. + * + * @return true if the signature was verified, false if not. + */ + pssobj.verify = function(mHash, em, modBits) { + var i; + var emBits = modBits - 1; + var emLen = Math.ceil(emBits / 8); + + /* c. Convert the message representative m to an encoded message EM + * of length emLen = ceil((modBits - 1) / 8) octets, where modBits + * is the length in bits of the RSA modulus n */ + em = em.substr(-emLen); + + /* 3. If emLen < hLen + sLen + 2, output "inconsistent" and stop. */ + if(emLen < hLen + sLen + 2) { + throw new Error('Inconsistent parameters to PSS signature verification.'); + } + + /* 4. If the rightmost octet of EM does not have hexadecimal value + * 0xbc, output "inconsistent" and stop. */ + if(em.charCodeAt(emLen - 1) !== 0xbc) { + throw new Error('Encoded message does not end in 0xBC.'); + } + + /* 5. Let maskedDB be the leftmost emLen - hLen - 1 octets of EM, and + * let H be the next hLen octets. */ + var maskLen = emLen - hLen - 1; + var maskedDB = em.substr(0, maskLen); + var h = em.substr(maskLen, hLen); + + /* 6. If the leftmost 8emLen - emBits bits of the leftmost octet in + * maskedDB are not all equal to zero, output "inconsistent" and stop. */ + var mask = (0xFF00 >> (8 * emLen - emBits)) & 0xFF; + if((maskedDB.charCodeAt(0) & mask) !== 0) { + throw new Error('Bits beyond keysize not zero as expected.'); + } + + /* 7. Let dbMask = MGF(H, emLen - hLen - 1). */ + var dbMask = mgf.generate(h, maskLen); + + /* 8. Let DB = maskedDB \xor dbMask. */ + var db = ''; + for(i = 0; i < maskLen; i++) { + db += String.fromCharCode(maskedDB.charCodeAt(i) ^ dbMask.charCodeAt(i)); + } + + /* 9. Set the leftmost 8emLen - emBits bits of the leftmost octet + * in DB to zero. */ + db = String.fromCharCode(db.charCodeAt(0) & ~mask) + db.substr(1); + + /* 10. If the emLen - hLen - sLen - 2 leftmost octets of DB are not zero + * or if the octet at position emLen - hLen - sLen - 1 (the leftmost + * position is "position 1") does not have hexadecimal value 0x01, + * output "inconsistent" and stop. */ + var checkLen = emLen - hLen - sLen - 2; + for(i = 0; i < checkLen; i++) { + if(db.charCodeAt(i) !== 0x00) { + throw new Error('Leftmost octets not zero as expected'); + } + } + + if(db.charCodeAt(checkLen) !== 0x01) { + throw new Error('Inconsistent PSS signature, 0x01 marker not found'); + } + + /* 11. Let salt be the last sLen octets of DB. */ + var salt = db.substr(-sLen); + + /* 12. Let M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt */ + var m_ = new forge.util.ByteBuffer(); + m_.fillWithByte(0, 8); + m_.putBytes(mHash); + m_.putBytes(salt); + + /* 13. Let H' = Hash(M'), an octet string of length hLen. */ + hash.start(); + hash.update(m_.getBytes()); + var h_ = hash.digest().getBytes(); + + /* 14. If H = H', output "consistent." Otherwise, output "inconsistent." */ + return h === h_; + }; + + return pssobj; +}; + + +/***/ }), + +/***/ 57821: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * An API for getting cryptographically-secure random bytes. The bytes are + * generated using the Fortuna algorithm devised by Bruce Schneier and + * Niels Ferguson. + * + * Getting strong random bytes is not yet easy to do in javascript. The only + * truish random entropy that can be collected is from the mouse, keyboard, or + * from timing with respect to page loads, etc. This generator makes a poor + * attempt at providing random bytes when those sources haven't yet provided + * enough entropy to initially seed or to reseed the PRNG. + * + * @author Dave Longley + * + * Copyright (c) 2009-2014 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(44086); +__nccwpck_require__(94467); +__nccwpck_require__(28339); + +(function() { + +// forge.random already defined +if(forge.random && forge.random.getBytes) { + module.exports = forge.random; + return; +} + +(function(jQuery) { + +// the default prng plugin, uses AES-128 +var prng_aes = {}; +var _prng_aes_output = new Array(4); +var _prng_aes_buffer = forge.util.createBuffer(); +prng_aes.formatKey = function(key) { + // convert the key into 32-bit integers + var tmp = forge.util.createBuffer(key); + key = new Array(4); + key[0] = tmp.getInt32(); + key[1] = tmp.getInt32(); + key[2] = tmp.getInt32(); + key[3] = tmp.getInt32(); + + // return the expanded key + return forge.aes._expandKey(key, false); +}; +prng_aes.formatSeed = function(seed) { + // convert seed into 32-bit integers + var tmp = forge.util.createBuffer(seed); + seed = new Array(4); + seed[0] = tmp.getInt32(); + seed[1] = tmp.getInt32(); + seed[2] = tmp.getInt32(); + seed[3] = tmp.getInt32(); + return seed; +}; +prng_aes.cipher = function(key, seed) { + forge.aes._updateBlock(key, seed, _prng_aes_output, false); + _prng_aes_buffer.putInt32(_prng_aes_output[0]); + _prng_aes_buffer.putInt32(_prng_aes_output[1]); + _prng_aes_buffer.putInt32(_prng_aes_output[2]); + _prng_aes_buffer.putInt32(_prng_aes_output[3]); + return _prng_aes_buffer.getBytes(); +}; +prng_aes.increment = function(seed) { + // FIXME: do we care about carry or signed issues? + ++seed[3]; + return seed; +}; +prng_aes.md = forge.md.sha256; + +/** + * Creates a new PRNG. + */ +function spawnPrng() { + var ctx = forge.prng.create(prng_aes); + + /** + * Gets random bytes. If a native secure crypto API is unavailable, this + * method tries to make the bytes more unpredictable by drawing from data that + * can be collected from the user of the browser, eg: mouse movement. + * + * If a callback is given, this method will be called asynchronously. + * + * @param count the number of random bytes to get. + * @param [callback(err, bytes)] called once the operation completes. + * + * @return the random bytes in a string. + */ + ctx.getBytes = function(count, callback) { + return ctx.generate(count, callback); + }; + + /** + * Gets random bytes asynchronously. If a native secure crypto API is + * unavailable, this method tries to make the bytes more unpredictable by + * drawing from data that can be collected from the user of the browser, + * eg: mouse movement. + * + * @param count the number of random bytes to get. + * + * @return the random bytes in a string. + */ + ctx.getBytesSync = function(count) { + return ctx.generate(count); + }; + + return ctx; +} + +// create default prng context +var _ctx = spawnPrng(); + +// add other sources of entropy only if window.crypto.getRandomValues is not +// available -- otherwise this source will be automatically used by the prng +var getRandomValues = null; +var globalScope = forge.util.globalScope; +var _crypto = globalScope.crypto || globalScope.msCrypto; +if(_crypto && _crypto.getRandomValues) { + getRandomValues = function(arr) { + return _crypto.getRandomValues(arr); + }; +} + +if(forge.options.usePureJavaScript || + (!forge.util.isNodejs && !getRandomValues)) { + // if this is a web worker, do not use weak entropy, instead register to + // receive strong entropy asynchronously from the main thread + if(typeof window === 'undefined' || window.document === undefined) { + // FIXME: + } + + // get load time entropy + _ctx.collectInt(+new Date(), 32); + + // add some entropy from navigator object + if(typeof(navigator) !== 'undefined') { + var _navBytes = ''; + for(var key in navigator) { + try { + if(typeof(navigator[key]) == 'string') { + _navBytes += navigator[key]; + } + } catch(e) { + /* Some navigator keys might not be accessible, e.g. the geolocation + attribute throws an exception if touched in Mozilla chrome:// + context. + + Silently ignore this and just don't use this as a source of + entropy. */ + } + } + _ctx.collect(_navBytes); + _navBytes = null; + } + + // add mouse and keyboard collectors if jquery is available + if(jQuery) { + // set up mouse entropy capture + jQuery().mousemove(function(e) { + // add mouse coords + _ctx.collectInt(e.clientX, 16); + _ctx.collectInt(e.clientY, 16); + }); + + // set up keyboard entropy capture + jQuery().keypress(function(e) { + _ctx.collectInt(e.charCode, 8); + }); + } +} + +/* Random API */ +if(!forge.random) { + forge.random = _ctx; +} else { + // extend forge.random with _ctx + for(var key in _ctx) { + forge.random[key] = _ctx[key]; + } +} + +// expose spawn PRNG +forge.random.createInstance = spawnPrng; + +module.exports = forge.random; + +})(typeof(jQuery) !== 'undefined' ? jQuery : null); + +})(); + + +/***/ }), + +/***/ 39965: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * RC2 implementation. + * + * @author Stefan Siegl + * + * Copyright (c) 2012 Stefan Siegl + * + * Information on the RC2 cipher is available from RFC #2268, + * http://www.ietf.org/rfc/rfc2268.txt + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(28339); + +var piTable = [ + 0xd9, 0x78, 0xf9, 0xc4, 0x19, 0xdd, 0xb5, 0xed, 0x28, 0xe9, 0xfd, 0x79, 0x4a, 0xa0, 0xd8, 0x9d, + 0xc6, 0x7e, 0x37, 0x83, 0x2b, 0x76, 0x53, 0x8e, 0x62, 0x4c, 0x64, 0x88, 0x44, 0x8b, 0xfb, 0xa2, + 0x17, 0x9a, 0x59, 0xf5, 0x87, 0xb3, 0x4f, 0x13, 0x61, 0x45, 0x6d, 0x8d, 0x09, 0x81, 0x7d, 0x32, + 0xbd, 0x8f, 0x40, 0xeb, 0x86, 0xb7, 0x7b, 0x0b, 0xf0, 0x95, 0x21, 0x22, 0x5c, 0x6b, 0x4e, 0x82, + 0x54, 0xd6, 0x65, 0x93, 0xce, 0x60, 0xb2, 0x1c, 0x73, 0x56, 0xc0, 0x14, 0xa7, 0x8c, 0xf1, 0xdc, + 0x12, 0x75, 0xca, 0x1f, 0x3b, 0xbe, 0xe4, 0xd1, 0x42, 0x3d, 0xd4, 0x30, 0xa3, 0x3c, 0xb6, 0x26, + 0x6f, 0xbf, 0x0e, 0xda, 0x46, 0x69, 0x07, 0x57, 0x27, 0xf2, 0x1d, 0x9b, 0xbc, 0x94, 0x43, 0x03, + 0xf8, 0x11, 0xc7, 0xf6, 0x90, 0xef, 0x3e, 0xe7, 0x06, 0xc3, 0xd5, 0x2f, 0xc8, 0x66, 0x1e, 0xd7, + 0x08, 0xe8, 0xea, 0xde, 0x80, 0x52, 0xee, 0xf7, 0x84, 0xaa, 0x72, 0xac, 0x35, 0x4d, 0x6a, 0x2a, + 0x96, 0x1a, 0xd2, 0x71, 0x5a, 0x15, 0x49, 0x74, 0x4b, 0x9f, 0xd0, 0x5e, 0x04, 0x18, 0xa4, 0xec, + 0xc2, 0xe0, 0x41, 0x6e, 0x0f, 0x51, 0xcb, 0xcc, 0x24, 0x91, 0xaf, 0x50, 0xa1, 0xf4, 0x70, 0x39, + 0x99, 0x7c, 0x3a, 0x85, 0x23, 0xb8, 0xb4, 0x7a, 0xfc, 0x02, 0x36, 0x5b, 0x25, 0x55, 0x97, 0x31, + 0x2d, 0x5d, 0xfa, 0x98, 0xe3, 0x8a, 0x92, 0xae, 0x05, 0xdf, 0x29, 0x10, 0x67, 0x6c, 0xba, 0xc9, + 0xd3, 0x00, 0xe6, 0xcf, 0xe1, 0x9e, 0xa8, 0x2c, 0x63, 0x16, 0x01, 0x3f, 0x58, 0xe2, 0x89, 0xa9, + 0x0d, 0x38, 0x34, 0x1b, 0xab, 0x33, 0xff, 0xb0, 0xbb, 0x48, 0x0c, 0x5f, 0xb9, 0xb1, 0xcd, 0x2e, + 0xc5, 0xf3, 0xdb, 0x47, 0xe5, 0xa5, 0x9c, 0x77, 0x0a, 0xa6, 0x20, 0x68, 0xfe, 0x7f, 0xc1, 0xad +]; + +var s = [1, 2, 3, 5]; + +/** + * Rotate a word left by given number of bits. + * + * Bits that are shifted out on the left are put back in on the right + * hand side. + * + * @param word The word to shift left. + * @param bits The number of bits to shift by. + * @return The rotated word. + */ +var rol = function(word, bits) { + return ((word << bits) & 0xffff) | ((word & 0xffff) >> (16 - bits)); +}; + +/** + * Rotate a word right by given number of bits. + * + * Bits that are shifted out on the right are put back in on the left + * hand side. + * + * @param word The word to shift right. + * @param bits The number of bits to shift by. + * @return The rotated word. + */ +var ror = function(word, bits) { + return ((word & 0xffff) >> bits) | ((word << (16 - bits)) & 0xffff); +}; + +/* RC2 API */ +module.exports = forge.rc2 = forge.rc2 || {}; + +/** + * Perform RC2 key expansion as per RFC #2268, section 2. + * + * @param key variable-length user key (between 1 and 128 bytes) + * @param effKeyBits number of effective key bits (default: 128) + * @return the expanded RC2 key (ByteBuffer of 128 bytes) + */ +forge.rc2.expandKey = function(key, effKeyBits) { + if(typeof key === 'string') { + key = forge.util.createBuffer(key); + } + effKeyBits = effKeyBits || 128; + + /* introduce variables that match the names used in RFC #2268 */ + var L = key; + var T = key.length(); + var T1 = effKeyBits; + var T8 = Math.ceil(T1 / 8); + var TM = 0xff >> (T1 & 0x07); + var i; + + for(i = T; i < 128; i++) { + L.putByte(piTable[(L.at(i - 1) + L.at(i - T)) & 0xff]); + } + + L.setAt(128 - T8, piTable[L.at(128 - T8) & TM]); + + for(i = 127 - T8; i >= 0; i--) { + L.setAt(i, piTable[L.at(i + 1) ^ L.at(i + T8)]); + } + + return L; +}; + +/** + * Creates a RC2 cipher object. + * + * @param key the symmetric key to use (as base for key generation). + * @param bits the number of effective key bits. + * @param encrypt false for decryption, true for encryption. + * + * @return the cipher. + */ +var createCipher = function(key, bits, encrypt) { + var _finish = false, _input = null, _output = null, _iv = null; + var mixRound, mashRound; + var i, j, K = []; + + /* Expand key and fill into K[] Array */ + key = forge.rc2.expandKey(key, bits); + for(i = 0; i < 64; i++) { + K.push(key.getInt16Le()); + } + + if(encrypt) { + /** + * Perform one mixing round "in place". + * + * @param R Array of four words to perform mixing on. + */ + mixRound = function(R) { + for(i = 0; i < 4; i++) { + R[i] += K[j] + (R[(i + 3) % 4] & R[(i + 2) % 4]) + + ((~R[(i + 3) % 4]) & R[(i + 1) % 4]); + R[i] = rol(R[i], s[i]); + j++; + } + }; + + /** + * Perform one mashing round "in place". + * + * @param R Array of four words to perform mashing on. + */ + mashRound = function(R) { + for(i = 0; i < 4; i++) { + R[i] += K[R[(i + 3) % 4] & 63]; + } + }; + } else { + /** + * Perform one r-mixing round "in place". + * + * @param R Array of four words to perform mixing on. + */ + mixRound = function(R) { + for(i = 3; i >= 0; i--) { + R[i] = ror(R[i], s[i]); + R[i] -= K[j] + (R[(i + 3) % 4] & R[(i + 2) % 4]) + + ((~R[(i + 3) % 4]) & R[(i + 1) % 4]); + j--; + } + }; + + /** + * Perform one r-mashing round "in place". + * + * @param R Array of four words to perform mashing on. + */ + mashRound = function(R) { + for(i = 3; i >= 0; i--) { + R[i] -= K[R[(i + 3) % 4] & 63]; + } + }; + } + + /** + * Run the specified cipher execution plan. + * + * This function takes four words from the input buffer, applies the IV on + * it (if requested) and runs the provided execution plan. + * + * The plan must be put together in form of a array of arrays. Where the + * outer one is simply a list of steps to perform and the inner one needs + * to have two elements: the first one telling how many rounds to perform, + * the second one telling what to do (i.e. the function to call). + * + * @param {Array} plan The plan to execute. + */ + var runPlan = function(plan) { + var R = []; + + /* Get data from input buffer and fill the four words into R */ + for(i = 0; i < 4; i++) { + var val = _input.getInt16Le(); + + if(_iv !== null) { + if(encrypt) { + /* We're encrypting, apply the IV first. */ + val ^= _iv.getInt16Le(); + } else { + /* We're decryption, keep cipher text for next block. */ + _iv.putInt16Le(val); + } + } + + R.push(val & 0xffff); + } + + /* Reset global "j" variable as per spec. */ + j = encrypt ? 0 : 63; + + /* Run execution plan. */ + for(var ptr = 0; ptr < plan.length; ptr++) { + for(var ctr = 0; ctr < plan[ptr][0]; ctr++) { + plan[ptr][1](R); + } + } + + /* Write back result to output buffer. */ + for(i = 0; i < 4; i++) { + if(_iv !== null) { + if(encrypt) { + /* We're encrypting in CBC-mode, feed back encrypted bytes into + IV buffer to carry it forward to next block. */ + _iv.putInt16Le(R[i]); + } else { + R[i] ^= _iv.getInt16Le(); + } + } + + _output.putInt16Le(R[i]); + } + }; + + /* Create cipher object */ + var cipher = null; + cipher = { + /** + * Starts or restarts the encryption or decryption process, whichever + * was previously configured. + * + * To use the cipher in CBC mode, iv may be given either as a string + * of bytes, or as a byte buffer. For ECB mode, give null as iv. + * + * @param iv the initialization vector to use, null for ECB mode. + * @param output the output the buffer to write to, null to create one. + */ + start: function(iv, output) { + if(iv) { + /* CBC mode */ + if(typeof iv === 'string') { + iv = forge.util.createBuffer(iv); + } + } + + _finish = false; + _input = forge.util.createBuffer(); + _output = output || new forge.util.createBuffer(); + _iv = iv; + + cipher.output = _output; + }, + + /** + * Updates the next block. + * + * @param input the buffer to read from. + */ + update: function(input) { + if(!_finish) { + // not finishing, so fill the input buffer with more input + _input.putBuffer(input); + } + + while(_input.length() >= 8) { + runPlan([ + [ 5, mixRound ], + [ 1, mashRound ], + [ 6, mixRound ], + [ 1, mashRound ], + [ 5, mixRound ] + ]); + } + }, + + /** + * Finishes encrypting or decrypting. + * + * @param pad a padding function to use, null for PKCS#7 padding, + * signature(blockSize, buffer, decrypt). + * + * @return true if successful, false on error. + */ + finish: function(pad) { + var rval = true; + + if(encrypt) { + if(pad) { + rval = pad(8, _input, !encrypt); + } else { + // add PKCS#7 padding to block (each pad byte is the + // value of the number of pad bytes) + var padding = (_input.length() === 8) ? 8 : (8 - _input.length()); + _input.fillWithByte(padding, padding); + } + } + + if(rval) { + // do final update + _finish = true; + cipher.update(); + } + + if(!encrypt) { + // check for error: input data not a multiple of block size + rval = (_input.length() === 0); + if(rval) { + if(pad) { + rval = pad(8, _output, !encrypt); + } else { + // ensure padding byte count is valid + var len = _output.length(); + var count = _output.at(len - 1); + + if(count > len) { + rval = false; + } else { + // trim off padding bytes + _output.truncate(count); + } + } + } + } + + return rval; + } + }; + + return cipher; +}; + +/** + * Creates an RC2 cipher object to encrypt data in ECB or CBC mode using the + * given symmetric key. The output will be stored in the 'output' member + * of the returned cipher. + * + * The key and iv may be given as a string of bytes or a byte buffer. + * The cipher is initialized to use 128 effective key bits. + * + * @param key the symmetric key to use. + * @param iv the initialization vector to use. + * @param output the buffer to write to, null to create one. + * + * @return the cipher. + */ +forge.rc2.startEncrypting = function(key, iv, output) { + var cipher = forge.rc2.createEncryptionCipher(key, 128); + cipher.start(iv, output); + return cipher; +}; + +/** + * Creates an RC2 cipher object to encrypt data in ECB or CBC mode using the + * given symmetric key. + * + * The key may be given as a string of bytes or a byte buffer. + * + * To start encrypting call start() on the cipher with an iv and optional + * output buffer. + * + * @param key the symmetric key to use. + * + * @return the cipher. + */ +forge.rc2.createEncryptionCipher = function(key, bits) { + return createCipher(key, bits, true); +}; + +/** + * Creates an RC2 cipher object to decrypt data in ECB or CBC mode using the + * given symmetric key. The output will be stored in the 'output' member + * of the returned cipher. + * + * The key and iv may be given as a string of bytes or a byte buffer. + * The cipher is initialized to use 128 effective key bits. + * + * @param key the symmetric key to use. + * @param iv the initialization vector to use. + * @param output the buffer to write to, null to create one. + * + * @return the cipher. + */ +forge.rc2.startDecrypting = function(key, iv, output) { + var cipher = forge.rc2.createDecryptionCipher(key, 128); + cipher.start(iv, output); + return cipher; +}; + +/** + * Creates an RC2 cipher object to decrypt data in ECB or CBC mode using the + * given symmetric key. + * + * The key may be given as a string of bytes or a byte buffer. + * + * To start decrypting call start() on the cipher with an iv and optional + * output buffer. + * + * @param key the symmetric key to use. + * + * @return the cipher. + */ +forge.rc2.createDecryptionCipher = function(key, bits) { + return createCipher(key, bits, false); +}; + + +/***/ }), + +/***/ 53921: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of basic RSA algorithms. + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + * + * The only algorithm currently supported for PKI is RSA. + * + * An RSA key is often stored in ASN.1 DER format. The SubjectPublicKeyInfo + * ASN.1 structure is composed of an algorithm of type AlgorithmIdentifier + * and a subjectPublicKey of type bit string. + * + * The AlgorithmIdentifier contains an Object Identifier (OID) and parameters + * for the algorithm, if any. In the case of RSA, there aren't any. + * + * SubjectPublicKeyInfo ::= SEQUENCE { + * algorithm AlgorithmIdentifier, + * subjectPublicKey BIT STRING + * } + * + * AlgorithmIdentifer ::= SEQUENCE { + * algorithm OBJECT IDENTIFIER, + * parameters ANY DEFINED BY algorithm OPTIONAL + * } + * + * For an RSA public key, the subjectPublicKey is: + * + * RSAPublicKey ::= SEQUENCE { + * modulus INTEGER, -- n + * publicExponent INTEGER -- e + * } + * + * PrivateKeyInfo ::= SEQUENCE { + * version Version, + * privateKeyAlgorithm PrivateKeyAlgorithmIdentifier, + * privateKey PrivateKey, + * attributes [0] IMPLICIT Attributes OPTIONAL + * } + * + * Version ::= INTEGER + * PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier + * PrivateKey ::= OCTET STRING + * Attributes ::= SET OF Attribute + * + * An RSA private key as the following structure: + * + * RSAPrivateKey ::= SEQUENCE { + * version Version, + * modulus INTEGER, -- n + * publicExponent INTEGER, -- e + * privateExponent INTEGER, -- d + * prime1 INTEGER, -- p + * prime2 INTEGER, -- q + * exponent1 INTEGER, -- d mod (p-1) + * exponent2 INTEGER, -- d mod (q-1) + * coefficient INTEGER -- (inverse of q) mod p + * } + * + * Version ::= INTEGER + * + * The OID for the RSA key algorithm is: 1.2.840.113549.1.1.1 + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(39549); +__nccwpck_require__(27052); +__nccwpck_require__(81925); +__nccwpck_require__(57014); +__nccwpck_require__(6861); +__nccwpck_require__(57821); +__nccwpck_require__(28339); + +if(typeof BigInteger === 'undefined') { + var BigInteger = forge.jsbn.BigInteger; +} + +var _crypto = forge.util.isNodejs ? __nccwpck_require__(6113) : null; + +// shortcut for asn.1 API +var asn1 = forge.asn1; + +// shortcut for util API +var util = forge.util; + +/* + * RSA encryption and decryption, see RFC 2313. + */ +forge.pki = forge.pki || {}; +module.exports = forge.pki.rsa = forge.rsa = forge.rsa || {}; +var pki = forge.pki; + +// for finding primes, which are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29 +var GCD_30_DELTA = [6, 4, 2, 4, 2, 4, 6, 2]; + +// validator for a PrivateKeyInfo structure +var privateKeyValidator = { + // PrivateKeyInfo + name: 'PrivateKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + // Version (INTEGER) + name: 'PrivateKeyInfo.version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyVersion' + }, { + // privateKeyAlgorithm + name: 'PrivateKeyInfo.privateKeyAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'privateKeyOid' + }] + }, { + // PrivateKey + name: 'PrivateKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OCTETSTRING, + constructed: false, + capture: 'privateKey' + }] +}; + +// validator for an RSA private key +var rsaPrivateKeyValidator = { + // RSAPrivateKey + name: 'RSAPrivateKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + // Version (INTEGER) + name: 'RSAPrivateKey.version', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyVersion' + }, { + // modulus (n) + name: 'RSAPrivateKey.modulus', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyModulus' + }, { + // publicExponent (e) + name: 'RSAPrivateKey.publicExponent', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyPublicExponent' + }, { + // privateExponent (d) + name: 'RSAPrivateKey.privateExponent', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyPrivateExponent' + }, { + // prime1 (p) + name: 'RSAPrivateKey.prime1', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyPrime1' + }, { + // prime2 (q) + name: 'RSAPrivateKey.prime2', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyPrime2' + }, { + // exponent1 (d mod (p-1)) + name: 'RSAPrivateKey.exponent1', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyExponent1' + }, { + // exponent2 (d mod (q-1)) + name: 'RSAPrivateKey.exponent2', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyExponent2' + }, { + // coefficient ((inverse of q) mod p) + name: 'RSAPrivateKey.coefficient', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'privateKeyCoefficient' + }] +}; + +// validator for an RSA public key +var rsaPublicKeyValidator = { + // RSAPublicKey + name: 'RSAPublicKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + // modulus (n) + name: 'RSAPublicKey.modulus', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'publicKeyModulus' + }, { + // publicExponent (e) + name: 'RSAPublicKey.exponent', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'publicKeyExponent' + }] +}; + +// validator for an SubjectPublicKeyInfo structure +// Note: Currently only works with an RSA public key +var publicKeyValidator = forge.pki.rsa.publicKeyValidator = { + name: 'SubjectPublicKeyInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'subjectPublicKeyInfo', + value: [{ + name: 'SubjectPublicKeyInfo.AlgorithmIdentifier', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'publicKeyOid' + }] + }, { + // subjectPublicKey + name: 'SubjectPublicKeyInfo.subjectPublicKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + value: [{ + // RSAPublicKey + name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + optional: true, + captureAsn1: 'rsaPublicKey' + }] + }] +}; + +/** + * Wrap digest in DigestInfo object. + * + * This function implements EMSA-PKCS1-v1_5-ENCODE as per RFC 3447. + * + * DigestInfo ::= SEQUENCE { + * digestAlgorithm DigestAlgorithmIdentifier, + * digest Digest + * } + * + * DigestAlgorithmIdentifier ::= AlgorithmIdentifier + * Digest ::= OCTET STRING + * + * @param md the message digest object with the hash to sign. + * + * @return the encoded message (ready for RSA encrytion) + */ +var emsaPkcs1v15encode = function(md) { + // get the oid for the algorithm + var oid; + if(md.algorithm in pki.oids) { + oid = pki.oids[md.algorithm]; + } else { + var error = new Error('Unknown message digest algorithm.'); + error.algorithm = md.algorithm; + throw error; + } + var oidBytes = asn1.oidToDer(oid).getBytes(); + + // create the digest info + var digestInfo = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + var digestAlgorithm = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + digestAlgorithm.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OID, false, oidBytes)); + digestAlgorithm.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')); + var digest = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, + false, md.digest().getBytes()); + digestInfo.value.push(digestAlgorithm); + digestInfo.value.push(digest); + + // encode digest info + return asn1.toDer(digestInfo).getBytes(); +}; + +/** + * Performs x^c mod n (RSA encryption or decryption operation). + * + * @param x the number to raise and mod. + * @param key the key to use. + * @param pub true if the key is public, false if private. + * + * @return the result of x^c mod n. + */ +var _modPow = function(x, key, pub) { + if(pub) { + return x.modPow(key.e, key.n); + } + + if(!key.p || !key.q) { + // allow calculation without CRT params (slow) + return x.modPow(key.d, key.n); + } + + // pre-compute dP, dQ, and qInv if necessary + if(!key.dP) { + key.dP = key.d.mod(key.p.subtract(BigInteger.ONE)); + } + if(!key.dQ) { + key.dQ = key.d.mod(key.q.subtract(BigInteger.ONE)); + } + if(!key.qInv) { + key.qInv = key.q.modInverse(key.p); + } + + /* Chinese remainder theorem (CRT) states: + + Suppose n1, n2, ..., nk are positive integers which are pairwise + coprime (n1 and n2 have no common factors other than 1). For any + integers x1, x2, ..., xk there exists an integer x solving the + system of simultaneous congruences (where ~= means modularly + congruent so a ~= b mod n means a mod n = b mod n): + + x ~= x1 mod n1 + x ~= x2 mod n2 + ... + x ~= xk mod nk + + This system of congruences has a single simultaneous solution x + between 0 and n - 1. Furthermore, each xk solution and x itself + is congruent modulo the product n = n1*n2*...*nk. + So x1 mod n = x2 mod n = xk mod n = x mod n. + + The single simultaneous solution x can be solved with the following + equation: + + x = sum(xi*ri*si) mod n where ri = n/ni and si = ri^-1 mod ni. + + Where x is less than n, xi = x mod ni. + + For RSA we are only concerned with k = 2. The modulus n = pq, where + p and q are coprime. The RSA decryption algorithm is: + + y = x^d mod n + + Given the above: + + x1 = x^d mod p + r1 = n/p = q + s1 = q^-1 mod p + x2 = x^d mod q + r2 = n/q = p + s2 = p^-1 mod q + + So y = (x1r1s1 + x2r2s2) mod n + = ((x^d mod p)q(q^-1 mod p) + (x^d mod q)p(p^-1 mod q)) mod n + + According to Fermat's Little Theorem, if the modulus P is prime, + for any integer A not evenly divisible by P, A^(P-1) ~= 1 mod P. + Since A is not divisible by P it follows that if: + N ~= M mod (P - 1), then A^N mod P = A^M mod P. Therefore: + + A^N mod P = A^(M mod (P - 1)) mod P. (The latter takes less effort + to calculate). In order to calculate x^d mod p more quickly the + exponent d mod (p - 1) is stored in the RSA private key (the same + is done for x^d mod q). These values are referred to as dP and dQ + respectively. Therefore we now have: + + y = ((x^dP mod p)q(q^-1 mod p) + (x^dQ mod q)p(p^-1 mod q)) mod n + + Since we'll be reducing x^dP by modulo p (same for q) we can also + reduce x by p (and q respectively) before hand. Therefore, let + + xp = ((x mod p)^dP mod p), and + xq = ((x mod q)^dQ mod q), yielding: + + y = (xp*q*(q^-1 mod p) + xq*p*(p^-1 mod q)) mod n + + This can be further reduced to a simple algorithm that only + requires 1 inverse (the q inverse is used) to be used and stored. + The algorithm is called Garner's algorithm. If qInv is the + inverse of q, we simply calculate: + + y = (qInv*(xp - xq) mod p) * q + xq + + However, there are two further complications. First, we need to + ensure that xp > xq to prevent signed BigIntegers from being used + so we add p until this is true (since we will be mod'ing with + p anyway). Then, there is a known timing attack on algorithms + using the CRT. To mitigate this risk, "cryptographic blinding" + should be used. This requires simply generating a random number r + between 0 and n-1 and its inverse and multiplying x by r^e before + calculating y and then multiplying y by r^-1 afterwards. Note that + r must be coprime with n (gcd(r, n) === 1) in order to have an + inverse. + */ + + // cryptographic blinding + var r; + do { + r = new BigInteger( + forge.util.bytesToHex(forge.random.getBytes(key.n.bitLength() / 8)), + 16); + } while(r.compareTo(key.n) >= 0 || !r.gcd(key.n).equals(BigInteger.ONE)); + x = x.multiply(r.modPow(key.e, key.n)).mod(key.n); + + // calculate xp and xq + var xp = x.mod(key.p).modPow(key.dP, key.p); + var xq = x.mod(key.q).modPow(key.dQ, key.q); + + // xp must be larger than xq to avoid signed bit usage + while(xp.compareTo(xq) < 0) { + xp = xp.add(key.p); + } + + // do last step + var y = xp.subtract(xq) + .multiply(key.qInv).mod(key.p) + .multiply(key.q).add(xq); + + // remove effect of random for cryptographic blinding + y = y.multiply(r.modInverse(key.n)).mod(key.n); + + return y; +}; + +/** + * NOTE: THIS METHOD IS DEPRECATED, use 'sign' on a private key object or + * 'encrypt' on a public key object instead. + * + * Performs RSA encryption. + * + * The parameter bt controls whether to put padding bytes before the + * message passed in. Set bt to either true or false to disable padding + * completely (in order to handle e.g. EMSA-PSS encoding seperately before), + * signaling whether the encryption operation is a public key operation + * (i.e. encrypting data) or not, i.e. private key operation (data signing). + * + * For PKCS#1 v1.5 padding pass in the block type to use, i.e. either 0x01 + * (for signing) or 0x02 (for encryption). The key operation mode (private + * or public) is derived from this flag in that case). + * + * @param m the message to encrypt as a byte string. + * @param key the RSA key to use. + * @param bt for PKCS#1 v1.5 padding, the block type to use + * (0x01 for private key, 0x02 for public), + * to disable padding: true = public key, false = private key. + * + * @return the encrypted bytes as a string. + */ +pki.rsa.encrypt = function(m, key, bt) { + var pub = bt; + var eb; + + // get the length of the modulus in bytes + var k = Math.ceil(key.n.bitLength() / 8); + + if(bt !== false && bt !== true) { + // legacy, default to PKCS#1 v1.5 padding + pub = (bt === 0x02); + eb = _encodePkcs1_v1_5(m, key, bt); + } else { + eb = forge.util.createBuffer(); + eb.putBytes(m); + } + + // load encryption block as big integer 'x' + // FIXME: hex conversion inefficient, get BigInteger w/byte strings + var x = new BigInteger(eb.toHex(), 16); + + // do RSA encryption + var y = _modPow(x, key, pub); + + // convert y into the encrypted data byte string, if y is shorter in + // bytes than k, then prepend zero bytes to fill up ed + // FIXME: hex conversion inefficient, get BigInteger w/byte strings + var yhex = y.toString(16); + var ed = forge.util.createBuffer(); + var zeros = k - Math.ceil(yhex.length / 2); + while(zeros > 0) { + ed.putByte(0x00); + --zeros; + } + ed.putBytes(forge.util.hexToBytes(yhex)); + return ed.getBytes(); +}; + +/** + * NOTE: THIS METHOD IS DEPRECATED, use 'decrypt' on a private key object or + * 'verify' on a public key object instead. + * + * Performs RSA decryption. + * + * The parameter ml controls whether to apply PKCS#1 v1.5 padding + * or not. Set ml = false to disable padding removal completely + * (in order to handle e.g. EMSA-PSS later on) and simply pass back + * the RSA encryption block. + * + * @param ed the encrypted data to decrypt in as a byte string. + * @param key the RSA key to use. + * @param pub true for a public key operation, false for private. + * @param ml the message length, if known, false to disable padding. + * + * @return the decrypted message as a byte string. + */ +pki.rsa.decrypt = function(ed, key, pub, ml) { + // get the length of the modulus in bytes + var k = Math.ceil(key.n.bitLength() / 8); + + // error if the length of the encrypted data ED is not k + if(ed.length !== k) { + var error = new Error('Encrypted message length is invalid.'); + error.length = ed.length; + error.expected = k; + throw error; + } + + // convert encrypted data into a big integer + // FIXME: hex conversion inefficient, get BigInteger w/byte strings + var y = new BigInteger(forge.util.createBuffer(ed).toHex(), 16); + + // y must be less than the modulus or it wasn't the result of + // a previous mod operation (encryption) using that modulus + if(y.compareTo(key.n) >= 0) { + throw new Error('Encrypted message is invalid.'); + } + + // do RSA decryption + var x = _modPow(y, key, pub); + + // create the encryption block, if x is shorter in bytes than k, then + // prepend zero bytes to fill up eb + // FIXME: hex conversion inefficient, get BigInteger w/byte strings + var xhex = x.toString(16); + var eb = forge.util.createBuffer(); + var zeros = k - Math.ceil(xhex.length / 2); + while(zeros > 0) { + eb.putByte(0x00); + --zeros; + } + eb.putBytes(forge.util.hexToBytes(xhex)); + + if(ml !== false) { + // legacy, default to PKCS#1 v1.5 padding + return _decodePkcs1_v1_5(eb.getBytes(), key, pub); + } + + // return message + return eb.getBytes(); +}; + +/** + * Creates an RSA key-pair generation state object. It is used to allow + * key-generation to be performed in steps. It also allows for a UI to + * display progress updates. + * + * @param bits the size for the private key in bits, defaults to 2048. + * @param e the public exponent to use, defaults to 65537 (0x10001). + * @param [options] the options to use. + * prng a custom crypto-secure pseudo-random number generator to use, + * that must define "getBytesSync". + * algorithm the algorithm to use (default: 'PRIMEINC'). + * + * @return the state object to use to generate the key-pair. + */ +pki.rsa.createKeyPairGenerationState = function(bits, e, options) { + // TODO: migrate step-based prime generation code to forge.prime + + // set default bits + if(typeof(bits) === 'string') { + bits = parseInt(bits, 10); + } + bits = bits || 2048; + + // create prng with api that matches BigInteger secure random + options = options || {}; + var prng = options.prng || forge.random; + var rng = { + // x is an array to fill with bytes + nextBytes: function(x) { + var b = prng.getBytesSync(x.length); + for(var i = 0; i < x.length; ++i) { + x[i] = b.charCodeAt(i); + } + } + }; + + var algorithm = options.algorithm || 'PRIMEINC'; + + // create PRIMEINC algorithm state + var rval; + if(algorithm === 'PRIMEINC') { + rval = { + algorithm: algorithm, + state: 0, + bits: bits, + rng: rng, + eInt: e || 65537, + e: new BigInteger(null), + p: null, + q: null, + qBits: bits >> 1, + pBits: bits - (bits >> 1), + pqState: 0, + num: null, + keys: null + }; + rval.e.fromInt(rval.eInt); + } else { + throw new Error('Invalid key generation algorithm: ' + algorithm); + } + + return rval; +}; + +/** + * Attempts to runs the key-generation algorithm for at most n seconds + * (approximately) using the given state. When key-generation has completed, + * the keys will be stored in state.keys. + * + * To use this function to update a UI while generating a key or to prevent + * causing browser lockups/warnings, set "n" to a value other than 0. A + * simple pattern for generating a key and showing a progress indicator is: + * + * var state = pki.rsa.createKeyPairGenerationState(2048); + * var step = function() { + * // step key-generation, run algorithm for 100 ms, repeat + * if(!forge.pki.rsa.stepKeyPairGenerationState(state, 100)) { + * setTimeout(step, 1); + * } else { + * // key-generation complete + * // TODO: turn off progress indicator here + * // TODO: use the generated key-pair in "state.keys" + * } + * }; + * // TODO: turn on progress indicator here + * setTimeout(step, 0); + * + * @param state the state to use. + * @param n the maximum number of milliseconds to run the algorithm for, 0 + * to run the algorithm to completion. + * + * @return true if the key-generation completed, false if not. + */ +pki.rsa.stepKeyPairGenerationState = function(state, n) { + // set default algorithm if not set + if(!('algorithm' in state)) { + state.algorithm = 'PRIMEINC'; + } + + // TODO: migrate step-based prime generation code to forge.prime + // TODO: abstract as PRIMEINC algorithm + + // do key generation (based on Tom Wu's rsa.js, see jsbn.js license) + // with some minor optimizations and designed to run in steps + + // local state vars + var THIRTY = new BigInteger(null); + THIRTY.fromInt(30); + var deltaIdx = 0; + var op_or = function(x, y) {return x | y;}; + + // keep stepping until time limit is reached or done + var t1 = +new Date(); + var t2; + var total = 0; + while(state.keys === null && (n <= 0 || total < n)) { + // generate p or q + if(state.state === 0) { + /* Note: All primes are of the form: + + 30k+i, for i < 30 and gcd(30, i)=1, where there are 8 values for i + + When we generate a random number, we always align it at 30k + 1. Each + time the number is determined not to be prime we add to get to the + next 'i', eg: if the number was at 30k + 1 we add 6. */ + var bits = (state.p === null) ? state.pBits : state.qBits; + var bits1 = bits - 1; + + // get a random number + if(state.pqState === 0) { + state.num = new BigInteger(bits, state.rng); + // force MSB set + if(!state.num.testBit(bits1)) { + state.num.bitwiseTo( + BigInteger.ONE.shiftLeft(bits1), op_or, state.num); + } + // align number on 30k+1 boundary + state.num.dAddOffset(31 - state.num.mod(THIRTY).byteValue(), 0); + deltaIdx = 0; + + ++state.pqState; + } else if(state.pqState === 1) { + // try to make the number a prime + if(state.num.bitLength() > bits) { + // overflow, try again + state.pqState = 0; + // do primality test + } else if(state.num.isProbablePrime( + _getMillerRabinTests(state.num.bitLength()))) { + ++state.pqState; + } else { + // get next potential prime + state.num.dAddOffset(GCD_30_DELTA[deltaIdx++ % 8], 0); + } + } else if(state.pqState === 2) { + // ensure number is coprime with e + state.pqState = + (state.num.subtract(BigInteger.ONE).gcd(state.e) + .compareTo(BigInteger.ONE) === 0) ? 3 : 0; + } else if(state.pqState === 3) { + // store p or q + state.pqState = 0; + if(state.p === null) { + state.p = state.num; + } else { + state.q = state.num; + } + + // advance state if both p and q are ready + if(state.p !== null && state.q !== null) { + ++state.state; + } + state.num = null; + } + } else if(state.state === 1) { + // ensure p is larger than q (swap them if not) + if(state.p.compareTo(state.q) < 0) { + state.num = state.p; + state.p = state.q; + state.q = state.num; + } + ++state.state; + } else if(state.state === 2) { + // compute phi: (p - 1)(q - 1) (Euler's totient function) + state.p1 = state.p.subtract(BigInteger.ONE); + state.q1 = state.q.subtract(BigInteger.ONE); + state.phi = state.p1.multiply(state.q1); + ++state.state; + } else if(state.state === 3) { + // ensure e and phi are coprime + if(state.phi.gcd(state.e).compareTo(BigInteger.ONE) === 0) { + // phi and e are coprime, advance + ++state.state; + } else { + // phi and e aren't coprime, so generate a new p and q + state.p = null; + state.q = null; + state.state = 0; + } + } else if(state.state === 4) { + // create n, ensure n is has the right number of bits + state.n = state.p.multiply(state.q); + + // ensure n is right number of bits + if(state.n.bitLength() === state.bits) { + // success, advance + ++state.state; + } else { + // failed, get new q + state.q = null; + state.state = 0; + } + } else if(state.state === 5) { + // set keys + var d = state.e.modInverse(state.phi); + state.keys = { + privateKey: pki.rsa.setPrivateKey( + state.n, state.e, d, state.p, state.q, + d.mod(state.p1), d.mod(state.q1), + state.q.modInverse(state.p)), + publicKey: pki.rsa.setPublicKey(state.n, state.e) + }; + } + + // update timing + t2 = +new Date(); + total += t2 - t1; + t1 = t2; + } + + return state.keys !== null; +}; + +/** + * Generates an RSA public-private key pair in a single call. + * + * To generate a key-pair in steps (to allow for progress updates and to + * prevent blocking or warnings in slow browsers) then use the key-pair + * generation state functions. + * + * To generate a key-pair asynchronously (either through web-workers, if + * available, or by breaking up the work on the main thread), pass a + * callback function. + * + * @param [bits] the size for the private key in bits, defaults to 2048. + * @param [e] the public exponent to use, defaults to 65537. + * @param [options] options for key-pair generation, if given then 'bits' + * and 'e' must *not* be given: + * bits the size for the private key in bits, (default: 2048). + * e the public exponent to use, (default: 65537 (0x10001)). + * workerScript the worker script URL. + * workers the number of web workers (if supported) to use, + * (default: 2). + * workLoad the size of the work load, ie: number of possible prime + * numbers for each web worker to check per work assignment, + * (default: 100). + * prng a custom crypto-secure pseudo-random number generator to use, + * that must define "getBytesSync". Disables use of native APIs. + * algorithm the algorithm to use (default: 'PRIMEINC'). + * @param [callback(err, keypair)] called once the operation completes. + * + * @return an object with privateKey and publicKey properties. + */ +pki.rsa.generateKeyPair = function(bits, e, options, callback) { + // (bits), (options), (callback) + if(arguments.length === 1) { + if(typeof bits === 'object') { + options = bits; + bits = undefined; + } else if(typeof bits === 'function') { + callback = bits; + bits = undefined; + } + } else if(arguments.length === 2) { + // (bits, e), (bits, options), (bits, callback), (options, callback) + if(typeof bits === 'number') { + if(typeof e === 'function') { + callback = e; + e = undefined; + } else if(typeof e !== 'number') { + options = e; + e = undefined; + } + } else { + options = bits; + callback = e; + bits = undefined; + e = undefined; + } + } else if(arguments.length === 3) { + // (bits, e, options), (bits, e, callback), (bits, options, callback) + if(typeof e === 'number') { + if(typeof options === 'function') { + callback = options; + options = undefined; + } + } else { + callback = options; + options = e; + e = undefined; + } + } + options = options || {}; + if(bits === undefined) { + bits = options.bits || 2048; + } + if(e === undefined) { + e = options.e || 0x10001; + } + + // use native code if permitted, available, and parameters are acceptable + if(!forge.options.usePureJavaScript && !options.prng && + bits >= 256 && bits <= 16384 && (e === 0x10001 || e === 3)) { + if(callback) { + // try native async + if(_detectNodeCrypto('generateKeyPair')) { + return _crypto.generateKeyPair('rsa', { + modulusLength: bits, + publicExponent: e, + publicKeyEncoding: { + type: 'spki', + format: 'pem' + }, + privateKeyEncoding: { + type: 'pkcs8', + format: 'pem' + } + }, function(err, pub, priv) { + if(err) { + return callback(err); + } + callback(null, { + privateKey: pki.privateKeyFromPem(priv), + publicKey: pki.publicKeyFromPem(pub) + }); + }); + } + if(_detectSubtleCrypto('generateKey') && + _detectSubtleCrypto('exportKey')) { + // use standard native generateKey + return util.globalScope.crypto.subtle.generateKey({ + name: 'RSASSA-PKCS1-v1_5', + modulusLength: bits, + publicExponent: _intToUint8Array(e), + hash: {name: 'SHA-256'} + }, true /* key can be exported*/, ['sign', 'verify']) + .then(function(pair) { + return util.globalScope.crypto.subtle.exportKey( + 'pkcs8', pair.privateKey); + // avoiding catch(function(err) {...}) to support IE <= 8 + }).then(undefined, function(err) { + callback(err); + }).then(function(pkcs8) { + if(pkcs8) { + var privateKey = pki.privateKeyFromAsn1( + asn1.fromDer(forge.util.createBuffer(pkcs8))); + callback(null, { + privateKey: privateKey, + publicKey: pki.setRsaPublicKey(privateKey.n, privateKey.e) + }); + } + }); + } + if(_detectSubtleMsCrypto('generateKey') && + _detectSubtleMsCrypto('exportKey')) { + var genOp = util.globalScope.msCrypto.subtle.generateKey({ + name: 'RSASSA-PKCS1-v1_5', + modulusLength: bits, + publicExponent: _intToUint8Array(e), + hash: {name: 'SHA-256'} + }, true /* key can be exported*/, ['sign', 'verify']); + genOp.oncomplete = function(e) { + var pair = e.target.result; + var exportOp = util.globalScope.msCrypto.subtle.exportKey( + 'pkcs8', pair.privateKey); + exportOp.oncomplete = function(e) { + var pkcs8 = e.target.result; + var privateKey = pki.privateKeyFromAsn1( + asn1.fromDer(forge.util.createBuffer(pkcs8))); + callback(null, { + privateKey: privateKey, + publicKey: pki.setRsaPublicKey(privateKey.n, privateKey.e) + }); + }; + exportOp.onerror = function(err) { + callback(err); + }; + }; + genOp.onerror = function(err) { + callback(err); + }; + return; + } + } else { + // try native sync + if(_detectNodeCrypto('generateKeyPairSync')) { + var keypair = _crypto.generateKeyPairSync('rsa', { + modulusLength: bits, + publicExponent: e, + publicKeyEncoding: { + type: 'spki', + format: 'pem' + }, + privateKeyEncoding: { + type: 'pkcs8', + format: 'pem' + } + }); + return { + privateKey: pki.privateKeyFromPem(keypair.privateKey), + publicKey: pki.publicKeyFromPem(keypair.publicKey) + }; + } + } + } + + // use JavaScript implementation + var state = pki.rsa.createKeyPairGenerationState(bits, e, options); + if(!callback) { + pki.rsa.stepKeyPairGenerationState(state, 0); + return state.keys; + } + _generateKeyPair(state, options, callback); +}; + +/** + * Sets an RSA public key from BigIntegers modulus and exponent. + * + * @param n the modulus. + * @param e the exponent. + * + * @return the public key. + */ +pki.setRsaPublicKey = pki.rsa.setPublicKey = function(n, e) { + var key = { + n: n, + e: e + }; + + /** + * Encrypts the given data with this public key. Newer applications + * should use the 'RSA-OAEP' decryption scheme, 'RSAES-PKCS1-V1_5' is for + * legacy applications. + * + * @param data the byte string to encrypt. + * @param scheme the encryption scheme to use: + * 'RSAES-PKCS1-V1_5' (default), + * 'RSA-OAEP', + * 'RAW', 'NONE', or null to perform raw RSA encryption, + * an object with an 'encode' property set to a function + * with the signature 'function(data, key)' that returns + * a binary-encoded string representing the encoded data. + * @param schemeOptions any scheme-specific options. + * + * @return the encrypted byte string. + */ + key.encrypt = function(data, scheme, schemeOptions) { + if(typeof scheme === 'string') { + scheme = scheme.toUpperCase(); + } else if(scheme === undefined) { + scheme = 'RSAES-PKCS1-V1_5'; + } + + if(scheme === 'RSAES-PKCS1-V1_5') { + scheme = { + encode: function(m, key, pub) { + return _encodePkcs1_v1_5(m, key, 0x02).getBytes(); + } + }; + } else if(scheme === 'RSA-OAEP' || scheme === 'RSAES-OAEP') { + scheme = { + encode: function(m, key) { + return forge.pkcs1.encode_rsa_oaep(key, m, schemeOptions); + } + }; + } else if(['RAW', 'NONE', 'NULL', null].indexOf(scheme) !== -1) { + scheme = {encode: function(e) {return e;}}; + } else if(typeof scheme === 'string') { + throw new Error('Unsupported encryption scheme: "' + scheme + '".'); + } + + // do scheme-based encoding then rsa encryption + var e = scheme.encode(data, key, true); + return pki.rsa.encrypt(e, key, true); + }; + + /** + * Verifies the given signature against the given digest. + * + * PKCS#1 supports multiple (currently two) signature schemes: + * RSASSA-PKCS1-V1_5 and RSASSA-PSS. + * + * By default this implementation uses the "old scheme", i.e. + * RSASSA-PKCS1-V1_5, in which case once RSA-decrypted, the + * signature is an OCTET STRING that holds a DigestInfo. + * + * DigestInfo ::= SEQUENCE { + * digestAlgorithm DigestAlgorithmIdentifier, + * digest Digest + * } + * DigestAlgorithmIdentifier ::= AlgorithmIdentifier + * Digest ::= OCTET STRING + * + * To perform PSS signature verification, provide an instance + * of Forge PSS object as the scheme parameter. + * + * @param digest the message digest hash to compare against the signature, + * as a binary-encoded string. + * @param signature the signature to verify, as a binary-encoded string. + * @param scheme signature verification scheme to use: + * 'RSASSA-PKCS1-V1_5' or undefined for RSASSA PKCS#1 v1.5, + * a Forge PSS object for RSASSA-PSS, + * 'NONE' or null for none, DigestInfo will not be expected, but + * PKCS#1 v1.5 padding will still be used. + * + * @return true if the signature was verified, false if not. + */ + key.verify = function(digest, signature, scheme) { + if(typeof scheme === 'string') { + scheme = scheme.toUpperCase(); + } else if(scheme === undefined) { + scheme = 'RSASSA-PKCS1-V1_5'; + } + + if(scheme === 'RSASSA-PKCS1-V1_5') { + scheme = { + verify: function(digest, d) { + // remove padding + d = _decodePkcs1_v1_5(d, key, true); + // d is ASN.1 BER-encoded DigestInfo + var obj = asn1.fromDer(d); + // compare the given digest to the decrypted one + return digest === obj.value[1].value; + } + }; + } else if(scheme === 'NONE' || scheme === 'NULL' || scheme === null) { + scheme = { + verify: function(digest, d) { + // remove padding + d = _decodePkcs1_v1_5(d, key, true); + return digest === d; + } + }; + } + + // do rsa decryption w/o any decoding, then verify -- which does decoding + var d = pki.rsa.decrypt(signature, key, true, false); + return scheme.verify(digest, d, key.n.bitLength()); + }; + + return key; +}; + +/** + * Sets an RSA private key from BigIntegers modulus, exponent, primes, + * prime exponents, and modular multiplicative inverse. + * + * @param n the modulus. + * @param e the public exponent. + * @param d the private exponent ((inverse of e) mod n). + * @param p the first prime. + * @param q the second prime. + * @param dP exponent1 (d mod (p-1)). + * @param dQ exponent2 (d mod (q-1)). + * @param qInv ((inverse of q) mod p) + * + * @return the private key. + */ +pki.setRsaPrivateKey = pki.rsa.setPrivateKey = function( + n, e, d, p, q, dP, dQ, qInv) { + var key = { + n: n, + e: e, + d: d, + p: p, + q: q, + dP: dP, + dQ: dQ, + qInv: qInv + }; + + /** + * Decrypts the given data with this private key. The decryption scheme + * must match the one used to encrypt the data. + * + * @param data the byte string to decrypt. + * @param scheme the decryption scheme to use: + * 'RSAES-PKCS1-V1_5' (default), + * 'RSA-OAEP', + * 'RAW', 'NONE', or null to perform raw RSA decryption. + * @param schemeOptions any scheme-specific options. + * + * @return the decrypted byte string. + */ + key.decrypt = function(data, scheme, schemeOptions) { + if(typeof scheme === 'string') { + scheme = scheme.toUpperCase(); + } else if(scheme === undefined) { + scheme = 'RSAES-PKCS1-V1_5'; + } + + // do rsa decryption w/o any decoding + var d = pki.rsa.decrypt(data, key, false, false); + + if(scheme === 'RSAES-PKCS1-V1_5') { + scheme = {decode: _decodePkcs1_v1_5}; + } else if(scheme === 'RSA-OAEP' || scheme === 'RSAES-OAEP') { + scheme = { + decode: function(d, key) { + return forge.pkcs1.decode_rsa_oaep(key, d, schemeOptions); + } + }; + } else if(['RAW', 'NONE', 'NULL', null].indexOf(scheme) !== -1) { + scheme = {decode: function(d) {return d;}}; + } else { + throw new Error('Unsupported encryption scheme: "' + scheme + '".'); + } + + // decode according to scheme + return scheme.decode(d, key, false); + }; + + /** + * Signs the given digest, producing a signature. + * + * PKCS#1 supports multiple (currently two) signature schemes: + * RSASSA-PKCS1-V1_5 and RSASSA-PSS. + * + * By default this implementation uses the "old scheme", i.e. + * RSASSA-PKCS1-V1_5. In order to generate a PSS signature, provide + * an instance of Forge PSS object as the scheme parameter. + * + * @param md the message digest object with the hash to sign. + * @param scheme the signature scheme to use: + * 'RSASSA-PKCS1-V1_5' or undefined for RSASSA PKCS#1 v1.5, + * a Forge PSS object for RSASSA-PSS, + * 'NONE' or null for none, DigestInfo will not be used but + * PKCS#1 v1.5 padding will still be used. + * + * @return the signature as a byte string. + */ + key.sign = function(md, scheme) { + /* Note: The internal implementation of RSA operations is being + transitioned away from a PKCS#1 v1.5 hard-coded scheme. Some legacy + code like the use of an encoding block identifier 'bt' will eventually + be removed. */ + + // private key operation + var bt = false; + + if(typeof scheme === 'string') { + scheme = scheme.toUpperCase(); + } + + if(scheme === undefined || scheme === 'RSASSA-PKCS1-V1_5') { + scheme = {encode: emsaPkcs1v15encode}; + bt = 0x01; + } else if(scheme === 'NONE' || scheme === 'NULL' || scheme === null) { + scheme = {encode: function() {return md;}}; + bt = 0x01; + } + + // encode and then encrypt + var d = scheme.encode(md, key.n.bitLength()); + return pki.rsa.encrypt(d, key, bt); + }; + + return key; +}; + +/** + * Wraps an RSAPrivateKey ASN.1 object in an ASN.1 PrivateKeyInfo object. + * + * @param rsaKey the ASN.1 RSAPrivateKey. + * + * @return the ASN.1 PrivateKeyInfo. + */ +pki.wrapRsaPrivateKey = function(rsaKey) { + // PrivateKeyInfo + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // version (0) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(0).getBytes()), + // privateKeyAlgorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.rsaEncryption).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]), + // PrivateKey + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, + asn1.toDer(rsaKey).getBytes()) + ]); +}; + +/** + * Converts a private key from an ASN.1 object. + * + * @param obj the ASN.1 representation of a PrivateKeyInfo containing an + * RSAPrivateKey or an RSAPrivateKey. + * + * @return the private key. + */ +pki.privateKeyFromAsn1 = function(obj) { + // get PrivateKeyInfo + var capture = {}; + var errors = []; + if(asn1.validate(obj, privateKeyValidator, capture, errors)) { + obj = asn1.fromDer(forge.util.createBuffer(capture.privateKey)); + } + + // get RSAPrivateKey + capture = {}; + errors = []; + if(!asn1.validate(obj, rsaPrivateKeyValidator, capture, errors)) { + var error = new Error('Cannot read private key. ' + + 'ASN.1 object does not contain an RSAPrivateKey.'); + error.errors = errors; + throw error; + } + + // Note: Version is currently ignored. + // capture.privateKeyVersion + // FIXME: inefficient, get a BigInteger that uses byte strings + var n, e, d, p, q, dP, dQ, qInv; + n = forge.util.createBuffer(capture.privateKeyModulus).toHex(); + e = forge.util.createBuffer(capture.privateKeyPublicExponent).toHex(); + d = forge.util.createBuffer(capture.privateKeyPrivateExponent).toHex(); + p = forge.util.createBuffer(capture.privateKeyPrime1).toHex(); + q = forge.util.createBuffer(capture.privateKeyPrime2).toHex(); + dP = forge.util.createBuffer(capture.privateKeyExponent1).toHex(); + dQ = forge.util.createBuffer(capture.privateKeyExponent2).toHex(); + qInv = forge.util.createBuffer(capture.privateKeyCoefficient).toHex(); + + // set private key + return pki.setRsaPrivateKey( + new BigInteger(n, 16), + new BigInteger(e, 16), + new BigInteger(d, 16), + new BigInteger(p, 16), + new BigInteger(q, 16), + new BigInteger(dP, 16), + new BigInteger(dQ, 16), + new BigInteger(qInv, 16)); +}; + +/** + * Converts a private key to an ASN.1 RSAPrivateKey. + * + * @param key the private key. + * + * @return the ASN.1 representation of an RSAPrivateKey. + */ +pki.privateKeyToAsn1 = pki.privateKeyToRSAPrivateKey = function(key) { + // RSAPrivateKey + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // version (0 = only 2 primes, 1 multiple primes) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(0).getBytes()), + // modulus (n) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.n)), + // publicExponent (e) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.e)), + // privateExponent (d) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.d)), + // privateKeyPrime1 (p) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.p)), + // privateKeyPrime2 (q) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.q)), + // privateKeyExponent1 (dP) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.dP)), + // privateKeyExponent2 (dQ) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.dQ)), + // coefficient (qInv) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.qInv)) + ]); +}; + +/** + * Converts a public key from an ASN.1 SubjectPublicKeyInfo or RSAPublicKey. + * + * @param obj the asn1 representation of a SubjectPublicKeyInfo or RSAPublicKey. + * + * @return the public key. + */ +pki.publicKeyFromAsn1 = function(obj) { + // get SubjectPublicKeyInfo + var capture = {}; + var errors = []; + if(asn1.validate(obj, publicKeyValidator, capture, errors)) { + // get oid + var oid = asn1.derToOid(capture.publicKeyOid); + if(oid !== pki.oids.rsaEncryption) { + var error = new Error('Cannot read public key. Unknown OID.'); + error.oid = oid; + throw error; + } + obj = capture.rsaPublicKey; + } + + // get RSA params + errors = []; + if(!asn1.validate(obj, rsaPublicKeyValidator, capture, errors)) { + var error = new Error('Cannot read public key. ' + + 'ASN.1 object does not contain an RSAPublicKey.'); + error.errors = errors; + throw error; + } + + // FIXME: inefficient, get a BigInteger that uses byte strings + var n = forge.util.createBuffer(capture.publicKeyModulus).toHex(); + var e = forge.util.createBuffer(capture.publicKeyExponent).toHex(); + + // set public key + return pki.setRsaPublicKey( + new BigInteger(n, 16), + new BigInteger(e, 16)); +}; + +/** + * Converts a public key to an ASN.1 SubjectPublicKeyInfo. + * + * @param key the public key. + * + * @return the asn1 representation of a SubjectPublicKeyInfo. + */ +pki.publicKeyToAsn1 = pki.publicKeyToSubjectPublicKeyInfo = function(key) { + // SubjectPublicKeyInfo + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // AlgorithmIdentifier + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(pki.oids.rsaEncryption).getBytes()), + // parameters (null) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]), + // subjectPublicKey + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, [ + pki.publicKeyToRSAPublicKey(key) + ]) + ]); +}; + +/** + * Converts a public key to an ASN.1 RSAPublicKey. + * + * @param key the public key. + * + * @return the asn1 representation of a RSAPublicKey. + */ +pki.publicKeyToRSAPublicKey = function(key) { + // RSAPublicKey + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // modulus (n) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.n)), + // publicExponent (e) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + _bnToBytes(key.e)) + ]); +}; + +/** + * Encodes a message using PKCS#1 v1.5 padding. + * + * @param m the message to encode. + * @param key the RSA key to use. + * @param bt the block type to use, i.e. either 0x01 (for signing) or 0x02 + * (for encryption). + * + * @return the padded byte buffer. + */ +function _encodePkcs1_v1_5(m, key, bt) { + var eb = forge.util.createBuffer(); + + // get the length of the modulus in bytes + var k = Math.ceil(key.n.bitLength() / 8); + + /* use PKCS#1 v1.5 padding */ + if(m.length > (k - 11)) { + var error = new Error('Message is too long for PKCS#1 v1.5 padding.'); + error.length = m.length; + error.max = k - 11; + throw error; + } + + /* A block type BT, a padding string PS, and the data D shall be + formatted into an octet string EB, the encryption block: + + EB = 00 || BT || PS || 00 || D + + The block type BT shall be a single octet indicating the structure of + the encryption block. For this version of the document it shall have + value 00, 01, or 02. For a private-key operation, the block type + shall be 00 or 01. For a public-key operation, it shall be 02. + + The padding string PS shall consist of k-3-||D|| octets. For block + type 00, the octets shall have value 00; for block type 01, they + shall have value FF; and for block type 02, they shall be + pseudorandomly generated and nonzero. This makes the length of the + encryption block EB equal to k. */ + + // build the encryption block + eb.putByte(0x00); + eb.putByte(bt); + + // create the padding + var padNum = k - 3 - m.length; + var padByte; + // private key op + if(bt === 0x00 || bt === 0x01) { + padByte = (bt === 0x00) ? 0x00 : 0xFF; + for(var i = 0; i < padNum; ++i) { + eb.putByte(padByte); + } + } else { + // public key op + // pad with random non-zero values + while(padNum > 0) { + var numZeros = 0; + var padBytes = forge.random.getBytes(padNum); + for(var i = 0; i < padNum; ++i) { + padByte = padBytes.charCodeAt(i); + if(padByte === 0) { + ++numZeros; + } else { + eb.putByte(padByte); + } + } + padNum = numZeros; + } + } + + // zero followed by message + eb.putByte(0x00); + eb.putBytes(m); + + return eb; +} + +/** + * Decodes a message using PKCS#1 v1.5 padding. + * + * @param em the message to decode. + * @param key the RSA key to use. + * @param pub true if the key is a public key, false if it is private. + * @param ml the message length, if specified. + * + * @return the decoded bytes. + */ +function _decodePkcs1_v1_5(em, key, pub, ml) { + // get the length of the modulus in bytes + var k = Math.ceil(key.n.bitLength() / 8); + + /* It is an error if any of the following conditions occurs: + + 1. The encryption block EB cannot be parsed unambiguously. + 2. The padding string PS consists of fewer than eight octets + or is inconsisent with the block type BT. + 3. The decryption process is a public-key operation and the block + type BT is not 00 or 01, or the decryption process is a + private-key operation and the block type is not 02. + */ + + // parse the encryption block + var eb = forge.util.createBuffer(em); + var first = eb.getByte(); + var bt = eb.getByte(); + if(first !== 0x00 || + (pub && bt !== 0x00 && bt !== 0x01) || + (!pub && bt != 0x02) || + (pub && bt === 0x00 && typeof(ml) === 'undefined')) { + throw new Error('Encryption block is invalid.'); + } + + var padNum = 0; + if(bt === 0x00) { + // check all padding bytes for 0x00 + padNum = k - 3 - ml; + for(var i = 0; i < padNum; ++i) { + if(eb.getByte() !== 0x00) { + throw new Error('Encryption block is invalid.'); + } + } + } else if(bt === 0x01) { + // find the first byte that isn't 0xFF, should be after all padding + padNum = 0; + while(eb.length() > 1) { + if(eb.getByte() !== 0xFF) { + --eb.read; + break; + } + ++padNum; + } + } else if(bt === 0x02) { + // look for 0x00 byte + padNum = 0; + while(eb.length() > 1) { + if(eb.getByte() === 0x00) { + --eb.read; + break; + } + ++padNum; + } + } + + // zero must be 0x00 and padNum must be (k - 3 - message length) + var zero = eb.getByte(); + if(zero !== 0x00 || padNum !== (k - 3 - eb.length())) { + throw new Error('Encryption block is invalid.'); + } + + return eb.getBytes(); +} + +/** + * Runs the key-generation algorithm asynchronously, either in the background + * via Web Workers, or using the main thread and setImmediate. + * + * @param state the key-pair generation state. + * @param [options] options for key-pair generation: + * workerScript the worker script URL. + * workers the number of web workers (if supported) to use, + * (default: 2, -1 to use estimated cores minus one). + * workLoad the size of the work load, ie: number of possible prime + * numbers for each web worker to check per work assignment, + * (default: 100). + * @param callback(err, keypair) called once the operation completes. + */ +function _generateKeyPair(state, options, callback) { + if(typeof options === 'function') { + callback = options; + options = {}; + } + options = options || {}; + + var opts = { + algorithm: { + name: options.algorithm || 'PRIMEINC', + options: { + workers: options.workers || 2, + workLoad: options.workLoad || 100, + workerScript: options.workerScript + } + } + }; + if('prng' in options) { + opts.prng = options.prng; + } + + generate(); + + function generate() { + // find p and then q (done in series to simplify) + getPrime(state.pBits, function(err, num) { + if(err) { + return callback(err); + } + state.p = num; + if(state.q !== null) { + return finish(err, state.q); + } + getPrime(state.qBits, finish); + }); + } + + function getPrime(bits, callback) { + forge.prime.generateProbablePrime(bits, opts, callback); + } + + function finish(err, num) { + if(err) { + return callback(err); + } + + // set q + state.q = num; + + // ensure p is larger than q (swap them if not) + if(state.p.compareTo(state.q) < 0) { + var tmp = state.p; + state.p = state.q; + state.q = tmp; + } + + // ensure p is coprime with e + if(state.p.subtract(BigInteger.ONE).gcd(state.e) + .compareTo(BigInteger.ONE) !== 0) { + state.p = null; + generate(); + return; + } + + // ensure q is coprime with e + if(state.q.subtract(BigInteger.ONE).gcd(state.e) + .compareTo(BigInteger.ONE) !== 0) { + state.q = null; + getPrime(state.qBits, finish); + return; + } + + // compute phi: (p - 1)(q - 1) (Euler's totient function) + state.p1 = state.p.subtract(BigInteger.ONE); + state.q1 = state.q.subtract(BigInteger.ONE); + state.phi = state.p1.multiply(state.q1); + + // ensure e and phi are coprime + if(state.phi.gcd(state.e).compareTo(BigInteger.ONE) !== 0) { + // phi and e aren't coprime, so generate a new p and q + state.p = state.q = null; + generate(); + return; + } + + // create n, ensure n is has the right number of bits + state.n = state.p.multiply(state.q); + if(state.n.bitLength() !== state.bits) { + // failed, get new q + state.q = null; + getPrime(state.qBits, finish); + return; + } + + // set keys + var d = state.e.modInverse(state.phi); + state.keys = { + privateKey: pki.rsa.setPrivateKey( + state.n, state.e, d, state.p, state.q, + d.mod(state.p1), d.mod(state.q1), + state.q.modInverse(state.p)), + publicKey: pki.rsa.setPublicKey(state.n, state.e) + }; + + callback(null, state.keys); + } +} + +/** + * Converts a positive BigInteger into 2's-complement big-endian bytes. + * + * @param b the big integer to convert. + * + * @return the bytes. + */ +function _bnToBytes(b) { + // prepend 0x00 if first byte >= 0x80 + var hex = b.toString(16); + if(hex[0] >= '8') { + hex = '00' + hex; + } + var bytes = forge.util.hexToBytes(hex); + + // ensure integer is minimally-encoded + if(bytes.length > 1 && + // leading 0x00 for positive integer + ((bytes.charCodeAt(0) === 0 && + (bytes.charCodeAt(1) & 0x80) === 0) || + // leading 0xFF for negative integer + (bytes.charCodeAt(0) === 0xFF && + (bytes.charCodeAt(1) & 0x80) === 0x80))) { + return bytes.substr(1); + } + return bytes; +} + +/** + * Returns the required number of Miller-Rabin tests to generate a + * prime with an error probability of (1/2)^80. + * + * See Handbook of Applied Cryptography Chapter 4, Table 4.4. + * + * @param bits the bit size. + * + * @return the required number of iterations. + */ +function _getMillerRabinTests(bits) { + if(bits <= 100) return 27; + if(bits <= 150) return 18; + if(bits <= 200) return 15; + if(bits <= 250) return 12; + if(bits <= 300) return 9; + if(bits <= 350) return 8; + if(bits <= 400) return 7; + if(bits <= 500) return 6; + if(bits <= 600) return 5; + if(bits <= 800) return 4; + if(bits <= 1250) return 3; + return 2; +} + +/** + * Performs feature detection on the Node crypto interface. + * + * @param fn the feature (function) to detect. + * + * @return true if detected, false if not. + */ +function _detectNodeCrypto(fn) { + return forge.util.isNodejs && typeof _crypto[fn] === 'function'; +} + +/** + * Performs feature detection on the SubtleCrypto interface. + * + * @param fn the feature (function) to detect. + * + * @return true if detected, false if not. + */ +function _detectSubtleCrypto(fn) { + return (typeof util.globalScope !== 'undefined' && + typeof util.globalScope.crypto === 'object' && + typeof util.globalScope.crypto.subtle === 'object' && + typeof util.globalScope.crypto.subtle[fn] === 'function'); +} + +/** + * Performs feature detection on the deprecated Microsoft Internet Explorer + * outdated SubtleCrypto interface. This function should only be used after + * checking for the modern, standard SubtleCrypto interface. + * + * @param fn the feature (function) to detect. + * + * @return true if detected, false if not. + */ +function _detectSubtleMsCrypto(fn) { + return (typeof util.globalScope !== 'undefined' && + typeof util.globalScope.msCrypto === 'object' && + typeof util.globalScope.msCrypto.subtle === 'object' && + typeof util.globalScope.msCrypto.subtle[fn] === 'function'); +} + +function _intToUint8Array(x) { + var bytes = forge.util.hexToBytes(x.toString(16)); + var buffer = new Uint8Array(bytes.length); + for(var i = 0; i < bytes.length; ++i) { + buffer[i] = bytes.charCodeAt(i); + } + return buffer; +} + +function _privateKeyFromJwk(jwk) { + if(jwk.kty !== 'RSA') { + throw new Error( + 'Unsupported key algorithm "' + jwk.kty + '"; algorithm must be "RSA".'); + } + return pki.setRsaPrivateKey( + _base64ToBigInt(jwk.n), + _base64ToBigInt(jwk.e), + _base64ToBigInt(jwk.d), + _base64ToBigInt(jwk.p), + _base64ToBigInt(jwk.q), + _base64ToBigInt(jwk.dp), + _base64ToBigInt(jwk.dq), + _base64ToBigInt(jwk.qi)); +} + +function _publicKeyFromJwk(jwk) { + if(jwk.kty !== 'RSA') { + throw new Error('Key algorithm must be "RSA".'); + } + return pki.setRsaPublicKey( + _base64ToBigInt(jwk.n), + _base64ToBigInt(jwk.e)); +} + +function _base64ToBigInt(b64) { + return new BigInteger(forge.util.bytesToHex(forge.util.decode64(b64)), 16); +} + + +/***/ }), + +/***/ 90279: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Secure Hash Algorithm with 160-bit digest (SHA-1) implementation. + * + * @author Dave Longley + * + * Copyright (c) 2010-2015 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(86231); +__nccwpck_require__(28339); + +var sha1 = module.exports = forge.sha1 = forge.sha1 || {}; +forge.md.sha1 = forge.md.algorithms.sha1 = sha1; + +/** + * Creates a SHA-1 message digest object. + * + * @return a message digest object. + */ +sha1.create = function() { + // do initialization as necessary + if(!_initialized) { + _init(); + } + + // SHA-1 state contains five 32-bit integers + var _state = null; + + // input buffer + var _input = forge.util.createBuffer(); + + // used for word storage + var _w = new Array(80); + + // message digest object + var md = { + algorithm: 'sha1', + blockLength: 64, + digestLength: 20, + // 56-bit length of message so far (does not including padding) + messageLength: 0, + // true message length + fullMessageLength: null, + // size of message length in bytes + messageLengthSize: 8 + }; + + /** + * Starts the digest. + * + * @return this digest object. + */ + md.start = function() { + // up to 56-bit message length for convenience + md.messageLength = 0; + + // full message length (set md.messageLength64 for backwards-compatibility) + md.fullMessageLength = md.messageLength64 = []; + var int32s = md.messageLengthSize / 4; + for(var i = 0; i < int32s; ++i) { + md.fullMessageLength.push(0); + } + _input = forge.util.createBuffer(); + _state = { + h0: 0x67452301, + h1: 0xEFCDAB89, + h2: 0x98BADCFE, + h3: 0x10325476, + h4: 0xC3D2E1F0 + }; + return md; + }; + // start digest automatically for first time + md.start(); + + /** + * Updates the digest with the given message input. The given input can + * treated as raw input (no encoding will be applied) or an encoding of + * 'utf8' maybe given to encode the input using UTF-8. + * + * @param msg the message input to update with. + * @param encoding the encoding to use (default: 'raw', other: 'utf8'). + * + * @return this digest object. + */ + md.update = function(msg, encoding) { + if(encoding === 'utf8') { + msg = forge.util.encodeUtf8(msg); + } + + // update message length + var len = msg.length; + md.messageLength += len; + len = [(len / 0x100000000) >>> 0, len >>> 0]; + for(var i = md.fullMessageLength.length - 1; i >= 0; --i) { + md.fullMessageLength[i] += len[1]; + len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0); + md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0; + len[0] = ((len[1] / 0x100000000) >>> 0); + } + + // add bytes to input buffer + _input.putBytes(msg); + + // process bytes + _update(_state, _w, _input); + + // compact input buffer every 2K or if empty + if(_input.read > 2048 || _input.length() === 0) { + _input.compact(); + } + + return md; + }; + + /** + * Produces the digest. + * + * @return a byte buffer containing the digest value. + */ + md.digest = function() { + /* Note: Here we copy the remaining bytes in the input buffer and + add the appropriate SHA-1 padding. Then we do the final update + on a copy of the state so that if the user wants to get + intermediate digests they can do so. */ + + /* Determine the number of bytes that must be added to the message + to ensure its length is congruent to 448 mod 512. In other words, + the data to be digested must be a multiple of 512 bits (or 128 bytes). + This data includes the message, some padding, and the length of the + message. Since the length of the message will be encoded as 8 bytes (64 + bits), that means that the last segment of the data must have 56 bytes + (448 bits) of message and padding. Therefore, the length of the message + plus the padding must be congruent to 448 mod 512 because + 512 - 128 = 448. + + In order to fill up the message length it must be filled with + padding that begins with 1 bit followed by all 0 bits. Padding + must *always* be present, so if the message length is already + congruent to 448 mod 512, then 512 padding bits must be added. */ + + var finalBlock = forge.util.createBuffer(); + finalBlock.putBytes(_input.bytes()); + + // compute remaining size to be digested (include message length size) + var remaining = ( + md.fullMessageLength[md.fullMessageLength.length - 1] + + md.messageLengthSize); + + // add padding for overflow blockSize - overflow + // _padding starts with 1 byte with first bit is set (byte value 128), then + // there may be up to (blockSize - 1) other pad bytes + var overflow = remaining & (md.blockLength - 1); + finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow)); + + // serialize message length in bits in big-endian order; since length + // is stored in bytes we multiply by 8 and add carry from next int + var next, carry; + var bits = md.fullMessageLength[0] * 8; + for(var i = 0; i < md.fullMessageLength.length - 1; ++i) { + next = md.fullMessageLength[i + 1] * 8; + carry = (next / 0x100000000) >>> 0; + bits += carry; + finalBlock.putInt32(bits >>> 0); + bits = next >>> 0; + } + finalBlock.putInt32(bits); + + var s2 = { + h0: _state.h0, + h1: _state.h1, + h2: _state.h2, + h3: _state.h3, + h4: _state.h4 + }; + _update(s2, _w, finalBlock); + var rval = forge.util.createBuffer(); + rval.putInt32(s2.h0); + rval.putInt32(s2.h1); + rval.putInt32(s2.h2); + rval.putInt32(s2.h3); + rval.putInt32(s2.h4); + return rval; + }; + + return md; +}; + +// sha-1 padding bytes not initialized yet +var _padding = null; +var _initialized = false; + +/** + * Initializes the constant tables. + */ +function _init() { + // create padding + _padding = String.fromCharCode(128); + _padding += forge.util.fillString(String.fromCharCode(0x00), 64); + + // now initialized + _initialized = true; +} + +/** + * Updates a SHA-1 state with the given byte buffer. + * + * @param s the SHA-1 state to update. + * @param w the array to use to store words. + * @param bytes the byte buffer to update with. + */ +function _update(s, w, bytes) { + // consume 512 bit (64 byte) chunks + var t, a, b, c, d, e, f, i; + var len = bytes.length(); + while(len >= 64) { + // the w array will be populated with sixteen 32-bit big-endian words + // and then extended into 80 32-bit words according to SHA-1 algorithm + // and for 32-79 using Max Locktyukhin's optimization + + // initialize hash value for this chunk + a = s.h0; + b = s.h1; + c = s.h2; + d = s.h3; + e = s.h4; + + // round 1 + for(i = 0; i < 16; ++i) { + t = bytes.getInt32(); + w[i] = t; + f = d ^ (b & (c ^ d)); + t = ((a << 5) | (a >>> 27)) + f + e + 0x5A827999 + t; + e = d; + d = c; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + c = ((b << 30) | (b >>> 2)) >>> 0; + b = a; + a = t; + } + for(; i < 20; ++i) { + t = (w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16]); + t = (t << 1) | (t >>> 31); + w[i] = t; + f = d ^ (b & (c ^ d)); + t = ((a << 5) | (a >>> 27)) + f + e + 0x5A827999 + t; + e = d; + d = c; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + c = ((b << 30) | (b >>> 2)) >>> 0; + b = a; + a = t; + } + // round 2 + for(; i < 32; ++i) { + t = (w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16]); + t = (t << 1) | (t >>> 31); + w[i] = t; + f = b ^ c ^ d; + t = ((a << 5) | (a >>> 27)) + f + e + 0x6ED9EBA1 + t; + e = d; + d = c; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + c = ((b << 30) | (b >>> 2)) >>> 0; + b = a; + a = t; + } + for(; i < 40; ++i) { + t = (w[i - 6] ^ w[i - 16] ^ w[i - 28] ^ w[i - 32]); + t = (t << 2) | (t >>> 30); + w[i] = t; + f = b ^ c ^ d; + t = ((a << 5) | (a >>> 27)) + f + e + 0x6ED9EBA1 + t; + e = d; + d = c; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + c = ((b << 30) | (b >>> 2)) >>> 0; + b = a; + a = t; + } + // round 3 + for(; i < 60; ++i) { + t = (w[i - 6] ^ w[i - 16] ^ w[i - 28] ^ w[i - 32]); + t = (t << 2) | (t >>> 30); + w[i] = t; + f = (b & c) | (d & (b ^ c)); + t = ((a << 5) | (a >>> 27)) + f + e + 0x8F1BBCDC + t; + e = d; + d = c; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + c = ((b << 30) | (b >>> 2)) >>> 0; + b = a; + a = t; + } + // round 4 + for(; i < 80; ++i) { + t = (w[i - 6] ^ w[i - 16] ^ w[i - 28] ^ w[i - 32]); + t = (t << 2) | (t >>> 30); + w[i] = t; + f = b ^ c ^ d; + t = ((a << 5) | (a >>> 27)) + f + e + 0xCA62C1D6 + t; + e = d; + d = c; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + c = ((b << 30) | (b >>> 2)) >>> 0; + b = a; + a = t; + } + + // update hash state + s.h0 = (s.h0 + a) | 0; + s.h1 = (s.h1 + b) | 0; + s.h2 = (s.h2 + c) | 0; + s.h3 = (s.h3 + d) | 0; + s.h4 = (s.h4 + e) | 0; + + len -= 64; + } +} + + +/***/ }), + +/***/ 44086: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Secure Hash Algorithm with 256-bit digest (SHA-256) implementation. + * + * See FIPS 180-2 for details. + * + * @author Dave Longley + * + * Copyright (c) 2010-2015 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(86231); +__nccwpck_require__(28339); + +var sha256 = module.exports = forge.sha256 = forge.sha256 || {}; +forge.md.sha256 = forge.md.algorithms.sha256 = sha256; + +/** + * Creates a SHA-256 message digest object. + * + * @return a message digest object. + */ +sha256.create = function() { + // do initialization as necessary + if(!_initialized) { + _init(); + } + + // SHA-256 state contains eight 32-bit integers + var _state = null; + + // input buffer + var _input = forge.util.createBuffer(); + + // used for word storage + var _w = new Array(64); + + // message digest object + var md = { + algorithm: 'sha256', + blockLength: 64, + digestLength: 32, + // 56-bit length of message so far (does not including padding) + messageLength: 0, + // true message length + fullMessageLength: null, + // size of message length in bytes + messageLengthSize: 8 + }; + + /** + * Starts the digest. + * + * @return this digest object. + */ + md.start = function() { + // up to 56-bit message length for convenience + md.messageLength = 0; + + // full message length (set md.messageLength64 for backwards-compatibility) + md.fullMessageLength = md.messageLength64 = []; + var int32s = md.messageLengthSize / 4; + for(var i = 0; i < int32s; ++i) { + md.fullMessageLength.push(0); + } + _input = forge.util.createBuffer(); + _state = { + h0: 0x6A09E667, + h1: 0xBB67AE85, + h2: 0x3C6EF372, + h3: 0xA54FF53A, + h4: 0x510E527F, + h5: 0x9B05688C, + h6: 0x1F83D9AB, + h7: 0x5BE0CD19 + }; + return md; + }; + // start digest automatically for first time + md.start(); + + /** + * Updates the digest with the given message input. The given input can + * treated as raw input (no encoding will be applied) or an encoding of + * 'utf8' maybe given to encode the input using UTF-8. + * + * @param msg the message input to update with. + * @param encoding the encoding to use (default: 'raw', other: 'utf8'). + * + * @return this digest object. + */ + md.update = function(msg, encoding) { + if(encoding === 'utf8') { + msg = forge.util.encodeUtf8(msg); + } + + // update message length + var len = msg.length; + md.messageLength += len; + len = [(len / 0x100000000) >>> 0, len >>> 0]; + for(var i = md.fullMessageLength.length - 1; i >= 0; --i) { + md.fullMessageLength[i] += len[1]; + len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0); + md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0; + len[0] = ((len[1] / 0x100000000) >>> 0); + } + + // add bytes to input buffer + _input.putBytes(msg); + + // process bytes + _update(_state, _w, _input); + + // compact input buffer every 2K or if empty + if(_input.read > 2048 || _input.length() === 0) { + _input.compact(); + } + + return md; + }; + + /** + * Produces the digest. + * + * @return a byte buffer containing the digest value. + */ + md.digest = function() { + /* Note: Here we copy the remaining bytes in the input buffer and + add the appropriate SHA-256 padding. Then we do the final update + on a copy of the state so that if the user wants to get + intermediate digests they can do so. */ + + /* Determine the number of bytes that must be added to the message + to ensure its length is congruent to 448 mod 512. In other words, + the data to be digested must be a multiple of 512 bits (or 128 bytes). + This data includes the message, some padding, and the length of the + message. Since the length of the message will be encoded as 8 bytes (64 + bits), that means that the last segment of the data must have 56 bytes + (448 bits) of message and padding. Therefore, the length of the message + plus the padding must be congruent to 448 mod 512 because + 512 - 128 = 448. + + In order to fill up the message length it must be filled with + padding that begins with 1 bit followed by all 0 bits. Padding + must *always* be present, so if the message length is already + congruent to 448 mod 512, then 512 padding bits must be added. */ + + var finalBlock = forge.util.createBuffer(); + finalBlock.putBytes(_input.bytes()); + + // compute remaining size to be digested (include message length size) + var remaining = ( + md.fullMessageLength[md.fullMessageLength.length - 1] + + md.messageLengthSize); + + // add padding for overflow blockSize - overflow + // _padding starts with 1 byte with first bit is set (byte value 128), then + // there may be up to (blockSize - 1) other pad bytes + var overflow = remaining & (md.blockLength - 1); + finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow)); + + // serialize message length in bits in big-endian order; since length + // is stored in bytes we multiply by 8 and add carry from next int + var next, carry; + var bits = md.fullMessageLength[0] * 8; + for(var i = 0; i < md.fullMessageLength.length - 1; ++i) { + next = md.fullMessageLength[i + 1] * 8; + carry = (next / 0x100000000) >>> 0; + bits += carry; + finalBlock.putInt32(bits >>> 0); + bits = next >>> 0; + } + finalBlock.putInt32(bits); + + var s2 = { + h0: _state.h0, + h1: _state.h1, + h2: _state.h2, + h3: _state.h3, + h4: _state.h4, + h5: _state.h5, + h6: _state.h6, + h7: _state.h7 + }; + _update(s2, _w, finalBlock); + var rval = forge.util.createBuffer(); + rval.putInt32(s2.h0); + rval.putInt32(s2.h1); + rval.putInt32(s2.h2); + rval.putInt32(s2.h3); + rval.putInt32(s2.h4); + rval.putInt32(s2.h5); + rval.putInt32(s2.h6); + rval.putInt32(s2.h7); + return rval; + }; + + return md; +}; + +// sha-256 padding bytes not initialized yet +var _padding = null; +var _initialized = false; + +// table of constants +var _k = null; + +/** + * Initializes the constant tables. + */ +function _init() { + // create padding + _padding = String.fromCharCode(128); + _padding += forge.util.fillString(String.fromCharCode(0x00), 64); + + // create K table for SHA-256 + _k = [ + 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, + 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, + 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, + 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, + 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, + 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, + 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, + 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, + 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, + 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, + 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, + 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, + 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, + 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, + 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, + 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2]; + + // now initialized + _initialized = true; +} + +/** + * Updates a SHA-256 state with the given byte buffer. + * + * @param s the SHA-256 state to update. + * @param w the array to use to store words. + * @param bytes the byte buffer to update with. + */ +function _update(s, w, bytes) { + // consume 512 bit (64 byte) chunks + var t1, t2, s0, s1, ch, maj, i, a, b, c, d, e, f, g, h; + var len = bytes.length(); + while(len >= 64) { + // the w array will be populated with sixteen 32-bit big-endian words + // and then extended into 64 32-bit words according to SHA-256 + for(i = 0; i < 16; ++i) { + w[i] = bytes.getInt32(); + } + for(; i < 64; ++i) { + // XOR word 2 words ago rot right 17, rot right 19, shft right 10 + t1 = w[i - 2]; + t1 = + ((t1 >>> 17) | (t1 << 15)) ^ + ((t1 >>> 19) | (t1 << 13)) ^ + (t1 >>> 10); + // XOR word 15 words ago rot right 7, rot right 18, shft right 3 + t2 = w[i - 15]; + t2 = + ((t2 >>> 7) | (t2 << 25)) ^ + ((t2 >>> 18) | (t2 << 14)) ^ + (t2 >>> 3); + // sum(t1, word 7 ago, t2, word 16 ago) modulo 2^32 + w[i] = (t1 + w[i - 7] + t2 + w[i - 16]) | 0; + } + + // initialize hash value for this chunk + a = s.h0; + b = s.h1; + c = s.h2; + d = s.h3; + e = s.h4; + f = s.h5; + g = s.h6; + h = s.h7; + + // round function + for(i = 0; i < 64; ++i) { + // Sum1(e) + s1 = + ((e >>> 6) | (e << 26)) ^ + ((e >>> 11) | (e << 21)) ^ + ((e >>> 25) | (e << 7)); + // Ch(e, f, g) (optimized the same way as SHA-1) + ch = g ^ (e & (f ^ g)); + // Sum0(a) + s0 = + ((a >>> 2) | (a << 30)) ^ + ((a >>> 13) | (a << 19)) ^ + ((a >>> 22) | (a << 10)); + // Maj(a, b, c) (optimized the same way as SHA-1) + maj = (a & b) | (c & (a ^ b)); + + // main algorithm + t1 = h + s1 + ch + _k[i] + w[i]; + t2 = s0 + maj; + h = g; + g = f; + f = e; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + // can't truncate with `| 0` + e = (d + t1) >>> 0; + d = c; + c = b; + b = a; + // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug + // can't truncate with `| 0` + a = (t1 + t2) >>> 0; + } + + // update hash state + s.h0 = (s.h0 + a) | 0; + s.h1 = (s.h1 + b) | 0; + s.h2 = (s.h2 + c) | 0; + s.h3 = (s.h3 + d) | 0; + s.h4 = (s.h4 + e) | 0; + s.h5 = (s.h5 + f) | 0; + s.h6 = (s.h6 + g) | 0; + s.h7 = (s.h7 + h) | 0; + len -= 64; + } +} + + +/***/ }), + +/***/ 59542: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Secure Hash Algorithm with a 1024-bit block size implementation. + * + * This includes: SHA-512, SHA-384, SHA-512/224, and SHA-512/256. For + * SHA-256 (block size 512 bits), see sha256.js. + * + * See FIPS 180-4 for details. + * + * @author Dave Longley + * + * Copyright (c) 2014-2015 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(86231); +__nccwpck_require__(28339); + +var sha512 = module.exports = forge.sha512 = forge.sha512 || {}; + +// SHA-512 +forge.md.sha512 = forge.md.algorithms.sha512 = sha512; + +// SHA-384 +var sha384 = forge.sha384 = forge.sha512.sha384 = forge.sha512.sha384 || {}; +sha384.create = function() { + return sha512.create('SHA-384'); +}; +forge.md.sha384 = forge.md.algorithms.sha384 = sha384; + +// SHA-512/256 +forge.sha512.sha256 = forge.sha512.sha256 || { + create: function() { + return sha512.create('SHA-512/256'); + } +}; +forge.md['sha512/256'] = forge.md.algorithms['sha512/256'] = + forge.sha512.sha256; + +// SHA-512/224 +forge.sha512.sha224 = forge.sha512.sha224 || { + create: function() { + return sha512.create('SHA-512/224'); + } +}; +forge.md['sha512/224'] = forge.md.algorithms['sha512/224'] = + forge.sha512.sha224; + +/** + * Creates a SHA-2 message digest object. + * + * @param algorithm the algorithm to use (SHA-512, SHA-384, SHA-512/224, + * SHA-512/256). + * + * @return a message digest object. + */ +sha512.create = function(algorithm) { + // do initialization as necessary + if(!_initialized) { + _init(); + } + + if(typeof algorithm === 'undefined') { + algorithm = 'SHA-512'; + } + + if(!(algorithm in _states)) { + throw new Error('Invalid SHA-512 algorithm: ' + algorithm); + } + + // SHA-512 state contains eight 64-bit integers (each as two 32-bit ints) + var _state = _states[algorithm]; + var _h = null; + + // input buffer + var _input = forge.util.createBuffer(); + + // used for 64-bit word storage + var _w = new Array(80); + for(var wi = 0; wi < 80; ++wi) { + _w[wi] = new Array(2); + } + + // determine digest length by algorithm name (default) + var digestLength = 64; + switch(algorithm) { + case 'SHA-384': + digestLength = 48; + break; + case 'SHA-512/256': + digestLength = 32; + break; + case 'SHA-512/224': + digestLength = 28; + break; + } + + // message digest object + var md = { + // SHA-512 => sha512 + algorithm: algorithm.replace('-', '').toLowerCase(), + blockLength: 128, + digestLength: digestLength, + // 56-bit length of message so far (does not including padding) + messageLength: 0, + // true message length + fullMessageLength: null, + // size of message length in bytes + messageLengthSize: 16 + }; + + /** + * Starts the digest. + * + * @return this digest object. + */ + md.start = function() { + // up to 56-bit message length for convenience + md.messageLength = 0; + + // full message length (set md.messageLength128 for backwards-compatibility) + md.fullMessageLength = md.messageLength128 = []; + var int32s = md.messageLengthSize / 4; + for(var i = 0; i < int32s; ++i) { + md.fullMessageLength.push(0); + } + _input = forge.util.createBuffer(); + _h = new Array(_state.length); + for(var i = 0; i < _state.length; ++i) { + _h[i] = _state[i].slice(0); + } + return md; + }; + // start digest automatically for first time + md.start(); + + /** + * Updates the digest with the given message input. The given input can + * treated as raw input (no encoding will be applied) or an encoding of + * 'utf8' maybe given to encode the input using UTF-8. + * + * @param msg the message input to update with. + * @param encoding the encoding to use (default: 'raw', other: 'utf8'). + * + * @return this digest object. + */ + md.update = function(msg, encoding) { + if(encoding === 'utf8') { + msg = forge.util.encodeUtf8(msg); + } + + // update message length + var len = msg.length; + md.messageLength += len; + len = [(len / 0x100000000) >>> 0, len >>> 0]; + for(var i = md.fullMessageLength.length - 1; i >= 0; --i) { + md.fullMessageLength[i] += len[1]; + len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0); + md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0; + len[0] = ((len[1] / 0x100000000) >>> 0); + } + + // add bytes to input buffer + _input.putBytes(msg); + + // process bytes + _update(_h, _w, _input); + + // compact input buffer every 2K or if empty + if(_input.read > 2048 || _input.length() === 0) { + _input.compact(); + } + + return md; + }; + + /** + * Produces the digest. + * + * @return a byte buffer containing the digest value. + */ + md.digest = function() { + /* Note: Here we copy the remaining bytes in the input buffer and + add the appropriate SHA-512 padding. Then we do the final update + on a copy of the state so that if the user wants to get + intermediate digests they can do so. */ + + /* Determine the number of bytes that must be added to the message + to ensure its length is congruent to 896 mod 1024. In other words, + the data to be digested must be a multiple of 1024 bits (or 128 bytes). + This data includes the message, some padding, and the length of the + message. Since the length of the message will be encoded as 16 bytes (128 + bits), that means that the last segment of the data must have 112 bytes + (896 bits) of message and padding. Therefore, the length of the message + plus the padding must be congruent to 896 mod 1024 because + 1024 - 128 = 896. + + In order to fill up the message length it must be filled with + padding that begins with 1 bit followed by all 0 bits. Padding + must *always* be present, so if the message length is already + congruent to 896 mod 1024, then 1024 padding bits must be added. */ + + var finalBlock = forge.util.createBuffer(); + finalBlock.putBytes(_input.bytes()); + + // compute remaining size to be digested (include message length size) + var remaining = ( + md.fullMessageLength[md.fullMessageLength.length - 1] + + md.messageLengthSize); + + // add padding for overflow blockSize - overflow + // _padding starts with 1 byte with first bit is set (byte value 128), then + // there may be up to (blockSize - 1) other pad bytes + var overflow = remaining & (md.blockLength - 1); + finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow)); + + // serialize message length in bits in big-endian order; since length + // is stored in bytes we multiply by 8 and add carry from next int + var next, carry; + var bits = md.fullMessageLength[0] * 8; + for(var i = 0; i < md.fullMessageLength.length - 1; ++i) { + next = md.fullMessageLength[i + 1] * 8; + carry = (next / 0x100000000) >>> 0; + bits += carry; + finalBlock.putInt32(bits >>> 0); + bits = next >>> 0; + } + finalBlock.putInt32(bits); + + var h = new Array(_h.length); + for(var i = 0; i < _h.length; ++i) { + h[i] = _h[i].slice(0); + } + _update(h, _w, finalBlock); + var rval = forge.util.createBuffer(); + var hlen; + if(algorithm === 'SHA-512') { + hlen = h.length; + } else if(algorithm === 'SHA-384') { + hlen = h.length - 2; + } else { + hlen = h.length - 4; + } + for(var i = 0; i < hlen; ++i) { + rval.putInt32(h[i][0]); + if(i !== hlen - 1 || algorithm !== 'SHA-512/224') { + rval.putInt32(h[i][1]); + } + } + return rval; + }; + + return md; +}; + +// sha-512 padding bytes not initialized yet +var _padding = null; +var _initialized = false; + +// table of constants +var _k = null; + +// initial hash states +var _states = null; + +/** + * Initializes the constant tables. + */ +function _init() { + // create padding + _padding = String.fromCharCode(128); + _padding += forge.util.fillString(String.fromCharCode(0x00), 128); + + // create K table for SHA-512 + _k = [ + [0x428a2f98, 0xd728ae22], [0x71374491, 0x23ef65cd], + [0xb5c0fbcf, 0xec4d3b2f], [0xe9b5dba5, 0x8189dbbc], + [0x3956c25b, 0xf348b538], [0x59f111f1, 0xb605d019], + [0x923f82a4, 0xaf194f9b], [0xab1c5ed5, 0xda6d8118], + [0xd807aa98, 0xa3030242], [0x12835b01, 0x45706fbe], + [0x243185be, 0x4ee4b28c], [0x550c7dc3, 0xd5ffb4e2], + [0x72be5d74, 0xf27b896f], [0x80deb1fe, 0x3b1696b1], + [0x9bdc06a7, 0x25c71235], [0xc19bf174, 0xcf692694], + [0xe49b69c1, 0x9ef14ad2], [0xefbe4786, 0x384f25e3], + [0x0fc19dc6, 0x8b8cd5b5], [0x240ca1cc, 0x77ac9c65], + [0x2de92c6f, 0x592b0275], [0x4a7484aa, 0x6ea6e483], + [0x5cb0a9dc, 0xbd41fbd4], [0x76f988da, 0x831153b5], + [0x983e5152, 0xee66dfab], [0xa831c66d, 0x2db43210], + [0xb00327c8, 0x98fb213f], [0xbf597fc7, 0xbeef0ee4], + [0xc6e00bf3, 0x3da88fc2], [0xd5a79147, 0x930aa725], + [0x06ca6351, 0xe003826f], [0x14292967, 0x0a0e6e70], + [0x27b70a85, 0x46d22ffc], [0x2e1b2138, 0x5c26c926], + [0x4d2c6dfc, 0x5ac42aed], [0x53380d13, 0x9d95b3df], + [0x650a7354, 0x8baf63de], [0x766a0abb, 0x3c77b2a8], + [0x81c2c92e, 0x47edaee6], [0x92722c85, 0x1482353b], + [0xa2bfe8a1, 0x4cf10364], [0xa81a664b, 0xbc423001], + [0xc24b8b70, 0xd0f89791], [0xc76c51a3, 0x0654be30], + [0xd192e819, 0xd6ef5218], [0xd6990624, 0x5565a910], + [0xf40e3585, 0x5771202a], [0x106aa070, 0x32bbd1b8], + [0x19a4c116, 0xb8d2d0c8], [0x1e376c08, 0x5141ab53], + [0x2748774c, 0xdf8eeb99], [0x34b0bcb5, 0xe19b48a8], + [0x391c0cb3, 0xc5c95a63], [0x4ed8aa4a, 0xe3418acb], + [0x5b9cca4f, 0x7763e373], [0x682e6ff3, 0xd6b2b8a3], + [0x748f82ee, 0x5defb2fc], [0x78a5636f, 0x43172f60], + [0x84c87814, 0xa1f0ab72], [0x8cc70208, 0x1a6439ec], + [0x90befffa, 0x23631e28], [0xa4506ceb, 0xde82bde9], + [0xbef9a3f7, 0xb2c67915], [0xc67178f2, 0xe372532b], + [0xca273ece, 0xea26619c], [0xd186b8c7, 0x21c0c207], + [0xeada7dd6, 0xcde0eb1e], [0xf57d4f7f, 0xee6ed178], + [0x06f067aa, 0x72176fba], [0x0a637dc5, 0xa2c898a6], + [0x113f9804, 0xbef90dae], [0x1b710b35, 0x131c471b], + [0x28db77f5, 0x23047d84], [0x32caab7b, 0x40c72493], + [0x3c9ebe0a, 0x15c9bebc], [0x431d67c4, 0x9c100d4c], + [0x4cc5d4be, 0xcb3e42b6], [0x597f299c, 0xfc657e2a], + [0x5fcb6fab, 0x3ad6faec], [0x6c44198c, 0x4a475817] + ]; + + // initial hash states + _states = {}; + _states['SHA-512'] = [ + [0x6a09e667, 0xf3bcc908], + [0xbb67ae85, 0x84caa73b], + [0x3c6ef372, 0xfe94f82b], + [0xa54ff53a, 0x5f1d36f1], + [0x510e527f, 0xade682d1], + [0x9b05688c, 0x2b3e6c1f], + [0x1f83d9ab, 0xfb41bd6b], + [0x5be0cd19, 0x137e2179] + ]; + _states['SHA-384'] = [ + [0xcbbb9d5d, 0xc1059ed8], + [0x629a292a, 0x367cd507], + [0x9159015a, 0x3070dd17], + [0x152fecd8, 0xf70e5939], + [0x67332667, 0xffc00b31], + [0x8eb44a87, 0x68581511], + [0xdb0c2e0d, 0x64f98fa7], + [0x47b5481d, 0xbefa4fa4] + ]; + _states['SHA-512/256'] = [ + [0x22312194, 0xFC2BF72C], + [0x9F555FA3, 0xC84C64C2], + [0x2393B86B, 0x6F53B151], + [0x96387719, 0x5940EABD], + [0x96283EE2, 0xA88EFFE3], + [0xBE5E1E25, 0x53863992], + [0x2B0199FC, 0x2C85B8AA], + [0x0EB72DDC, 0x81C52CA2] + ]; + _states['SHA-512/224'] = [ + [0x8C3D37C8, 0x19544DA2], + [0x73E19966, 0x89DCD4D6], + [0x1DFAB7AE, 0x32FF9C82], + [0x679DD514, 0x582F9FCF], + [0x0F6D2B69, 0x7BD44DA8], + [0x77E36F73, 0x04C48942], + [0x3F9D85A8, 0x6A1D36C8], + [0x1112E6AD, 0x91D692A1] + ]; + + // now initialized + _initialized = true; +} + +/** + * Updates a SHA-512 state with the given byte buffer. + * + * @param s the SHA-512 state to update. + * @param w the array to use to store words. + * @param bytes the byte buffer to update with. + */ +function _update(s, w, bytes) { + // consume 512 bit (128 byte) chunks + var t1_hi, t1_lo; + var t2_hi, t2_lo; + var s0_hi, s0_lo; + var s1_hi, s1_lo; + var ch_hi, ch_lo; + var maj_hi, maj_lo; + var a_hi, a_lo; + var b_hi, b_lo; + var c_hi, c_lo; + var d_hi, d_lo; + var e_hi, e_lo; + var f_hi, f_lo; + var g_hi, g_lo; + var h_hi, h_lo; + var i, hi, lo, w2, w7, w15, w16; + var len = bytes.length(); + while(len >= 128) { + // the w array will be populated with sixteen 64-bit big-endian words + // and then extended into 64 64-bit words according to SHA-512 + for(i = 0; i < 16; ++i) { + w[i][0] = bytes.getInt32() >>> 0; + w[i][1] = bytes.getInt32() >>> 0; + } + for(; i < 80; ++i) { + // for word 2 words ago: ROTR 19(x) ^ ROTR 61(x) ^ SHR 6(x) + w2 = w[i - 2]; + hi = w2[0]; + lo = w2[1]; + + // high bits + t1_hi = ( + ((hi >>> 19) | (lo << 13)) ^ // ROTR 19 + ((lo >>> 29) | (hi << 3)) ^ // ROTR 61/(swap + ROTR 29) + (hi >>> 6)) >>> 0; // SHR 6 + // low bits + t1_lo = ( + ((hi << 13) | (lo >>> 19)) ^ // ROTR 19 + ((lo << 3) | (hi >>> 29)) ^ // ROTR 61/(swap + ROTR 29) + ((hi << 26) | (lo >>> 6))) >>> 0; // SHR 6 + + // for word 15 words ago: ROTR 1(x) ^ ROTR 8(x) ^ SHR 7(x) + w15 = w[i - 15]; + hi = w15[0]; + lo = w15[1]; + + // high bits + t2_hi = ( + ((hi >>> 1) | (lo << 31)) ^ // ROTR 1 + ((hi >>> 8) | (lo << 24)) ^ // ROTR 8 + (hi >>> 7)) >>> 0; // SHR 7 + // low bits + t2_lo = ( + ((hi << 31) | (lo >>> 1)) ^ // ROTR 1 + ((hi << 24) | (lo >>> 8)) ^ // ROTR 8 + ((hi << 25) | (lo >>> 7))) >>> 0; // SHR 7 + + // sum(t1, word 7 ago, t2, word 16 ago) modulo 2^64 (carry lo overflow) + w7 = w[i - 7]; + w16 = w[i - 16]; + lo = (t1_lo + w7[1] + t2_lo + w16[1]); + w[i][0] = (t1_hi + w7[0] + t2_hi + w16[0] + + ((lo / 0x100000000) >>> 0)) >>> 0; + w[i][1] = lo >>> 0; + } + + // initialize hash value for this chunk + a_hi = s[0][0]; + a_lo = s[0][1]; + b_hi = s[1][0]; + b_lo = s[1][1]; + c_hi = s[2][0]; + c_lo = s[2][1]; + d_hi = s[3][0]; + d_lo = s[3][1]; + e_hi = s[4][0]; + e_lo = s[4][1]; + f_hi = s[5][0]; + f_lo = s[5][1]; + g_hi = s[6][0]; + g_lo = s[6][1]; + h_hi = s[7][0]; + h_lo = s[7][1]; + + // round function + for(i = 0; i < 80; ++i) { + // Sum1(e) = ROTR 14(e) ^ ROTR 18(e) ^ ROTR 41(e) + s1_hi = ( + ((e_hi >>> 14) | (e_lo << 18)) ^ // ROTR 14 + ((e_hi >>> 18) | (e_lo << 14)) ^ // ROTR 18 + ((e_lo >>> 9) | (e_hi << 23))) >>> 0; // ROTR 41/(swap + ROTR 9) + s1_lo = ( + ((e_hi << 18) | (e_lo >>> 14)) ^ // ROTR 14 + ((e_hi << 14) | (e_lo >>> 18)) ^ // ROTR 18 + ((e_lo << 23) | (e_hi >>> 9))) >>> 0; // ROTR 41/(swap + ROTR 9) + + // Ch(e, f, g) (optimized the same way as SHA-1) + ch_hi = (g_hi ^ (e_hi & (f_hi ^ g_hi))) >>> 0; + ch_lo = (g_lo ^ (e_lo & (f_lo ^ g_lo))) >>> 0; + + // Sum0(a) = ROTR 28(a) ^ ROTR 34(a) ^ ROTR 39(a) + s0_hi = ( + ((a_hi >>> 28) | (a_lo << 4)) ^ // ROTR 28 + ((a_lo >>> 2) | (a_hi << 30)) ^ // ROTR 34/(swap + ROTR 2) + ((a_lo >>> 7) | (a_hi << 25))) >>> 0; // ROTR 39/(swap + ROTR 7) + s0_lo = ( + ((a_hi << 4) | (a_lo >>> 28)) ^ // ROTR 28 + ((a_lo << 30) | (a_hi >>> 2)) ^ // ROTR 34/(swap + ROTR 2) + ((a_lo << 25) | (a_hi >>> 7))) >>> 0; // ROTR 39/(swap + ROTR 7) + + // Maj(a, b, c) (optimized the same way as SHA-1) + maj_hi = ((a_hi & b_hi) | (c_hi & (a_hi ^ b_hi))) >>> 0; + maj_lo = ((a_lo & b_lo) | (c_lo & (a_lo ^ b_lo))) >>> 0; + + // main algorithm + // t1 = (h + s1 + ch + _k[i] + _w[i]) modulo 2^64 (carry lo overflow) + lo = (h_lo + s1_lo + ch_lo + _k[i][1] + w[i][1]); + t1_hi = (h_hi + s1_hi + ch_hi + _k[i][0] + w[i][0] + + ((lo / 0x100000000) >>> 0)) >>> 0; + t1_lo = lo >>> 0; + + // t2 = s0 + maj modulo 2^64 (carry lo overflow) + lo = s0_lo + maj_lo; + t2_hi = (s0_hi + maj_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + t2_lo = lo >>> 0; + + h_hi = g_hi; + h_lo = g_lo; + + g_hi = f_hi; + g_lo = f_lo; + + f_hi = e_hi; + f_lo = e_lo; + + // e = (d + t1) modulo 2^64 (carry lo overflow) + lo = d_lo + t1_lo; + e_hi = (d_hi + t1_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + e_lo = lo >>> 0; + + d_hi = c_hi; + d_lo = c_lo; + + c_hi = b_hi; + c_lo = b_lo; + + b_hi = a_hi; + b_lo = a_lo; + + // a = (t1 + t2) modulo 2^64 (carry lo overflow) + lo = t1_lo + t2_lo; + a_hi = (t1_hi + t2_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + a_lo = lo >>> 0; + } + + // update hash state (additional modulo 2^64) + lo = s[0][1] + a_lo; + s[0][0] = (s[0][0] + a_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[0][1] = lo >>> 0; + + lo = s[1][1] + b_lo; + s[1][0] = (s[1][0] + b_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[1][1] = lo >>> 0; + + lo = s[2][1] + c_lo; + s[2][0] = (s[2][0] + c_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[2][1] = lo >>> 0; + + lo = s[3][1] + d_lo; + s[3][0] = (s[3][0] + d_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[3][1] = lo >>> 0; + + lo = s[4][1] + e_lo; + s[4][0] = (s[4][0] + e_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[4][1] = lo >>> 0; + + lo = s[5][1] + f_lo; + s[5][0] = (s[5][0] + f_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[5][1] = lo >>> 0; + + lo = s[6][1] + g_lo; + s[6][0] = (s[6][0] + g_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[6][1] = lo >>> 0; + + lo = s[7][1] + h_lo; + s[7][0] = (s[7][0] + h_hi + ((lo / 0x100000000) >>> 0)) >>> 0; + s[7][1] = lo >>> 0; + + len -= 128; + } +} + + +/***/ }), + +/***/ 94280: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Functions to output keys in SSH-friendly formats. + * + * This is part of the Forge project which may be used under the terms of + * either the BSD License or the GNU General Public License (GPL) Version 2. + * + * See: https://github.com/digitalbazaar/forge/blob/cbebca3780658703d925b61b2caffb1d263a6c1d/LICENSE + * + * @author https://github.com/shellac + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(95104); +__nccwpck_require__(86594); +__nccwpck_require__(90279); +__nccwpck_require__(28339); + +var ssh = module.exports = forge.ssh = forge.ssh || {}; + +/** + * Encodes (and optionally encrypts) a private RSA key as a Putty PPK file. + * + * @param privateKey the key. + * @param passphrase a passphrase to protect the key (falsy for no encryption). + * @param comment a comment to include in the key file. + * + * @return the PPK file as a string. + */ +ssh.privateKeyToPutty = function(privateKey, passphrase, comment) { + comment = comment || ''; + passphrase = passphrase || ''; + var algorithm = 'ssh-rsa'; + var encryptionAlgorithm = (passphrase === '') ? 'none' : 'aes256-cbc'; + + var ppk = 'PuTTY-User-Key-File-2: ' + algorithm + '\r\n'; + ppk += 'Encryption: ' + encryptionAlgorithm + '\r\n'; + ppk += 'Comment: ' + comment + '\r\n'; + + // public key into buffer for ppk + var pubbuffer = forge.util.createBuffer(); + _addStringToBuffer(pubbuffer, algorithm); + _addBigIntegerToBuffer(pubbuffer, privateKey.e); + _addBigIntegerToBuffer(pubbuffer, privateKey.n); + + // write public key + var pub = forge.util.encode64(pubbuffer.bytes(), 64); + var length = Math.floor(pub.length / 66) + 1; // 66 = 64 + \r\n + ppk += 'Public-Lines: ' + length + '\r\n'; + ppk += pub; + + // private key into a buffer + var privbuffer = forge.util.createBuffer(); + _addBigIntegerToBuffer(privbuffer, privateKey.d); + _addBigIntegerToBuffer(privbuffer, privateKey.p); + _addBigIntegerToBuffer(privbuffer, privateKey.q); + _addBigIntegerToBuffer(privbuffer, privateKey.qInv); + + // optionally encrypt the private key + var priv; + if(!passphrase) { + // use the unencrypted buffer + priv = forge.util.encode64(privbuffer.bytes(), 64); + } else { + // encrypt RSA key using passphrase + var encLen = privbuffer.length() + 16 - 1; + encLen -= encLen % 16; + + // pad private key with sha1-d data -- needs to be a multiple of 16 + var padding = _sha1(privbuffer.bytes()); + + padding.truncate(padding.length() - encLen + privbuffer.length()); + privbuffer.putBuffer(padding); + + var aeskey = forge.util.createBuffer(); + aeskey.putBuffer(_sha1('\x00\x00\x00\x00', passphrase)); + aeskey.putBuffer(_sha1('\x00\x00\x00\x01', passphrase)); + + // encrypt some bytes using CBC mode + // key is 40 bytes, so truncate *by* 8 bytes + var cipher = forge.aes.createEncryptionCipher(aeskey.truncate(8), 'CBC'); + cipher.start(forge.util.createBuffer().fillWithByte(0, 16)); + cipher.update(privbuffer.copy()); + cipher.finish(); + var encrypted = cipher.output; + + // Note: this appears to differ from Putty -- is forge wrong, or putty? + // due to padding we finish as an exact multiple of 16 + encrypted.truncate(16); // all padding + + priv = forge.util.encode64(encrypted.bytes(), 64); + } + + // output private key + length = Math.floor(priv.length / 66) + 1; // 64 + \r\n + ppk += '\r\nPrivate-Lines: ' + length + '\r\n'; + ppk += priv; + + // MAC + var mackey = _sha1('putty-private-key-file-mac-key', passphrase); + + var macbuffer = forge.util.createBuffer(); + _addStringToBuffer(macbuffer, algorithm); + _addStringToBuffer(macbuffer, encryptionAlgorithm); + _addStringToBuffer(macbuffer, comment); + macbuffer.putInt32(pubbuffer.length()); + macbuffer.putBuffer(pubbuffer); + macbuffer.putInt32(privbuffer.length()); + macbuffer.putBuffer(privbuffer); + + var hmac = forge.hmac.create(); + hmac.start('sha1', mackey); + hmac.update(macbuffer.bytes()); + + ppk += '\r\nPrivate-MAC: ' + hmac.digest().toHex() + '\r\n'; + + return ppk; +}; + +/** + * Encodes a public RSA key as an OpenSSH file. + * + * @param key the key. + * @param comment a comment. + * + * @return the public key in OpenSSH format. + */ +ssh.publicKeyToOpenSSH = function(key, comment) { + var type = 'ssh-rsa'; + comment = comment || ''; + + var buffer = forge.util.createBuffer(); + _addStringToBuffer(buffer, type); + _addBigIntegerToBuffer(buffer, key.e); + _addBigIntegerToBuffer(buffer, key.n); + + return type + ' ' + forge.util.encode64(buffer.bytes()) + ' ' + comment; +}; + +/** + * Encodes a private RSA key as an OpenSSH file. + * + * @param key the key. + * @param passphrase a passphrase to protect the key (falsy for no encryption). + * + * @return the public key in OpenSSH format. + */ +ssh.privateKeyToOpenSSH = function(privateKey, passphrase) { + if(!passphrase) { + return forge.pki.privateKeyToPem(privateKey); + } + // OpenSSH private key is just a legacy format, it seems + return forge.pki.encryptRsaPrivateKey(privateKey, passphrase, + {legacy: true, algorithm: 'aes128'}); +}; + +/** + * Gets the SSH fingerprint for the given public key. + * + * @param options the options to use. + * [md] the message digest object to use (defaults to forge.md.md5). + * [encoding] an alternative output encoding, such as 'hex' + * (defaults to none, outputs a byte buffer). + * [delimiter] the delimiter to use between bytes for 'hex' encoded + * output, eg: ':' (defaults to none). + * + * @return the fingerprint as a byte buffer or other encoding based on options. + */ +ssh.getPublicKeyFingerprint = function(key, options) { + options = options || {}; + var md = options.md || forge.md.md5.create(); + + var type = 'ssh-rsa'; + var buffer = forge.util.createBuffer(); + _addStringToBuffer(buffer, type); + _addBigIntegerToBuffer(buffer, key.e); + _addBigIntegerToBuffer(buffer, key.n); + + // hash public key bytes + md.start(); + md.update(buffer.getBytes()); + var digest = md.digest(); + if(options.encoding === 'hex') { + var hex = digest.toHex(); + if(options.delimiter) { + return hex.match(/.{2}/g).join(options.delimiter); + } + return hex; + } else if(options.encoding === 'binary') { + return digest.getBytes(); + } else if(options.encoding) { + throw new Error('Unknown encoding "' + options.encoding + '".'); + } + return digest; +}; + +/** + * Adds len(val) then val to a buffer. + * + * @param buffer the buffer to add to. + * @param val a big integer. + */ +function _addBigIntegerToBuffer(buffer, val) { + var hexVal = val.toString(16); + // ensure 2s complement +ve + if(hexVal[0] >= '8') { + hexVal = '00' + hexVal; + } + var bytes = forge.util.hexToBytes(hexVal); + buffer.putInt32(bytes.length); + buffer.putBytes(bytes); +} + +/** + * Adds len(val) then val to a buffer. + * + * @param buffer the buffer to add to. + * @param val a string. + */ +function _addStringToBuffer(buffer, val) { + buffer.putInt32(val.length); + buffer.putString(val); +} + +/** + * Hashes the arguments into one value using SHA-1. + * + * @return the sha1 hash of the provided arguments. + */ +function _sha1() { + var sha = forge.md.sha1.create(); + var num = arguments.length; + for (var i = 0; i < num; ++i) { + sha.update(arguments[i]); + } + return sha.digest(); +} + + +/***/ }), + +/***/ 19563: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Support for concurrent task management and synchronization in web + * applications. + * + * @author Dave Longley + * @author David I. Lehn + * + * Copyright (c) 2009-2013 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(52923); +__nccwpck_require__(49994); +__nccwpck_require__(28339); + +// logging category +var cat = 'forge.task'; + +// verbose level +// 0: off, 1: a little, 2: a whole lot +// Verbose debug logging is surrounded by a level check to avoid the +// performance issues with even calling the logging code regardless if it +// is actually logged. For performance reasons this should not be set to 2 +// for production use. +// ex: if(sVL >= 2) forge.log.verbose(....) +var sVL = 0; + +// track tasks for debugging +var sTasks = {}; +var sNextTaskId = 0; +// debug access +forge.debug.set(cat, 'tasks', sTasks); + +// a map of task type to task queue +var sTaskQueues = {}; +// debug access +forge.debug.set(cat, 'queues', sTaskQueues); + +// name for unnamed tasks +var sNoTaskName = '?'; + +// maximum number of doNext() recursions before a context swap occurs +// FIXME: might need to tweak this based on the browser +var sMaxRecursions = 30; + +// time slice for doing tasks before a context swap occurs +// FIXME: might need to tweak this based on the browser +var sTimeSlice = 20; + +/** + * Task states. + * + * READY: ready to start processing + * RUNNING: task or a subtask is running + * BLOCKED: task is waiting to acquire N permits to continue + * SLEEPING: task is sleeping for a period of time + * DONE: task is done + * ERROR: task has an error + */ +var READY = 'ready'; +var RUNNING = 'running'; +var BLOCKED = 'blocked'; +var SLEEPING = 'sleeping'; +var DONE = 'done'; +var ERROR = 'error'; + +/** + * Task actions. Used to control state transitions. + * + * STOP: stop processing + * START: start processing tasks + * BLOCK: block task from continuing until 1 or more permits are released + * UNBLOCK: release one or more permits + * SLEEP: sleep for a period of time + * WAKEUP: wakeup early from SLEEPING state + * CANCEL: cancel further tasks + * FAIL: a failure occured + */ +var STOP = 'stop'; +var START = 'start'; +var BLOCK = 'block'; +var UNBLOCK = 'unblock'; +var SLEEP = 'sleep'; +var WAKEUP = 'wakeup'; +var CANCEL = 'cancel'; +var FAIL = 'fail'; + +/** + * State transition table. + * + * nextState = sStateTable[currentState][action] + */ +var sStateTable = {}; + +sStateTable[READY] = {}; +sStateTable[READY][STOP] = READY; +sStateTable[READY][START] = RUNNING; +sStateTable[READY][CANCEL] = DONE; +sStateTable[READY][FAIL] = ERROR; + +sStateTable[RUNNING] = {}; +sStateTable[RUNNING][STOP] = READY; +sStateTable[RUNNING][START] = RUNNING; +sStateTable[RUNNING][BLOCK] = BLOCKED; +sStateTable[RUNNING][UNBLOCK] = RUNNING; +sStateTable[RUNNING][SLEEP] = SLEEPING; +sStateTable[RUNNING][WAKEUP] = RUNNING; +sStateTable[RUNNING][CANCEL] = DONE; +sStateTable[RUNNING][FAIL] = ERROR; + +sStateTable[BLOCKED] = {}; +sStateTable[BLOCKED][STOP] = BLOCKED; +sStateTable[BLOCKED][START] = BLOCKED; +sStateTable[BLOCKED][BLOCK] = BLOCKED; +sStateTable[BLOCKED][UNBLOCK] = BLOCKED; +sStateTable[BLOCKED][SLEEP] = BLOCKED; +sStateTable[BLOCKED][WAKEUP] = BLOCKED; +sStateTable[BLOCKED][CANCEL] = DONE; +sStateTable[BLOCKED][FAIL] = ERROR; + +sStateTable[SLEEPING] = {}; +sStateTable[SLEEPING][STOP] = SLEEPING; +sStateTable[SLEEPING][START] = SLEEPING; +sStateTable[SLEEPING][BLOCK] = SLEEPING; +sStateTable[SLEEPING][UNBLOCK] = SLEEPING; +sStateTable[SLEEPING][SLEEP] = SLEEPING; +sStateTable[SLEEPING][WAKEUP] = SLEEPING; +sStateTable[SLEEPING][CANCEL] = DONE; +sStateTable[SLEEPING][FAIL] = ERROR; + +sStateTable[DONE] = {}; +sStateTable[DONE][STOP] = DONE; +sStateTable[DONE][START] = DONE; +sStateTable[DONE][BLOCK] = DONE; +sStateTable[DONE][UNBLOCK] = DONE; +sStateTable[DONE][SLEEP] = DONE; +sStateTable[DONE][WAKEUP] = DONE; +sStateTable[DONE][CANCEL] = DONE; +sStateTable[DONE][FAIL] = ERROR; + +sStateTable[ERROR] = {}; +sStateTable[ERROR][STOP] = ERROR; +sStateTable[ERROR][START] = ERROR; +sStateTable[ERROR][BLOCK] = ERROR; +sStateTable[ERROR][UNBLOCK] = ERROR; +sStateTable[ERROR][SLEEP] = ERROR; +sStateTable[ERROR][WAKEUP] = ERROR; +sStateTable[ERROR][CANCEL] = ERROR; +sStateTable[ERROR][FAIL] = ERROR; + +/** + * Creates a new task. + * + * @param options options for this task + * run: the run function for the task (required) + * name: the run function for the task (optional) + * parent: parent of this task (optional) + * + * @return the empty task. + */ +var Task = function(options) { + // task id + this.id = -1; + + // task name + this.name = options.name || sNoTaskName; + + // task has no parent + this.parent = options.parent || null; + + // save run function + this.run = options.run; + + // create a queue of subtasks to run + this.subtasks = []; + + // error flag + this.error = false; + + // state of the task + this.state = READY; + + // number of times the task has been blocked (also the number + // of permits needed to be released to continue running) + this.blocks = 0; + + // timeout id when sleeping + this.timeoutId = null; + + // no swap time yet + this.swapTime = null; + + // no user data + this.userData = null; + + // initialize task + // FIXME: deal with overflow + this.id = sNextTaskId++; + sTasks[this.id] = this; + if(sVL >= 1) { + forge.log.verbose(cat, '[%s][%s] init', this.id, this.name, this); + } +}; + +/** + * Logs debug information on this task and the system state. + */ +Task.prototype.debug = function(msg) { + msg = msg || ''; + forge.log.debug(cat, msg, + '[%s][%s] task:', this.id, this.name, this, + 'subtasks:', this.subtasks.length, + 'queue:', sTaskQueues); +}; + +/** + * Adds a subtask to run after task.doNext() or task.fail() is called. + * + * @param name human readable name for this task (optional). + * @param subrun a function to run that takes the current task as + * its first parameter. + * + * @return the current task (useful for chaining next() calls). + */ +Task.prototype.next = function(name, subrun) { + // juggle parameters if it looks like no name is given + if(typeof(name) === 'function') { + subrun = name; + + // inherit parent's name + name = this.name; + } + // create subtask, set parent to this task, propagate callbacks + var subtask = new Task({ + run: subrun, + name: name, + parent: this + }); + // start subtasks running + subtask.state = RUNNING; + subtask.type = this.type; + subtask.successCallback = this.successCallback || null; + subtask.failureCallback = this.failureCallback || null; + + // queue a new subtask + this.subtasks.push(subtask); + + return this; +}; + +/** + * Adds subtasks to run in parallel after task.doNext() or task.fail() + * is called. + * + * @param name human readable name for this task (optional). + * @param subrun functions to run that take the current task as + * their first parameter. + * + * @return the current task (useful for chaining next() calls). + */ +Task.prototype.parallel = function(name, subrun) { + // juggle parameters if it looks like no name is given + if(forge.util.isArray(name)) { + subrun = name; + + // inherit parent's name + name = this.name; + } + // Wrap parallel tasks in a regular task so they are started at the + // proper time. + return this.next(name, function(task) { + // block waiting for subtasks + var ptask = task; + ptask.block(subrun.length); + + // we pass the iterator from the loop below as a parameter + // to a function because it is otherwise included in the + // closure and changes as the loop changes -- causing i + // to always be set to its highest value + var startParallelTask = function(pname, pi) { + forge.task.start({ + type: pname, + run: function(task) { + subrun[pi](task); + }, + success: function(task) { + ptask.unblock(); + }, + failure: function(task) { + ptask.unblock(); + } + }); + }; + + for(var i = 0; i < subrun.length; i++) { + // Type must be unique so task starts in parallel: + // name + private string + task id + sub-task index + // start tasks in parallel and unblock when the finish + var pname = name + '__parallel-' + task.id + '-' + i; + var pi = i; + startParallelTask(pname, pi); + } + }); +}; + +/** + * Stops a running task. + */ +Task.prototype.stop = function() { + this.state = sStateTable[this.state][STOP]; +}; + +/** + * Starts running a task. + */ +Task.prototype.start = function() { + this.error = false; + this.state = sStateTable[this.state][START]; + + // try to restart + if(this.state === RUNNING) { + this.start = new Date(); + this.run(this); + runNext(this, 0); + } +}; + +/** + * Blocks a task until it one or more permits have been released. The + * task will not resume until the requested number of permits have + * been released with call(s) to unblock(). + * + * @param n number of permits to wait for(default: 1). + */ +Task.prototype.block = function(n) { + n = typeof(n) === 'undefined' ? 1 : n; + this.blocks += n; + if(this.blocks > 0) { + this.state = sStateTable[this.state][BLOCK]; + } +}; + +/** + * Releases a permit to unblock a task. If a task was blocked by + * requesting N permits via block(), then it will only continue + * running once enough permits have been released via unblock() calls. + * + * If multiple processes need to synchronize with a single task then + * use a condition variable (see forge.task.createCondition). It is + * an error to unblock a task more times than it has been blocked. + * + * @param n number of permits to release (default: 1). + * + * @return the current block count (task is unblocked when count is 0) + */ +Task.prototype.unblock = function(n) { + n = typeof(n) === 'undefined' ? 1 : n; + this.blocks -= n; + if(this.blocks === 0 && this.state !== DONE) { + this.state = RUNNING; + runNext(this, 0); + } + return this.blocks; +}; + +/** + * Sleep for a period of time before resuming tasks. + * + * @param n number of milliseconds to sleep (default: 0). + */ +Task.prototype.sleep = function(n) { + n = typeof(n) === 'undefined' ? 0 : n; + this.state = sStateTable[this.state][SLEEP]; + var self = this; + this.timeoutId = setTimeout(function() { + self.timeoutId = null; + self.state = RUNNING; + runNext(self, 0); + }, n); +}; + +/** + * Waits on a condition variable until notified. The next task will + * not be scheduled until notification. A condition variable can be + * created with forge.task.createCondition(). + * + * Once cond.notify() is called, the task will continue. + * + * @param cond the condition variable to wait on. + */ +Task.prototype.wait = function(cond) { + cond.wait(this); +}; + +/** + * If sleeping, wakeup and continue running tasks. + */ +Task.prototype.wakeup = function() { + if(this.state === SLEEPING) { + cancelTimeout(this.timeoutId); + this.timeoutId = null; + this.state = RUNNING; + runNext(this, 0); + } +}; + +/** + * Cancel all remaining subtasks of this task. + */ +Task.prototype.cancel = function() { + this.state = sStateTable[this.state][CANCEL]; + // remove permits needed + this.permitsNeeded = 0; + // cancel timeouts + if(this.timeoutId !== null) { + cancelTimeout(this.timeoutId); + this.timeoutId = null; + } + // remove subtasks + this.subtasks = []; +}; + +/** + * Finishes this task with failure and sets error flag. The entire + * task will be aborted unless the next task that should execute + * is passed as a parameter. This allows levels of subtasks to be + * skipped. For instance, to abort only this tasks's subtasks, then + * call fail(task.parent). To abort this task's subtasks and its + * parent's subtasks, call fail(task.parent.parent). To abort + * all tasks and simply call the task callback, call fail() or + * fail(null). + * + * The task callback (success or failure) will always, eventually, be + * called. + * + * @param next the task to continue at, or null to abort entirely. + */ +Task.prototype.fail = function(next) { + // set error flag + this.error = true; + + // finish task + finish(this, true); + + if(next) { + // propagate task info + next.error = this.error; + next.swapTime = this.swapTime; + next.userData = this.userData; + + // do next task as specified + runNext(next, 0); + } else { + if(this.parent !== null) { + // finish root task (ensures it is removed from task queue) + var parent = this.parent; + while(parent.parent !== null) { + // propagate task info + parent.error = this.error; + parent.swapTime = this.swapTime; + parent.userData = this.userData; + parent = parent.parent; + } + finish(parent, true); + } + + // call failure callback if one exists + if(this.failureCallback) { + this.failureCallback(this); + } + } +}; + +/** + * Asynchronously start a task. + * + * @param task the task to start. + */ +var start = function(task) { + task.error = false; + task.state = sStateTable[task.state][START]; + setTimeout(function() { + if(task.state === RUNNING) { + task.swapTime = +new Date(); + task.run(task); + runNext(task, 0); + } + }, 0); +}; + +/** + * Run the next subtask or finish this task. + * + * @param task the task to process. + * @param recurse the recursion count. + */ +var runNext = function(task, recurse) { + // get time since last context swap (ms), if enough time has passed set + // swap to true to indicate that doNext was performed asynchronously + // also, if recurse is too high do asynchronously + var swap = + (recurse > sMaxRecursions) || + (+new Date() - task.swapTime) > sTimeSlice; + + var doNext = function(recurse) { + recurse++; + if(task.state === RUNNING) { + if(swap) { + // update swap time + task.swapTime = +new Date(); + } + + if(task.subtasks.length > 0) { + // run next subtask + var subtask = task.subtasks.shift(); + subtask.error = task.error; + subtask.swapTime = task.swapTime; + subtask.userData = task.userData; + subtask.run(subtask); + if(!subtask.error) { + runNext(subtask, recurse); + } + } else { + finish(task); + + if(!task.error) { + // chain back up and run parent + if(task.parent !== null) { + // propagate task info + task.parent.error = task.error; + task.parent.swapTime = task.swapTime; + task.parent.userData = task.userData; + + // no subtasks left, call run next subtask on parent + runNext(task.parent, recurse); + } + } + } + } + }; + + if(swap) { + // we're swapping, so run asynchronously + setTimeout(doNext, 0); + } else { + // not swapping, so run synchronously + doNext(recurse); + } +}; + +/** + * Finishes a task and looks for the next task in the queue to start. + * + * @param task the task to finish. + * @param suppressCallbacks true to suppress callbacks. + */ +var finish = function(task, suppressCallbacks) { + // subtask is now done + task.state = DONE; + + delete sTasks[task.id]; + if(sVL >= 1) { + forge.log.verbose(cat, '[%s][%s] finish', + task.id, task.name, task); + } + + // only do queue processing for root tasks + if(task.parent === null) { + // report error if queue is missing + if(!(task.type in sTaskQueues)) { + forge.log.error(cat, + '[%s][%s] task queue missing [%s]', + task.id, task.name, task.type); + } else if(sTaskQueues[task.type].length === 0) { + // report error if queue is empty + forge.log.error(cat, + '[%s][%s] task queue empty [%s]', + task.id, task.name, task.type); + } else if(sTaskQueues[task.type][0] !== task) { + // report error if this task isn't the first in the queue + forge.log.error(cat, + '[%s][%s] task not first in queue [%s]', + task.id, task.name, task.type); + } else { + // remove ourselves from the queue + sTaskQueues[task.type].shift(); + // clean up queue if it is empty + if(sTaskQueues[task.type].length === 0) { + if(sVL >= 1) { + forge.log.verbose(cat, '[%s][%s] delete queue [%s]', + task.id, task.name, task.type); + } + /* Note: Only a task can delete a queue of its own type. This + is used as a way to synchronize tasks. If a queue for a certain + task type exists, then a task of that type is running. + */ + delete sTaskQueues[task.type]; + } else { + // dequeue the next task and start it + if(sVL >= 1) { + forge.log.verbose(cat, + '[%s][%s] queue start next [%s] remain:%s', + task.id, task.name, task.type, + sTaskQueues[task.type].length); + } + sTaskQueues[task.type][0].start(); + } + } + + if(!suppressCallbacks) { + // call final callback if one exists + if(task.error && task.failureCallback) { + task.failureCallback(task); + } else if(!task.error && task.successCallback) { + task.successCallback(task); + } + } + } +}; + +/* Tasks API */ +module.exports = forge.task = forge.task || {}; + +/** + * Starts a new task that will run the passed function asynchronously. + * + * In order to finish the task, either task.doNext() or task.fail() + * *must* be called. + * + * The task must have a type (a string identifier) that can be used to + * synchronize it with other tasks of the same type. That type can also + * be used to cancel tasks that haven't started yet. + * + * To start a task, the following object must be provided as a parameter + * (each function takes a task object as its first parameter): + * + * { + * type: the type of task. + * run: the function to run to execute the task. + * success: a callback to call when the task succeeds (optional). + * failure: a callback to call when the task fails (optional). + * } + * + * @param options the object as described above. + */ +forge.task.start = function(options) { + // create a new task + var task = new Task({ + run: options.run, + name: options.name || sNoTaskName + }); + task.type = options.type; + task.successCallback = options.success || null; + task.failureCallback = options.failure || null; + + // append the task onto the appropriate queue + if(!(task.type in sTaskQueues)) { + if(sVL >= 1) { + forge.log.verbose(cat, '[%s][%s] create queue [%s]', + task.id, task.name, task.type); + } + // create the queue with the new task + sTaskQueues[task.type] = [task]; + start(task); + } else { + // push the task onto the queue, it will be run after a task + // with the same type completes + sTaskQueues[options.type].push(task); + } +}; + +/** + * Cancels all tasks of the given type that haven't started yet. + * + * @param type the type of task to cancel. + */ +forge.task.cancel = function(type) { + // find the task queue + if(type in sTaskQueues) { + // empty all but the current task from the queue + sTaskQueues[type] = [sTaskQueues[type][0]]; + } +}; + +/** + * Creates a condition variable to synchronize tasks. To make a task wait + * on the condition variable, call task.wait(condition). To notify all + * tasks that are waiting, call condition.notify(). + * + * @return the condition variable. + */ +forge.task.createCondition = function() { + var cond = { + // all tasks that are blocked + tasks: {} + }; + + /** + * Causes the given task to block until notify is called. If the task + * is already waiting on this condition then this is a no-op. + * + * @param task the task to cause to wait. + */ + cond.wait = function(task) { + // only block once + if(!(task.id in cond.tasks)) { + task.block(); + cond.tasks[task.id] = task; + } + }; + + /** + * Notifies all waiting tasks to wake up. + */ + cond.notify = function() { + // since unblock() will run the next task from here, make sure to + // clear the condition's blocked task list before unblocking + var tmp = cond.tasks; + cond.tasks = {}; + for(var id in tmp) { + tmp[id].unblock(); + } + }; + + return cond; +}; + + +/***/ }), + +/***/ 79167: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * A Javascript implementation of Transport Layer Security (TLS). + * + * @author Dave Longley + * + * Copyright (c) 2009-2014 Digital Bazaar, Inc. + * + * The TLS Handshake Protocol involves the following steps: + * + * - Exchange hello messages to agree on algorithms, exchange random values, + * and check for session resumption. + * + * - Exchange the necessary cryptographic parameters to allow the client and + * server to agree on a premaster secret. + * + * - Exchange certificates and cryptographic information to allow the client + * and server to authenticate themselves. + * + * - Generate a master secret from the premaster secret and exchanged random + * values. + * + * - Provide security parameters to the record layer. + * + * - Allow the client and server to verify that their peer has calculated the + * same security parameters and that the handshake occurred without tampering + * by an attacker. + * + * Up to 4 different messages may be sent during a key exchange. The server + * certificate, the server key exchange, the client certificate, and the + * client key exchange. + * + * A typical handshake (from the client's perspective). + * + * 1. Client sends ClientHello. + * 2. Client receives ServerHello. + * 3. Client receives optional Certificate. + * 4. Client receives optional ServerKeyExchange. + * 5. Client receives ServerHelloDone. + * 6. Client sends optional Certificate. + * 7. Client sends ClientKeyExchange. + * 8. Client sends optional CertificateVerify. + * 9. Client sends ChangeCipherSpec. + * 10. Client sends Finished. + * 11. Client receives ChangeCipherSpec. + * 12. Client receives Finished. + * 13. Client sends/receives application data. + * + * To reuse an existing session: + * + * 1. Client sends ClientHello with session ID for reuse. + * 2. Client receives ServerHello with same session ID if reusing. + * 3. Client receives ChangeCipherSpec message if reusing. + * 4. Client receives Finished. + * 5. Client sends ChangeCipherSpec. + * 6. Client sends Finished. + * + * Note: Client ignores HelloRequest if in the middle of a handshake. + * + * Record Layer: + * + * The record layer fragments information blocks into TLSPlaintext records + * carrying data in chunks of 2^14 bytes or less. Client message boundaries are + * not preserved in the record layer (i.e., multiple client messages of the + * same ContentType MAY be coalesced into a single TLSPlaintext record, or a + * single message MAY be fragmented across several records). + * + * struct { + * uint8 major; + * uint8 minor; + * } ProtocolVersion; + * + * struct { + * ContentType type; + * ProtocolVersion version; + * uint16 length; + * opaque fragment[TLSPlaintext.length]; + * } TLSPlaintext; + * + * type: + * The higher-level protocol used to process the enclosed fragment. + * + * version: + * The version of the protocol being employed. TLS Version 1.2 uses version + * {3, 3}. TLS Version 1.0 uses version {3, 1}. Note that a client that + * supports multiple versions of TLS may not know what version will be + * employed before it receives the ServerHello. + * + * length: + * The length (in bytes) of the following TLSPlaintext.fragment. The length + * MUST NOT exceed 2^14 = 16384 bytes. + * + * fragment: + * The application data. This data is transparent and treated as an + * independent block to be dealt with by the higher-level protocol specified + * by the type field. + * + * Implementations MUST NOT send zero-length fragments of Handshake, Alert, or + * ChangeCipherSpec content types. Zero-length fragments of Application data + * MAY be sent as they are potentially useful as a traffic analysis + * countermeasure. + * + * Note: Data of different TLS record layer content types MAY be interleaved. + * Application data is generally of lower precedence for transmission than + * other content types. However, records MUST be delivered to the network in + * the same order as they are protected by the record layer. Recipients MUST + * receive and process interleaved application layer traffic during handshakes + * subsequent to the first one on a connection. + * + * struct { + * ContentType type; // same as TLSPlaintext.type + * ProtocolVersion version;// same as TLSPlaintext.version + * uint16 length; + * opaque fragment[TLSCompressed.length]; + * } TLSCompressed; + * + * length: + * The length (in bytes) of the following TLSCompressed.fragment. + * The length MUST NOT exceed 2^14 + 1024. + * + * fragment: + * The compressed form of TLSPlaintext.fragment. + * + * Note: A CompressionMethod.null operation is an identity operation; no fields + * are altered. In this implementation, since no compression is supported, + * uncompressed records are always the same as compressed records. + * + * Encryption Information: + * + * The encryption and MAC functions translate a TLSCompressed structure into a + * TLSCiphertext. The decryption functions reverse the process. The MAC of the + * record also includes a sequence number so that missing, extra, or repeated + * messages are detectable. + * + * struct { + * ContentType type; + * ProtocolVersion version; + * uint16 length; + * select (SecurityParameters.cipher_type) { + * case stream: GenericStreamCipher; + * case block: GenericBlockCipher; + * case aead: GenericAEADCipher; + * } fragment; + * } TLSCiphertext; + * + * type: + * The type field is identical to TLSCompressed.type. + * + * version: + * The version field is identical to TLSCompressed.version. + * + * length: + * The length (in bytes) of the following TLSCiphertext.fragment. + * The length MUST NOT exceed 2^14 + 2048. + * + * fragment: + * The encrypted form of TLSCompressed.fragment, with the MAC. + * + * Note: Only CBC Block Ciphers are supported by this implementation. + * + * The TLSCompressed.fragment structures are converted to/from block + * TLSCiphertext.fragment structures. + * + * struct { + * opaque IV[SecurityParameters.record_iv_length]; + * block-ciphered struct { + * opaque content[TLSCompressed.length]; + * opaque MAC[SecurityParameters.mac_length]; + * uint8 padding[GenericBlockCipher.padding_length]; + * uint8 padding_length; + * }; + * } GenericBlockCipher; + * + * The MAC is generated as described in Section 6.2.3.1. + * + * IV: + * The Initialization Vector (IV) SHOULD be chosen at random, and MUST be + * unpredictable. Note that in versions of TLS prior to 1.1, there was no + * IV field, and the last ciphertext block of the previous record (the "CBC + * residue") was used as the IV. This was changed to prevent the attacks + * described in [CBCATT]. For block ciphers, the IV length is of length + * SecurityParameters.record_iv_length, which is equal to the + * SecurityParameters.block_size. + * + * padding: + * Padding that is added to force the length of the plaintext to be an + * integral multiple of the block cipher's block length. The padding MAY be + * any length up to 255 bytes, as long as it results in the + * TLSCiphertext.length being an integral multiple of the block length. + * Lengths longer than necessary might be desirable to frustrate attacks on + * a protocol that are based on analysis of the lengths of exchanged + * messages. Each uint8 in the padding data vector MUST be filled with the + * padding length value. The receiver MUST check this padding and MUST use + * the bad_record_mac alert to indicate padding errors. + * + * padding_length: + * The padding length MUST be such that the total size of the + * GenericBlockCipher structure is a multiple of the cipher's block length. + * Legal values range from zero to 255, inclusive. This length specifies the + * length of the padding field exclusive of the padding_length field itself. + * + * The encrypted data length (TLSCiphertext.length) is one more than the sum of + * SecurityParameters.block_length, TLSCompressed.length, + * SecurityParameters.mac_length, and padding_length. + * + * Example: If the block length is 8 bytes, the content length + * (TLSCompressed.length) is 61 bytes, and the MAC length is 20 bytes, then the + * length before padding is 82 bytes (this does not include the IV. Thus, the + * padding length modulo 8 must be equal to 6 in order to make the total length + * an even multiple of 8 bytes (the block length). The padding length can be + * 6, 14, 22, and so on, through 254. If the padding length were the minimum + * necessary, 6, the padding would be 6 bytes, each containing the value 6. + * Thus, the last 8 octets of the GenericBlockCipher before block encryption + * would be xx 06 06 06 06 06 06 06, where xx is the last octet of the MAC. + * + * Note: With block ciphers in CBC mode (Cipher Block Chaining), it is critical + * that the entire plaintext of the record be known before any ciphertext is + * transmitted. Otherwise, it is possible for the attacker to mount the attack + * described in [CBCATT]. + * + * Implementation note: Canvel et al. [CBCTIME] have demonstrated a timing + * attack on CBC padding based on the time required to compute the MAC. In + * order to defend against this attack, implementations MUST ensure that + * record processing time is essentially the same whether or not the padding + * is correct. In general, the best way to do this is to compute the MAC even + * if the padding is incorrect, and only then reject the packet. For instance, + * if the pad appears to be incorrect, the implementation might assume a + * zero-length pad and then compute the MAC. This leaves a small timing + * channel, since MAC performance depends, to some extent, on the size of the + * data fragment, but it is not believed to be large enough to be exploitable, + * due to the large block size of existing MACs and the small size of the + * timing signal. + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(39549); +__nccwpck_require__(95104); +__nccwpck_require__(86594); +__nccwpck_require__(70154); +__nccwpck_require__(6924); +__nccwpck_require__(57821); +__nccwpck_require__(90279); +__nccwpck_require__(28339); + +/** + * Generates pseudo random bytes by mixing the result of two hash functions, + * MD5 and SHA-1. + * + * prf_TLS1(secret, label, seed) = + * P_MD5(S1, label + seed) XOR P_SHA-1(S2, label + seed); + * + * Each P_hash function functions as follows: + * + * P_hash(secret, seed) = HMAC_hash(secret, A(1) + seed) + + * HMAC_hash(secret, A(2) + seed) + + * HMAC_hash(secret, A(3) + seed) + ... + * A() is defined as: + * A(0) = seed + * A(i) = HMAC_hash(secret, A(i-1)) + * + * The '+' operator denotes concatenation. + * + * As many iterations A(N) as are needed are performed to generate enough + * pseudo random byte output. If an iteration creates more data than is + * necessary, then it is truncated. + * + * Therefore: + * A(1) = HMAC_hash(secret, A(0)) + * = HMAC_hash(secret, seed) + * A(2) = HMAC_hash(secret, A(1)) + * = HMAC_hash(secret, HMAC_hash(secret, seed)) + * + * Therefore: + * P_hash(secret, seed) = + * HMAC_hash(secret, HMAC_hash(secret, A(0)) + seed) + + * HMAC_hash(secret, HMAC_hash(secret, A(1)) + seed) + + * ... + * + * Therefore: + * P_hash(secret, seed) = + * HMAC_hash(secret, HMAC_hash(secret, seed) + seed) + + * HMAC_hash(secret, HMAC_hash(secret, HMAC_hash(secret, seed)) + seed) + + * ... + * + * @param secret the secret to use. + * @param label the label to use. + * @param seed the seed value to use. + * @param length the number of bytes to generate. + * + * @return the pseudo random bytes in a byte buffer. + */ +var prf_TLS1 = function(secret, label, seed, length) { + var rval = forge.util.createBuffer(); + + /* For TLS 1.0, the secret is split in half, into two secrets of equal + length. If the secret has an odd length then the last byte of the first + half will be the same as the first byte of the second. The length of the + two secrets is half of the secret rounded up. */ + var idx = (secret.length >> 1); + var slen = idx + (secret.length & 1); + var s1 = secret.substr(0, slen); + var s2 = secret.substr(idx, slen); + var ai = forge.util.createBuffer(); + var hmac = forge.hmac.create(); + seed = label + seed; + + // determine the number of iterations that must be performed to generate + // enough output bytes, md5 creates 16 byte hashes, sha1 creates 20 + var md5itr = Math.ceil(length / 16); + var sha1itr = Math.ceil(length / 20); + + // do md5 iterations + hmac.start('MD5', s1); + var md5bytes = forge.util.createBuffer(); + ai.putBytes(seed); + for(var i = 0; i < md5itr; ++i) { + // HMAC_hash(secret, A(i-1)) + hmac.start(null, null); + hmac.update(ai.getBytes()); + ai.putBuffer(hmac.digest()); + + // HMAC_hash(secret, A(i) + seed) + hmac.start(null, null); + hmac.update(ai.bytes() + seed); + md5bytes.putBuffer(hmac.digest()); + } + + // do sha1 iterations + hmac.start('SHA1', s2); + var sha1bytes = forge.util.createBuffer(); + ai.clear(); + ai.putBytes(seed); + for(var i = 0; i < sha1itr; ++i) { + // HMAC_hash(secret, A(i-1)) + hmac.start(null, null); + hmac.update(ai.getBytes()); + ai.putBuffer(hmac.digest()); + + // HMAC_hash(secret, A(i) + seed) + hmac.start(null, null); + hmac.update(ai.bytes() + seed); + sha1bytes.putBuffer(hmac.digest()); + } + + // XOR the md5 bytes with the sha1 bytes + rval.putBytes(forge.util.xorBytes( + md5bytes.getBytes(), sha1bytes.getBytes(), length)); + + return rval; +}; + +/** + * Generates pseudo random bytes using a SHA256 algorithm. For TLS 1.2. + * + * @param secret the secret to use. + * @param label the label to use. + * @param seed the seed value to use. + * @param length the number of bytes to generate. + * + * @return the pseudo random bytes in a byte buffer. + */ +var prf_sha256 = function(secret, label, seed, length) { + // FIXME: implement me for TLS 1.2 +}; + +/** + * Gets a MAC for a record using the SHA-1 hash algorithm. + * + * @param key the mac key. + * @param state the sequence number (array of two 32-bit integers). + * @param record the record. + * + * @return the sha-1 hash (20 bytes) for the given record. + */ +var hmac_sha1 = function(key, seqNum, record) { + /* MAC is computed like so: + HMAC_hash( + key, seqNum + + TLSCompressed.type + + TLSCompressed.version + + TLSCompressed.length + + TLSCompressed.fragment) + */ + var hmac = forge.hmac.create(); + hmac.start('SHA1', key); + var b = forge.util.createBuffer(); + b.putInt32(seqNum[0]); + b.putInt32(seqNum[1]); + b.putByte(record.type); + b.putByte(record.version.major); + b.putByte(record.version.minor); + b.putInt16(record.length); + b.putBytes(record.fragment.bytes()); + hmac.update(b.getBytes()); + return hmac.digest().getBytes(); +}; + +/** + * Compresses the TLSPlaintext record into a TLSCompressed record using the + * deflate algorithm. + * + * @param c the TLS connection. + * @param record the TLSPlaintext record to compress. + * @param s the ConnectionState to use. + * + * @return true on success, false on failure. + */ +var deflate = function(c, record, s) { + var rval = false; + + try { + var bytes = c.deflate(record.fragment.getBytes()); + record.fragment = forge.util.createBuffer(bytes); + record.length = bytes.length; + rval = true; + } catch(ex) { + // deflate error, fail out + } + + return rval; +}; + +/** + * Decompresses the TLSCompressed record into a TLSPlaintext record using the + * deflate algorithm. + * + * @param c the TLS connection. + * @param record the TLSCompressed record to decompress. + * @param s the ConnectionState to use. + * + * @return true on success, false on failure. + */ +var inflate = function(c, record, s) { + var rval = false; + + try { + var bytes = c.inflate(record.fragment.getBytes()); + record.fragment = forge.util.createBuffer(bytes); + record.length = bytes.length; + rval = true; + } catch(ex) { + // inflate error, fail out + } + + return rval; +}; + +/** + * Reads a TLS variable-length vector from a byte buffer. + * + * Variable-length vectors are defined by specifying a subrange of legal + * lengths, inclusively, using the notation . When these are + * encoded, the actual length precedes the vector's contents in the byte + * stream. The length will be in the form of a number consuming as many bytes + * as required to hold the vector's specified maximum (ceiling) length. A + * variable-length vector with an actual length field of zero is referred to + * as an empty vector. + * + * @param b the byte buffer. + * @param lenBytes the number of bytes required to store the length. + * + * @return the resulting byte buffer. + */ +var readVector = function(b, lenBytes) { + var len = 0; + switch(lenBytes) { + case 1: + len = b.getByte(); + break; + case 2: + len = b.getInt16(); + break; + case 3: + len = b.getInt24(); + break; + case 4: + len = b.getInt32(); + break; + } + + // read vector bytes into a new buffer + return forge.util.createBuffer(b.getBytes(len)); +}; + +/** + * Writes a TLS variable-length vector to a byte buffer. + * + * @param b the byte buffer. + * @param lenBytes the number of bytes required to store the length. + * @param v the byte buffer vector. + */ +var writeVector = function(b, lenBytes, v) { + // encode length at the start of the vector, where the number of bytes for + // the length is the maximum number of bytes it would take to encode the + // vector's ceiling + b.putInt(v.length(), lenBytes << 3); + b.putBuffer(v); +}; + +/** + * The tls implementation. + */ +var tls = {}; + +/** + * Version: TLS 1.2 = 3.3, TLS 1.1 = 3.2, TLS 1.0 = 3.1. Both TLS 1.1 and + * TLS 1.2 were still too new (ie: openSSL didn't implement them) at the time + * of this implementation so TLS 1.0 was implemented instead. + */ +tls.Versions = { + TLS_1_0: {major: 3, minor: 1}, + TLS_1_1: {major: 3, minor: 2}, + TLS_1_2: {major: 3, minor: 3} +}; +tls.SupportedVersions = [ + tls.Versions.TLS_1_1, + tls.Versions.TLS_1_0 +]; +tls.Version = tls.SupportedVersions[0]; + +/** + * Maximum fragment size. True maximum is 16384, but we fragment before that + * to allow for unusual small increases during compression. + */ +tls.MaxFragment = 16384 - 1024; + +/** + * Whether this entity is considered the "client" or "server". + * enum { server, client } ConnectionEnd; + */ +tls.ConnectionEnd = { + server: 0, + client: 1 +}; + +/** + * Pseudo-random function algorithm used to generate keys from the master + * secret. + * enum { tls_prf_sha256 } PRFAlgorithm; + */ +tls.PRFAlgorithm = { + tls_prf_sha256: 0 +}; + +/** + * Bulk encryption algorithms. + * enum { null, rc4, des3, aes } BulkCipherAlgorithm; + */ +tls.BulkCipherAlgorithm = { + none: null, + rc4: 0, + des3: 1, + aes: 2 +}; + +/** + * Cipher types. + * enum { stream, block, aead } CipherType; + */ +tls.CipherType = { + stream: 0, + block: 1, + aead: 2 +}; + +/** + * MAC (Message Authentication Code) algorithms. + * enum { null, hmac_md5, hmac_sha1, hmac_sha256, + * hmac_sha384, hmac_sha512} MACAlgorithm; + */ +tls.MACAlgorithm = { + none: null, + hmac_md5: 0, + hmac_sha1: 1, + hmac_sha256: 2, + hmac_sha384: 3, + hmac_sha512: 4 +}; + +/** + * Compression algorithms. + * enum { null(0), deflate(1), (255) } CompressionMethod; + */ +tls.CompressionMethod = { + none: 0, + deflate: 1 +}; + +/** + * TLS record content types. + * enum { + * change_cipher_spec(20), alert(21), handshake(22), + * application_data(23), (255) + * } ContentType; + */ +tls.ContentType = { + change_cipher_spec: 20, + alert: 21, + handshake: 22, + application_data: 23, + heartbeat: 24 +}; + +/** + * TLS handshake types. + * enum { + * hello_request(0), client_hello(1), server_hello(2), + * certificate(11), server_key_exchange (12), + * certificate_request(13), server_hello_done(14), + * certificate_verify(15), client_key_exchange(16), + * finished(20), (255) + * } HandshakeType; + */ +tls.HandshakeType = { + hello_request: 0, + client_hello: 1, + server_hello: 2, + certificate: 11, + server_key_exchange: 12, + certificate_request: 13, + server_hello_done: 14, + certificate_verify: 15, + client_key_exchange: 16, + finished: 20 +}; + +/** + * TLS Alert Protocol. + * + * enum { warning(1), fatal(2), (255) } AlertLevel; + * + * enum { + * close_notify(0), + * unexpected_message(10), + * bad_record_mac(20), + * decryption_failed(21), + * record_overflow(22), + * decompression_failure(30), + * handshake_failure(40), + * bad_certificate(42), + * unsupported_certificate(43), + * certificate_revoked(44), + * certificate_expired(45), + * certificate_unknown(46), + * illegal_parameter(47), + * unknown_ca(48), + * access_denied(49), + * decode_error(50), + * decrypt_error(51), + * export_restriction(60), + * protocol_version(70), + * insufficient_security(71), + * internal_error(80), + * user_canceled(90), + * no_renegotiation(100), + * (255) + * } AlertDescription; + * + * struct { + * AlertLevel level; + * AlertDescription description; + * } Alert; + */ +tls.Alert = {}; +tls.Alert.Level = { + warning: 1, + fatal: 2 +}; +tls.Alert.Description = { + close_notify: 0, + unexpected_message: 10, + bad_record_mac: 20, + decryption_failed: 21, + record_overflow: 22, + decompression_failure: 30, + handshake_failure: 40, + bad_certificate: 42, + unsupported_certificate: 43, + certificate_revoked: 44, + certificate_expired: 45, + certificate_unknown: 46, + illegal_parameter: 47, + unknown_ca: 48, + access_denied: 49, + decode_error: 50, + decrypt_error: 51, + export_restriction: 60, + protocol_version: 70, + insufficient_security: 71, + internal_error: 80, + user_canceled: 90, + no_renegotiation: 100 +}; + +/** + * TLS Heartbeat Message types. + * enum { + * heartbeat_request(1), + * heartbeat_response(2), + * (255) + * } HeartbeatMessageType; + */ +tls.HeartbeatMessageType = { + heartbeat_request: 1, + heartbeat_response: 2 +}; + +/** + * Supported cipher suites. + */ +tls.CipherSuites = {}; + +/** + * Gets a supported cipher suite from its 2 byte ID. + * + * @param twoBytes two bytes in a string. + * + * @return the matching supported cipher suite or null. + */ +tls.getCipherSuite = function(twoBytes) { + var rval = null; + for(var key in tls.CipherSuites) { + var cs = tls.CipherSuites[key]; + if(cs.id[0] === twoBytes.charCodeAt(0) && + cs.id[1] === twoBytes.charCodeAt(1)) { + rval = cs; + break; + } + } + return rval; +}; + +/** + * Called when an unexpected record is encountered. + * + * @param c the connection. + * @param record the record. + */ +tls.handleUnexpected = function(c, record) { + // if connection is client and closed, ignore unexpected messages + var ignore = (!c.open && c.entity === tls.ConnectionEnd.client); + if(!ignore) { + c.error(c, { + message: 'Unexpected message. Received TLS record out of order.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.unexpected_message + } + }); + } +}; + +/** + * Called when a client receives a HelloRequest record. + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleHelloRequest = function(c, record, length) { + // ignore renegotiation requests from the server during a handshake, but + // if handshaking, send a warning alert that renegotation is denied + if(!c.handshaking && c.handshakes > 0) { + // send alert warning + tls.queue(c, tls.createAlert(c, { + level: tls.Alert.Level.warning, + description: tls.Alert.Description.no_renegotiation + })); + tls.flush(c); + } + + // continue + c.process(); +}; + +/** + * Parses a hello message from a ClientHello or ServerHello record. + * + * @param record the record to parse. + * + * @return the parsed message. + */ +tls.parseHelloMessage = function(c, record, length) { + var msg = null; + + var client = (c.entity === tls.ConnectionEnd.client); + + // minimum of 38 bytes in message + if(length < 38) { + c.error(c, { + message: client ? + 'Invalid ServerHello message. Message too short.' : + 'Invalid ClientHello message. Message too short.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.illegal_parameter + } + }); + } else { + // use 'remaining' to calculate # of remaining bytes in the message + var b = record.fragment; + var remaining = b.length(); + msg = { + version: { + major: b.getByte(), + minor: b.getByte() + }, + random: forge.util.createBuffer(b.getBytes(32)), + session_id: readVector(b, 1), + extensions: [] + }; + if(client) { + msg.cipher_suite = b.getBytes(2); + msg.compression_method = b.getByte(); + } else { + msg.cipher_suites = readVector(b, 2); + msg.compression_methods = readVector(b, 1); + } + + // read extensions if there are any bytes left in the message + remaining = length - (remaining - b.length()); + if(remaining > 0) { + // parse extensions + var exts = readVector(b, 2); + while(exts.length() > 0) { + msg.extensions.push({ + type: [exts.getByte(), exts.getByte()], + data: readVector(exts, 2) + }); + } + + // TODO: make extension support modular + if(!client) { + for(var i = 0; i < msg.extensions.length; ++i) { + var ext = msg.extensions[i]; + + // support SNI extension + if(ext.type[0] === 0x00 && ext.type[1] === 0x00) { + // get server name list + var snl = readVector(ext.data, 2); + while(snl.length() > 0) { + // read server name type + var snType = snl.getByte(); + + // only HostName type (0x00) is known, break out if + // another type is detected + if(snType !== 0x00) { + break; + } + + // add host name to server name list + c.session.extensions.server_name.serverNameList.push( + readVector(snl, 2).getBytes()); + } + } + } + } + } + + // version already set, do not allow version change + if(c.session.version) { + if(msg.version.major !== c.session.version.major || + msg.version.minor !== c.session.version.minor) { + return c.error(c, { + message: 'TLS version change is disallowed during renegotiation.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.protocol_version + } + }); + } + } + + // get the chosen (ServerHello) cipher suite + if(client) { + // FIXME: should be checking configured acceptable cipher suites + c.session.cipherSuite = tls.getCipherSuite(msg.cipher_suite); + } else { + // get a supported preferred (ClientHello) cipher suite + // choose the first supported cipher suite + var tmp = forge.util.createBuffer(msg.cipher_suites.bytes()); + while(tmp.length() > 0) { + // FIXME: should be checking configured acceptable suites + // cipher suites take up 2 bytes + c.session.cipherSuite = tls.getCipherSuite(tmp.getBytes(2)); + if(c.session.cipherSuite !== null) { + break; + } + } + } + + // cipher suite not supported + if(c.session.cipherSuite === null) { + return c.error(c, { + message: 'No cipher suites in common.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.handshake_failure + }, + cipherSuite: forge.util.bytesToHex(msg.cipher_suite) + }); + } + + // TODO: handle compression methods + if(client) { + c.session.compressionMethod = msg.compression_method; + } else { + // no compression + c.session.compressionMethod = tls.CompressionMethod.none; + } + } + + return msg; +}; + +/** + * Creates security parameters for the given connection based on the given + * hello message. + * + * @param c the TLS connection. + * @param msg the hello message. + */ +tls.createSecurityParameters = function(c, msg) { + /* Note: security params are from TLS 1.2, some values like prf_algorithm + are ignored for TLS 1.0/1.1 and the builtin as specified in the spec is + used. */ + + // TODO: handle other options from server when more supported + + // get client and server randoms + var client = (c.entity === tls.ConnectionEnd.client); + var msgRandom = msg.random.bytes(); + var cRandom = client ? c.session.sp.client_random : msgRandom; + var sRandom = client ? msgRandom : tls.createRandom().getBytes(); + + // create new security parameters + c.session.sp = { + entity: c.entity, + prf_algorithm: tls.PRFAlgorithm.tls_prf_sha256, + bulk_cipher_algorithm: null, + cipher_type: null, + enc_key_length: null, + block_length: null, + fixed_iv_length: null, + record_iv_length: null, + mac_algorithm: null, + mac_length: null, + mac_key_length: null, + compression_algorithm: c.session.compressionMethod, + pre_master_secret: null, + master_secret: null, + client_random: cRandom, + server_random: sRandom + }; +}; + +/** + * Called when a client receives a ServerHello record. + * + * When a ServerHello message will be sent: + * The server will send this message in response to a client hello message + * when it was able to find an acceptable set of algorithms. If it cannot + * find such a match, it will respond with a handshake failure alert. + * + * uint24 length; + * struct { + * ProtocolVersion server_version; + * Random random; + * SessionID session_id; + * CipherSuite cipher_suite; + * CompressionMethod compression_method; + * select(extensions_present) { + * case false: + * struct {}; + * case true: + * Extension extensions<0..2^16-1>; + * }; + * } ServerHello; + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleServerHello = function(c, record, length) { + var msg = tls.parseHelloMessage(c, record, length); + if(c.fail) { + return; + } + + // ensure server version is compatible + if(msg.version.minor <= c.version.minor) { + c.version.minor = msg.version.minor; + } else { + return c.error(c, { + message: 'Incompatible TLS version.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.protocol_version + } + }); + } + + // indicate session version has been set + c.session.version = c.version; + + // get the session ID from the message + var sessionId = msg.session_id.bytes(); + + // if the session ID is not blank and matches the cached one, resume + // the session + if(sessionId.length > 0 && sessionId === c.session.id) { + // resuming session, expect a ChangeCipherSpec next + c.expect = SCC; + c.session.resuming = true; + + // get new server random + c.session.sp.server_random = msg.random.bytes(); + } else { + // not resuming, expect a server Certificate message next + c.expect = SCE; + c.session.resuming = false; + + // create new security parameters + tls.createSecurityParameters(c, msg); + } + + // set new session ID + c.session.id = sessionId; + + // continue + c.process(); +}; + +/** + * Called when a server receives a ClientHello record. + * + * When a ClientHello message will be sent: + * When a client first connects to a server it is required to send the + * client hello as its first message. The client can also send a client + * hello in response to a hello request or on its own initiative in order + * to renegotiate the security parameters in an existing connection. + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleClientHello = function(c, record, length) { + var msg = tls.parseHelloMessage(c, record, length); + if(c.fail) { + return; + } + + // get the session ID from the message + var sessionId = msg.session_id.bytes(); + + // see if the given session ID is in the cache + var session = null; + if(c.sessionCache) { + session = c.sessionCache.getSession(sessionId); + if(session === null) { + // session ID not found + sessionId = ''; + } else if(session.version.major !== msg.version.major || + session.version.minor > msg.version.minor) { + // if session version is incompatible with client version, do not resume + session = null; + sessionId = ''; + } + } + + // no session found to resume, generate a new session ID + if(sessionId.length === 0) { + sessionId = forge.random.getBytes(32); + } + + // update session + c.session.id = sessionId; + c.session.clientHelloVersion = msg.version; + c.session.sp = {}; + if(session) { + // use version and security parameters from resumed session + c.version = c.session.version = session.version; + c.session.sp = session.sp; + } else { + // use highest compatible minor version + var version; + for(var i = 1; i < tls.SupportedVersions.length; ++i) { + version = tls.SupportedVersions[i]; + if(version.minor <= msg.version.minor) { + break; + } + } + c.version = {major: version.major, minor: version.minor}; + c.session.version = c.version; + } + + // if a session is set, resume it + if(session !== null) { + // resuming session, expect a ChangeCipherSpec next + c.expect = CCC; + c.session.resuming = true; + + // get new client random + c.session.sp.client_random = msg.random.bytes(); + } else { + // not resuming, expect a Certificate or ClientKeyExchange + c.expect = (c.verifyClient !== false) ? CCE : CKE; + c.session.resuming = false; + + // create new security parameters + tls.createSecurityParameters(c, msg); + } + + // connection now open + c.open = true; + + // queue server hello + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createServerHello(c) + })); + + if(c.session.resuming) { + // queue change cipher spec message + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.change_cipher_spec, + data: tls.createChangeCipherSpec() + })); + + // create pending state + c.state.pending = tls.createConnectionState(c); + + // change current write state to pending write state + c.state.current.write = c.state.pending.write; + + // queue finished + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createFinished(c) + })); + } else { + // queue server certificate + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createCertificate(c) + })); + + if(!c.fail) { + // queue server key exchange + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createServerKeyExchange(c) + })); + + // request client certificate if set + if(c.verifyClient !== false) { + // queue certificate request + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createCertificateRequest(c) + })); + } + + // queue server hello done + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createServerHelloDone(c) + })); + } + } + + // send records + tls.flush(c); + + // continue + c.process(); +}; + +/** + * Called when a client receives a Certificate record. + * + * When this message will be sent: + * The server must send a certificate whenever the agreed-upon key exchange + * method is not an anonymous one. This message will always immediately + * follow the server hello message. + * + * Meaning of this message: + * The certificate type must be appropriate for the selected cipher suite's + * key exchange algorithm, and is generally an X.509v3 certificate. It must + * contain a key which matches the key exchange method, as follows. Unless + * otherwise specified, the signing algorithm for the certificate must be + * the same as the algorithm for the certificate key. Unless otherwise + * specified, the public key may be of any length. + * + * opaque ASN.1Cert<1..2^24-1>; + * struct { + * ASN.1Cert certificate_list<1..2^24-1>; + * } Certificate; + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleCertificate = function(c, record, length) { + // minimum of 3 bytes in message + if(length < 3) { + return c.error(c, { + message: 'Invalid Certificate message. Message too short.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.illegal_parameter + } + }); + } + + var b = record.fragment; + var msg = { + certificate_list: readVector(b, 3) + }; + + /* The sender's certificate will be first in the list (chain), each + subsequent one that follows will certify the previous one, but root + certificates (self-signed) that specify the certificate authority may + be omitted under the assumption that clients must already possess it. */ + var cert, asn1; + var certs = []; + try { + while(msg.certificate_list.length() > 0) { + // each entry in msg.certificate_list is a vector with 3 len bytes + cert = readVector(msg.certificate_list, 3); + asn1 = forge.asn1.fromDer(cert); + cert = forge.pki.certificateFromAsn1(asn1, true); + certs.push(cert); + } + } catch(ex) { + return c.error(c, { + message: 'Could not parse certificate list.', + cause: ex, + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.bad_certificate + } + }); + } + + // ensure at least 1 certificate was provided if in client-mode + // or if verifyClient was set to true to require a certificate + // (as opposed to 'optional') + var client = (c.entity === tls.ConnectionEnd.client); + if((client || c.verifyClient === true) && certs.length === 0) { + // error, no certificate + c.error(c, { + message: client ? + 'No server certificate provided.' : + 'No client certificate provided.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.illegal_parameter + } + }); + } else if(certs.length === 0) { + // no certs to verify + // expect a ServerKeyExchange or ClientKeyExchange message next + c.expect = client ? SKE : CKE; + } else { + // save certificate in session + if(client) { + c.session.serverCertificate = certs[0]; + } else { + c.session.clientCertificate = certs[0]; + } + + if(tls.verifyCertificateChain(c, certs)) { + // expect a ServerKeyExchange or ClientKeyExchange message next + c.expect = client ? SKE : CKE; + } + } + + // continue + c.process(); +}; + +/** + * Called when a client receives a ServerKeyExchange record. + * + * When this message will be sent: + * This message will be sent immediately after the server certificate + * message (or the server hello message, if this is an anonymous + * negotiation). + * + * The server key exchange message is sent by the server only when the + * server certificate message (if sent) does not contain enough data to + * allow the client to exchange a premaster secret. + * + * Meaning of this message: + * This message conveys cryptographic information to allow the client to + * communicate the premaster secret: either an RSA public key to encrypt + * the premaster secret with, or a Diffie-Hellman public key with which the + * client can complete a key exchange (with the result being the premaster + * secret.) + * + * enum { + * dhe_dss, dhe_rsa, dh_anon, rsa, dh_dss, dh_rsa + * } KeyExchangeAlgorithm; + * + * struct { + * opaque dh_p<1..2^16-1>; + * opaque dh_g<1..2^16-1>; + * opaque dh_Ys<1..2^16-1>; + * } ServerDHParams; + * + * struct { + * select(KeyExchangeAlgorithm) { + * case dh_anon: + * ServerDHParams params; + * case dhe_dss: + * case dhe_rsa: + * ServerDHParams params; + * digitally-signed struct { + * opaque client_random[32]; + * opaque server_random[32]; + * ServerDHParams params; + * } signed_params; + * case rsa: + * case dh_dss: + * case dh_rsa: + * struct {}; + * }; + * } ServerKeyExchange; + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleServerKeyExchange = function(c, record, length) { + // this implementation only supports RSA, no Diffie-Hellman support + // so any length > 0 is invalid + if(length > 0) { + return c.error(c, { + message: 'Invalid key parameters. Only RSA is supported.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.unsupported_certificate + } + }); + } + + // expect an optional CertificateRequest message next + c.expect = SCR; + + // continue + c.process(); +}; + +/** + * Called when a client receives a ClientKeyExchange record. + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleClientKeyExchange = function(c, record, length) { + // this implementation only supports RSA, no Diffie-Hellman support + // so any length < 48 is invalid + if(length < 48) { + return c.error(c, { + message: 'Invalid key parameters. Only RSA is supported.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.unsupported_certificate + } + }); + } + + var b = record.fragment; + var msg = { + enc_pre_master_secret: readVector(b, 2).getBytes() + }; + + // do rsa decryption + var privateKey = null; + if(c.getPrivateKey) { + try { + privateKey = c.getPrivateKey(c, c.session.serverCertificate); + privateKey = forge.pki.privateKeyFromPem(privateKey); + } catch(ex) { + c.error(c, { + message: 'Could not get private key.', + cause: ex, + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.internal_error + } + }); + } + } + + if(privateKey === null) { + return c.error(c, { + message: 'No private key set.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.internal_error + } + }); + } + + try { + // decrypt 48-byte pre-master secret + var sp = c.session.sp; + sp.pre_master_secret = privateKey.decrypt(msg.enc_pre_master_secret); + + // ensure client hello version matches first 2 bytes + var version = c.session.clientHelloVersion; + if(version.major !== sp.pre_master_secret.charCodeAt(0) || + version.minor !== sp.pre_master_secret.charCodeAt(1)) { + // error, do not send alert (see BLEI attack below) + throw new Error('TLS version rollback attack detected.'); + } + } catch(ex) { + /* Note: Daniel Bleichenbacher [BLEI] can be used to attack a + TLS server which is using PKCS#1 encoded RSA, so instead of + failing here, we generate 48 random bytes and use that as + the pre-master secret. */ + sp.pre_master_secret = forge.random.getBytes(48); + } + + // expect a CertificateVerify message if a Certificate was received that + // does not have fixed Diffie-Hellman params, otherwise expect + // ChangeCipherSpec + c.expect = CCC; + if(c.session.clientCertificate !== null) { + // only RSA support, so expect CertificateVerify + // TODO: support Diffie-Hellman + c.expect = CCV; + } + + // continue + c.process(); +}; + +/** + * Called when a client receives a CertificateRequest record. + * + * When this message will be sent: + * A non-anonymous server can optionally request a certificate from the + * client, if appropriate for the selected cipher suite. This message, if + * sent, will immediately follow the Server Key Exchange message (if it is + * sent; otherwise, the Server Certificate message). + * + * enum { + * rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4), + * rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6), + * fortezza_dms_RESERVED(20), (255) + * } ClientCertificateType; + * + * opaque DistinguishedName<1..2^16-1>; + * + * struct { + * ClientCertificateType certificate_types<1..2^8-1>; + * SignatureAndHashAlgorithm supported_signature_algorithms<2^16-1>; + * DistinguishedName certificate_authorities<0..2^16-1>; + * } CertificateRequest; + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleCertificateRequest = function(c, record, length) { + // minimum of 3 bytes in message + if(length < 3) { + return c.error(c, { + message: 'Invalid CertificateRequest. Message too short.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.illegal_parameter + } + }); + } + + // TODO: TLS 1.2+ has different format including + // SignatureAndHashAlgorithm after cert types + var b = record.fragment; + var msg = { + certificate_types: readVector(b, 1), + certificate_authorities: readVector(b, 2) + }; + + // save certificate request in session + c.session.certificateRequest = msg; + + // expect a ServerHelloDone message next + c.expect = SHD; + + // continue + c.process(); +}; + +/** + * Called when a server receives a CertificateVerify record. + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleCertificateVerify = function(c, record, length) { + if(length < 2) { + return c.error(c, { + message: 'Invalid CertificateVerify. Message too short.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.illegal_parameter + } + }); + } + + // rewind to get full bytes for message so it can be manually + // digested below (special case for CertificateVerify messages because + // they must be digested *after* handling as opposed to all others) + var b = record.fragment; + b.read -= 4; + var msgBytes = b.bytes(); + b.read += 4; + + var msg = { + signature: readVector(b, 2).getBytes() + }; + + // TODO: add support for DSA + + // generate data to verify + var verify = forge.util.createBuffer(); + verify.putBuffer(c.session.md5.digest()); + verify.putBuffer(c.session.sha1.digest()); + verify = verify.getBytes(); + + try { + var cert = c.session.clientCertificate; + /*b = forge.pki.rsa.decrypt( + msg.signature, cert.publicKey, true, verify.length); + if(b !== verify) {*/ + if(!cert.publicKey.verify(verify, msg.signature, 'NONE')) { + throw new Error('CertificateVerify signature does not match.'); + } + + // digest message now that it has been handled + c.session.md5.update(msgBytes); + c.session.sha1.update(msgBytes); + } catch(ex) { + return c.error(c, { + message: 'Bad signature in CertificateVerify.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.handshake_failure + } + }); + } + + // expect ChangeCipherSpec + c.expect = CCC; + + // continue + c.process(); +}; + +/** + * Called when a client receives a ServerHelloDone record. + * + * When this message will be sent: + * The server hello done message is sent by the server to indicate the end + * of the server hello and associated messages. After sending this message + * the server will wait for a client response. + * + * Meaning of this message: + * This message means that the server is done sending messages to support + * the key exchange, and the client can proceed with its phase of the key + * exchange. + * + * Upon receipt of the server hello done message the client should verify + * that the server provided a valid certificate if required and check that + * the server hello parameters are acceptable. + * + * struct {} ServerHelloDone; + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleServerHelloDone = function(c, record, length) { + // len must be 0 bytes + if(length > 0) { + return c.error(c, { + message: 'Invalid ServerHelloDone message. Invalid length.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.record_overflow + } + }); + } + + if(c.serverCertificate === null) { + // no server certificate was provided + var error = { + message: 'No server certificate provided. Not enough security.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.insufficient_security + } + }; + + // call application callback + var depth = 0; + var ret = c.verify(c, error.alert.description, depth, []); + if(ret !== true) { + // check for custom alert info + if(ret || ret === 0) { + // set custom message and alert description + if(typeof ret === 'object' && !forge.util.isArray(ret)) { + if(ret.message) { + error.message = ret.message; + } + if(ret.alert) { + error.alert.description = ret.alert; + } + } else if(typeof ret === 'number') { + // set custom alert description + error.alert.description = ret; + } + } + + // send error + return c.error(c, error); + } + } + + // create client certificate message if requested + if(c.session.certificateRequest !== null) { + record = tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createCertificate(c) + }); + tls.queue(c, record); + } + + // create client key exchange message + record = tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createClientKeyExchange(c) + }); + tls.queue(c, record); + + // expect no messages until the following callback has been called + c.expect = SER; + + // create callback to handle client signature (for client-certs) + var callback = function(c, signature) { + if(c.session.certificateRequest !== null && + c.session.clientCertificate !== null) { + // create certificate verify message + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createCertificateVerify(c, signature) + })); + } + + // create change cipher spec message + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.change_cipher_spec, + data: tls.createChangeCipherSpec() + })); + + // create pending state + c.state.pending = tls.createConnectionState(c); + + // change current write state to pending write state + c.state.current.write = c.state.pending.write; + + // create finished message + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createFinished(c) + })); + + // expect a server ChangeCipherSpec message next + c.expect = SCC; + + // send records + tls.flush(c); + + // continue + c.process(); + }; + + // if there is no certificate request or no client certificate, do + // callback immediately + if(c.session.certificateRequest === null || + c.session.clientCertificate === null) { + return callback(c, null); + } + + // otherwise get the client signature + tls.getClientSignature(c, callback); +}; + +/** + * Called when a ChangeCipherSpec record is received. + * + * @param c the connection. + * @param record the record. + */ +tls.handleChangeCipherSpec = function(c, record) { + if(record.fragment.getByte() !== 0x01) { + return c.error(c, { + message: 'Invalid ChangeCipherSpec message received.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.illegal_parameter + } + }); + } + + // create pending state if: + // 1. Resuming session in client mode OR + // 2. NOT resuming session in server mode + var client = (c.entity === tls.ConnectionEnd.client); + if((c.session.resuming && client) || (!c.session.resuming && !client)) { + c.state.pending = tls.createConnectionState(c); + } + + // change current read state to pending read state + c.state.current.read = c.state.pending.read; + + // clear pending state if: + // 1. NOT resuming session in client mode OR + // 2. resuming a session in server mode + if((!c.session.resuming && client) || (c.session.resuming && !client)) { + c.state.pending = null; + } + + // expect a Finished record next + c.expect = client ? SFI : CFI; + + // continue + c.process(); +}; + +/** + * Called when a Finished record is received. + * + * When this message will be sent: + * A finished message is always sent immediately after a change + * cipher spec message to verify that the key exchange and + * authentication processes were successful. It is essential that a + * change cipher spec message be received between the other + * handshake messages and the Finished message. + * + * Meaning of this message: + * The finished message is the first protected with the just- + * negotiated algorithms, keys, and secrets. Recipients of finished + * messages must verify that the contents are correct. Once a side + * has sent its Finished message and received and validated the + * Finished message from its peer, it may begin to send and receive + * application data over the connection. + * + * struct { + * opaque verify_data[verify_data_length]; + * } Finished; + * + * verify_data + * PRF(master_secret, finished_label, Hash(handshake_messages)) + * [0..verify_data_length-1]; + * + * finished_label + * For Finished messages sent by the client, the string + * "client finished". For Finished messages sent by the server, the + * string "server finished". + * + * verify_data_length depends on the cipher suite. If it is not specified + * by the cipher suite, then it is 12. Versions of TLS < 1.2 always used + * 12 bytes. + * + * @param c the connection. + * @param record the record. + * @param length the length of the handshake message. + */ +tls.handleFinished = function(c, record, length) { + // rewind to get full bytes for message so it can be manually + // digested below (special case for Finished messages because they + // must be digested *after* handling as opposed to all others) + var b = record.fragment; + b.read -= 4; + var msgBytes = b.bytes(); + b.read += 4; + + // message contains only verify_data + var vd = record.fragment.getBytes(); + + // ensure verify data is correct + b = forge.util.createBuffer(); + b.putBuffer(c.session.md5.digest()); + b.putBuffer(c.session.sha1.digest()); + + // set label based on entity type + var client = (c.entity === tls.ConnectionEnd.client); + var label = client ? 'server finished' : 'client finished'; + + // TODO: determine prf function and verify length for TLS 1.2 + var sp = c.session.sp; + var vdl = 12; + var prf = prf_TLS1; + b = prf(sp.master_secret, label, b.getBytes(), vdl); + if(b.getBytes() !== vd) { + return c.error(c, { + message: 'Invalid verify_data in Finished message.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.decrypt_error + } + }); + } + + // digest finished message now that it has been handled + c.session.md5.update(msgBytes); + c.session.sha1.update(msgBytes); + + // resuming session as client or NOT resuming session as server + if((c.session.resuming && client) || (!c.session.resuming && !client)) { + // create change cipher spec message + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.change_cipher_spec, + data: tls.createChangeCipherSpec() + })); + + // change current write state to pending write state, clear pending + c.state.current.write = c.state.pending.write; + c.state.pending = null; + + // create finished message + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createFinished(c) + })); + } + + // expect application data next + c.expect = client ? SAD : CAD; + + // handshake complete + c.handshaking = false; + ++c.handshakes; + + // save access to peer certificate + c.peerCertificate = client ? + c.session.serverCertificate : c.session.clientCertificate; + + // send records + tls.flush(c); + + // now connected + c.isConnected = true; + c.connected(c); + + // continue + c.process(); +}; + +/** + * Called when an Alert record is received. + * + * @param c the connection. + * @param record the record. + */ +tls.handleAlert = function(c, record) { + // read alert + var b = record.fragment; + var alert = { + level: b.getByte(), + description: b.getByte() + }; + + // TODO: consider using a table? + // get appropriate message + var msg; + switch(alert.description) { + case tls.Alert.Description.close_notify: + msg = 'Connection closed.'; + break; + case tls.Alert.Description.unexpected_message: + msg = 'Unexpected message.'; + break; + case tls.Alert.Description.bad_record_mac: + msg = 'Bad record MAC.'; + break; + case tls.Alert.Description.decryption_failed: + msg = 'Decryption failed.'; + break; + case tls.Alert.Description.record_overflow: + msg = 'Record overflow.'; + break; + case tls.Alert.Description.decompression_failure: + msg = 'Decompression failed.'; + break; + case tls.Alert.Description.handshake_failure: + msg = 'Handshake failure.'; + break; + case tls.Alert.Description.bad_certificate: + msg = 'Bad certificate.'; + break; + case tls.Alert.Description.unsupported_certificate: + msg = 'Unsupported certificate.'; + break; + case tls.Alert.Description.certificate_revoked: + msg = 'Certificate revoked.'; + break; + case tls.Alert.Description.certificate_expired: + msg = 'Certificate expired.'; + break; + case tls.Alert.Description.certificate_unknown: + msg = 'Certificate unknown.'; + break; + case tls.Alert.Description.illegal_parameter: + msg = 'Illegal parameter.'; + break; + case tls.Alert.Description.unknown_ca: + msg = 'Unknown certificate authority.'; + break; + case tls.Alert.Description.access_denied: + msg = 'Access denied.'; + break; + case tls.Alert.Description.decode_error: + msg = 'Decode error.'; + break; + case tls.Alert.Description.decrypt_error: + msg = 'Decrypt error.'; + break; + case tls.Alert.Description.export_restriction: + msg = 'Export restriction.'; + break; + case tls.Alert.Description.protocol_version: + msg = 'Unsupported protocol version.'; + break; + case tls.Alert.Description.insufficient_security: + msg = 'Insufficient security.'; + break; + case tls.Alert.Description.internal_error: + msg = 'Internal error.'; + break; + case tls.Alert.Description.user_canceled: + msg = 'User canceled.'; + break; + case tls.Alert.Description.no_renegotiation: + msg = 'Renegotiation not supported.'; + break; + default: + msg = 'Unknown error.'; + break; + } + + // close connection on close_notify, not an error + if(alert.description === tls.Alert.Description.close_notify) { + return c.close(); + } + + // call error handler + c.error(c, { + message: msg, + send: false, + // origin is the opposite end + origin: (c.entity === tls.ConnectionEnd.client) ? 'server' : 'client', + alert: alert + }); + + // continue + c.process(); +}; + +/** + * Called when a Handshake record is received. + * + * @param c the connection. + * @param record the record. + */ +tls.handleHandshake = function(c, record) { + // get the handshake type and message length + var b = record.fragment; + var type = b.getByte(); + var length = b.getInt24(); + + // see if the record fragment doesn't yet contain the full message + if(length > b.length()) { + // cache the record, clear its fragment, and reset the buffer read + // pointer before the type and length were read + c.fragmented = record; + record.fragment = forge.util.createBuffer(); + b.read -= 4; + + // continue + return c.process(); + } + + // full message now available, clear cache, reset read pointer to + // before type and length + c.fragmented = null; + b.read -= 4; + + // save the handshake bytes for digestion after handler is found + // (include type and length of handshake msg) + var bytes = b.bytes(length + 4); + + // restore read pointer + b.read += 4; + + // handle expected message + if(type in hsTable[c.entity][c.expect]) { + // initialize server session + if(c.entity === tls.ConnectionEnd.server && !c.open && !c.fail) { + c.handshaking = true; + c.session = { + version: null, + extensions: { + server_name: { + serverNameList: [] + } + }, + cipherSuite: null, + compressionMethod: null, + serverCertificate: null, + clientCertificate: null, + md5: forge.md.md5.create(), + sha1: forge.md.sha1.create() + }; + } + + /* Update handshake messages digest. Finished and CertificateVerify + messages are not digested here. They can't be digested as part of + the verify_data that they contain. These messages are manually + digested in their handlers. HelloRequest messages are simply never + included in the handshake message digest according to spec. */ + if(type !== tls.HandshakeType.hello_request && + type !== tls.HandshakeType.certificate_verify && + type !== tls.HandshakeType.finished) { + c.session.md5.update(bytes); + c.session.sha1.update(bytes); + } + + // handle specific handshake type record + hsTable[c.entity][c.expect][type](c, record, length); + } else { + // unexpected record + tls.handleUnexpected(c, record); + } +}; + +/** + * Called when an ApplicationData record is received. + * + * @param c the connection. + * @param record the record. + */ +tls.handleApplicationData = function(c, record) { + // buffer data, notify that its ready + c.data.putBuffer(record.fragment); + c.dataReady(c); + + // continue + c.process(); +}; + +/** + * Called when a Heartbeat record is received. + * + * @param c the connection. + * @param record the record. + */ +tls.handleHeartbeat = function(c, record) { + // get the heartbeat type and payload + var b = record.fragment; + var type = b.getByte(); + var length = b.getInt16(); + var payload = b.getBytes(length); + + if(type === tls.HeartbeatMessageType.heartbeat_request) { + // discard request during handshake or if length is too large + if(c.handshaking || length > payload.length) { + // continue + return c.process(); + } + // retransmit payload + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.heartbeat, + data: tls.createHeartbeat( + tls.HeartbeatMessageType.heartbeat_response, payload) + })); + tls.flush(c); + } else if(type === tls.HeartbeatMessageType.heartbeat_response) { + // check payload against expected payload, discard heartbeat if no match + if(payload !== c.expectedHeartbeatPayload) { + // continue + return c.process(); + } + + // notify that a valid heartbeat was received + if(c.heartbeatReceived) { + c.heartbeatReceived(c, forge.util.createBuffer(payload)); + } + } + + // continue + c.process(); +}; + +/** + * The transistional state tables for receiving TLS records. It maps the + * current TLS engine state and a received record to a function to handle the + * record and update the state. + * + * For instance, if the current state is SHE, then the TLS engine is expecting + * a ServerHello record. Once a record is received, the handler function is + * looked up using the state SHE and the record's content type. + * + * The resulting function will either be an error handler or a record handler. + * The function will take whatever action is appropriate and update the state + * for the next record. + * + * The states are all based on possible server record types. Note that the + * client will never specifically expect to receive a HelloRequest or an alert + * from the server so there is no state that reflects this. These messages may + * occur at any time. + * + * There are two tables for mapping states because there is a second tier of + * types for handshake messages. Once a record with a content type of handshake + * is received, the handshake record handler will look up the handshake type in + * the secondary map to get its appropriate handler. + * + * Valid message orders are as follows: + * + * =======================FULL HANDSHAKE====================== + * Client Server + * + * ClientHello --------> + * ServerHello + * Certificate* + * ServerKeyExchange* + * CertificateRequest* + * <-------- ServerHelloDone + * Certificate* + * ClientKeyExchange + * CertificateVerify* + * [ChangeCipherSpec] + * Finished --------> + * [ChangeCipherSpec] + * <-------- Finished + * Application Data <-------> Application Data + * + * =====================SESSION RESUMPTION===================== + * Client Server + * + * ClientHello --------> + * ServerHello + * [ChangeCipherSpec] + * <-------- Finished + * [ChangeCipherSpec] + * Finished --------> + * Application Data <-------> Application Data + */ +// client expect states (indicate which records are expected to be received) +var SHE = 0; // rcv server hello +var SCE = 1; // rcv server certificate +var SKE = 2; // rcv server key exchange +var SCR = 3; // rcv certificate request +var SHD = 4; // rcv server hello done +var SCC = 5; // rcv change cipher spec +var SFI = 6; // rcv finished +var SAD = 7; // rcv application data +var SER = 8; // not expecting any messages at this point + +// server expect states +var CHE = 0; // rcv client hello +var CCE = 1; // rcv client certificate +var CKE = 2; // rcv client key exchange +var CCV = 3; // rcv certificate verify +var CCC = 4; // rcv change cipher spec +var CFI = 5; // rcv finished +var CAD = 6; // rcv application data +var CER = 7; // not expecting any messages at this point + +// map client current expect state and content type to function +var __ = tls.handleUnexpected; +var R0 = tls.handleChangeCipherSpec; +var R1 = tls.handleAlert; +var R2 = tls.handleHandshake; +var R3 = tls.handleApplicationData; +var R4 = tls.handleHeartbeat; +var ctTable = []; +ctTable[tls.ConnectionEnd.client] = [ +// CC,AL,HS,AD,HB +/*SHE*/[__,R1,R2,__,R4], +/*SCE*/[__,R1,R2,__,R4], +/*SKE*/[__,R1,R2,__,R4], +/*SCR*/[__,R1,R2,__,R4], +/*SHD*/[__,R1,R2,__,R4], +/*SCC*/[R0,R1,__,__,R4], +/*SFI*/[__,R1,R2,__,R4], +/*SAD*/[__,R1,R2,R3,R4], +/*SER*/[__,R1,R2,__,R4] +]; + +// map server current expect state and content type to function +ctTable[tls.ConnectionEnd.server] = [ +// CC,AL,HS,AD +/*CHE*/[__,R1,R2,__,R4], +/*CCE*/[__,R1,R2,__,R4], +/*CKE*/[__,R1,R2,__,R4], +/*CCV*/[__,R1,R2,__,R4], +/*CCC*/[R0,R1,__,__,R4], +/*CFI*/[__,R1,R2,__,R4], +/*CAD*/[__,R1,R2,R3,R4], +/*CER*/[__,R1,R2,__,R4] +]; + +// map client current expect state and handshake type to function +var H0 = tls.handleHelloRequest; +var H1 = tls.handleServerHello; +var H2 = tls.handleCertificate; +var H3 = tls.handleServerKeyExchange; +var H4 = tls.handleCertificateRequest; +var H5 = tls.handleServerHelloDone; +var H6 = tls.handleFinished; +var hsTable = []; +hsTable[tls.ConnectionEnd.client] = [ +// HR,01,SH,03,04,05,06,07,08,09,10,SC,SK,CR,HD,15,CK,17,18,19,FI +/*SHE*/[__,__,H1,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__], +/*SCE*/[H0,__,__,__,__,__,__,__,__,__,__,H2,H3,H4,H5,__,__,__,__,__,__], +/*SKE*/[H0,__,__,__,__,__,__,__,__,__,__,__,H3,H4,H5,__,__,__,__,__,__], +/*SCR*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,H4,H5,__,__,__,__,__,__], +/*SHD*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,H5,__,__,__,__,__,__], +/*SCC*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__], +/*SFI*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H6], +/*SAD*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__], +/*SER*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__] +]; + +// map server current expect state and handshake type to function +// Note: CAD[CH] does not map to FB because renegotation is prohibited +var H7 = tls.handleClientHello; +var H8 = tls.handleClientKeyExchange; +var H9 = tls.handleCertificateVerify; +hsTable[tls.ConnectionEnd.server] = [ +// 01,CH,02,03,04,05,06,07,08,09,10,CC,12,13,14,CV,CK,17,18,19,FI +/*CHE*/[__,H7,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__], +/*CCE*/[__,__,__,__,__,__,__,__,__,__,__,H2,__,__,__,__,__,__,__,__,__], +/*CKE*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H8,__,__,__,__], +/*CCV*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H9,__,__,__,__,__], +/*CCC*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__], +/*CFI*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H6], +/*CAD*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__], +/*CER*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__] +]; + +/** + * Generates the master_secret and keys using the given security parameters. + * + * The security parameters for a TLS connection state are defined as such: + * + * struct { + * ConnectionEnd entity; + * PRFAlgorithm prf_algorithm; + * BulkCipherAlgorithm bulk_cipher_algorithm; + * CipherType cipher_type; + * uint8 enc_key_length; + * uint8 block_length; + * uint8 fixed_iv_length; + * uint8 record_iv_length; + * MACAlgorithm mac_algorithm; + * uint8 mac_length; + * uint8 mac_key_length; + * CompressionMethod compression_algorithm; + * opaque master_secret[48]; + * opaque client_random[32]; + * opaque server_random[32]; + * } SecurityParameters; + * + * Note that this definition is from TLS 1.2. In TLS 1.0 some of these + * parameters are ignored because, for instance, the PRFAlgorithm is a + * builtin-fixed algorithm combining iterations of MD5 and SHA-1 in TLS 1.0. + * + * The Record Protocol requires an algorithm to generate keys required by the + * current connection state. + * + * The master secret is expanded into a sequence of secure bytes, which is then + * split to a client write MAC key, a server write MAC key, a client write + * encryption key, and a server write encryption key. In TLS 1.0 a client write + * IV and server write IV are also generated. Each of these is generated from + * the byte sequence in that order. Unused values are empty. In TLS 1.2, some + * AEAD ciphers may additionally require a client write IV and a server write + * IV (see Section 6.2.3.3). + * + * When keys, MAC keys, and IVs are generated, the master secret is used as an + * entropy source. + * + * To generate the key material, compute: + * + * master_secret = PRF(pre_master_secret, "master secret", + * ClientHello.random + ServerHello.random) + * + * key_block = PRF(SecurityParameters.master_secret, + * "key expansion", + * SecurityParameters.server_random + + * SecurityParameters.client_random); + * + * until enough output has been generated. Then, the key_block is + * partitioned as follows: + * + * client_write_MAC_key[SecurityParameters.mac_key_length] + * server_write_MAC_key[SecurityParameters.mac_key_length] + * client_write_key[SecurityParameters.enc_key_length] + * server_write_key[SecurityParameters.enc_key_length] + * client_write_IV[SecurityParameters.fixed_iv_length] + * server_write_IV[SecurityParameters.fixed_iv_length] + * + * In TLS 1.2, the client_write_IV and server_write_IV are only generated for + * implicit nonce techniques as described in Section 3.2.1 of [AEAD]. This + * implementation uses TLS 1.0 so IVs are generated. + * + * Implementation note: The currently defined cipher suite which requires the + * most material is AES_256_CBC_SHA256. It requires 2 x 32 byte keys and 2 x 32 + * byte MAC keys, for a total 128 bytes of key material. In TLS 1.0 it also + * requires 2 x 16 byte IVs, so it actually takes 160 bytes of key material. + * + * @param c the connection. + * @param sp the security parameters to use. + * + * @return the security keys. + */ +tls.generateKeys = function(c, sp) { + // TLS_RSA_WITH_AES_128_CBC_SHA (required to be compliant with TLS 1.2) & + // TLS_RSA_WITH_AES_256_CBC_SHA are the only cipher suites implemented + // at present + + // TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA is required to be compliant with + // TLS 1.0 but we don't care right now because AES is better and we have + // an implementation for it + + // TODO: TLS 1.2 implementation + /* + // determine the PRF + var prf; + switch(sp.prf_algorithm) { + case tls.PRFAlgorithm.tls_prf_sha256: + prf = prf_sha256; + break; + default: + // should never happen + throw new Error('Invalid PRF'); + } + */ + + // TLS 1.0/1.1 implementation + var prf = prf_TLS1; + + // concatenate server and client random + var random = sp.client_random + sp.server_random; + + // only create master secret if session is new + if(!c.session.resuming) { + // create master secret, clean up pre-master secret + sp.master_secret = prf( + sp.pre_master_secret, 'master secret', random, 48).bytes(); + sp.pre_master_secret = null; + } + + // generate the amount of key material needed + random = sp.server_random + sp.client_random; + var length = 2 * sp.mac_key_length + 2 * sp.enc_key_length; + + // include IV for TLS/1.0 + var tls10 = (c.version.major === tls.Versions.TLS_1_0.major && + c.version.minor === tls.Versions.TLS_1_0.minor); + if(tls10) { + length += 2 * sp.fixed_iv_length; + } + var km = prf(sp.master_secret, 'key expansion', random, length); + + // split the key material into the MAC and encryption keys + var rval = { + client_write_MAC_key: km.getBytes(sp.mac_key_length), + server_write_MAC_key: km.getBytes(sp.mac_key_length), + client_write_key: km.getBytes(sp.enc_key_length), + server_write_key: km.getBytes(sp.enc_key_length) + }; + + // include TLS 1.0 IVs + if(tls10) { + rval.client_write_IV = km.getBytes(sp.fixed_iv_length); + rval.server_write_IV = km.getBytes(sp.fixed_iv_length); + } + + return rval; +}; + +/** + * Creates a new initialized TLS connection state. A connection state has + * a read mode and a write mode. + * + * compression state: + * The current state of the compression algorithm. + * + * cipher state: + * The current state of the encryption algorithm. This will consist of the + * scheduled key for that connection. For stream ciphers, this will also + * contain whatever state information is necessary to allow the stream to + * continue to encrypt or decrypt data. + * + * MAC key: + * The MAC key for the connection. + * + * sequence number: + * Each connection state contains a sequence number, which is maintained + * separately for read and write states. The sequence number MUST be set to + * zero whenever a connection state is made the active state. Sequence + * numbers are of type uint64 and may not exceed 2^64-1. Sequence numbers do + * not wrap. If a TLS implementation would need to wrap a sequence number, + * it must renegotiate instead. A sequence number is incremented after each + * record: specifically, the first record transmitted under a particular + * connection state MUST use sequence number 0. + * + * @param c the connection. + * + * @return the new initialized TLS connection state. + */ +tls.createConnectionState = function(c) { + var client = (c.entity === tls.ConnectionEnd.client); + + var createMode = function() { + var mode = { + // two 32-bit numbers, first is most significant + sequenceNumber: [0, 0], + macKey: null, + macLength: 0, + macFunction: null, + cipherState: null, + cipherFunction: function(record) {return true;}, + compressionState: null, + compressFunction: function(record) {return true;}, + updateSequenceNumber: function() { + if(mode.sequenceNumber[1] === 0xFFFFFFFF) { + mode.sequenceNumber[1] = 0; + ++mode.sequenceNumber[0]; + } else { + ++mode.sequenceNumber[1]; + } + } + }; + return mode; + }; + var state = { + read: createMode(), + write: createMode() + }; + + // update function in read mode will decrypt then decompress a record + state.read.update = function(c, record) { + if(!state.read.cipherFunction(record, state.read)) { + c.error(c, { + message: 'Could not decrypt record or bad MAC.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + // doesn't matter if decryption failed or MAC was + // invalid, return the same error so as not to reveal + // which one occurred + description: tls.Alert.Description.bad_record_mac + } + }); + } else if(!state.read.compressFunction(c, record, state.read)) { + c.error(c, { + message: 'Could not decompress record.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.decompression_failure + } + }); + } + return !c.fail; + }; + + // update function in write mode will compress then encrypt a record + state.write.update = function(c, record) { + if(!state.write.compressFunction(c, record, state.write)) { + // error, but do not send alert since it would require + // compression as well + c.error(c, { + message: 'Could not compress record.', + send: false, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.internal_error + } + }); + } else if(!state.write.cipherFunction(record, state.write)) { + // error, but do not send alert since it would require + // encryption as well + c.error(c, { + message: 'Could not encrypt record.', + send: false, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.internal_error + } + }); + } + return !c.fail; + }; + + // handle security parameters + if(c.session) { + var sp = c.session.sp; + c.session.cipherSuite.initSecurityParameters(sp); + + // generate keys + sp.keys = tls.generateKeys(c, sp); + state.read.macKey = client ? + sp.keys.server_write_MAC_key : sp.keys.client_write_MAC_key; + state.write.macKey = client ? + sp.keys.client_write_MAC_key : sp.keys.server_write_MAC_key; + + // cipher suite setup + c.session.cipherSuite.initConnectionState(state, c, sp); + + // compression setup + switch(sp.compression_algorithm) { + case tls.CompressionMethod.none: + break; + case tls.CompressionMethod.deflate: + state.read.compressFunction = inflate; + state.write.compressFunction = deflate; + break; + default: + throw new Error('Unsupported compression algorithm.'); + } + } + + return state; +}; + +/** + * Creates a Random structure. + * + * struct { + * uint32 gmt_unix_time; + * opaque random_bytes[28]; + * } Random; + * + * gmt_unix_time: + * The current time and date in standard UNIX 32-bit format (seconds since + * the midnight starting Jan 1, 1970, UTC, ignoring leap seconds) according + * to the sender's internal clock. Clocks are not required to be set + * correctly by the basic TLS protocol; higher-level or application + * protocols may define additional requirements. Note that, for historical + * reasons, the data element is named using GMT, the predecessor of the + * current worldwide time base, UTC. + * random_bytes: + * 28 bytes generated by a secure random number generator. + * + * @return the Random structure as a byte array. + */ +tls.createRandom = function() { + // get UTC milliseconds + var d = new Date(); + var utc = +d + d.getTimezoneOffset() * 60000; + var rval = forge.util.createBuffer(); + rval.putInt32(utc); + rval.putBytes(forge.random.getBytes(28)); + return rval; +}; + +/** + * Creates a TLS record with the given type and data. + * + * @param c the connection. + * @param options: + * type: the record type. + * data: the plain text data in a byte buffer. + * + * @return the created record. + */ +tls.createRecord = function(c, options) { + if(!options.data) { + return null; + } + var record = { + type: options.type, + version: { + major: c.version.major, + minor: c.version.minor + }, + length: options.data.length(), + fragment: options.data + }; + return record; +}; + +/** + * Creates a TLS alert record. + * + * @param c the connection. + * @param alert: + * level: the TLS alert level. + * description: the TLS alert description. + * + * @return the created alert record. + */ +tls.createAlert = function(c, alert) { + var b = forge.util.createBuffer(); + b.putByte(alert.level); + b.putByte(alert.description); + return tls.createRecord(c, { + type: tls.ContentType.alert, + data: b + }); +}; + +/* The structure of a TLS handshake message. + * + * struct { + * HandshakeType msg_type; // handshake type + * uint24 length; // bytes in message + * select(HandshakeType) { + * case hello_request: HelloRequest; + * case client_hello: ClientHello; + * case server_hello: ServerHello; + * case certificate: Certificate; + * case server_key_exchange: ServerKeyExchange; + * case certificate_request: CertificateRequest; + * case server_hello_done: ServerHelloDone; + * case certificate_verify: CertificateVerify; + * case client_key_exchange: ClientKeyExchange; + * case finished: Finished; + * } body; + * } Handshake; + */ + +/** + * Creates a ClientHello message. + * + * opaque SessionID<0..32>; + * enum { null(0), deflate(1), (255) } CompressionMethod; + * uint8 CipherSuite[2]; + * + * struct { + * ProtocolVersion client_version; + * Random random; + * SessionID session_id; + * CipherSuite cipher_suites<2..2^16-2>; + * CompressionMethod compression_methods<1..2^8-1>; + * select(extensions_present) { + * case false: + * struct {}; + * case true: + * Extension extensions<0..2^16-1>; + * }; + * } ClientHello; + * + * The extension format for extended client hellos and server hellos is: + * + * struct { + * ExtensionType extension_type; + * opaque extension_data<0..2^16-1>; + * } Extension; + * + * Here: + * + * - "extension_type" identifies the particular extension type. + * - "extension_data" contains information specific to the particular + * extension type. + * + * The extension types defined in this document are: + * + * enum { + * server_name(0), max_fragment_length(1), + * client_certificate_url(2), trusted_ca_keys(3), + * truncated_hmac(4), status_request(5), (65535) + * } ExtensionType; + * + * @param c the connection. + * + * @return the ClientHello byte buffer. + */ +tls.createClientHello = function(c) { + // save hello version + c.session.clientHelloVersion = { + major: c.version.major, + minor: c.version.minor + }; + + // create supported cipher suites + var cipherSuites = forge.util.createBuffer(); + for(var i = 0; i < c.cipherSuites.length; ++i) { + var cs = c.cipherSuites[i]; + cipherSuites.putByte(cs.id[0]); + cipherSuites.putByte(cs.id[1]); + } + var cSuites = cipherSuites.length(); + + // create supported compression methods, null always supported, but + // also support deflate if connection has inflate and deflate methods + var compressionMethods = forge.util.createBuffer(); + compressionMethods.putByte(tls.CompressionMethod.none); + // FIXME: deflate support disabled until issues with raw deflate data + // without zlib headers are resolved + /* + if(c.inflate !== null && c.deflate !== null) { + compressionMethods.putByte(tls.CompressionMethod.deflate); + } + */ + var cMethods = compressionMethods.length(); + + // create TLS SNI (server name indication) extension if virtual host + // has been specified, see RFC 3546 + var extensions = forge.util.createBuffer(); + if(c.virtualHost) { + // create extension struct + var ext = forge.util.createBuffer(); + ext.putByte(0x00); // type server_name (ExtensionType is 2 bytes) + ext.putByte(0x00); + + /* In order to provide the server name, clients MAY include an + * extension of type "server_name" in the (extended) client hello. + * The "extension_data" field of this extension SHALL contain + * "ServerNameList" where: + * + * struct { + * NameType name_type; + * select(name_type) { + * case host_name: HostName; + * } name; + * } ServerName; + * + * enum { + * host_name(0), (255) + * } NameType; + * + * opaque HostName<1..2^16-1>; + * + * struct { + * ServerName server_name_list<1..2^16-1> + * } ServerNameList; + */ + var serverName = forge.util.createBuffer(); + serverName.putByte(0x00); // type host_name + writeVector(serverName, 2, forge.util.createBuffer(c.virtualHost)); + + // ServerNameList is in extension_data + var snList = forge.util.createBuffer(); + writeVector(snList, 2, serverName); + writeVector(ext, 2, snList); + extensions.putBuffer(ext); + } + var extLength = extensions.length(); + if(extLength > 0) { + // add extension vector length + extLength += 2; + } + + // determine length of the handshake message + // cipher suites and compression methods size will need to be + // updated if more get added to the list + var sessionId = c.session.id; + var length = + sessionId.length + 1 + // session ID vector + 2 + // version (major + minor) + 4 + 28 + // random time and random bytes + 2 + cSuites + // cipher suites vector + 1 + cMethods + // compression methods vector + extLength; // extensions vector + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.client_hello); + rval.putInt24(length); // handshake length + rval.putByte(c.version.major); // major version + rval.putByte(c.version.minor); // minor version + rval.putBytes(c.session.sp.client_random); // random time + bytes + writeVector(rval, 1, forge.util.createBuffer(sessionId)); + writeVector(rval, 2, cipherSuites); + writeVector(rval, 1, compressionMethods); + if(extLength > 0) { + writeVector(rval, 2, extensions); + } + return rval; +}; + +/** + * Creates a ServerHello message. + * + * @param c the connection. + * + * @return the ServerHello byte buffer. + */ +tls.createServerHello = function(c) { + // determine length of the handshake message + var sessionId = c.session.id; + var length = + sessionId.length + 1 + // session ID vector + 2 + // version (major + minor) + 4 + 28 + // random time and random bytes + 2 + // chosen cipher suite + 1; // chosen compression method + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.server_hello); + rval.putInt24(length); // handshake length + rval.putByte(c.version.major); // major version + rval.putByte(c.version.minor); // minor version + rval.putBytes(c.session.sp.server_random); // random time + bytes + writeVector(rval, 1, forge.util.createBuffer(sessionId)); + rval.putByte(c.session.cipherSuite.id[0]); + rval.putByte(c.session.cipherSuite.id[1]); + rval.putByte(c.session.compressionMethod); + return rval; +}; + +/** + * Creates a Certificate message. + * + * When this message will be sent: + * This is the first message the client can send after receiving a server + * hello done message and the first message the server can send after + * sending a ServerHello. This client message is only sent if the server + * requests a certificate. If no suitable certificate is available, the + * client should send a certificate message containing no certificates. If + * client authentication is required by the server for the handshake to + * continue, it may respond with a fatal handshake failure alert. + * + * opaque ASN.1Cert<1..2^24-1>; + * + * struct { + * ASN.1Cert certificate_list<0..2^24-1>; + * } Certificate; + * + * @param c the connection. + * + * @return the Certificate byte buffer. + */ +tls.createCertificate = function(c) { + // TODO: check certificate request to ensure types are supported + + // get a certificate (a certificate as a PEM string) + var client = (c.entity === tls.ConnectionEnd.client); + var cert = null; + if(c.getCertificate) { + var hint; + if(client) { + hint = c.session.certificateRequest; + } else { + hint = c.session.extensions.server_name.serverNameList; + } + cert = c.getCertificate(c, hint); + } + + // buffer to hold certificate list + var certList = forge.util.createBuffer(); + if(cert !== null) { + try { + // normalize cert to a chain of certificates + if(!forge.util.isArray(cert)) { + cert = [cert]; + } + var asn1 = null; + for(var i = 0; i < cert.length; ++i) { + var msg = forge.pem.decode(cert[i])[0]; + if(msg.type !== 'CERTIFICATE' && + msg.type !== 'X509 CERTIFICATE' && + msg.type !== 'TRUSTED CERTIFICATE') { + var error = new Error('Could not convert certificate from PEM; PEM ' + + 'header type is not "CERTIFICATE", "X509 CERTIFICATE", or ' + + '"TRUSTED CERTIFICATE".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert certificate from PEM; PEM is encrypted.'); + } + + var der = forge.util.createBuffer(msg.body); + if(asn1 === null) { + asn1 = forge.asn1.fromDer(der.bytes(), false); + } + + // certificate entry is itself a vector with 3 length bytes + var certBuffer = forge.util.createBuffer(); + writeVector(certBuffer, 3, der); + + // add cert vector to cert list vector + certList.putBuffer(certBuffer); + } + + // save certificate + cert = forge.pki.certificateFromAsn1(asn1); + if(client) { + c.session.clientCertificate = cert; + } else { + c.session.serverCertificate = cert; + } + } catch(ex) { + return c.error(c, { + message: 'Could not send certificate list.', + cause: ex, + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.bad_certificate + } + }); + } + } + + // determine length of the handshake message + var length = 3 + certList.length(); // cert list vector + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.certificate); + rval.putInt24(length); + writeVector(rval, 3, certList); + return rval; +}; + +/** + * Creates a ClientKeyExchange message. + * + * When this message will be sent: + * This message is always sent by the client. It will immediately follow the + * client certificate message, if it is sent. Otherwise it will be the first + * message sent by the client after it receives the server hello done + * message. + * + * Meaning of this message: + * With this message, the premaster secret is set, either though direct + * transmission of the RSA-encrypted secret, or by the transmission of + * Diffie-Hellman parameters which will allow each side to agree upon the + * same premaster secret. When the key exchange method is DH_RSA or DH_DSS, + * client certification has been requested, and the client was able to + * respond with a certificate which contained a Diffie-Hellman public key + * whose parameters (group and generator) matched those specified by the + * server in its certificate, this message will not contain any data. + * + * Meaning of this message: + * If RSA is being used for key agreement and authentication, the client + * generates a 48-byte premaster secret, encrypts it using the public key + * from the server's certificate or the temporary RSA key provided in a + * server key exchange message, and sends the result in an encrypted + * premaster secret message. This structure is a variant of the client + * key exchange message, not a message in itself. + * + * struct { + * select(KeyExchangeAlgorithm) { + * case rsa: EncryptedPreMasterSecret; + * case diffie_hellman: ClientDiffieHellmanPublic; + * } exchange_keys; + * } ClientKeyExchange; + * + * struct { + * ProtocolVersion client_version; + * opaque random[46]; + * } PreMasterSecret; + * + * struct { + * public-key-encrypted PreMasterSecret pre_master_secret; + * } EncryptedPreMasterSecret; + * + * A public-key-encrypted element is encoded as a vector <0..2^16-1>. + * + * @param c the connection. + * + * @return the ClientKeyExchange byte buffer. + */ +tls.createClientKeyExchange = function(c) { + // create buffer to encrypt + var b = forge.util.createBuffer(); + + // add highest client-supported protocol to help server avoid version + // rollback attacks + b.putByte(c.session.clientHelloVersion.major); + b.putByte(c.session.clientHelloVersion.minor); + + // generate and add 46 random bytes + b.putBytes(forge.random.getBytes(46)); + + // save pre-master secret + var sp = c.session.sp; + sp.pre_master_secret = b.getBytes(); + + // RSA-encrypt the pre-master secret + var key = c.session.serverCertificate.publicKey; + b = key.encrypt(sp.pre_master_secret); + + /* Note: The encrypted pre-master secret will be stored in a + public-key-encrypted opaque vector that has the length prefixed using + 2 bytes, so include those 2 bytes in the handshake message length. This + is done as a minor optimization instead of calling writeVector(). */ + + // determine length of the handshake message + var length = b.length + 2; + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.client_key_exchange); + rval.putInt24(length); + // add vector length bytes + rval.putInt16(b.length); + rval.putBytes(b); + return rval; +}; + +/** + * Creates a ServerKeyExchange message. + * + * @param c the connection. + * + * @return the ServerKeyExchange byte buffer. + */ +tls.createServerKeyExchange = function(c) { + // this implementation only supports RSA, no Diffie-Hellman support, + // so this record is empty + + // determine length of the handshake message + var length = 0; + + // build record fragment + var rval = forge.util.createBuffer(); + if(length > 0) { + rval.putByte(tls.HandshakeType.server_key_exchange); + rval.putInt24(length); + } + return rval; +}; + +/** + * Gets the signed data used to verify a client-side certificate. See + * tls.createCertificateVerify() for details. + * + * @param c the connection. + * @param callback the callback to call once the signed data is ready. + */ +tls.getClientSignature = function(c, callback) { + // generate data to RSA encrypt + var b = forge.util.createBuffer(); + b.putBuffer(c.session.md5.digest()); + b.putBuffer(c.session.sha1.digest()); + b = b.getBytes(); + + // create default signing function as necessary + c.getSignature = c.getSignature || function(c, b, callback) { + // do rsa encryption, call callback + var privateKey = null; + if(c.getPrivateKey) { + try { + privateKey = c.getPrivateKey(c, c.session.clientCertificate); + privateKey = forge.pki.privateKeyFromPem(privateKey); + } catch(ex) { + c.error(c, { + message: 'Could not get private key.', + cause: ex, + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.internal_error + } + }); + } + } + if(privateKey === null) { + c.error(c, { + message: 'No private key set.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.internal_error + } + }); + } else { + b = privateKey.sign(b, null); + } + callback(c, b); + }; + + // get client signature + c.getSignature(c, b, callback); +}; + +/** + * Creates a CertificateVerify message. + * + * Meaning of this message: + * This structure conveys the client's Diffie-Hellman public value + * (Yc) if it was not already included in the client's certificate. + * The encoding used for Yc is determined by the enumerated + * PublicValueEncoding. This structure is a variant of the client + * key exchange message, not a message in itself. + * + * When this message will be sent: + * This message is used to provide explicit verification of a client + * certificate. This message is only sent following a client + * certificate that has signing capability (i.e. all certificates + * except those containing fixed Diffie-Hellman parameters). When + * sent, it will immediately follow the client key exchange message. + * + * struct { + * Signature signature; + * } CertificateVerify; + * + * CertificateVerify.signature.md5_hash + * MD5(handshake_messages); + * + * Certificate.signature.sha_hash + * SHA(handshake_messages); + * + * Here handshake_messages refers to all handshake messages sent or + * received starting at client hello up to but not including this + * message, including the type and length fields of the handshake + * messages. + * + * select(SignatureAlgorithm) { + * case anonymous: struct { }; + * case rsa: + * digitally-signed struct { + * opaque md5_hash[16]; + * opaque sha_hash[20]; + * }; + * case dsa: + * digitally-signed struct { + * opaque sha_hash[20]; + * }; + * } Signature; + * + * In digital signing, one-way hash functions are used as input for a + * signing algorithm. A digitally-signed element is encoded as an opaque + * vector <0..2^16-1>, where the length is specified by the signing + * algorithm and key. + * + * In RSA signing, a 36-byte structure of two hashes (one SHA and one + * MD5) is signed (encrypted with the private key). It is encoded with + * PKCS #1 block type 0 or type 1 as described in [PKCS1]. + * + * In DSS, the 20 bytes of the SHA hash are run directly through the + * Digital Signing Algorithm with no additional hashing. + * + * @param c the connection. + * @param signature the signature to include in the message. + * + * @return the CertificateVerify byte buffer. + */ +tls.createCertificateVerify = function(c, signature) { + /* Note: The signature will be stored in a "digitally-signed" opaque + vector that has the length prefixed using 2 bytes, so include those + 2 bytes in the handshake message length. This is done as a minor + optimization instead of calling writeVector(). */ + + // determine length of the handshake message + var length = signature.length + 2; + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.certificate_verify); + rval.putInt24(length); + // add vector length bytes + rval.putInt16(signature.length); + rval.putBytes(signature); + return rval; +}; + +/** + * Creates a CertificateRequest message. + * + * @param c the connection. + * + * @return the CertificateRequest byte buffer. + */ +tls.createCertificateRequest = function(c) { + // TODO: support other certificate types + var certTypes = forge.util.createBuffer(); + + // common RSA certificate type + certTypes.putByte(0x01); + + // add distinguished names from CA store + var cAs = forge.util.createBuffer(); + for(var key in c.caStore.certs) { + var cert = c.caStore.certs[key]; + var dn = forge.pki.distinguishedNameToAsn1(cert.subject); + var byteBuffer = forge.asn1.toDer(dn); + cAs.putInt16(byteBuffer.length()); + cAs.putBuffer(byteBuffer); + } + + // TODO: TLS 1.2+ has a different format + + // determine length of the handshake message + var length = + 1 + certTypes.length() + + 2 + cAs.length(); + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.certificate_request); + rval.putInt24(length); + writeVector(rval, 1, certTypes); + writeVector(rval, 2, cAs); + return rval; +}; + +/** + * Creates a ServerHelloDone message. + * + * @param c the connection. + * + * @return the ServerHelloDone byte buffer. + */ +tls.createServerHelloDone = function(c) { + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.server_hello_done); + rval.putInt24(0); + return rval; +}; + +/** + * Creates a ChangeCipherSpec message. + * + * The change cipher spec protocol exists to signal transitions in + * ciphering strategies. The protocol consists of a single message, + * which is encrypted and compressed under the current (not the pending) + * connection state. The message consists of a single byte of value 1. + * + * struct { + * enum { change_cipher_spec(1), (255) } type; + * } ChangeCipherSpec; + * + * @return the ChangeCipherSpec byte buffer. + */ +tls.createChangeCipherSpec = function() { + var rval = forge.util.createBuffer(); + rval.putByte(0x01); + return rval; +}; + +/** + * Creates a Finished message. + * + * struct { + * opaque verify_data[12]; + * } Finished; + * + * verify_data + * PRF(master_secret, finished_label, MD5(handshake_messages) + + * SHA-1(handshake_messages)) [0..11]; + * + * finished_label + * For Finished messages sent by the client, the string "client + * finished". For Finished messages sent by the server, the + * string "server finished". + * + * handshake_messages + * All of the data from all handshake messages up to but not + * including this message. This is only data visible at the + * handshake layer and does not include record layer headers. + * This is the concatenation of all the Handshake structures as + * defined in 7.4 exchanged thus far. + * + * @param c the connection. + * + * @return the Finished byte buffer. + */ +tls.createFinished = function(c) { + // generate verify_data + var b = forge.util.createBuffer(); + b.putBuffer(c.session.md5.digest()); + b.putBuffer(c.session.sha1.digest()); + + // TODO: determine prf function and verify length for TLS 1.2 + var client = (c.entity === tls.ConnectionEnd.client); + var sp = c.session.sp; + var vdl = 12; + var prf = prf_TLS1; + var label = client ? 'client finished' : 'server finished'; + b = prf(sp.master_secret, label, b.getBytes(), vdl); + + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(tls.HandshakeType.finished); + rval.putInt24(b.length()); + rval.putBuffer(b); + return rval; +}; + +/** + * Creates a HeartbeatMessage (See RFC 6520). + * + * struct { + * HeartbeatMessageType type; + * uint16 payload_length; + * opaque payload[HeartbeatMessage.payload_length]; + * opaque padding[padding_length]; + * } HeartbeatMessage; + * + * The total length of a HeartbeatMessage MUST NOT exceed 2^14 or + * max_fragment_length when negotiated as defined in [RFC6066]. + * + * type: The message type, either heartbeat_request or heartbeat_response. + * + * payload_length: The length of the payload. + * + * payload: The payload consists of arbitrary content. + * + * padding: The padding is random content that MUST be ignored by the + * receiver. The length of a HeartbeatMessage is TLSPlaintext.length + * for TLS and DTLSPlaintext.length for DTLS. Furthermore, the + * length of the type field is 1 byte, and the length of the + * payload_length is 2. Therefore, the padding_length is + * TLSPlaintext.length - payload_length - 3 for TLS and + * DTLSPlaintext.length - payload_length - 3 for DTLS. The + * padding_length MUST be at least 16. + * + * The sender of a HeartbeatMessage MUST use a random padding of at + * least 16 bytes. The padding of a received HeartbeatMessage message + * MUST be ignored. + * + * If the payload_length of a received HeartbeatMessage is too large, + * the received HeartbeatMessage MUST be discarded silently. + * + * @param c the connection. + * @param type the tls.HeartbeatMessageType. + * @param payload the heartbeat data to send as the payload. + * @param [payloadLength] the payload length to use, defaults to the + * actual payload length. + * + * @return the HeartbeatRequest byte buffer. + */ +tls.createHeartbeat = function(type, payload, payloadLength) { + if(typeof payloadLength === 'undefined') { + payloadLength = payload.length; + } + // build record fragment + var rval = forge.util.createBuffer(); + rval.putByte(type); // heartbeat message type + rval.putInt16(payloadLength); // payload length + rval.putBytes(payload); // payload + // padding + var plaintextLength = rval.length(); + var paddingLength = Math.max(16, plaintextLength - payloadLength - 3); + rval.putBytes(forge.random.getBytes(paddingLength)); + return rval; +}; + +/** + * Fragments, compresses, encrypts, and queues a record for delivery. + * + * @param c the connection. + * @param record the record to queue. + */ +tls.queue = function(c, record) { + // error during record creation + if(!record) { + return; + } + + if(record.fragment.length() === 0) { + if(record.type === tls.ContentType.handshake || + record.type === tls.ContentType.alert || + record.type === tls.ContentType.change_cipher_spec) { + // Empty handshake, alert of change cipher spec messages are not allowed per the TLS specification and should not be sent. + return; + } + } + + // if the record is a handshake record, update handshake hashes + if(record.type === tls.ContentType.handshake) { + var bytes = record.fragment.bytes(); + c.session.md5.update(bytes); + c.session.sha1.update(bytes); + bytes = null; + } + + // handle record fragmentation + var records; + if(record.fragment.length() <= tls.MaxFragment) { + records = [record]; + } else { + // fragment data as long as it is too long + records = []; + var data = record.fragment.bytes(); + while(data.length > tls.MaxFragment) { + records.push(tls.createRecord(c, { + type: record.type, + data: forge.util.createBuffer(data.slice(0, tls.MaxFragment)) + })); + data = data.slice(tls.MaxFragment); + } + // add last record + if(data.length > 0) { + records.push(tls.createRecord(c, { + type: record.type, + data: forge.util.createBuffer(data) + })); + } + } + + // compress and encrypt all fragmented records + for(var i = 0; i < records.length && !c.fail; ++i) { + // update the record using current write state + var rec = records[i]; + var s = c.state.current.write; + if(s.update(c, rec)) { + // store record + c.records.push(rec); + } + } +}; + +/** + * Flushes all queued records to the output buffer and calls the + * tlsDataReady() handler on the given connection. + * + * @param c the connection. + * + * @return true on success, false on failure. + */ +tls.flush = function(c) { + for(var i = 0; i < c.records.length; ++i) { + var record = c.records[i]; + + // add record header and fragment + c.tlsData.putByte(record.type); + c.tlsData.putByte(record.version.major); + c.tlsData.putByte(record.version.minor); + c.tlsData.putInt16(record.fragment.length()); + c.tlsData.putBuffer(c.records[i].fragment); + } + c.records = []; + return c.tlsDataReady(c); +}; + +/** + * Maps a pki.certificateError to a tls.Alert.Description. + * + * @param error the error to map. + * + * @return the alert description. + */ +var _certErrorToAlertDesc = function(error) { + switch(error) { + case true: + return true; + case forge.pki.certificateError.bad_certificate: + return tls.Alert.Description.bad_certificate; + case forge.pki.certificateError.unsupported_certificate: + return tls.Alert.Description.unsupported_certificate; + case forge.pki.certificateError.certificate_revoked: + return tls.Alert.Description.certificate_revoked; + case forge.pki.certificateError.certificate_expired: + return tls.Alert.Description.certificate_expired; + case forge.pki.certificateError.certificate_unknown: + return tls.Alert.Description.certificate_unknown; + case forge.pki.certificateError.unknown_ca: + return tls.Alert.Description.unknown_ca; + default: + return tls.Alert.Description.bad_certificate; + } +}; + +/** + * Maps a tls.Alert.Description to a pki.certificateError. + * + * @param desc the alert description. + * + * @return the certificate error. + */ +var _alertDescToCertError = function(desc) { + switch(desc) { + case true: + return true; + case tls.Alert.Description.bad_certificate: + return forge.pki.certificateError.bad_certificate; + case tls.Alert.Description.unsupported_certificate: + return forge.pki.certificateError.unsupported_certificate; + case tls.Alert.Description.certificate_revoked: + return forge.pki.certificateError.certificate_revoked; + case tls.Alert.Description.certificate_expired: + return forge.pki.certificateError.certificate_expired; + case tls.Alert.Description.certificate_unknown: + return forge.pki.certificateError.certificate_unknown; + case tls.Alert.Description.unknown_ca: + return forge.pki.certificateError.unknown_ca; + default: + return forge.pki.certificateError.bad_certificate; + } +}; + +/** + * Verifies a certificate chain against the given connection's + * Certificate Authority store. + * + * @param c the TLS connection. + * @param chain the certificate chain to verify, with the root or highest + * authority at the end. + * + * @return true if successful, false if not. + */ +tls.verifyCertificateChain = function(c, chain) { + try { + // Make a copy of c.verifyOptions so that we can modify options.verify + // without modifying c.verifyOptions. + var options = {}; + for (var key in c.verifyOptions) { + options[key] = c.verifyOptions[key]; + } + + options.verify = function(vfd, depth, chain) { + // convert pki.certificateError to tls alert description + var desc = _certErrorToAlertDesc(vfd); + + // call application callback + var ret = c.verify(c, vfd, depth, chain); + if(ret !== true) { + if(typeof ret === 'object' && !forge.util.isArray(ret)) { + // throw custom error + var error = new Error('The application rejected the certificate.'); + error.send = true; + error.alert = { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.bad_certificate + }; + if(ret.message) { + error.message = ret.message; + } + if(ret.alert) { + error.alert.description = ret.alert; + } + throw error; + } + + // convert tls alert description to pki.certificateError + if(ret !== vfd) { + ret = _alertDescToCertError(ret); + } + } + + return ret; + }; + + // verify chain + forge.pki.verifyCertificateChain(c.caStore, chain, options); + } catch(ex) { + // build tls error if not already customized + var err = ex; + if(typeof err !== 'object' || forge.util.isArray(err)) { + err = { + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: _certErrorToAlertDesc(ex) + } + }; + } + if(!('send' in err)) { + err.send = true; + } + if(!('alert' in err)) { + err.alert = { + level: tls.Alert.Level.fatal, + description: _certErrorToAlertDesc(err.error) + }; + } + + // send error + c.error(c, err); + } + + return !c.fail; +}; + +/** + * Creates a new TLS session cache. + * + * @param cache optional map of session ID to cached session. + * @param capacity the maximum size for the cache (default: 100). + * + * @return the new TLS session cache. + */ +tls.createSessionCache = function(cache, capacity) { + var rval = null; + + // assume input is already a session cache object + if(cache && cache.getSession && cache.setSession && cache.order) { + rval = cache; + } else { + // create cache + rval = {}; + rval.cache = cache || {}; + rval.capacity = Math.max(capacity || 100, 1); + rval.order = []; + + // store order for sessions, delete session overflow + for(var key in cache) { + if(rval.order.length <= capacity) { + rval.order.push(key); + } else { + delete cache[key]; + } + } + + // get a session from a session ID (or get any session) + rval.getSession = function(sessionId) { + var session = null; + var key = null; + + // if session ID provided, use it + if(sessionId) { + key = forge.util.bytesToHex(sessionId); + } else if(rval.order.length > 0) { + // get first session from cache + key = rval.order[0]; + } + + if(key !== null && key in rval.cache) { + // get cached session and remove from cache + session = rval.cache[key]; + delete rval.cache[key]; + for(var i in rval.order) { + if(rval.order[i] === key) { + rval.order.splice(i, 1); + break; + } + } + } + + return session; + }; + + // set a session in the cache + rval.setSession = function(sessionId, session) { + // remove session from cache if at capacity + if(rval.order.length === rval.capacity) { + var key = rval.order.shift(); + delete rval.cache[key]; + } + // add session to cache + var key = forge.util.bytesToHex(sessionId); + rval.order.push(key); + rval.cache[key] = session; + }; + } + + return rval; +}; + +/** + * Creates a new TLS connection. + * + * See public createConnection() docs for more details. + * + * @param options the options for this connection. + * + * @return the new TLS connection. + */ +tls.createConnection = function(options) { + var caStore = null; + if(options.caStore) { + // if CA store is an array, convert it to a CA store object + if(forge.util.isArray(options.caStore)) { + caStore = forge.pki.createCaStore(options.caStore); + } else { + caStore = options.caStore; + } + } else { + // create empty CA store + caStore = forge.pki.createCaStore(); + } + + // setup default cipher suites + var cipherSuites = options.cipherSuites || null; + if(cipherSuites === null) { + cipherSuites = []; + for(var key in tls.CipherSuites) { + cipherSuites.push(tls.CipherSuites[key]); + } + } + + // set default entity + var entity = (options.server || false) ? + tls.ConnectionEnd.server : tls.ConnectionEnd.client; + + // create session cache if requested + var sessionCache = options.sessionCache ? + tls.createSessionCache(options.sessionCache) : null; + + // create TLS connection + var c = { + version: {major: tls.Version.major, minor: tls.Version.minor}, + entity: entity, + sessionId: options.sessionId, + caStore: caStore, + sessionCache: sessionCache, + cipherSuites: cipherSuites, + connected: options.connected, + virtualHost: options.virtualHost || null, + verifyClient: options.verifyClient || false, + verify: options.verify || function(cn, vfd, dpth, cts) {return vfd;}, + verifyOptions: options.verifyOptions || {}, + getCertificate: options.getCertificate || null, + getPrivateKey: options.getPrivateKey || null, + getSignature: options.getSignature || null, + input: forge.util.createBuffer(), + tlsData: forge.util.createBuffer(), + data: forge.util.createBuffer(), + tlsDataReady: options.tlsDataReady, + dataReady: options.dataReady, + heartbeatReceived: options.heartbeatReceived, + closed: options.closed, + error: function(c, ex) { + // set origin if not set + ex.origin = ex.origin || + ((c.entity === tls.ConnectionEnd.client) ? 'client' : 'server'); + + // send TLS alert + if(ex.send) { + tls.queue(c, tls.createAlert(c, ex.alert)); + tls.flush(c); + } + + // error is fatal by default + var fatal = (ex.fatal !== false); + if(fatal) { + // set fail flag + c.fail = true; + } + + // call error handler first + options.error(c, ex); + + if(fatal) { + // fatal error, close connection, do not clear fail + c.close(false); + } + }, + deflate: options.deflate || null, + inflate: options.inflate || null + }; + + /** + * Resets a closed TLS connection for reuse. Called in c.close(). + * + * @param clearFail true to clear the fail flag (default: true). + */ + c.reset = function(clearFail) { + c.version = {major: tls.Version.major, minor: tls.Version.minor}; + c.record = null; + c.session = null; + c.peerCertificate = null; + c.state = { + pending: null, + current: null + }; + c.expect = (c.entity === tls.ConnectionEnd.client) ? SHE : CHE; + c.fragmented = null; + c.records = []; + c.open = false; + c.handshakes = 0; + c.handshaking = false; + c.isConnected = false; + c.fail = !(clearFail || typeof(clearFail) === 'undefined'); + c.input.clear(); + c.tlsData.clear(); + c.data.clear(); + c.state.current = tls.createConnectionState(c); + }; + + // do initial reset of connection + c.reset(); + + /** + * Updates the current TLS engine state based on the given record. + * + * @param c the TLS connection. + * @param record the TLS record to act on. + */ + var _update = function(c, record) { + // get record handler (align type in table by subtracting lowest) + var aligned = record.type - tls.ContentType.change_cipher_spec; + var handlers = ctTable[c.entity][c.expect]; + if(aligned in handlers) { + handlers[aligned](c, record); + } else { + // unexpected record + tls.handleUnexpected(c, record); + } + }; + + /** + * Reads the record header and initializes the next record on the given + * connection. + * + * @param c the TLS connection with the next record. + * + * @return 0 if the input data could be processed, otherwise the + * number of bytes required for data to be processed. + */ + var _readRecordHeader = function(c) { + var rval = 0; + + // get input buffer and its length + var b = c.input; + var len = b.length(); + + // need at least 5 bytes to initialize a record + if(len < 5) { + rval = 5 - len; + } else { + // enough bytes for header + // initialize record + c.record = { + type: b.getByte(), + version: { + major: b.getByte(), + minor: b.getByte() + }, + length: b.getInt16(), + fragment: forge.util.createBuffer(), + ready: false + }; + + // check record version + var compatibleVersion = (c.record.version.major === c.version.major); + if(compatibleVersion && c.session && c.session.version) { + // session version already set, require same minor version + compatibleVersion = (c.record.version.minor === c.version.minor); + } + if(!compatibleVersion) { + c.error(c, { + message: 'Incompatible TLS version.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: tls.Alert.Description.protocol_version + } + }); + } + } + + return rval; + }; + + /** + * Reads the next record's contents and appends its message to any + * previously fragmented message. + * + * @param c the TLS connection with the next record. + * + * @return 0 if the input data could be processed, otherwise the + * number of bytes required for data to be processed. + */ + var _readRecord = function(c) { + var rval = 0; + + // ensure there is enough input data to get the entire record + var b = c.input; + var len = b.length(); + if(len < c.record.length) { + // not enough data yet, return how much is required + rval = c.record.length - len; + } else { + // there is enough data to parse the pending record + // fill record fragment and compact input buffer + c.record.fragment.putBytes(b.getBytes(c.record.length)); + b.compact(); + + // update record using current read state + var s = c.state.current.read; + if(s.update(c, c.record)) { + // see if there is a previously fragmented message that the + // new record's message fragment should be appended to + if(c.fragmented !== null) { + // if the record type matches a previously fragmented + // record, append the record fragment to it + if(c.fragmented.type === c.record.type) { + // concatenate record fragments + c.fragmented.fragment.putBuffer(c.record.fragment); + c.record = c.fragmented; + } else { + // error, invalid fragmented record + c.error(c, { + message: 'Invalid fragmented record.', + send: true, + alert: { + level: tls.Alert.Level.fatal, + description: + tls.Alert.Description.unexpected_message + } + }); + } + } + + // record is now ready + c.record.ready = true; + } + } + + return rval; + }; + + /** + * Performs a handshake using the TLS Handshake Protocol, as a client. + * + * This method should only be called if the connection is in client mode. + * + * @param sessionId the session ID to use, null to start a new one. + */ + c.handshake = function(sessionId) { + // error to call this in non-client mode + if(c.entity !== tls.ConnectionEnd.client) { + // not fatal error + c.error(c, { + message: 'Cannot initiate handshake as a server.', + fatal: false + }); + } else if(c.handshaking) { + // handshake is already in progress, fail but not fatal error + c.error(c, { + message: 'Handshake already in progress.', + fatal: false + }); + } else { + // clear fail flag on reuse + if(c.fail && !c.open && c.handshakes === 0) { + c.fail = false; + } + + // now handshaking + c.handshaking = true; + + // default to blank (new session) + sessionId = sessionId || ''; + + // if a session ID was specified, try to find it in the cache + var session = null; + if(sessionId.length > 0) { + if(c.sessionCache) { + session = c.sessionCache.getSession(sessionId); + } + + // matching session not found in cache, clear session ID + if(session === null) { + sessionId = ''; + } + } + + // no session given, grab a session from the cache, if available + if(sessionId.length === 0 && c.sessionCache) { + session = c.sessionCache.getSession(); + if(session !== null) { + sessionId = session.id; + } + } + + // set up session + c.session = { + id: sessionId, + version: null, + cipherSuite: null, + compressionMethod: null, + serverCertificate: null, + certificateRequest: null, + clientCertificate: null, + sp: {}, + md5: forge.md.md5.create(), + sha1: forge.md.sha1.create() + }; + + // use existing session information + if(session) { + // only update version on connection, session version not yet set + c.version = session.version; + c.session.sp = session.sp; + } + + // generate new client random + c.session.sp.client_random = tls.createRandom().getBytes(); + + // connection now open + c.open = true; + + // send hello + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.handshake, + data: tls.createClientHello(c) + })); + tls.flush(c); + } + }; + + /** + * Called when TLS protocol data has been received from somewhere and should + * be processed by the TLS engine. + * + * @param data the TLS protocol data, as a string, to process. + * + * @return 0 if the data could be processed, otherwise the number of bytes + * required for data to be processed. + */ + c.process = function(data) { + var rval = 0; + + // buffer input data + if(data) { + c.input.putBytes(data); + } + + // process next record if no failure, process will be called after + // each record is handled (since handling can be asynchronous) + if(!c.fail) { + // reset record if ready and now empty + if(c.record !== null && + c.record.ready && c.record.fragment.isEmpty()) { + c.record = null; + } + + // if there is no pending record, try to read record header + if(c.record === null) { + rval = _readRecordHeader(c); + } + + // read the next record (if record not yet ready) + if(!c.fail && c.record !== null && !c.record.ready) { + rval = _readRecord(c); + } + + // record ready to be handled, update engine state + if(!c.fail && c.record !== null && c.record.ready) { + _update(c, c.record); + } + } + + return rval; + }; + + /** + * Requests that application data be packaged into a TLS record. The + * tlsDataReady handler will be called when the TLS record(s) have been + * prepared. + * + * @param data the application data, as a raw 'binary' encoded string, to + * be sent; to send utf-16/utf-8 string data, use the return value + * of util.encodeUtf8(str). + * + * @return true on success, false on failure. + */ + c.prepare = function(data) { + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.application_data, + data: forge.util.createBuffer(data) + })); + return tls.flush(c); + }; + + /** + * Requests that a heartbeat request be packaged into a TLS record for + * transmission. The tlsDataReady handler will be called when TLS record(s) + * have been prepared. + * + * When a heartbeat response has been received, the heartbeatReceived + * handler will be called with the matching payload. This handler can + * be used to clear a retransmission timer, etc. + * + * @param payload the heartbeat data to send as the payload in the message. + * @param [payloadLength] the payload length to use, defaults to the + * actual payload length. + * + * @return true on success, false on failure. + */ + c.prepareHeartbeatRequest = function(payload, payloadLength) { + if(payload instanceof forge.util.ByteBuffer) { + payload = payload.bytes(); + } + if(typeof payloadLength === 'undefined') { + payloadLength = payload.length; + } + c.expectedHeartbeatPayload = payload; + tls.queue(c, tls.createRecord(c, { + type: tls.ContentType.heartbeat, + data: tls.createHeartbeat( + tls.HeartbeatMessageType.heartbeat_request, payload, payloadLength) + })); + return tls.flush(c); + }; + + /** + * Closes the connection (sends a close_notify alert). + * + * @param clearFail true to clear the fail flag (default: true). + */ + c.close = function(clearFail) { + // save session if connection didn't fail + if(!c.fail && c.sessionCache && c.session) { + // only need to preserve session ID, version, and security params + var session = { + id: c.session.id, + version: c.session.version, + sp: c.session.sp + }; + session.sp.keys = null; + c.sessionCache.setSession(session.id, session); + } + + if(c.open) { + // connection no longer open, clear input + c.open = false; + c.input.clear(); + + // if connected or handshaking, send an alert + if(c.isConnected || c.handshaking) { + c.isConnected = c.handshaking = false; + + // send close_notify alert + tls.queue(c, tls.createAlert(c, { + level: tls.Alert.Level.warning, + description: tls.Alert.Description.close_notify + })); + tls.flush(c); + } + + // call handler + c.closed(c); + } + + // reset TLS connection, do not clear fail flag + c.reset(clearFail); + }; + + return c; +}; + +/* TLS API */ +module.exports = forge.tls = forge.tls || {}; + +// expose non-functions +for(var key in tls) { + if(typeof tls[key] !== 'function') { + forge.tls[key] = tls[key]; + } +} + +// expose prf_tls1 for testing +forge.tls.prf_tls1 = prf_TLS1; + +// expose sha1 hmac method +forge.tls.hmac_sha1 = hmac_sha1; + +// expose session cache creation +forge.tls.createSessionCache = tls.createSessionCache; + +/** + * Creates a new TLS connection. This does not make any assumptions about the + * transport layer that TLS is working on top of, ie: it does not assume there + * is a TCP/IP connection or establish one. A TLS connection is totally + * abstracted away from the layer is runs on top of, it merely establishes a + * secure channel between a client" and a "server". + * + * A TLS connection contains 4 connection states: pending read and write, and + * current read and write. + * + * At initialization, the current read and write states will be null. Only once + * the security parameters have been set and the keys have been generated can + * the pending states be converted into current states. Current states will be + * updated for each record processed. + * + * A custom certificate verify callback may be provided to check information + * like the common name on the server's certificate. It will be called for + * every certificate in the chain. It has the following signature: + * + * variable func(c, certs, index, preVerify) + * Where: + * c The TLS connection + * verified Set to true if certificate was verified, otherwise the alert + * tls.Alert.Description for why the certificate failed. + * depth The current index in the chain, where 0 is the server's cert. + * certs The certificate chain, *NOTE* if the server was anonymous then + * the chain will be empty. + * + * The function returns true on success and on failure either the appropriate + * tls.Alert.Description or an object with 'alert' set to the appropriate + * tls.Alert.Description and 'message' set to a custom error message. If true + * is not returned then the connection will abort using, in order of + * availability, first the returned alert description, second the preVerify + * alert description, and lastly the default 'bad_certificate'. + * + * There are three callbacks that can be used to make use of client-side + * certificates where each takes the TLS connection as the first parameter: + * + * getCertificate(conn, hint) + * The second parameter is a hint as to which certificate should be + * returned. If the connection entity is a client, then the hint will be + * the CertificateRequest message from the server that is part of the + * TLS protocol. If the connection entity is a server, then it will be + * the servername list provided via an SNI extension the ClientHello, if + * one was provided (empty array if not). The hint can be examined to + * determine which certificate to use (advanced). Most implementations + * will just return a certificate. The return value must be a + * PEM-formatted certificate or an array of PEM-formatted certificates + * that constitute a certificate chain, with the first in the array/chain + * being the client's certificate. + * getPrivateKey(conn, certificate) + * The second parameter is an forge.pki X.509 certificate object that + * is associated with the requested private key. The return value must + * be a PEM-formatted private key. + * getSignature(conn, bytes, callback) + * This callback can be used instead of getPrivateKey if the private key + * is not directly accessible in javascript or should not be. For + * instance, a secure external web service could provide the signature + * in exchange for appropriate credentials. The second parameter is a + * string of bytes to be signed that are part of the TLS protocol. These + * bytes are used to verify that the private key for the previously + * provided client-side certificate is accessible to the client. The + * callback is a function that takes 2 parameters, the TLS connection + * and the RSA encrypted (signed) bytes as a string. This callback must + * be called once the signature is ready. + * + * @param options the options for this connection: + * server: true if the connection is server-side, false for client. + * sessionId: a session ID to reuse, null for a new connection. + * caStore: an array of certificates to trust. + * sessionCache: a session cache to use. + * cipherSuites: an optional array of cipher suites to use, + * see tls.CipherSuites. + * connected: function(conn) called when the first handshake completes. + * virtualHost: the virtual server name to use in a TLS SNI extension. + * verifyClient: true to require a client certificate in server mode, + * 'optional' to request one, false not to (default: false). + * verify: a handler used to custom verify certificates in the chain. + * verifyOptions: an object with options for the certificate chain validation. + * See documentation of pki.verifyCertificateChain for possible options. + * verifyOptions.verify is ignored. If you wish to specify a verify handler + * use the verify key. + * getCertificate: an optional callback used to get a certificate or + * a chain of certificates (as an array). + * getPrivateKey: an optional callback used to get a private key. + * getSignature: an optional callback used to get a signature. + * tlsDataReady: function(conn) called when TLS protocol data has been + * prepared and is ready to be used (typically sent over a socket + * connection to its destination), read from conn.tlsData buffer. + * dataReady: function(conn) called when application data has + * been parsed from a TLS record and should be consumed by the + * application, read from conn.data buffer. + * closed: function(conn) called when the connection has been closed. + * error: function(conn, error) called when there was an error. + * deflate: function(inBytes) if provided, will deflate TLS records using + * the deflate algorithm if the server supports it. + * inflate: function(inBytes) if provided, will inflate TLS records using + * the deflate algorithm if the server supports it. + * + * @return the new TLS connection. + */ +forge.tls.createConnection = tls.createConnection; + + +/***/ }), + +/***/ 28339: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Utility functions for web applications. + * + * @author Dave Longley + * + * Copyright (c) 2010-2018 Digital Bazaar, Inc. + */ +var forge = __nccwpck_require__(89177); +var baseN = __nccwpck_require__(72300); + +/* Utilities API */ +var util = module.exports = forge.util = forge.util || {}; + +// define setImmediate and nextTick +(function() { + // use native nextTick (unless we're in webpack) + // webpack (or better node-libs-browser polyfill) sets process.browser. + // this way we can detect webpack properly + if(typeof process !== 'undefined' && process.nextTick && !process.browser) { + util.nextTick = process.nextTick; + if(typeof setImmediate === 'function') { + util.setImmediate = setImmediate; + } else { + // polyfill setImmediate with nextTick, older versions of node + // (those w/o setImmediate) won't totally starve IO + util.setImmediate = util.nextTick; + } + return; + } + + // polyfill nextTick with native setImmediate + if(typeof setImmediate === 'function') { + util.setImmediate = function() { return setImmediate.apply(undefined, arguments); }; + util.nextTick = function(callback) { + return setImmediate(callback); + }; + return; + } + + /* Note: A polyfill upgrade pattern is used here to allow combining + polyfills. For example, MutationObserver is fast, but blocks UI updates, + so it needs to allow UI updates periodically, so it falls back on + postMessage or setTimeout. */ + + // polyfill with setTimeout + util.setImmediate = function(callback) { + setTimeout(callback, 0); + }; + + // upgrade polyfill to use postMessage + if(typeof window !== 'undefined' && + typeof window.postMessage === 'function') { + var msg = 'forge.setImmediate'; + var callbacks = []; + util.setImmediate = function(callback) { + callbacks.push(callback); + // only send message when one hasn't been sent in + // the current turn of the event loop + if(callbacks.length === 1) { + window.postMessage(msg, '*'); + } + }; + function handler(event) { + if(event.source === window && event.data === msg) { + event.stopPropagation(); + var copy = callbacks.slice(); + callbacks.length = 0; + copy.forEach(function(callback) { + callback(); + }); + } + } + window.addEventListener('message', handler, true); + } + + // upgrade polyfill to use MutationObserver + if(typeof MutationObserver !== 'undefined') { + // polyfill with MutationObserver + var now = Date.now(); + var attr = true; + var div = document.createElement('div'); + var callbacks = []; + new MutationObserver(function() { + var copy = callbacks.slice(); + callbacks.length = 0; + copy.forEach(function(callback) { + callback(); + }); + }).observe(div, {attributes: true}); + var oldSetImmediate = util.setImmediate; + util.setImmediate = function(callback) { + if(Date.now() - now > 15) { + now = Date.now(); + oldSetImmediate(callback); + } else { + callbacks.push(callback); + // only trigger observer when it hasn't been triggered in + // the current turn of the event loop + if(callbacks.length === 1) { + div.setAttribute('a', attr = !attr); + } + } + }; + } + + util.nextTick = util.setImmediate; +})(); + +// check if running under Node.js +util.isNodejs = + typeof process !== 'undefined' && process.versions && process.versions.node; + + +// 'self' will also work in Web Workers (instance of WorkerGlobalScope) while +// it will point to `window` in the main thread. +// To remain compatible with older browsers, we fall back to 'window' if 'self' +// is not available. +util.globalScope = (function() { + if(util.isNodejs) { + return global; + } + + return typeof self === 'undefined' ? window : self; +})(); + +// define isArray +util.isArray = Array.isArray || function(x) { + return Object.prototype.toString.call(x) === '[object Array]'; +}; + +// define isArrayBuffer +util.isArrayBuffer = function(x) { + return typeof ArrayBuffer !== 'undefined' && x instanceof ArrayBuffer; +}; + +// define isArrayBufferView +util.isArrayBufferView = function(x) { + return x && util.isArrayBuffer(x.buffer) && x.byteLength !== undefined; +}; + +/** + * Ensure a bits param is 8, 16, 24, or 32. Used to validate input for + * algorithms where bit manipulation, JavaScript limitations, and/or algorithm + * design only allow for byte operations of a limited size. + * + * @param n number of bits. + * + * Throw Error if n invalid. + */ +function _checkBitsParam(n) { + if(!(n === 8 || n === 16 || n === 24 || n === 32)) { + throw new Error('Only 8, 16, 24, or 32 bits supported: ' + n); + } +} + +// TODO: set ByteBuffer to best available backing +util.ByteBuffer = ByteStringBuffer; + +/** Buffer w/BinaryString backing */ + +/** + * Constructor for a binary string backed byte buffer. + * + * @param [b] the bytes to wrap (either encoded as string, one byte per + * character, or as an ArrayBuffer or Typed Array). + */ +function ByteStringBuffer(b) { + // TODO: update to match DataBuffer API + + // the data in this buffer + this.data = ''; + // the pointer for reading from this buffer + this.read = 0; + + if(typeof b === 'string') { + this.data = b; + } else if(util.isArrayBuffer(b) || util.isArrayBufferView(b)) { + if(typeof Buffer !== 'undefined' && b instanceof Buffer) { + this.data = b.toString('binary'); + } else { + // convert native buffer to forge buffer + // FIXME: support native buffers internally instead + var arr = new Uint8Array(b); + try { + this.data = String.fromCharCode.apply(null, arr); + } catch(e) { + for(var i = 0; i < arr.length; ++i) { + this.putByte(arr[i]); + } + } + } + } else if(b instanceof ByteStringBuffer || + (typeof b === 'object' && typeof b.data === 'string' && + typeof b.read === 'number')) { + // copy existing buffer + this.data = b.data; + this.read = b.read; + } + + // used for v8 optimization + this._constructedStringLength = 0; +} +util.ByteStringBuffer = ByteStringBuffer; + +/* Note: This is an optimization for V8-based browsers. When V8 concatenates + a string, the strings are only joined logically using a "cons string" or + "constructed/concatenated string". These containers keep references to one + another and can result in very large memory usage. For example, if a 2MB + string is constructed by concatenating 4 bytes together at a time, the + memory usage will be ~44MB; so ~22x increase. The strings are only joined + together when an operation requiring their joining takes place, such as + substr(). This function is called when adding data to this buffer to ensure + these types of strings are periodically joined to reduce the memory + footprint. */ +var _MAX_CONSTRUCTED_STRING_LENGTH = 4096; +util.ByteStringBuffer.prototype._optimizeConstructedString = function(x) { + this._constructedStringLength += x; + if(this._constructedStringLength > _MAX_CONSTRUCTED_STRING_LENGTH) { + // this substr() should cause the constructed string to join + this.data.substr(0, 1); + this._constructedStringLength = 0; + } +}; + +/** + * Gets the number of bytes in this buffer. + * + * @return the number of bytes in this buffer. + */ +util.ByteStringBuffer.prototype.length = function() { + return this.data.length - this.read; +}; + +/** + * Gets whether or not this buffer is empty. + * + * @return true if this buffer is empty, false if not. + */ +util.ByteStringBuffer.prototype.isEmpty = function() { + return this.length() <= 0; +}; + +/** + * Puts a byte in this buffer. + * + * @param b the byte to put. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putByte = function(b) { + return this.putBytes(String.fromCharCode(b)); +}; + +/** + * Puts a byte in this buffer N times. + * + * @param b the byte to put. + * @param n the number of bytes of value b to put. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.fillWithByte = function(b, n) { + b = String.fromCharCode(b); + var d = this.data; + while(n > 0) { + if(n & 1) { + d += b; + } + n >>>= 1; + if(n > 0) { + b += b; + } + } + this.data = d; + this._optimizeConstructedString(n); + return this; +}; + +/** + * Puts bytes in this buffer. + * + * @param bytes the bytes (as a binary encoded string) to put. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putBytes = function(bytes) { + this.data += bytes; + this._optimizeConstructedString(bytes.length); + return this; +}; + +/** + * Puts a UTF-16 encoded string into this buffer. + * + * @param str the string to put. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putString = function(str) { + return this.putBytes(util.encodeUtf8(str)); +}; + +/** + * Puts a 16-bit integer in this buffer in big-endian order. + * + * @param i the 16-bit integer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt16 = function(i) { + return this.putBytes( + String.fromCharCode(i >> 8 & 0xFF) + + String.fromCharCode(i & 0xFF)); +}; + +/** + * Puts a 24-bit integer in this buffer in big-endian order. + * + * @param i the 24-bit integer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt24 = function(i) { + return this.putBytes( + String.fromCharCode(i >> 16 & 0xFF) + + String.fromCharCode(i >> 8 & 0xFF) + + String.fromCharCode(i & 0xFF)); +}; + +/** + * Puts a 32-bit integer in this buffer in big-endian order. + * + * @param i the 32-bit integer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt32 = function(i) { + return this.putBytes( + String.fromCharCode(i >> 24 & 0xFF) + + String.fromCharCode(i >> 16 & 0xFF) + + String.fromCharCode(i >> 8 & 0xFF) + + String.fromCharCode(i & 0xFF)); +}; + +/** + * Puts a 16-bit integer in this buffer in little-endian order. + * + * @param i the 16-bit integer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt16Le = function(i) { + return this.putBytes( + String.fromCharCode(i & 0xFF) + + String.fromCharCode(i >> 8 & 0xFF)); +}; + +/** + * Puts a 24-bit integer in this buffer in little-endian order. + * + * @param i the 24-bit integer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt24Le = function(i) { + return this.putBytes( + String.fromCharCode(i & 0xFF) + + String.fromCharCode(i >> 8 & 0xFF) + + String.fromCharCode(i >> 16 & 0xFF)); +}; + +/** + * Puts a 32-bit integer in this buffer in little-endian order. + * + * @param i the 32-bit integer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt32Le = function(i) { + return this.putBytes( + String.fromCharCode(i & 0xFF) + + String.fromCharCode(i >> 8 & 0xFF) + + String.fromCharCode(i >> 16 & 0xFF) + + String.fromCharCode(i >> 24 & 0xFF)); +}; + +/** + * Puts an n-bit integer in this buffer in big-endian order. + * + * @param i the n-bit integer. + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putInt = function(i, n) { + _checkBitsParam(n); + var bytes = ''; + do { + n -= 8; + bytes += String.fromCharCode((i >> n) & 0xFF); + } while(n > 0); + return this.putBytes(bytes); +}; + +/** + * Puts a signed n-bit integer in this buffer in big-endian order. Two's + * complement representation is used. + * + * @param i the n-bit integer. + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putSignedInt = function(i, n) { + // putInt checks n + if(i < 0) { + i += 2 << (n - 1); + } + return this.putInt(i, n); +}; + +/** + * Puts the given buffer into this buffer. + * + * @param buffer the buffer to put into this one. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.putBuffer = function(buffer) { + return this.putBytes(buffer.getBytes()); +}; + +/** + * Gets a byte from this buffer and advances the read pointer by 1. + * + * @return the byte. + */ +util.ByteStringBuffer.prototype.getByte = function() { + return this.data.charCodeAt(this.read++); +}; + +/** + * Gets a uint16 from this buffer in big-endian order and advances the read + * pointer by 2. + * + * @return the uint16. + */ +util.ByteStringBuffer.prototype.getInt16 = function() { + var rval = ( + this.data.charCodeAt(this.read) << 8 ^ + this.data.charCodeAt(this.read + 1)); + this.read += 2; + return rval; +}; + +/** + * Gets a uint24 from this buffer in big-endian order and advances the read + * pointer by 3. + * + * @return the uint24. + */ +util.ByteStringBuffer.prototype.getInt24 = function() { + var rval = ( + this.data.charCodeAt(this.read) << 16 ^ + this.data.charCodeAt(this.read + 1) << 8 ^ + this.data.charCodeAt(this.read + 2)); + this.read += 3; + return rval; +}; + +/** + * Gets a uint32 from this buffer in big-endian order and advances the read + * pointer by 4. + * + * @return the word. + */ +util.ByteStringBuffer.prototype.getInt32 = function() { + var rval = ( + this.data.charCodeAt(this.read) << 24 ^ + this.data.charCodeAt(this.read + 1) << 16 ^ + this.data.charCodeAt(this.read + 2) << 8 ^ + this.data.charCodeAt(this.read + 3)); + this.read += 4; + return rval; +}; + +/** + * Gets a uint16 from this buffer in little-endian order and advances the read + * pointer by 2. + * + * @return the uint16. + */ +util.ByteStringBuffer.prototype.getInt16Le = function() { + var rval = ( + this.data.charCodeAt(this.read) ^ + this.data.charCodeAt(this.read + 1) << 8); + this.read += 2; + return rval; +}; + +/** + * Gets a uint24 from this buffer in little-endian order and advances the read + * pointer by 3. + * + * @return the uint24. + */ +util.ByteStringBuffer.prototype.getInt24Le = function() { + var rval = ( + this.data.charCodeAt(this.read) ^ + this.data.charCodeAt(this.read + 1) << 8 ^ + this.data.charCodeAt(this.read + 2) << 16); + this.read += 3; + return rval; +}; + +/** + * Gets a uint32 from this buffer in little-endian order and advances the read + * pointer by 4. + * + * @return the word. + */ +util.ByteStringBuffer.prototype.getInt32Le = function() { + var rval = ( + this.data.charCodeAt(this.read) ^ + this.data.charCodeAt(this.read + 1) << 8 ^ + this.data.charCodeAt(this.read + 2) << 16 ^ + this.data.charCodeAt(this.read + 3) << 24); + this.read += 4; + return rval; +}; + +/** + * Gets an n-bit integer from this buffer in big-endian order and advances the + * read pointer by ceil(n/8). + * + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return the integer. + */ +util.ByteStringBuffer.prototype.getInt = function(n) { + _checkBitsParam(n); + var rval = 0; + do { + // TODO: Use (rval * 0x100) if adding support for 33 to 53 bits. + rval = (rval << 8) + this.data.charCodeAt(this.read++); + n -= 8; + } while(n > 0); + return rval; +}; + +/** + * Gets a signed n-bit integer from this buffer in big-endian order, using + * two's complement, and advances the read pointer by n/8. + * + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return the integer. + */ +util.ByteStringBuffer.prototype.getSignedInt = function(n) { + // getInt checks n + var x = this.getInt(n); + var max = 2 << (n - 2); + if(x >= max) { + x -= max << 1; + } + return x; +}; + +/** + * Reads bytes out as a binary encoded string and clears them from the + * buffer. Note that the resulting string is binary encoded (in node.js this + * encoding is referred to as `binary`, it is *not* `utf8`). + * + * @param count the number of bytes to read, undefined or null for all. + * + * @return a binary encoded string of bytes. + */ +util.ByteStringBuffer.prototype.getBytes = function(count) { + var rval; + if(count) { + // read count bytes + count = Math.min(this.length(), count); + rval = this.data.slice(this.read, this.read + count); + this.read += count; + } else if(count === 0) { + rval = ''; + } else { + // read all bytes, optimize to only copy when needed + rval = (this.read === 0) ? this.data : this.data.slice(this.read); + this.clear(); + } + return rval; +}; + +/** + * Gets a binary encoded string of the bytes from this buffer without + * modifying the read pointer. + * + * @param count the number of bytes to get, omit to get all. + * + * @return a string full of binary encoded characters. + */ +util.ByteStringBuffer.prototype.bytes = function(count) { + return (typeof(count) === 'undefined' ? + this.data.slice(this.read) : + this.data.slice(this.read, this.read + count)); +}; + +/** + * Gets a byte at the given index without modifying the read pointer. + * + * @param i the byte index. + * + * @return the byte. + */ +util.ByteStringBuffer.prototype.at = function(i) { + return this.data.charCodeAt(this.read + i); +}; + +/** + * Puts a byte at the given index without modifying the read pointer. + * + * @param i the byte index. + * @param b the byte to put. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.setAt = function(i, b) { + this.data = this.data.substr(0, this.read + i) + + String.fromCharCode(b) + + this.data.substr(this.read + i + 1); + return this; +}; + +/** + * Gets the last byte without modifying the read pointer. + * + * @return the last byte. + */ +util.ByteStringBuffer.prototype.last = function() { + return this.data.charCodeAt(this.data.length - 1); +}; + +/** + * Creates a copy of this buffer. + * + * @return the copy. + */ +util.ByteStringBuffer.prototype.copy = function() { + var c = util.createBuffer(this.data); + c.read = this.read; + return c; +}; + +/** + * Compacts this buffer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.compact = function() { + if(this.read > 0) { + this.data = this.data.slice(this.read); + this.read = 0; + } + return this; +}; + +/** + * Clears this buffer. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.clear = function() { + this.data = ''; + this.read = 0; + return this; +}; + +/** + * Shortens this buffer by triming bytes off of the end of this buffer. + * + * @param count the number of bytes to trim off. + * + * @return this buffer. + */ +util.ByteStringBuffer.prototype.truncate = function(count) { + var len = Math.max(0, this.length() - count); + this.data = this.data.substr(this.read, len); + this.read = 0; + return this; +}; + +/** + * Converts this buffer to a hexadecimal string. + * + * @return a hexadecimal string. + */ +util.ByteStringBuffer.prototype.toHex = function() { + var rval = ''; + for(var i = this.read; i < this.data.length; ++i) { + var b = this.data.charCodeAt(i); + if(b < 16) { + rval += '0'; + } + rval += b.toString(16); + } + return rval; +}; + +/** + * Converts this buffer to a UTF-16 string (standard JavaScript string). + * + * @return a UTF-16 string. + */ +util.ByteStringBuffer.prototype.toString = function() { + return util.decodeUtf8(this.bytes()); +}; + +/** End Buffer w/BinaryString backing */ + +/** Buffer w/UInt8Array backing */ + +/** + * FIXME: Experimental. Do not use yet. + * + * Constructor for an ArrayBuffer-backed byte buffer. + * + * The buffer may be constructed from a string, an ArrayBuffer, DataView, or a + * TypedArray. + * + * If a string is given, its encoding should be provided as an option, + * otherwise it will default to 'binary'. A 'binary' string is encoded such + * that each character is one byte in length and size. + * + * If an ArrayBuffer, DataView, or TypedArray is given, it will be used + * *directly* without any copying. Note that, if a write to the buffer requires + * more space, the buffer will allocate a new backing ArrayBuffer to + * accommodate. The starting read and write offsets for the buffer may be + * given as options. + * + * @param [b] the initial bytes for this buffer. + * @param options the options to use: + * [readOffset] the starting read offset to use (default: 0). + * [writeOffset] the starting write offset to use (default: the + * length of the first parameter). + * [growSize] the minimum amount, in bytes, to grow the buffer by to + * accommodate writes (default: 1024). + * [encoding] the encoding ('binary', 'utf8', 'utf16', 'hex') for the + * first parameter, if it is a string (default: 'binary'). + */ +function DataBuffer(b, options) { + // default options + options = options || {}; + + // pointers for read from/write to buffer + this.read = options.readOffset || 0; + this.growSize = options.growSize || 1024; + + var isArrayBuffer = util.isArrayBuffer(b); + var isArrayBufferView = util.isArrayBufferView(b); + if(isArrayBuffer || isArrayBufferView) { + // use ArrayBuffer directly + if(isArrayBuffer) { + this.data = new DataView(b); + } else { + // TODO: adjust read/write offset based on the type of view + // or specify that this must be done in the options ... that the + // offsets are byte-based + this.data = new DataView(b.buffer, b.byteOffset, b.byteLength); + } + this.write = ('writeOffset' in options ? + options.writeOffset : this.data.byteLength); + return; + } + + // initialize to empty array buffer and add any given bytes using putBytes + this.data = new DataView(new ArrayBuffer(0)); + this.write = 0; + + if(b !== null && b !== undefined) { + this.putBytes(b); + } + + if('writeOffset' in options) { + this.write = options.writeOffset; + } +} +util.DataBuffer = DataBuffer; + +/** + * Gets the number of bytes in this buffer. + * + * @return the number of bytes in this buffer. + */ +util.DataBuffer.prototype.length = function() { + return this.write - this.read; +}; + +/** + * Gets whether or not this buffer is empty. + * + * @return true if this buffer is empty, false if not. + */ +util.DataBuffer.prototype.isEmpty = function() { + return this.length() <= 0; +}; + +/** + * Ensures this buffer has enough empty space to accommodate the given number + * of bytes. An optional parameter may be given that indicates a minimum + * amount to grow the buffer if necessary. If the parameter is not given, + * the buffer will be grown by some previously-specified default amount + * or heuristic. + * + * @param amount the number of bytes to accommodate. + * @param [growSize] the minimum amount, in bytes, to grow the buffer by if + * necessary. + */ +util.DataBuffer.prototype.accommodate = function(amount, growSize) { + if(this.length() >= amount) { + return this; + } + growSize = Math.max(growSize || this.growSize, amount); + + // grow buffer + var src = new Uint8Array( + this.data.buffer, this.data.byteOffset, this.data.byteLength); + var dst = new Uint8Array(this.length() + growSize); + dst.set(src); + this.data = new DataView(dst.buffer); + + return this; +}; + +/** + * Puts a byte in this buffer. + * + * @param b the byte to put. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putByte = function(b) { + this.accommodate(1); + this.data.setUint8(this.write++, b); + return this; +}; + +/** + * Puts a byte in this buffer N times. + * + * @param b the byte to put. + * @param n the number of bytes of value b to put. + * + * @return this buffer. + */ +util.DataBuffer.prototype.fillWithByte = function(b, n) { + this.accommodate(n); + for(var i = 0; i < n; ++i) { + this.data.setUint8(b); + } + return this; +}; + +/** + * Puts bytes in this buffer. The bytes may be given as a string, an + * ArrayBuffer, a DataView, or a TypedArray. + * + * @param bytes the bytes to put. + * @param [encoding] the encoding for the first parameter ('binary', 'utf8', + * 'utf16', 'hex'), if it is a string (default: 'binary'). + * + * @return this buffer. + */ +util.DataBuffer.prototype.putBytes = function(bytes, encoding) { + if(util.isArrayBufferView(bytes)) { + var src = new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.byteLength); + var len = src.byteLength - src.byteOffset; + this.accommodate(len); + var dst = new Uint8Array(this.data.buffer, this.write); + dst.set(src); + this.write += len; + return this; + } + + if(util.isArrayBuffer(bytes)) { + var src = new Uint8Array(bytes); + this.accommodate(src.byteLength); + var dst = new Uint8Array(this.data.buffer); + dst.set(src, this.write); + this.write += src.byteLength; + return this; + } + + // bytes is a util.DataBuffer or equivalent + if(bytes instanceof util.DataBuffer || + (typeof bytes === 'object' && + typeof bytes.read === 'number' && typeof bytes.write === 'number' && + util.isArrayBufferView(bytes.data))) { + var src = new Uint8Array(bytes.data.byteLength, bytes.read, bytes.length()); + this.accommodate(src.byteLength); + var dst = new Uint8Array(bytes.data.byteLength, this.write); + dst.set(src); + this.write += src.byteLength; + return this; + } + + if(bytes instanceof util.ByteStringBuffer) { + // copy binary string and process as the same as a string parameter below + bytes = bytes.data; + encoding = 'binary'; + } + + // string conversion + encoding = encoding || 'binary'; + if(typeof bytes === 'string') { + var view; + + // decode from string + if(encoding === 'hex') { + this.accommodate(Math.ceil(bytes.length / 2)); + view = new Uint8Array(this.data.buffer, this.write); + this.write += util.binary.hex.decode(bytes, view, this.write); + return this; + } + if(encoding === 'base64') { + this.accommodate(Math.ceil(bytes.length / 4) * 3); + view = new Uint8Array(this.data.buffer, this.write); + this.write += util.binary.base64.decode(bytes, view, this.write); + return this; + } + + // encode text as UTF-8 bytes + if(encoding === 'utf8') { + // encode as UTF-8 then decode string as raw binary + bytes = util.encodeUtf8(bytes); + encoding = 'binary'; + } + + // decode string as raw binary + if(encoding === 'binary' || encoding === 'raw') { + // one byte per character + this.accommodate(bytes.length); + view = new Uint8Array(this.data.buffer, this.write); + this.write += util.binary.raw.decode(view); + return this; + } + + // encode text as UTF-16 bytes + if(encoding === 'utf16') { + // two bytes per character + this.accommodate(bytes.length * 2); + view = new Uint16Array(this.data.buffer, this.write); + this.write += util.text.utf16.encode(view); + return this; + } + + throw new Error('Invalid encoding: ' + encoding); + } + + throw Error('Invalid parameter: ' + bytes); +}; + +/** + * Puts the given buffer into this buffer. + * + * @param buffer the buffer to put into this one. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putBuffer = function(buffer) { + this.putBytes(buffer); + buffer.clear(); + return this; +}; + +/** + * Puts a string into this buffer. + * + * @param str the string to put. + * @param [encoding] the encoding for the string (default: 'utf16'). + * + * @return this buffer. + */ +util.DataBuffer.prototype.putString = function(str) { + return this.putBytes(str, 'utf16'); +}; + +/** + * Puts a 16-bit integer in this buffer in big-endian order. + * + * @param i the 16-bit integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt16 = function(i) { + this.accommodate(2); + this.data.setInt16(this.write, i); + this.write += 2; + return this; +}; + +/** + * Puts a 24-bit integer in this buffer in big-endian order. + * + * @param i the 24-bit integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt24 = function(i) { + this.accommodate(3); + this.data.setInt16(this.write, i >> 8 & 0xFFFF); + this.data.setInt8(this.write, i >> 16 & 0xFF); + this.write += 3; + return this; +}; + +/** + * Puts a 32-bit integer in this buffer in big-endian order. + * + * @param i the 32-bit integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt32 = function(i) { + this.accommodate(4); + this.data.setInt32(this.write, i); + this.write += 4; + return this; +}; + +/** + * Puts a 16-bit integer in this buffer in little-endian order. + * + * @param i the 16-bit integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt16Le = function(i) { + this.accommodate(2); + this.data.setInt16(this.write, i, true); + this.write += 2; + return this; +}; + +/** + * Puts a 24-bit integer in this buffer in little-endian order. + * + * @param i the 24-bit integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt24Le = function(i) { + this.accommodate(3); + this.data.setInt8(this.write, i >> 16 & 0xFF); + this.data.setInt16(this.write, i >> 8 & 0xFFFF, true); + this.write += 3; + return this; +}; + +/** + * Puts a 32-bit integer in this buffer in little-endian order. + * + * @param i the 32-bit integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt32Le = function(i) { + this.accommodate(4); + this.data.setInt32(this.write, i, true); + this.write += 4; + return this; +}; + +/** + * Puts an n-bit integer in this buffer in big-endian order. + * + * @param i the n-bit integer. + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return this buffer. + */ +util.DataBuffer.prototype.putInt = function(i, n) { + _checkBitsParam(n); + this.accommodate(n / 8); + do { + n -= 8; + this.data.setInt8(this.write++, (i >> n) & 0xFF); + } while(n > 0); + return this; +}; + +/** + * Puts a signed n-bit integer in this buffer in big-endian order. Two's + * complement representation is used. + * + * @param i the n-bit integer. + * @param n the number of bits in the integer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.putSignedInt = function(i, n) { + _checkBitsParam(n); + this.accommodate(n / 8); + if(i < 0) { + i += 2 << (n - 1); + } + return this.putInt(i, n); +}; + +/** + * Gets a byte from this buffer and advances the read pointer by 1. + * + * @return the byte. + */ +util.DataBuffer.prototype.getByte = function() { + return this.data.getInt8(this.read++); +}; + +/** + * Gets a uint16 from this buffer in big-endian order and advances the read + * pointer by 2. + * + * @return the uint16. + */ +util.DataBuffer.prototype.getInt16 = function() { + var rval = this.data.getInt16(this.read); + this.read += 2; + return rval; +}; + +/** + * Gets a uint24 from this buffer in big-endian order and advances the read + * pointer by 3. + * + * @return the uint24. + */ +util.DataBuffer.prototype.getInt24 = function() { + var rval = ( + this.data.getInt16(this.read) << 8 ^ + this.data.getInt8(this.read + 2)); + this.read += 3; + return rval; +}; + +/** + * Gets a uint32 from this buffer in big-endian order and advances the read + * pointer by 4. + * + * @return the word. + */ +util.DataBuffer.prototype.getInt32 = function() { + var rval = this.data.getInt32(this.read); + this.read += 4; + return rval; +}; + +/** + * Gets a uint16 from this buffer in little-endian order and advances the read + * pointer by 2. + * + * @return the uint16. + */ +util.DataBuffer.prototype.getInt16Le = function() { + var rval = this.data.getInt16(this.read, true); + this.read += 2; + return rval; +}; + +/** + * Gets a uint24 from this buffer in little-endian order and advances the read + * pointer by 3. + * + * @return the uint24. + */ +util.DataBuffer.prototype.getInt24Le = function() { + var rval = ( + this.data.getInt8(this.read) ^ + this.data.getInt16(this.read + 1, true) << 8); + this.read += 3; + return rval; +}; + +/** + * Gets a uint32 from this buffer in little-endian order and advances the read + * pointer by 4. + * + * @return the word. + */ +util.DataBuffer.prototype.getInt32Le = function() { + var rval = this.data.getInt32(this.read, true); + this.read += 4; + return rval; +}; + +/** + * Gets an n-bit integer from this buffer in big-endian order and advances the + * read pointer by n/8. + * + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return the integer. + */ +util.DataBuffer.prototype.getInt = function(n) { + _checkBitsParam(n); + var rval = 0; + do { + // TODO: Use (rval * 0x100) if adding support for 33 to 53 bits. + rval = (rval << 8) + this.data.getInt8(this.read++); + n -= 8; + } while(n > 0); + return rval; +}; + +/** + * Gets a signed n-bit integer from this buffer in big-endian order, using + * two's complement, and advances the read pointer by n/8. + * + * @param n the number of bits in the integer (8, 16, 24, or 32). + * + * @return the integer. + */ +util.DataBuffer.prototype.getSignedInt = function(n) { + // getInt checks n + var x = this.getInt(n); + var max = 2 << (n - 2); + if(x >= max) { + x -= max << 1; + } + return x; +}; + +/** + * Reads bytes out as a binary encoded string and clears them from the + * buffer. + * + * @param count the number of bytes to read, undefined or null for all. + * + * @return a binary encoded string of bytes. + */ +util.DataBuffer.prototype.getBytes = function(count) { + // TODO: deprecate this method, it is poorly named and + // this.toString('binary') replaces it + // add a toTypedArray()/toArrayBuffer() function + var rval; + if(count) { + // read count bytes + count = Math.min(this.length(), count); + rval = this.data.slice(this.read, this.read + count); + this.read += count; + } else if(count === 0) { + rval = ''; + } else { + // read all bytes, optimize to only copy when needed + rval = (this.read === 0) ? this.data : this.data.slice(this.read); + this.clear(); + } + return rval; +}; + +/** + * Gets a binary encoded string of the bytes from this buffer without + * modifying the read pointer. + * + * @param count the number of bytes to get, omit to get all. + * + * @return a string full of binary encoded characters. + */ +util.DataBuffer.prototype.bytes = function(count) { + // TODO: deprecate this method, it is poorly named, add "getString()" + return (typeof(count) === 'undefined' ? + this.data.slice(this.read) : + this.data.slice(this.read, this.read + count)); +}; + +/** + * Gets a byte at the given index without modifying the read pointer. + * + * @param i the byte index. + * + * @return the byte. + */ +util.DataBuffer.prototype.at = function(i) { + return this.data.getUint8(this.read + i); +}; + +/** + * Puts a byte at the given index without modifying the read pointer. + * + * @param i the byte index. + * @param b the byte to put. + * + * @return this buffer. + */ +util.DataBuffer.prototype.setAt = function(i, b) { + this.data.setUint8(i, b); + return this; +}; + +/** + * Gets the last byte without modifying the read pointer. + * + * @return the last byte. + */ +util.DataBuffer.prototype.last = function() { + return this.data.getUint8(this.write - 1); +}; + +/** + * Creates a copy of this buffer. + * + * @return the copy. + */ +util.DataBuffer.prototype.copy = function() { + return new util.DataBuffer(this); +}; + +/** + * Compacts this buffer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.compact = function() { + if(this.read > 0) { + var src = new Uint8Array(this.data.buffer, this.read); + var dst = new Uint8Array(src.byteLength); + dst.set(src); + this.data = new DataView(dst); + this.write -= this.read; + this.read = 0; + } + return this; +}; + +/** + * Clears this buffer. + * + * @return this buffer. + */ +util.DataBuffer.prototype.clear = function() { + this.data = new DataView(new ArrayBuffer(0)); + this.read = this.write = 0; + return this; +}; + +/** + * Shortens this buffer by triming bytes off of the end of this buffer. + * + * @param count the number of bytes to trim off. + * + * @return this buffer. + */ +util.DataBuffer.prototype.truncate = function(count) { + this.write = Math.max(0, this.length() - count); + this.read = Math.min(this.read, this.write); + return this; +}; + +/** + * Converts this buffer to a hexadecimal string. + * + * @return a hexadecimal string. + */ +util.DataBuffer.prototype.toHex = function() { + var rval = ''; + for(var i = this.read; i < this.data.byteLength; ++i) { + var b = this.data.getUint8(i); + if(b < 16) { + rval += '0'; + } + rval += b.toString(16); + } + return rval; +}; + +/** + * Converts this buffer to a string, using the given encoding. If no + * encoding is given, 'utf8' (UTF-8) is used. + * + * @param [encoding] the encoding to use: 'binary', 'utf8', 'utf16', 'hex', + * 'base64' (default: 'utf8'). + * + * @return a string representation of the bytes in this buffer. + */ +util.DataBuffer.prototype.toString = function(encoding) { + var view = new Uint8Array(this.data, this.read, this.length()); + encoding = encoding || 'utf8'; + + // encode to string + if(encoding === 'binary' || encoding === 'raw') { + return util.binary.raw.encode(view); + } + if(encoding === 'hex') { + return util.binary.hex.encode(view); + } + if(encoding === 'base64') { + return util.binary.base64.encode(view); + } + + // decode to text + if(encoding === 'utf8') { + return util.text.utf8.decode(view); + } + if(encoding === 'utf16') { + return util.text.utf16.decode(view); + } + + throw new Error('Invalid encoding: ' + encoding); +}; + +/** End Buffer w/UInt8Array backing */ + +/** + * Creates a buffer that stores bytes. A value may be given to populate the + * buffer with data. This value can either be string of encoded bytes or a + * regular string of characters. When passing a string of binary encoded + * bytes, the encoding `raw` should be given. This is also the default. When + * passing a string of characters, the encoding `utf8` should be given. + * + * @param [input] a string with encoded bytes to store in the buffer. + * @param [encoding] (default: 'raw', other: 'utf8'). + */ +util.createBuffer = function(input, encoding) { + // TODO: deprecate, use new ByteBuffer() instead + encoding = encoding || 'raw'; + if(input !== undefined && encoding === 'utf8') { + input = util.encodeUtf8(input); + } + return new util.ByteBuffer(input); +}; + +/** + * Fills a string with a particular value. If you want the string to be a byte + * string, pass in String.fromCharCode(theByte). + * + * @param c the character to fill the string with, use String.fromCharCode + * to fill the string with a byte value. + * @param n the number of characters of value c to fill with. + * + * @return the filled string. + */ +util.fillString = function(c, n) { + var s = ''; + while(n > 0) { + if(n & 1) { + s += c; + } + n >>>= 1; + if(n > 0) { + c += c; + } + } + return s; +}; + +/** + * Performs a per byte XOR between two byte strings and returns the result as a + * string of bytes. + * + * @param s1 first string of bytes. + * @param s2 second string of bytes. + * @param n the number of bytes to XOR. + * + * @return the XOR'd result. + */ +util.xorBytes = function(s1, s2, n) { + var s3 = ''; + var b = ''; + var t = ''; + var i = 0; + var c = 0; + for(; n > 0; --n, ++i) { + b = s1.charCodeAt(i) ^ s2.charCodeAt(i); + if(c >= 10) { + s3 += t; + t = ''; + c = 0; + } + t += String.fromCharCode(b); + ++c; + } + s3 += t; + return s3; +}; + +/** + * Converts a hex string into a 'binary' encoded string of bytes. + * + * @param hex the hexadecimal string to convert. + * + * @return the binary-encoded string of bytes. + */ +util.hexToBytes = function(hex) { + // TODO: deprecate: "Deprecated. Use util.binary.hex.decode instead." + var rval = ''; + var i = 0; + if(hex.length & 1 == 1) { + // odd number of characters, convert first character alone + i = 1; + rval += String.fromCharCode(parseInt(hex[0], 16)); + } + // convert 2 characters (1 byte) at a time + for(; i < hex.length; i += 2) { + rval += String.fromCharCode(parseInt(hex.substr(i, 2), 16)); + } + return rval; +}; + +/** + * Converts a 'binary' encoded string of bytes to hex. + * + * @param bytes the byte string to convert. + * + * @return the string of hexadecimal characters. + */ +util.bytesToHex = function(bytes) { + // TODO: deprecate: "Deprecated. Use util.binary.hex.encode instead." + return util.createBuffer(bytes).toHex(); +}; + +/** + * Converts an 32-bit integer to 4-big-endian byte string. + * + * @param i the integer. + * + * @return the byte string. + */ +util.int32ToBytes = function(i) { + return ( + String.fromCharCode(i >> 24 & 0xFF) + + String.fromCharCode(i >> 16 & 0xFF) + + String.fromCharCode(i >> 8 & 0xFF) + + String.fromCharCode(i & 0xFF)); +}; + +// base64 characters, reverse mapping +var _base64 = + 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; +var _base64Idx = [ +/*43 -43 = 0*/ +/*'+', 1, 2, 3,'/' */ + 62, -1, -1, -1, 63, + +/*'0','1','2','3','4','5','6','7','8','9' */ + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, + +/*15, 16, 17,'=', 19, 20, 21 */ + -1, -1, -1, 64, -1, -1, -1, + +/*65 - 43 = 22*/ +/*'A','B','C','D','E','F','G','H','I','J','K','L','M', */ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, + +/*'N','O','P','Q','R','S','T','U','V','W','X','Y','Z' */ + 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, + +/*91 - 43 = 48 */ +/*48, 49, 50, 51, 52, 53 */ + -1, -1, -1, -1, -1, -1, + +/*97 - 43 = 54*/ +/*'a','b','c','d','e','f','g','h','i','j','k','l','m' */ + 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, + +/*'n','o','p','q','r','s','t','u','v','w','x','y','z' */ + 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 +]; + +// base58 characters (Bitcoin alphabet) +var _base58 = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; + +/** + * Base64 encodes a 'binary' encoded string of bytes. + * + * @param input the binary encoded string of bytes to base64-encode. + * @param maxline the maximum number of encoded characters per line to use, + * defaults to none. + * + * @return the base64-encoded output. + */ +util.encode64 = function(input, maxline) { + // TODO: deprecate: "Deprecated. Use util.binary.base64.encode instead." + var line = ''; + var output = ''; + var chr1, chr2, chr3; + var i = 0; + while(i < input.length) { + chr1 = input.charCodeAt(i++); + chr2 = input.charCodeAt(i++); + chr3 = input.charCodeAt(i++); + + // encode 4 character group + line += _base64.charAt(chr1 >> 2); + line += _base64.charAt(((chr1 & 3) << 4) | (chr2 >> 4)); + if(isNaN(chr2)) { + line += '=='; + } else { + line += _base64.charAt(((chr2 & 15) << 2) | (chr3 >> 6)); + line += isNaN(chr3) ? '=' : _base64.charAt(chr3 & 63); + } + + if(maxline && line.length > maxline) { + output += line.substr(0, maxline) + '\r\n'; + line = line.substr(maxline); + } + } + output += line; + return output; +}; + +/** + * Base64 decodes a string into a 'binary' encoded string of bytes. + * + * @param input the base64-encoded input. + * + * @return the binary encoded string. + */ +util.decode64 = function(input) { + // TODO: deprecate: "Deprecated. Use util.binary.base64.decode instead." + + // remove all non-base64 characters + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ''); + + var output = ''; + var enc1, enc2, enc3, enc4; + var i = 0; + + while(i < input.length) { + enc1 = _base64Idx[input.charCodeAt(i++) - 43]; + enc2 = _base64Idx[input.charCodeAt(i++) - 43]; + enc3 = _base64Idx[input.charCodeAt(i++) - 43]; + enc4 = _base64Idx[input.charCodeAt(i++) - 43]; + + output += String.fromCharCode((enc1 << 2) | (enc2 >> 4)); + if(enc3 !== 64) { + // decoded at least 2 bytes + output += String.fromCharCode(((enc2 & 15) << 4) | (enc3 >> 2)); + if(enc4 !== 64) { + // decoded 3 bytes + output += String.fromCharCode(((enc3 & 3) << 6) | enc4); + } + } + } + + return output; +}; + +/** + * Encodes the given string of characters (a standard JavaScript + * string) as a binary encoded string where the bytes represent + * a UTF-8 encoded string of characters. Non-ASCII characters will be + * encoded as multiple bytes according to UTF-8. + * + * @param str a standard string of characters to encode. + * + * @return the binary encoded string. + */ +util.encodeUtf8 = function(str) { + return unescape(encodeURIComponent(str)); +}; + +/** + * Decodes a binary encoded string that contains bytes that + * represent a UTF-8 encoded string of characters -- into a + * string of characters (a standard JavaScript string). + * + * @param str the binary encoded string to decode. + * + * @return the resulting standard string of characters. + */ +util.decodeUtf8 = function(str) { + return decodeURIComponent(escape(str)); +}; + +// binary encoding/decoding tools +// FIXME: Experimental. Do not use yet. +util.binary = { + raw: {}, + hex: {}, + base64: {}, + base58: {}, + baseN : { + encode: baseN.encode, + decode: baseN.decode + } +}; + +/** + * Encodes a Uint8Array as a binary-encoded string. This encoding uses + * a value between 0 and 255 for each character. + * + * @param bytes the Uint8Array to encode. + * + * @return the binary-encoded string. + */ +util.binary.raw.encode = function(bytes) { + return String.fromCharCode.apply(null, bytes); +}; + +/** + * Decodes a binary-encoded string to a Uint8Array. This encoding uses + * a value between 0 and 255 for each character. + * + * @param str the binary-encoded string to decode. + * @param [output] an optional Uint8Array to write the output to; if it + * is too small, an exception will be thrown. + * @param [offset] the start offset for writing to the output (default: 0). + * + * @return the Uint8Array or the number of bytes written if output was given. + */ +util.binary.raw.decode = function(str, output, offset) { + var out = output; + if(!out) { + out = new Uint8Array(str.length); + } + offset = offset || 0; + var j = offset; + for(var i = 0; i < str.length; ++i) { + out[j++] = str.charCodeAt(i); + } + return output ? (j - offset) : out; +}; + +/** + * Encodes a 'binary' string, ArrayBuffer, DataView, TypedArray, or + * ByteBuffer as a string of hexadecimal characters. + * + * @param bytes the bytes to convert. + * + * @return the string of hexadecimal characters. + */ +util.binary.hex.encode = util.bytesToHex; + +/** + * Decodes a hex-encoded string to a Uint8Array. + * + * @param hex the hexadecimal string to convert. + * @param [output] an optional Uint8Array to write the output to; if it + * is too small, an exception will be thrown. + * @param [offset] the start offset for writing to the output (default: 0). + * + * @return the Uint8Array or the number of bytes written if output was given. + */ +util.binary.hex.decode = function(hex, output, offset) { + var out = output; + if(!out) { + out = new Uint8Array(Math.ceil(hex.length / 2)); + } + offset = offset || 0; + var i = 0, j = offset; + if(hex.length & 1) { + // odd number of characters, convert first character alone + i = 1; + out[j++] = parseInt(hex[0], 16); + } + // convert 2 characters (1 byte) at a time + for(; i < hex.length; i += 2) { + out[j++] = parseInt(hex.substr(i, 2), 16); + } + return output ? (j - offset) : out; +}; + +/** + * Base64-encodes a Uint8Array. + * + * @param input the Uint8Array to encode. + * @param maxline the maximum number of encoded characters per line to use, + * defaults to none. + * + * @return the base64-encoded output string. + */ +util.binary.base64.encode = function(input, maxline) { + var line = ''; + var output = ''; + var chr1, chr2, chr3; + var i = 0; + while(i < input.byteLength) { + chr1 = input[i++]; + chr2 = input[i++]; + chr3 = input[i++]; + + // encode 4 character group + line += _base64.charAt(chr1 >> 2); + line += _base64.charAt(((chr1 & 3) << 4) | (chr2 >> 4)); + if(isNaN(chr2)) { + line += '=='; + } else { + line += _base64.charAt(((chr2 & 15) << 2) | (chr3 >> 6)); + line += isNaN(chr3) ? '=' : _base64.charAt(chr3 & 63); + } + + if(maxline && line.length > maxline) { + output += line.substr(0, maxline) + '\r\n'; + line = line.substr(maxline); + } + } + output += line; + return output; +}; + +/** + * Decodes a base64-encoded string to a Uint8Array. + * + * @param input the base64-encoded input string. + * @param [output] an optional Uint8Array to write the output to; if it + * is too small, an exception will be thrown. + * @param [offset] the start offset for writing to the output (default: 0). + * + * @return the Uint8Array or the number of bytes written if output was given. + */ +util.binary.base64.decode = function(input, output, offset) { + var out = output; + if(!out) { + out = new Uint8Array(Math.ceil(input.length / 4) * 3); + } + + // remove all non-base64 characters + input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ''); + + offset = offset || 0; + var enc1, enc2, enc3, enc4; + var i = 0, j = offset; + + while(i < input.length) { + enc1 = _base64Idx[input.charCodeAt(i++) - 43]; + enc2 = _base64Idx[input.charCodeAt(i++) - 43]; + enc3 = _base64Idx[input.charCodeAt(i++) - 43]; + enc4 = _base64Idx[input.charCodeAt(i++) - 43]; + + out[j++] = (enc1 << 2) | (enc2 >> 4); + if(enc3 !== 64) { + // decoded at least 2 bytes + out[j++] = ((enc2 & 15) << 4) | (enc3 >> 2); + if(enc4 !== 64) { + // decoded 3 bytes + out[j++] = ((enc3 & 3) << 6) | enc4; + } + } + } + + // make sure result is the exact decoded length + return output ? (j - offset) : out.subarray(0, j); +}; + +// add support for base58 encoding/decoding with Bitcoin alphabet +util.binary.base58.encode = function(input, maxline) { + return util.binary.baseN.encode(input, _base58, maxline); +}; +util.binary.base58.decode = function(input, maxline) { + return util.binary.baseN.decode(input, _base58, maxline); +}; + +// text encoding/decoding tools +// FIXME: Experimental. Do not use yet. +util.text = { + utf8: {}, + utf16: {} +}; + +/** + * Encodes the given string as UTF-8 in a Uint8Array. + * + * @param str the string to encode. + * @param [output] an optional Uint8Array to write the output to; if it + * is too small, an exception will be thrown. + * @param [offset] the start offset for writing to the output (default: 0). + * + * @return the Uint8Array or the number of bytes written if output was given. + */ +util.text.utf8.encode = function(str, output, offset) { + str = util.encodeUtf8(str); + var out = output; + if(!out) { + out = new Uint8Array(str.length); + } + offset = offset || 0; + var j = offset; + for(var i = 0; i < str.length; ++i) { + out[j++] = str.charCodeAt(i); + } + return output ? (j - offset) : out; +}; + +/** + * Decodes the UTF-8 contents from a Uint8Array. + * + * @param bytes the Uint8Array to decode. + * + * @return the resulting string. + */ +util.text.utf8.decode = function(bytes) { + return util.decodeUtf8(String.fromCharCode.apply(null, bytes)); +}; + +/** + * Encodes the given string as UTF-16 in a Uint8Array. + * + * @param str the string to encode. + * @param [output] an optional Uint8Array to write the output to; if it + * is too small, an exception will be thrown. + * @param [offset] the start offset for writing to the output (default: 0). + * + * @return the Uint8Array or the number of bytes written if output was given. + */ +util.text.utf16.encode = function(str, output, offset) { + var out = output; + if(!out) { + out = new Uint8Array(str.length * 2); + } + var view = new Uint16Array(out.buffer); + offset = offset || 0; + var j = offset; + var k = offset; + for(var i = 0; i < str.length; ++i) { + view[k++] = str.charCodeAt(i); + j += 2; + } + return output ? (j - offset) : out; +}; + +/** + * Decodes the UTF-16 contents from a Uint8Array. + * + * @param bytes the Uint8Array to decode. + * + * @return the resulting string. + */ +util.text.utf16.decode = function(bytes) { + return String.fromCharCode.apply(null, new Uint16Array(bytes.buffer)); +}; + +/** + * Deflates the given data using a flash interface. + * + * @param api the flash interface. + * @param bytes the data. + * @param raw true to return only raw deflate data, false to include zlib + * header and trailer. + * + * @return the deflated data as a string. + */ +util.deflate = function(api, bytes, raw) { + bytes = util.decode64(api.deflate(util.encode64(bytes)).rval); + + // strip zlib header and trailer if necessary + if(raw) { + // zlib header is 2 bytes (CMF,FLG) where FLG indicates that + // there is a 4-byte DICT (alder-32) block before the data if + // its 5th bit is set + var start = 2; + var flg = bytes.charCodeAt(1); + if(flg & 0x20) { + start = 6; + } + // zlib trailer is 4 bytes of adler-32 + bytes = bytes.substring(start, bytes.length - 4); + } + + return bytes; +}; + +/** + * Inflates the given data using a flash interface. + * + * @param api the flash interface. + * @param bytes the data. + * @param raw true if the incoming data has no zlib header or trailer and is + * raw DEFLATE data. + * + * @return the inflated data as a string, null on error. + */ +util.inflate = function(api, bytes, raw) { + // TODO: add zlib header and trailer if necessary/possible + var rval = api.inflate(util.encode64(bytes)).rval; + return (rval === null) ? null : util.decode64(rval); +}; + +/** + * Sets a storage object. + * + * @param api the storage interface. + * @param id the storage ID to use. + * @param obj the storage object, null to remove. + */ +var _setStorageObject = function(api, id, obj) { + if(!api) { + throw new Error('WebStorage not available.'); + } + + var rval; + if(obj === null) { + rval = api.removeItem(id); + } else { + // json-encode and base64-encode object + obj = util.encode64(JSON.stringify(obj)); + rval = api.setItem(id, obj); + } + + // handle potential flash error + if(typeof(rval) !== 'undefined' && rval.rval !== true) { + var error = new Error(rval.error.message); + error.id = rval.error.id; + error.name = rval.error.name; + throw error; + } +}; + +/** + * Gets a storage object. + * + * @param api the storage interface. + * @param id the storage ID to use. + * + * @return the storage object entry or null if none exists. + */ +var _getStorageObject = function(api, id) { + if(!api) { + throw new Error('WebStorage not available.'); + } + + // get the existing entry + var rval = api.getItem(id); + + /* Note: We check api.init because we can't do (api == localStorage) + on IE because of "Class doesn't support Automation" exception. Only + the flash api has an init method so this works too, but we need a + better solution in the future. */ + + // flash returns item wrapped in an object, handle special case + if(api.init) { + if(rval.rval === null) { + if(rval.error) { + var error = new Error(rval.error.message); + error.id = rval.error.id; + error.name = rval.error.name; + throw error; + } + // no error, but also no item + rval = null; + } else { + rval = rval.rval; + } + } + + // handle decoding + if(rval !== null) { + // base64-decode and json-decode data + rval = JSON.parse(util.decode64(rval)); + } + + return rval; +}; + +/** + * Stores an item in local storage. + * + * @param api the storage interface. + * @param id the storage ID to use. + * @param key the key for the item. + * @param data the data for the item (any javascript object/primitive). + */ +var _setItem = function(api, id, key, data) { + // get storage object + var obj = _getStorageObject(api, id); + if(obj === null) { + // create a new storage object + obj = {}; + } + // update key + obj[key] = data; + + // set storage object + _setStorageObject(api, id, obj); +}; + +/** + * Gets an item from local storage. + * + * @param api the storage interface. + * @param id the storage ID to use. + * @param key the key for the item. + * + * @return the item. + */ +var _getItem = function(api, id, key) { + // get storage object + var rval = _getStorageObject(api, id); + if(rval !== null) { + // return data at key + rval = (key in rval) ? rval[key] : null; + } + + return rval; +}; + +/** + * Removes an item from local storage. + * + * @param api the storage interface. + * @param id the storage ID to use. + * @param key the key for the item. + */ +var _removeItem = function(api, id, key) { + // get storage object + var obj = _getStorageObject(api, id); + if(obj !== null && key in obj) { + // remove key + delete obj[key]; + + // see if entry has no keys remaining + var empty = true; + for(var prop in obj) { + empty = false; + break; + } + if(empty) { + // remove entry entirely if no keys are left + obj = null; + } + + // set storage object + _setStorageObject(api, id, obj); + } +}; + +/** + * Clears the local disk storage identified by the given ID. + * + * @param api the storage interface. + * @param id the storage ID to use. + */ +var _clearItems = function(api, id) { + _setStorageObject(api, id, null); +}; + +/** + * Calls a storage function. + * + * @param func the function to call. + * @param args the arguments for the function. + * @param location the location argument. + * + * @return the return value from the function. + */ +var _callStorageFunction = function(func, args, location) { + var rval = null; + + // default storage types + if(typeof(location) === 'undefined') { + location = ['web', 'flash']; + } + + // apply storage types in order of preference + var type; + var done = false; + var exception = null; + for(var idx in location) { + type = location[idx]; + try { + if(type === 'flash' || type === 'both') { + if(args[0] === null) { + throw new Error('Flash local storage not available.'); + } + rval = func.apply(this, args); + done = (type === 'flash'); + } + if(type === 'web' || type === 'both') { + args[0] = localStorage; + rval = func.apply(this, args); + done = true; + } + } catch(ex) { + exception = ex; + } + if(done) { + break; + } + } + + if(!done) { + throw exception; + } + + return rval; +}; + +/** + * Stores an item on local disk. + * + * The available types of local storage include 'flash', 'web', and 'both'. + * + * The type 'flash' refers to flash local storage (SharedObject). In order + * to use flash local storage, the 'api' parameter must be valid. The type + * 'web' refers to WebStorage, if supported by the browser. The type 'both' + * refers to storing using both 'flash' and 'web', not just one or the + * other. + * + * The location array should list the storage types to use in order of + * preference: + * + * ['flash']: flash only storage + * ['web']: web only storage + * ['both']: try to store in both + * ['flash','web']: store in flash first, but if not available, 'web' + * ['web','flash']: store in web first, but if not available, 'flash' + * + * The location array defaults to: ['web', 'flash'] + * + * @param api the flash interface, null to use only WebStorage. + * @param id the storage ID to use. + * @param key the key for the item. + * @param data the data for the item (any javascript object/primitive). + * @param location an array with the preferred types of storage to use. + */ +util.setItem = function(api, id, key, data, location) { + _callStorageFunction(_setItem, arguments, location); +}; + +/** + * Gets an item on local disk. + * + * Set setItem() for details on storage types. + * + * @param api the flash interface, null to use only WebStorage. + * @param id the storage ID to use. + * @param key the key for the item. + * @param location an array with the preferred types of storage to use. + * + * @return the item. + */ +util.getItem = function(api, id, key, location) { + return _callStorageFunction(_getItem, arguments, location); +}; + +/** + * Removes an item on local disk. + * + * Set setItem() for details on storage types. + * + * @param api the flash interface. + * @param id the storage ID to use. + * @param key the key for the item. + * @param location an array with the preferred types of storage to use. + */ +util.removeItem = function(api, id, key, location) { + _callStorageFunction(_removeItem, arguments, location); +}; + +/** + * Clears the local disk storage identified by the given ID. + * + * Set setItem() for details on storage types. + * + * @param api the flash interface if flash is available. + * @param id the storage ID to use. + * @param location an array with the preferred types of storage to use. + */ +util.clearItems = function(api, id, location) { + _callStorageFunction(_clearItems, arguments, location); +}; + +/** + * Parses the scheme, host, and port from an http(s) url. + * + * @param str the url string. + * + * @return the parsed url object or null if the url is invalid. + */ +util.parseUrl = function(str) { + // FIXME: this regex looks a bit broken + var regex = /^(https?):\/\/([^:&^\/]*):?(\d*)(.*)$/g; + regex.lastIndex = 0; + var m = regex.exec(str); + var url = (m === null) ? null : { + full: str, + scheme: m[1], + host: m[2], + port: m[3], + path: m[4] + }; + if(url) { + url.fullHost = url.host; + if(url.port) { + if(url.port !== 80 && url.scheme === 'http') { + url.fullHost += ':' + url.port; + } else if(url.port !== 443 && url.scheme === 'https') { + url.fullHost += ':' + url.port; + } + } else if(url.scheme === 'http') { + url.port = 80; + } else if(url.scheme === 'https') { + url.port = 443; + } + url.full = url.scheme + '://' + url.fullHost; + } + return url; +}; + +/* Storage for query variables */ +var _queryVariables = null; + +/** + * Returns the window location query variables. Query is parsed on the first + * call and the same object is returned on subsequent calls. The mapping + * is from keys to an array of values. Parameters without values will have + * an object key set but no value added to the value array. Values are + * unescaped. + * + * ...?k1=v1&k2=v2: + * { + * "k1": ["v1"], + * "k2": ["v2"] + * } + * + * ...?k1=v1&k1=v2: + * { + * "k1": ["v1", "v2"] + * } + * + * ...?k1=v1&k2: + * { + * "k1": ["v1"], + * "k2": [] + * } + * + * ...?k1=v1&k1: + * { + * "k1": ["v1"] + * } + * + * ...?k1&k1: + * { + * "k1": [] + * } + * + * @param query the query string to parse (optional, default to cached + * results from parsing window location search query). + * + * @return object mapping keys to variables. + */ +util.getQueryVariables = function(query) { + var parse = function(q) { + var rval = {}; + var kvpairs = q.split('&'); + for(var i = 0; i < kvpairs.length; i++) { + var pos = kvpairs[i].indexOf('='); + var key; + var val; + if(pos > 0) { + key = kvpairs[i].substring(0, pos); + val = kvpairs[i].substring(pos + 1); + } else { + key = kvpairs[i]; + val = null; + } + if(!(key in rval)) { + rval[key] = []; + } + // disallow overriding object prototype keys + if(!(key in Object.prototype) && val !== null) { + rval[key].push(unescape(val)); + } + } + return rval; + }; + + var rval; + if(typeof(query) === 'undefined') { + // set cached variables if needed + if(_queryVariables === null) { + if(typeof(window) !== 'undefined' && window.location && window.location.search) { + // parse window search query + _queryVariables = parse(window.location.search.substring(1)); + } else { + // no query variables available + _queryVariables = {}; + } + } + rval = _queryVariables; + } else { + // parse given query + rval = parse(query); + } + return rval; +}; + +/** + * Parses a fragment into a path and query. This method will take a URI + * fragment and break it up as if it were the main URI. For example: + * /bar/baz?a=1&b=2 + * results in: + * { + * path: ["bar", "baz"], + * query: {"k1": ["v1"], "k2": ["v2"]} + * } + * + * @return object with a path array and query object. + */ +util.parseFragment = function(fragment) { + // default to whole fragment + var fp = fragment; + var fq = ''; + // split into path and query if possible at the first '?' + var pos = fragment.indexOf('?'); + if(pos > 0) { + fp = fragment.substring(0, pos); + fq = fragment.substring(pos + 1); + } + // split path based on '/' and ignore first element if empty + var path = fp.split('/'); + if(path.length > 0 && path[0] === '') { + path.shift(); + } + // convert query into object + var query = (fq === '') ? {} : util.getQueryVariables(fq); + + return { + pathString: fp, + queryString: fq, + path: path, + query: query + }; +}; + +/** + * Makes a request out of a URI-like request string. This is intended to + * be used where a fragment id (after a URI '#') is parsed as a URI with + * path and query parts. The string should have a path beginning and + * delimited by '/' and optional query parameters following a '?'. The + * query should be a standard URL set of key value pairs delimited by + * '&'. For backwards compatibility the initial '/' on the path is not + * required. The request object has the following API, (fully described + * in the method code): + * { + * path: . + * query: , + * getPath(i): get part or all of the split path array, + * getQuery(k, i): get part or all of a query key array, + * getQueryLast(k, _default): get last element of a query key array. + * } + * + * @return object with request parameters. + */ +util.makeRequest = function(reqString) { + var frag = util.parseFragment(reqString); + var req = { + // full path string + path: frag.pathString, + // full query string + query: frag.queryString, + /** + * Get path or element in path. + * + * @param i optional path index. + * + * @return path or part of path if i provided. + */ + getPath: function(i) { + return (typeof(i) === 'undefined') ? frag.path : frag.path[i]; + }, + /** + * Get query, values for a key, or value for a key index. + * + * @param k optional query key. + * @param i optional query key index. + * + * @return query, values for a key, or value for a key index. + */ + getQuery: function(k, i) { + var rval; + if(typeof(k) === 'undefined') { + rval = frag.query; + } else { + rval = frag.query[k]; + if(rval && typeof(i) !== 'undefined') { + rval = rval[i]; + } + } + return rval; + }, + getQueryLast: function(k, _default) { + var rval; + var vals = req.getQuery(k); + if(vals) { + rval = vals[vals.length - 1]; + } else { + rval = _default; + } + return rval; + } + }; + return req; +}; + +/** + * Makes a URI out of a path, an object with query parameters, and a + * fragment. Uses jQuery.param() internally for query string creation. + * If the path is an array, it will be joined with '/'. + * + * @param path string path or array of strings. + * @param query object with query parameters. (optional) + * @param fragment fragment string. (optional) + * + * @return string object with request parameters. + */ +util.makeLink = function(path, query, fragment) { + // join path parts if needed + path = jQuery.isArray(path) ? path.join('/') : path; + + var qstr = jQuery.param(query || {}); + fragment = fragment || ''; + return path + + ((qstr.length > 0) ? ('?' + qstr) : '') + + ((fragment.length > 0) ? ('#' + fragment) : ''); +}; + +/** + * Check if an object is empty. + * + * Taken from: + * http://stackoverflow.com/questions/679915/how-do-i-test-for-an-empty-javascript-object-from-json/679937#679937 + * + * @param object the object to check. + */ +util.isEmpty = function(obj) { + for(var prop in obj) { + if(obj.hasOwnProperty(prop)) { + return false; + } + } + return true; +}; + +/** + * Format with simple printf-style interpolation. + * + * %%: literal '%' + * %s,%o: convert next argument into a string. + * + * @param format the string to format. + * @param ... arguments to interpolate into the format string. + */ +util.format = function(format) { + var re = /%./g; + // current match + var match; + // current part + var part; + // current arg index + var argi = 0; + // collected parts to recombine later + var parts = []; + // last index found + var last = 0; + // loop while matches remain + while((match = re.exec(format))) { + part = format.substring(last, re.lastIndex - 2); + // don't add empty strings (ie, parts between %s%s) + if(part.length > 0) { + parts.push(part); + } + last = re.lastIndex; + // switch on % code + var code = match[0][1]; + switch(code) { + case 's': + case 'o': + // check if enough arguments were given + if(argi < arguments.length) { + parts.push(arguments[argi++ + 1]); + } else { + parts.push(''); + } + break; + // FIXME: do proper formating for numbers, etc + //case 'f': + //case 'd': + case '%': + parts.push('%'); + break; + default: + parts.push('<%' + code + '?>'); + } + } + // add trailing part of format string + parts.push(format.substring(last)); + return parts.join(''); +}; + +/** + * Formats a number. + * + * http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/ + */ +util.formatNumber = function(number, decimals, dec_point, thousands_sep) { + // http://kevin.vanzonneveld.net + // + original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com) + // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net) + // + bugfix by: Michael White (http://crestidg.com) + // + bugfix by: Benjamin Lupton + // + bugfix by: Allan Jensen (http://www.winternet.no) + // + revised by: Jonas Raoni Soares Silva (http://www.jsfromhell.com) + // * example 1: number_format(1234.5678, 2, '.', ''); + // * returns 1: 1234.57 + + var n = number, c = isNaN(decimals = Math.abs(decimals)) ? 2 : decimals; + var d = dec_point === undefined ? ',' : dec_point; + var t = thousands_sep === undefined ? + '.' : thousands_sep, s = n < 0 ? '-' : ''; + var i = parseInt((n = Math.abs(+n || 0).toFixed(c)), 10) + ''; + var j = (i.length > 3) ? i.length % 3 : 0; + return s + (j ? i.substr(0, j) + t : '') + + i.substr(j).replace(/(\d{3})(?=\d)/g, '$1' + t) + + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : ''); +}; + +/** + * Formats a byte size. + * + * http://snipplr.com/view/5949/format-humanize-file-byte-size-presentation-in-javascript/ + */ +util.formatSize = function(size) { + if(size >= 1073741824) { + size = util.formatNumber(size / 1073741824, 2, '.', '') + ' GiB'; + } else if(size >= 1048576) { + size = util.formatNumber(size / 1048576, 2, '.', '') + ' MiB'; + } else if(size >= 1024) { + size = util.formatNumber(size / 1024, 0) + ' KiB'; + } else { + size = util.formatNumber(size, 0) + ' bytes'; + } + return size; +}; + +/** + * Converts an IPv4 or IPv6 string representation into bytes (in network order). + * + * @param ip the IPv4 or IPv6 address to convert. + * + * @return the 4-byte IPv6 or 16-byte IPv6 address or null if the address can't + * be parsed. + */ +util.bytesFromIP = function(ip) { + if(ip.indexOf('.') !== -1) { + return util.bytesFromIPv4(ip); + } + if(ip.indexOf(':') !== -1) { + return util.bytesFromIPv6(ip); + } + return null; +}; + +/** + * Converts an IPv4 string representation into bytes (in network order). + * + * @param ip the IPv4 address to convert. + * + * @return the 4-byte address or null if the address can't be parsed. + */ +util.bytesFromIPv4 = function(ip) { + ip = ip.split('.'); + if(ip.length !== 4) { + return null; + } + var b = util.createBuffer(); + for(var i = 0; i < ip.length; ++i) { + var num = parseInt(ip[i], 10); + if(isNaN(num)) { + return null; + } + b.putByte(num); + } + return b.getBytes(); +}; + +/** + * Converts an IPv6 string representation into bytes (in network order). + * + * @param ip the IPv6 address to convert. + * + * @return the 16-byte address or null if the address can't be parsed. + */ +util.bytesFromIPv6 = function(ip) { + var blanks = 0; + ip = ip.split(':').filter(function(e) { + if(e.length === 0) ++blanks; + return true; + }); + var zeros = (8 - ip.length + blanks) * 2; + var b = util.createBuffer(); + for(var i = 0; i < 8; ++i) { + if(!ip[i] || ip[i].length === 0) { + b.fillWithByte(0, zeros); + zeros = 0; + continue; + } + var bytes = util.hexToBytes(ip[i]); + if(bytes.length < 2) { + b.putByte(0); + } + b.putBytes(bytes); + } + return b.getBytes(); +}; + +/** + * Converts 4-bytes into an IPv4 string representation or 16-bytes into + * an IPv6 string representation. The bytes must be in network order. + * + * @param bytes the bytes to convert. + * + * @return the IPv4 or IPv6 string representation if 4 or 16 bytes, + * respectively, are given, otherwise null. + */ +util.bytesToIP = function(bytes) { + if(bytes.length === 4) { + return util.bytesToIPv4(bytes); + } + if(bytes.length === 16) { + return util.bytesToIPv6(bytes); + } + return null; +}; + +/** + * Converts 4-bytes into an IPv4 string representation. The bytes must be + * in network order. + * + * @param bytes the bytes to convert. + * + * @return the IPv4 string representation or null for an invalid # of bytes. + */ +util.bytesToIPv4 = function(bytes) { + if(bytes.length !== 4) { + return null; + } + var ip = []; + for(var i = 0; i < bytes.length; ++i) { + ip.push(bytes.charCodeAt(i)); + } + return ip.join('.'); +}; + +/** + * Converts 16-bytes into an IPv16 string representation. The bytes must be + * in network order. + * + * @param bytes the bytes to convert. + * + * @return the IPv16 string representation or null for an invalid # of bytes. + */ +util.bytesToIPv6 = function(bytes) { + if(bytes.length !== 16) { + return null; + } + var ip = []; + var zeroGroups = []; + var zeroMaxGroup = 0; + for(var i = 0; i < bytes.length; i += 2) { + var hex = util.bytesToHex(bytes[i] + bytes[i + 1]); + // canonicalize zero representation + while(hex[0] === '0' && hex !== '0') { + hex = hex.substr(1); + } + if(hex === '0') { + var last = zeroGroups[zeroGroups.length - 1]; + var idx = ip.length; + if(!last || idx !== last.end + 1) { + zeroGroups.push({start: idx, end: idx}); + } else { + last.end = idx; + if((last.end - last.start) > + (zeroGroups[zeroMaxGroup].end - zeroGroups[zeroMaxGroup].start)) { + zeroMaxGroup = zeroGroups.length - 1; + } + } + } + ip.push(hex); + } + if(zeroGroups.length > 0) { + var group = zeroGroups[zeroMaxGroup]; + // only shorten group of length > 0 + if(group.end - group.start > 0) { + ip.splice(group.start, group.end - group.start + 1, ''); + if(group.start === 0) { + ip.unshift(''); + } + if(group.end === 7) { + ip.push(''); + } + } + } + return ip.join(':'); +}; + +/** + * Estimates the number of processes that can be run concurrently. If + * creating Web Workers, keep in mind that the main JavaScript process needs + * its own core. + * + * @param options the options to use: + * update true to force an update (not use the cached value). + * @param callback(err, max) called once the operation completes. + */ +util.estimateCores = function(options, callback) { + if(typeof options === 'function') { + callback = options; + options = {}; + } + options = options || {}; + if('cores' in util && !options.update) { + return callback(null, util.cores); + } + if(typeof navigator !== 'undefined' && + 'hardwareConcurrency' in navigator && + navigator.hardwareConcurrency > 0) { + util.cores = navigator.hardwareConcurrency; + return callback(null, util.cores); + } + if(typeof Worker === 'undefined') { + // workers not available + util.cores = 1; + return callback(null, util.cores); + } + if(typeof Blob === 'undefined') { + // can't estimate, default to 2 + util.cores = 2; + return callback(null, util.cores); + } + + // create worker concurrency estimation code as blob + var blobUrl = URL.createObjectURL(new Blob(['(', + function() { + self.addEventListener('message', function(e) { + // run worker for 4 ms + var st = Date.now(); + var et = st + 4; + while(Date.now() < et); + self.postMessage({st: st, et: et}); + }); + }.toString(), + ')()'], {type: 'application/javascript'})); + + // take 5 samples using 16 workers + sample([], 5, 16); + + function sample(max, samples, numWorkers) { + if(samples === 0) { + // get overlap average + var avg = Math.floor(max.reduce(function(avg, x) { + return avg + x; + }, 0) / max.length); + util.cores = Math.max(1, avg); + URL.revokeObjectURL(blobUrl); + return callback(null, util.cores); + } + map(numWorkers, function(err, results) { + max.push(reduce(numWorkers, results)); + sample(max, samples - 1, numWorkers); + }); + } + + function map(numWorkers, callback) { + var workers = []; + var results = []; + for(var i = 0; i < numWorkers; ++i) { + var worker = new Worker(blobUrl); + worker.addEventListener('message', function(e) { + results.push(e.data); + if(results.length === numWorkers) { + for(var i = 0; i < numWorkers; ++i) { + workers[i].terminate(); + } + callback(null, results); + } + }); + workers.push(worker); + } + for(var i = 0; i < numWorkers; ++i) { + workers[i].postMessage(i); + } + } + + function reduce(numWorkers, results) { + // find overlapping time windows + var overlaps = []; + for(var n = 0; n < numWorkers; ++n) { + var r1 = results[n]; + var overlap = overlaps[n] = []; + for(var i = 0; i < numWorkers; ++i) { + if(n === i) { + continue; + } + var r2 = results[i]; + if((r1.st > r2.st && r1.st < r2.et) || + (r2.st > r1.st && r2.st < r1.et)) { + overlap.push(i); + } + } + } + // get maximum overlaps ... don't include overlapping worker itself + // as the main JS process was also being scheduled during the work and + // would have to be subtracted from the estimate anyway + return overlaps.reduce(function(max, overlap) { + return Math.max(max, overlap.length); + }, 0); + } +}; + + +/***/ }), + +/***/ 8180: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Javascript implementation of X.509 and related components (such as + * Certification Signing Requests) of a Public Key Infrastructure. + * + * @author Dave Longley + * + * Copyright (c) 2010-2014 Digital Bazaar, Inc. + * + * The ASN.1 representation of an X.509v3 certificate is as follows + * (see RFC 2459): + * + * Certificate ::= SEQUENCE { + * tbsCertificate TBSCertificate, + * signatureAlgorithm AlgorithmIdentifier, + * signatureValue BIT STRING + * } + * + * TBSCertificate ::= SEQUENCE { + * version [0] EXPLICIT Version DEFAULT v1, + * serialNumber CertificateSerialNumber, + * signature AlgorithmIdentifier, + * issuer Name, + * validity Validity, + * subject Name, + * subjectPublicKeyInfo SubjectPublicKeyInfo, + * issuerUniqueID [1] IMPLICIT UniqueIdentifier OPTIONAL, + * -- If present, version shall be v2 or v3 + * subjectUniqueID [2] IMPLICIT UniqueIdentifier OPTIONAL, + * -- If present, version shall be v2 or v3 + * extensions [3] EXPLICIT Extensions OPTIONAL + * -- If present, version shall be v3 + * } + * + * Version ::= INTEGER { v1(0), v2(1), v3(2) } + * + * CertificateSerialNumber ::= INTEGER + * + * Name ::= CHOICE { + * // only one possible choice for now + * RDNSequence + * } + * + * RDNSequence ::= SEQUENCE OF RelativeDistinguishedName + * + * RelativeDistinguishedName ::= SET OF AttributeTypeAndValue + * + * AttributeTypeAndValue ::= SEQUENCE { + * type AttributeType, + * value AttributeValue + * } + * AttributeType ::= OBJECT IDENTIFIER + * AttributeValue ::= ANY DEFINED BY AttributeType + * + * Validity ::= SEQUENCE { + * notBefore Time, + * notAfter Time + * } + * + * Time ::= CHOICE { + * utcTime UTCTime, + * generalTime GeneralizedTime + * } + * + * UniqueIdentifier ::= BIT STRING + * + * SubjectPublicKeyInfo ::= SEQUENCE { + * algorithm AlgorithmIdentifier, + * subjectPublicKey BIT STRING + * } + * + * Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension + * + * Extension ::= SEQUENCE { + * extnID OBJECT IDENTIFIER, + * critical BOOLEAN DEFAULT FALSE, + * extnValue OCTET STRING + * } + * + * The only key algorithm currently supported for PKI is RSA. + * + * RSASSA-PSS signatures are described in RFC 3447 and RFC 4055. + * + * PKCS#10 v1.7 describes certificate signing requests: + * + * CertificationRequestInfo: + * + * CertificationRequestInfo ::= SEQUENCE { + * version INTEGER { v1(0) } (v1,...), + * subject Name, + * subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }}, + * attributes [0] Attributes{{ CRIAttributes }} + * } + * + * Attributes { ATTRIBUTE:IOSet } ::= SET OF Attribute{{ IOSet }} + * + * CRIAttributes ATTRIBUTE ::= { + * ... -- add any locally defined attributes here -- } + * + * Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE { + * type ATTRIBUTE.&id({IOSet}), + * values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{@type}) + * } + * + * CertificationRequest ::= SEQUENCE { + * certificationRequestInfo CertificationRequestInfo, + * signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }}, + * signature BIT STRING + * } + */ +var forge = __nccwpck_require__(89177); +__nccwpck_require__(87994); +__nccwpck_require__(39549); +__nccwpck_require__(97157); +__nccwpck_require__(86231); +__nccwpck_require__(27973); +__nccwpck_require__(81925); +__nccwpck_require__(70154); +__nccwpck_require__(4376); +__nccwpck_require__(53921); +__nccwpck_require__(28339); + +// shortcut for asn.1 API +var asn1 = forge.asn1; + +/* Public Key Infrastructure (PKI) implementation. */ +var pki = module.exports = forge.pki = forge.pki || {}; +var oids = pki.oids; + +// short name OID mappings +var _shortNames = {}; +_shortNames['CN'] = oids['commonName']; +_shortNames['commonName'] = 'CN'; +_shortNames['C'] = oids['countryName']; +_shortNames['countryName'] = 'C'; +_shortNames['L'] = oids['localityName']; +_shortNames['localityName'] = 'L'; +_shortNames['ST'] = oids['stateOrProvinceName']; +_shortNames['stateOrProvinceName'] = 'ST'; +_shortNames['O'] = oids['organizationName']; +_shortNames['organizationName'] = 'O'; +_shortNames['OU'] = oids['organizationalUnitName']; +_shortNames['organizationalUnitName'] = 'OU'; +_shortNames['E'] = oids['emailAddress']; +_shortNames['emailAddress'] = 'E'; + +// validator for an SubjectPublicKeyInfo structure +// Note: Currently only works with an RSA public key +var publicKeyValidator = forge.pki.rsa.publicKeyValidator; + +// validator for an X.509v3 certificate +var x509CertificateValidator = { + name: 'Certificate', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'Certificate.TBSCertificate', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'tbsCertificate', + value: [{ + name: 'Certificate.TBSCertificate.version', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + constructed: true, + optional: true, + value: [{ + name: 'Certificate.TBSCertificate.version.integer', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'certVersion' + }] + }, { + name: 'Certificate.TBSCertificate.serialNumber', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'certSerialNumber' + }, { + name: 'Certificate.TBSCertificate.signature', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'Certificate.TBSCertificate.signature.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'certinfoSignatureOid' + }, { + name: 'Certificate.TBSCertificate.signature.parameters', + tagClass: asn1.Class.UNIVERSAL, + optional: true, + captureAsn1: 'certinfoSignatureParams' + }] + }, { + name: 'Certificate.TBSCertificate.issuer', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'certIssuer' + }, { + name: 'Certificate.TBSCertificate.validity', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + // Note: UTC and generalized times may both appear so the capture + // names are based on their detected order, the names used below + // are only for the common case, which validity time really means + // "notBefore" and which means "notAfter" will be determined by order + value: [{ + // notBefore (Time) (UTC time case) + name: 'Certificate.TBSCertificate.validity.notBefore (utc)', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.UTCTIME, + constructed: false, + optional: true, + capture: 'certValidity1UTCTime' + }, { + // notBefore (Time) (generalized time case) + name: 'Certificate.TBSCertificate.validity.notBefore (generalized)', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.GENERALIZEDTIME, + constructed: false, + optional: true, + capture: 'certValidity2GeneralizedTime' + }, { + // notAfter (Time) (only UTC time is supported) + name: 'Certificate.TBSCertificate.validity.notAfter (utc)', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.UTCTIME, + constructed: false, + optional: true, + capture: 'certValidity3UTCTime' + }, { + // notAfter (Time) (only UTC time is supported) + name: 'Certificate.TBSCertificate.validity.notAfter (generalized)', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.GENERALIZEDTIME, + constructed: false, + optional: true, + capture: 'certValidity4GeneralizedTime' + }] + }, { + // Name (subject) (RDNSequence) + name: 'Certificate.TBSCertificate.subject', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'certSubject' + }, + // SubjectPublicKeyInfo + publicKeyValidator, + { + // issuerUniqueID (optional) + name: 'Certificate.TBSCertificate.issuerUniqueID', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 1, + constructed: true, + optional: true, + value: [{ + name: 'Certificate.TBSCertificate.issuerUniqueID.id', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + // TODO: support arbitrary bit length ids + captureBitStringValue: 'certIssuerUniqueId' + }] + }, { + // subjectUniqueID (optional) + name: 'Certificate.TBSCertificate.subjectUniqueID', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 2, + constructed: true, + optional: true, + value: [{ + name: 'Certificate.TBSCertificate.subjectUniqueID.id', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + // TODO: support arbitrary bit length ids + captureBitStringValue: 'certSubjectUniqueId' + }] + }, { + // Extensions (optional) + name: 'Certificate.TBSCertificate.extensions', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 3, + constructed: true, + captureAsn1: 'certExtensions', + optional: true + }] + }, { + // AlgorithmIdentifier (signature algorithm) + name: 'Certificate.signatureAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + // algorithm + name: 'Certificate.signatureAlgorithm.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'certSignatureOid' + }, { + name: 'Certificate.TBSCertificate.signature.parameters', + tagClass: asn1.Class.UNIVERSAL, + optional: true, + captureAsn1: 'certSignatureParams' + }] + }, { + // SignatureValue + name: 'Certificate.signatureValue', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + captureBitStringValue: 'certSignature' + }] +}; + +var rsassaPssParameterValidator = { + name: 'rsapss', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'rsapss.hashAlgorithm', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + constructed: true, + value: [{ + name: 'rsapss.hashAlgorithm.AlgorithmIdentifier', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Class.SEQUENCE, + constructed: true, + optional: true, + value: [{ + name: 'rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'hashOid' + /* parameter block omitted, for SHA1 NULL anyhow. */ + }] + }] + }, { + name: 'rsapss.maskGenAlgorithm', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 1, + constructed: true, + value: [{ + name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Class.SEQUENCE, + constructed: true, + optional: true, + value: [{ + name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'maskGenOid' + }, { + name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.params', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'maskGenHashOid' + /* parameter block omitted, for SHA1 NULL anyhow. */ + }] + }] + }] + }, { + name: 'rsapss.saltLength', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 2, + optional: true, + value: [{ + name: 'rsapss.saltLength.saltLength', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Class.INTEGER, + constructed: false, + capture: 'saltLength' + }] + }, { + name: 'rsapss.trailerField', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 3, + optional: true, + value: [{ + name: 'rsapss.trailer.trailer', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Class.INTEGER, + constructed: false, + capture: 'trailer' + }] + }] +}; + +// validator for a CertificationRequestInfo structure +var certificationRequestInfoValidator = { + name: 'CertificationRequestInfo', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'certificationRequestInfo', + value: [{ + name: 'CertificationRequestInfo.integer', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.INTEGER, + constructed: false, + capture: 'certificationRequestInfoVersion' + }, { + // Name (subject) (RDNSequence) + name: 'CertificationRequestInfo.subject', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'certificationRequestInfoSubject' + }, + // SubjectPublicKeyInfo + publicKeyValidator, + { + name: 'CertificationRequestInfo.attributes', + tagClass: asn1.Class.CONTEXT_SPECIFIC, + type: 0, + constructed: true, + optional: true, + capture: 'certificationRequestInfoAttributes', + value: [{ + name: 'CertificationRequestInfo.attributes', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + name: 'CertificationRequestInfo.attributes.type', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false + }, { + name: 'CertificationRequestInfo.attributes.value', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SET, + constructed: true + }] + }] + }] +}; + +// validator for a CertificationRequest structure +var certificationRequestValidator = { + name: 'CertificationRequest', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + captureAsn1: 'csr', + value: [ + certificationRequestInfoValidator, { + // AlgorithmIdentifier (signature algorithm) + name: 'CertificationRequest.signatureAlgorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.SEQUENCE, + constructed: true, + value: [{ + // algorithm + name: 'CertificationRequest.signatureAlgorithm.algorithm', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.OID, + constructed: false, + capture: 'csrSignatureOid' + }, { + name: 'CertificationRequest.signatureAlgorithm.parameters', + tagClass: asn1.Class.UNIVERSAL, + optional: true, + captureAsn1: 'csrSignatureParams' + }] + }, { + // signature + name: 'CertificationRequest.signature', + tagClass: asn1.Class.UNIVERSAL, + type: asn1.Type.BITSTRING, + constructed: false, + captureBitStringValue: 'csrSignature' + } + ] +}; + +/** + * Converts an RDNSequence of ASN.1 DER-encoded RelativeDistinguishedName + * sets into an array with objects that have type and value properties. + * + * @param rdn the RDNSequence to convert. + * @param md a message digest to append type and value to if provided. + */ +pki.RDNAttributesAsArray = function(rdn, md) { + var rval = []; + + // each value in 'rdn' in is a SET of RelativeDistinguishedName + var set, attr, obj; + for(var si = 0; si < rdn.value.length; ++si) { + // get the RelativeDistinguishedName set + set = rdn.value[si]; + + // each value in the SET is an AttributeTypeAndValue sequence + // containing first a type (an OID) and second a value (defined by + // the OID) + for(var i = 0; i < set.value.length; ++i) { + obj = {}; + attr = set.value[i]; + obj.type = asn1.derToOid(attr.value[0].value); + obj.value = attr.value[1].value; + obj.valueTagClass = attr.value[1].type; + // if the OID is known, get its name and short name + if(obj.type in oids) { + obj.name = oids[obj.type]; + if(obj.name in _shortNames) { + obj.shortName = _shortNames[obj.name]; + } + } + if(md) { + md.update(obj.type); + md.update(obj.value); + } + rval.push(obj); + } + } + + return rval; +}; + +/** + * Converts ASN.1 CRIAttributes into an array with objects that have type and + * value properties. + * + * @param attributes the CRIAttributes to convert. + */ +pki.CRIAttributesAsArray = function(attributes) { + var rval = []; + + // each value in 'attributes' in is a SEQUENCE with an OID and a SET + for(var si = 0; si < attributes.length; ++si) { + // get the attribute sequence + var seq = attributes[si]; + + // each value in the SEQUENCE containing first a type (an OID) and + // second a set of values (defined by the OID) + var type = asn1.derToOid(seq.value[0].value); + var values = seq.value[1].value; + for(var vi = 0; vi < values.length; ++vi) { + var obj = {}; + obj.type = type; + obj.value = values[vi].value; + obj.valueTagClass = values[vi].type; + // if the OID is known, get its name and short name + if(obj.type in oids) { + obj.name = oids[obj.type]; + if(obj.name in _shortNames) { + obj.shortName = _shortNames[obj.name]; + } + } + // parse extensions + if(obj.type === oids.extensionRequest) { + obj.extensions = []; + for(var ei = 0; ei < obj.value.length; ++ei) { + obj.extensions.push(pki.certificateExtensionFromAsn1(obj.value[ei])); + } + } + rval.push(obj); + } + } + + return rval; +}; + +/** + * Gets an issuer or subject attribute from its name, type, or short name. + * + * @param obj the issuer or subject object. + * @param options a short name string or an object with: + * shortName the short name for the attribute. + * name the name for the attribute. + * type the type for the attribute. + * + * @return the attribute. + */ +function _getAttribute(obj, options) { + if(typeof options === 'string') { + options = {shortName: options}; + } + + var rval = null; + var attr; + for(var i = 0; rval === null && i < obj.attributes.length; ++i) { + attr = obj.attributes[i]; + if(options.type && options.type === attr.type) { + rval = attr; + } else if(options.name && options.name === attr.name) { + rval = attr; + } else if(options.shortName && options.shortName === attr.shortName) { + rval = attr; + } + } + return rval; +} + +/** + * Converts signature parameters from ASN.1 structure. + * + * Currently only RSASSA-PSS supported. The PKCS#1 v1.5 signature scheme had + * no parameters. + * + * RSASSA-PSS-params ::= SEQUENCE { + * hashAlgorithm [0] HashAlgorithm DEFAULT + * sha1Identifier, + * maskGenAlgorithm [1] MaskGenAlgorithm DEFAULT + * mgf1SHA1Identifier, + * saltLength [2] INTEGER DEFAULT 20, + * trailerField [3] INTEGER DEFAULT 1 + * } + * + * HashAlgorithm ::= AlgorithmIdentifier + * + * MaskGenAlgorithm ::= AlgorithmIdentifier + * + * AlgorithmIdentifer ::= SEQUENCE { + * algorithm OBJECT IDENTIFIER, + * parameters ANY DEFINED BY algorithm OPTIONAL + * } + * + * @param oid The OID specifying the signature algorithm + * @param obj The ASN.1 structure holding the parameters + * @param fillDefaults Whether to use return default values where omitted + * @return signature parameter object + */ +var _readSignatureParameters = function(oid, obj, fillDefaults) { + var params = {}; + + if(oid !== oids['RSASSA-PSS']) { + return params; + } + + if(fillDefaults) { + params = { + hash: { + algorithmOid: oids['sha1'] + }, + mgf: { + algorithmOid: oids['mgf1'], + hash: { + algorithmOid: oids['sha1'] + } + }, + saltLength: 20 + }; + } + + var capture = {}; + var errors = []; + if(!asn1.validate(obj, rsassaPssParameterValidator, capture, errors)) { + var error = new Error('Cannot read RSASSA-PSS parameter block.'); + error.errors = errors; + throw error; + } + + if(capture.hashOid !== undefined) { + params.hash = params.hash || {}; + params.hash.algorithmOid = asn1.derToOid(capture.hashOid); + } + + if(capture.maskGenOid !== undefined) { + params.mgf = params.mgf || {}; + params.mgf.algorithmOid = asn1.derToOid(capture.maskGenOid); + params.mgf.hash = params.mgf.hash || {}; + params.mgf.hash.algorithmOid = asn1.derToOid(capture.maskGenHashOid); + } + + if(capture.saltLength !== undefined) { + params.saltLength = capture.saltLength.charCodeAt(0); + } + + return params; +}; + +/** + * Converts an X.509 certificate from PEM format. + * + * Note: If the certificate is to be verified then compute hash should + * be set to true. This will scan the TBSCertificate part of the ASN.1 + * object while it is converted so it doesn't need to be converted back + * to ASN.1-DER-encoding later. + * + * @param pem the PEM-formatted certificate. + * @param computeHash true to compute the hash for verification. + * @param strict true to be strict when checking ASN.1 value lengths, false to + * allow truncated values (default: true). + * + * @return the certificate. + */ +pki.certificateFromPem = function(pem, computeHash, strict) { + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'CERTIFICATE' && + msg.type !== 'X509 CERTIFICATE' && + msg.type !== 'TRUSTED CERTIFICATE') { + var error = new Error( + 'Could not convert certificate from PEM; PEM header type ' + + 'is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error( + 'Could not convert certificate from PEM; PEM is encrypted.'); + } + + // convert DER to ASN.1 object + var obj = asn1.fromDer(msg.body, strict); + + return pki.certificateFromAsn1(obj, computeHash); +}; + +/** + * Converts an X.509 certificate to PEM format. + * + * @param cert the certificate. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted certificate. + */ +pki.certificateToPem = function(cert, maxline) { + // convert to ASN.1, then DER, then PEM-encode + var msg = { + type: 'CERTIFICATE', + body: asn1.toDer(pki.certificateToAsn1(cert)).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + +/** + * Converts an RSA public key from PEM format. + * + * @param pem the PEM-formatted public key. + * + * @return the public key. + */ +pki.publicKeyFromPem = function(pem) { + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'PUBLIC KEY' && msg.type !== 'RSA PUBLIC KEY') { + var error = new Error('Could not convert public key from PEM; PEM header ' + + 'type is not "PUBLIC KEY" or "RSA PUBLIC KEY".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert public key from PEM; PEM is encrypted.'); + } + + // convert DER to ASN.1 object + var obj = asn1.fromDer(msg.body); + + return pki.publicKeyFromAsn1(obj); +}; + +/** + * Converts an RSA public key to PEM format (using a SubjectPublicKeyInfo). + * + * @param key the public key. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted public key. + */ +pki.publicKeyToPem = function(key, maxline) { + // convert to ASN.1, then DER, then PEM-encode + var msg = { + type: 'PUBLIC KEY', + body: asn1.toDer(pki.publicKeyToAsn1(key)).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + +/** + * Converts an RSA public key to PEM format (using an RSAPublicKey). + * + * @param key the public key. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted public key. + */ +pki.publicKeyToRSAPublicKeyPem = function(key, maxline) { + // convert to ASN.1, then DER, then PEM-encode + var msg = { + type: 'RSA PUBLIC KEY', + body: asn1.toDer(pki.publicKeyToRSAPublicKey(key)).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + +/** + * Gets a fingerprint for the given public key. + * + * @param options the options to use. + * [md] the message digest object to use (defaults to forge.md.sha1). + * [type] the type of fingerprint, such as 'RSAPublicKey', + * 'SubjectPublicKeyInfo' (defaults to 'RSAPublicKey'). + * [encoding] an alternative output encoding, such as 'hex' + * (defaults to none, outputs a byte buffer). + * [delimiter] the delimiter to use between bytes for 'hex' encoded + * output, eg: ':' (defaults to none). + * + * @return the fingerprint as a byte buffer or other encoding based on options. + */ +pki.getPublicKeyFingerprint = function(key, options) { + options = options || {}; + var md = options.md || forge.md.sha1.create(); + var type = options.type || 'RSAPublicKey'; + + var bytes; + switch(type) { + case 'RSAPublicKey': + bytes = asn1.toDer(pki.publicKeyToRSAPublicKey(key)).getBytes(); + break; + case 'SubjectPublicKeyInfo': + bytes = asn1.toDer(pki.publicKeyToAsn1(key)).getBytes(); + break; + default: + throw new Error('Unknown fingerprint type "' + options.type + '".'); + } + + // hash public key bytes + md.start(); + md.update(bytes); + var digest = md.digest(); + if(options.encoding === 'hex') { + var hex = digest.toHex(); + if(options.delimiter) { + return hex.match(/.{2}/g).join(options.delimiter); + } + return hex; + } else if(options.encoding === 'binary') { + return digest.getBytes(); + } else if(options.encoding) { + throw new Error('Unknown encoding "' + options.encoding + '".'); + } + return digest; +}; + +/** + * Converts a PKCS#10 certification request (CSR) from PEM format. + * + * Note: If the certification request is to be verified then compute hash + * should be set to true. This will scan the CertificationRequestInfo part of + * the ASN.1 object while it is converted so it doesn't need to be converted + * back to ASN.1-DER-encoding later. + * + * @param pem the PEM-formatted certificate. + * @param computeHash true to compute the hash for verification. + * @param strict true to be strict when checking ASN.1 value lengths, false to + * allow truncated values (default: true). + * + * @return the certification request (CSR). + */ +pki.certificationRequestFromPem = function(pem, computeHash, strict) { + var msg = forge.pem.decode(pem)[0]; + + if(msg.type !== 'CERTIFICATE REQUEST') { + var error = new Error('Could not convert certification request from PEM; ' + + 'PEM header type is not "CERTIFICATE REQUEST".'); + error.headerType = msg.type; + throw error; + } + if(msg.procType && msg.procType.type === 'ENCRYPTED') { + throw new Error('Could not convert certification request from PEM; ' + + 'PEM is encrypted.'); + } + + // convert DER to ASN.1 object + var obj = asn1.fromDer(msg.body, strict); + + return pki.certificationRequestFromAsn1(obj, computeHash); +}; + +/** + * Converts a PKCS#10 certification request (CSR) to PEM format. + * + * @param csr the certification request. + * @param maxline the maximum characters per line, defaults to 64. + * + * @return the PEM-formatted certification request. + */ +pki.certificationRequestToPem = function(csr, maxline) { + // convert to ASN.1, then DER, then PEM-encode + var msg = { + type: 'CERTIFICATE REQUEST', + body: asn1.toDer(pki.certificationRequestToAsn1(csr)).getBytes() + }; + return forge.pem.encode(msg, {maxline: maxline}); +}; + +/** + * Creates an empty X.509v3 RSA certificate. + * + * @return the certificate. + */ +pki.createCertificate = function() { + var cert = {}; + cert.version = 0x02; + cert.serialNumber = '00'; + cert.signatureOid = null; + cert.signature = null; + cert.siginfo = {}; + cert.siginfo.algorithmOid = null; + cert.validity = {}; + cert.validity.notBefore = new Date(); + cert.validity.notAfter = new Date(); + + cert.issuer = {}; + cert.issuer.getField = function(sn) { + return _getAttribute(cert.issuer, sn); + }; + cert.issuer.addField = function(attr) { + _fillMissingFields([attr]); + cert.issuer.attributes.push(attr); + }; + cert.issuer.attributes = []; + cert.issuer.hash = null; + + cert.subject = {}; + cert.subject.getField = function(sn) { + return _getAttribute(cert.subject, sn); + }; + cert.subject.addField = function(attr) { + _fillMissingFields([attr]); + cert.subject.attributes.push(attr); + }; + cert.subject.attributes = []; + cert.subject.hash = null; + + cert.extensions = []; + cert.publicKey = null; + cert.md = null; + + /** + * Sets the subject of this certificate. + * + * @param attrs the array of subject attributes to use. + * @param uniqueId an optional a unique ID to use. + */ + cert.setSubject = function(attrs, uniqueId) { + // set new attributes, clear hash + _fillMissingFields(attrs); + cert.subject.attributes = attrs; + delete cert.subject.uniqueId; + if(uniqueId) { + // TODO: support arbitrary bit length ids + cert.subject.uniqueId = uniqueId; + } + cert.subject.hash = null; + }; + + /** + * Sets the issuer of this certificate. + * + * @param attrs the array of issuer attributes to use. + * @param uniqueId an optional a unique ID to use. + */ + cert.setIssuer = function(attrs, uniqueId) { + // set new attributes, clear hash + _fillMissingFields(attrs); + cert.issuer.attributes = attrs; + delete cert.issuer.uniqueId; + if(uniqueId) { + // TODO: support arbitrary bit length ids + cert.issuer.uniqueId = uniqueId; + } + cert.issuer.hash = null; + }; + + /** + * Sets the extensions of this certificate. + * + * @param exts the array of extensions to use. + */ + cert.setExtensions = function(exts) { + for(var i = 0; i < exts.length; ++i) { + _fillMissingExtensionFields(exts[i], {cert: cert}); + } + // set new extensions + cert.extensions = exts; + }; + + /** + * Gets an extension by its name or id. + * + * @param options the name to use or an object with: + * name the name to use. + * id the id to use. + * + * @return the extension or null if not found. + */ + cert.getExtension = function(options) { + if(typeof options === 'string') { + options = {name: options}; + } + + var rval = null; + var ext; + for(var i = 0; rval === null && i < cert.extensions.length; ++i) { + ext = cert.extensions[i]; + if(options.id && ext.id === options.id) { + rval = ext; + } else if(options.name && ext.name === options.name) { + rval = ext; + } + } + return rval; + }; + + /** + * Signs this certificate using the given private key. + * + * @param key the private key to sign with. + * @param md the message digest object to use (defaults to forge.md.sha1). + */ + cert.sign = function(key, md) { + // TODO: get signature OID from private key + cert.md = md || forge.md.sha1.create(); + var algorithmOid = oids[cert.md.algorithm + 'WithRSAEncryption']; + if(!algorithmOid) { + var error = new Error('Could not compute certificate digest. ' + + 'Unknown message digest algorithm OID.'); + error.algorithm = cert.md.algorithm; + throw error; + } + cert.signatureOid = cert.siginfo.algorithmOid = algorithmOid; + + // get TBSCertificate, convert to DER + cert.tbsCertificate = pki.getTBSCertificate(cert); + var bytes = asn1.toDer(cert.tbsCertificate); + + // digest and sign + cert.md.update(bytes.getBytes()); + cert.signature = key.sign(cert.md); + }; + + /** + * Attempts verify the signature on the passed certificate using this + * certificate's public key. + * + * @param child the certificate to verify. + * + * @return true if verified, false if not. + */ + cert.verify = function(child) { + var rval = false; + + if(!cert.issued(child)) { + var issuer = child.issuer; + var subject = cert.subject; + var error = new Error( + 'The parent certificate did not issue the given child ' + + 'certificate; the child certificate\'s issuer does not match the ' + + 'parent\'s subject.'); + error.expectedIssuer = issuer.attributes; + error.actualIssuer = subject.attributes; + throw error; + } + + var md = child.md; + if(md === null) { + // check signature OID for supported signature types + if(child.signatureOid in oids) { + var oid = oids[child.signatureOid]; + switch(oid) { + case 'sha1WithRSAEncryption': + md = forge.md.sha1.create(); + break; + case 'md5WithRSAEncryption': + md = forge.md.md5.create(); + break; + case 'sha256WithRSAEncryption': + md = forge.md.sha256.create(); + break; + case 'sha384WithRSAEncryption': + md = forge.md.sha384.create(); + break; + case 'sha512WithRSAEncryption': + md = forge.md.sha512.create(); + break; + case 'RSASSA-PSS': + md = forge.md.sha256.create(); + break; + } + } + if(md === null) { + var error = new Error('Could not compute certificate digest. ' + + 'Unknown signature OID.'); + error.signatureOid = child.signatureOid; + throw error; + } + + // produce DER formatted TBSCertificate and digest it + var tbsCertificate = child.tbsCertificate || pki.getTBSCertificate(child); + var bytes = asn1.toDer(tbsCertificate); + md.update(bytes.getBytes()); + } + + if(md !== null) { + var scheme; + + switch(child.signatureOid) { + case oids.sha1WithRSAEncryption: + scheme = undefined; /* use PKCS#1 v1.5 padding scheme */ + break; + case oids['RSASSA-PSS']: + var hash, mgf; + + /* initialize mgf */ + hash = oids[child.signatureParameters.mgf.hash.algorithmOid]; + if(hash === undefined || forge.md[hash] === undefined) { + var error = new Error('Unsupported MGF hash function.'); + error.oid = child.signatureParameters.mgf.hash.algorithmOid; + error.name = hash; + throw error; + } + + mgf = oids[child.signatureParameters.mgf.algorithmOid]; + if(mgf === undefined || forge.mgf[mgf] === undefined) { + var error = new Error('Unsupported MGF function.'); + error.oid = child.signatureParameters.mgf.algorithmOid; + error.name = mgf; + throw error; + } + + mgf = forge.mgf[mgf].create(forge.md[hash].create()); + + /* initialize hash function */ + hash = oids[child.signatureParameters.hash.algorithmOid]; + if(hash === undefined || forge.md[hash] === undefined) { + throw { + message: 'Unsupported RSASSA-PSS hash function.', + oid: child.signatureParameters.hash.algorithmOid, + name: hash + }; + } + + scheme = forge.pss.create(forge.md[hash].create(), mgf, + child.signatureParameters.saltLength); + break; + } + + // verify signature on cert using public key + rval = cert.publicKey.verify( + md.digest().getBytes(), child.signature, scheme); + } + + return rval; + }; + + /** + * Returns true if this certificate's issuer matches the passed + * certificate's subject. Note that no signature check is performed. + * + * @param parent the certificate to check. + * + * @return true if this certificate's issuer matches the passed certificate's + * subject. + */ + cert.isIssuer = function(parent) { + var rval = false; + + var i = cert.issuer; + var s = parent.subject; + + // compare hashes if present + if(i.hash && s.hash) { + rval = (i.hash === s.hash); + } else if(i.attributes.length === s.attributes.length) { + // all attributes are the same so issuer matches subject + rval = true; + var iattr, sattr; + for(var n = 0; rval && n < i.attributes.length; ++n) { + iattr = i.attributes[n]; + sattr = s.attributes[n]; + if(iattr.type !== sattr.type || iattr.value !== sattr.value) { + // attribute mismatch + rval = false; + } + } + } + + return rval; + }; + + /** + * Returns true if this certificate's subject matches the issuer of the + * given certificate). Note that not signature check is performed. + * + * @param child the certificate to check. + * + * @return true if this certificate's subject matches the passed + * certificate's issuer. + */ + cert.issued = function(child) { + return child.isIssuer(cert); + }; + + /** + * Generates the subjectKeyIdentifier for this certificate as byte buffer. + * + * @return the subjectKeyIdentifier for this certificate as byte buffer. + */ + cert.generateSubjectKeyIdentifier = function() { + /* See: 4.2.1.2 section of the the RFC3280, keyIdentifier is either: + + (1) The keyIdentifier is composed of the 160-bit SHA-1 hash of the + value of the BIT STRING subjectPublicKey (excluding the tag, + length, and number of unused bits). + + (2) The keyIdentifier is composed of a four bit type field with + the value 0100 followed by the least significant 60 bits of the + SHA-1 hash of the value of the BIT STRING subjectPublicKey + (excluding the tag, length, and number of unused bit string bits). + */ + + // skipping the tag, length, and number of unused bits is the same + // as just using the RSAPublicKey (for RSA keys, which are the + // only ones supported) + return pki.getPublicKeyFingerprint(cert.publicKey, {type: 'RSAPublicKey'}); + }; + + /** + * Verifies the subjectKeyIdentifier extension value for this certificate + * against its public key. If no extension is found, false will be + * returned. + * + * @return true if verified, false if not. + */ + cert.verifySubjectKeyIdentifier = function() { + var oid = oids['subjectKeyIdentifier']; + for(var i = 0; i < cert.extensions.length; ++i) { + var ext = cert.extensions[i]; + if(ext.id === oid) { + var ski = cert.generateSubjectKeyIdentifier().getBytes(); + return (forge.util.hexToBytes(ext.subjectKeyIdentifier) === ski); + } + } + return false; + }; + + return cert; +}; + +/** + * Converts an X.509v3 RSA certificate from an ASN.1 object. + * + * Note: If the certificate is to be verified then compute hash should + * be set to true. There is currently no implementation for converting + * a certificate back to ASN.1 so the TBSCertificate part of the ASN.1 + * object needs to be scanned before the cert object is created. + * + * @param obj the asn1 representation of an X.509v3 RSA certificate. + * @param computeHash true to compute the hash for verification. + * + * @return the certificate. + */ +pki.certificateFromAsn1 = function(obj, computeHash) { + // validate certificate and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(obj, x509CertificateValidator, capture, errors)) { + var error = new Error('Cannot read X.509 certificate. ' + + 'ASN.1 object is not an X509v3 Certificate.'); + error.errors = errors; + throw error; + } + + // get oid + var oid = asn1.derToOid(capture.publicKeyOid); + if(oid !== pki.oids.rsaEncryption) { + throw new Error('Cannot read public key. OID is not RSA.'); + } + + // create certificate + var cert = pki.createCertificate(); + cert.version = capture.certVersion ? + capture.certVersion.charCodeAt(0) : 0; + var serial = forge.util.createBuffer(capture.certSerialNumber); + cert.serialNumber = serial.toHex(); + cert.signatureOid = forge.asn1.derToOid(capture.certSignatureOid); + cert.signatureParameters = _readSignatureParameters( + cert.signatureOid, capture.certSignatureParams, true); + cert.siginfo.algorithmOid = forge.asn1.derToOid(capture.certinfoSignatureOid); + cert.siginfo.parameters = _readSignatureParameters(cert.siginfo.algorithmOid, + capture.certinfoSignatureParams, false); + cert.signature = capture.certSignature; + + var validity = []; + if(capture.certValidity1UTCTime !== undefined) { + validity.push(asn1.utcTimeToDate(capture.certValidity1UTCTime)); + } + if(capture.certValidity2GeneralizedTime !== undefined) { + validity.push(asn1.generalizedTimeToDate( + capture.certValidity2GeneralizedTime)); + } + if(capture.certValidity3UTCTime !== undefined) { + validity.push(asn1.utcTimeToDate(capture.certValidity3UTCTime)); + } + if(capture.certValidity4GeneralizedTime !== undefined) { + validity.push(asn1.generalizedTimeToDate( + capture.certValidity4GeneralizedTime)); + } + if(validity.length > 2) { + throw new Error('Cannot read notBefore/notAfter validity times; more ' + + 'than two times were provided in the certificate.'); + } + if(validity.length < 2) { + throw new Error('Cannot read notBefore/notAfter validity times; they ' + + 'were not provided as either UTCTime or GeneralizedTime.'); + } + cert.validity.notBefore = validity[0]; + cert.validity.notAfter = validity[1]; + + // keep TBSCertificate to preserve signature when exporting + cert.tbsCertificate = capture.tbsCertificate; + + if(computeHash) { + // check signature OID for supported signature types + cert.md = null; + if(cert.signatureOid in oids) { + var oid = oids[cert.signatureOid]; + switch(oid) { + case 'sha1WithRSAEncryption': + cert.md = forge.md.sha1.create(); + break; + case 'md5WithRSAEncryption': + cert.md = forge.md.md5.create(); + break; + case 'sha256WithRSAEncryption': + cert.md = forge.md.sha256.create(); + break; + case 'sha384WithRSAEncryption': + cert.md = forge.md.sha384.create(); + break; + case 'sha512WithRSAEncryption': + cert.md = forge.md.sha512.create(); + break; + case 'RSASSA-PSS': + cert.md = forge.md.sha256.create(); + break; + } + } + if(cert.md === null) { + var error = new Error('Could not compute certificate digest. ' + + 'Unknown signature OID.'); + error.signatureOid = cert.signatureOid; + throw error; + } + + // produce DER formatted TBSCertificate and digest it + var bytes = asn1.toDer(cert.tbsCertificate); + cert.md.update(bytes.getBytes()); + } + + // handle issuer, build issuer message digest + var imd = forge.md.sha1.create(); + cert.issuer.getField = function(sn) { + return _getAttribute(cert.issuer, sn); + }; + cert.issuer.addField = function(attr) { + _fillMissingFields([attr]); + cert.issuer.attributes.push(attr); + }; + cert.issuer.attributes = pki.RDNAttributesAsArray(capture.certIssuer, imd); + if(capture.certIssuerUniqueId) { + cert.issuer.uniqueId = capture.certIssuerUniqueId; + } + cert.issuer.hash = imd.digest().toHex(); + + // handle subject, build subject message digest + var smd = forge.md.sha1.create(); + cert.subject.getField = function(sn) { + return _getAttribute(cert.subject, sn); + }; + cert.subject.addField = function(attr) { + _fillMissingFields([attr]); + cert.subject.attributes.push(attr); + }; + cert.subject.attributes = pki.RDNAttributesAsArray(capture.certSubject, smd); + if(capture.certSubjectUniqueId) { + cert.subject.uniqueId = capture.certSubjectUniqueId; + } + cert.subject.hash = smd.digest().toHex(); + + // handle extensions + if(capture.certExtensions) { + cert.extensions = pki.certificateExtensionsFromAsn1(capture.certExtensions); + } else { + cert.extensions = []; + } + + // convert RSA public key from ASN.1 + cert.publicKey = pki.publicKeyFromAsn1(capture.subjectPublicKeyInfo); + + return cert; +}; + +/** + * Converts an ASN.1 extensions object (with extension sequences as its + * values) into an array of extension objects with types and values. + * + * Supported extensions: + * + * id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 } + * KeyUsage ::= BIT STRING { + * digitalSignature (0), + * nonRepudiation (1), + * keyEncipherment (2), + * dataEncipherment (3), + * keyAgreement (4), + * keyCertSign (5), + * cRLSign (6), + * encipherOnly (7), + * decipherOnly (8) + * } + * + * id-ce-basicConstraints OBJECT IDENTIFIER ::= { id-ce 19 } + * BasicConstraints ::= SEQUENCE { + * cA BOOLEAN DEFAULT FALSE, + * pathLenConstraint INTEGER (0..MAX) OPTIONAL + * } + * + * subjectAltName EXTENSION ::= { + * SYNTAX GeneralNames + * IDENTIFIED BY id-ce-subjectAltName + * } + * + * GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName + * + * GeneralName ::= CHOICE { + * otherName [0] INSTANCE OF OTHER-NAME, + * rfc822Name [1] IA5String, + * dNSName [2] IA5String, + * x400Address [3] ORAddress, + * directoryName [4] Name, + * ediPartyName [5] EDIPartyName, + * uniformResourceIdentifier [6] IA5String, + * IPAddress [7] OCTET STRING, + * registeredID [8] OBJECT IDENTIFIER + * } + * + * OTHER-NAME ::= TYPE-IDENTIFIER + * + * EDIPartyName ::= SEQUENCE { + * nameAssigner [0] DirectoryString {ub-name} OPTIONAL, + * partyName [1] DirectoryString {ub-name} + * } + * + * @param exts the extensions ASN.1 with extension sequences to parse. + * + * @return the array. + */ +pki.certificateExtensionsFromAsn1 = function(exts) { + var rval = []; + for(var i = 0; i < exts.value.length; ++i) { + // get extension sequence + var extseq = exts.value[i]; + for(var ei = 0; ei < extseq.value.length; ++ei) { + rval.push(pki.certificateExtensionFromAsn1(extseq.value[ei])); + } + } + + return rval; +}; + +/** + * Parses a single certificate extension from ASN.1. + * + * @param ext the extension in ASN.1 format. + * + * @return the parsed extension as an object. + */ +pki.certificateExtensionFromAsn1 = function(ext) { + // an extension has: + // [0] extnID OBJECT IDENTIFIER + // [1] critical BOOLEAN DEFAULT FALSE + // [2] extnValue OCTET STRING + var e = {}; + e.id = asn1.derToOid(ext.value[0].value); + e.critical = false; + if(ext.value[1].type === asn1.Type.BOOLEAN) { + e.critical = (ext.value[1].value.charCodeAt(0) !== 0x00); + e.value = ext.value[2].value; + } else { + e.value = ext.value[1].value; + } + // if the oid is known, get its name + if(e.id in oids) { + e.name = oids[e.id]; + + // handle key usage + if(e.name === 'keyUsage') { + // get value as BIT STRING + var ev = asn1.fromDer(e.value); + var b2 = 0x00; + var b3 = 0x00; + if(ev.value.length > 1) { + // skip first byte, just indicates unused bits which + // will be padded with 0s anyway + // get bytes with flag bits + b2 = ev.value.charCodeAt(1); + b3 = ev.value.length > 2 ? ev.value.charCodeAt(2) : 0; + } + // set flags + e.digitalSignature = (b2 & 0x80) === 0x80; + e.nonRepudiation = (b2 & 0x40) === 0x40; + e.keyEncipherment = (b2 & 0x20) === 0x20; + e.dataEncipherment = (b2 & 0x10) === 0x10; + e.keyAgreement = (b2 & 0x08) === 0x08; + e.keyCertSign = (b2 & 0x04) === 0x04; + e.cRLSign = (b2 & 0x02) === 0x02; + e.encipherOnly = (b2 & 0x01) === 0x01; + e.decipherOnly = (b3 & 0x80) === 0x80; + } else if(e.name === 'basicConstraints') { + // handle basic constraints + // get value as SEQUENCE + var ev = asn1.fromDer(e.value); + // get cA BOOLEAN flag (defaults to false) + if(ev.value.length > 0 && ev.value[0].type === asn1.Type.BOOLEAN) { + e.cA = (ev.value[0].value.charCodeAt(0) !== 0x00); + } else { + e.cA = false; + } + // get path length constraint + var value = null; + if(ev.value.length > 0 && ev.value[0].type === asn1.Type.INTEGER) { + value = ev.value[0].value; + } else if(ev.value.length > 1) { + value = ev.value[1].value; + } + if(value !== null) { + e.pathLenConstraint = asn1.derToInteger(value); + } + } else if(e.name === 'extKeyUsage') { + // handle extKeyUsage + // value is a SEQUENCE of OIDs + var ev = asn1.fromDer(e.value); + for(var vi = 0; vi < ev.value.length; ++vi) { + var oid = asn1.derToOid(ev.value[vi].value); + if(oid in oids) { + e[oids[oid]] = true; + } else { + e[oid] = true; + } + } + } else if(e.name === 'nsCertType') { + // handle nsCertType + // get value as BIT STRING + var ev = asn1.fromDer(e.value); + var b2 = 0x00; + if(ev.value.length > 1) { + // skip first byte, just indicates unused bits which + // will be padded with 0s anyway + // get bytes with flag bits + b2 = ev.value.charCodeAt(1); + } + // set flags + e.client = (b2 & 0x80) === 0x80; + e.server = (b2 & 0x40) === 0x40; + e.email = (b2 & 0x20) === 0x20; + e.objsign = (b2 & 0x10) === 0x10; + e.reserved = (b2 & 0x08) === 0x08; + e.sslCA = (b2 & 0x04) === 0x04; + e.emailCA = (b2 & 0x02) === 0x02; + e.objCA = (b2 & 0x01) === 0x01; + } else if( + e.name === 'subjectAltName' || + e.name === 'issuerAltName') { + // handle subjectAltName/issuerAltName + e.altNames = []; + + // ev is a SYNTAX SEQUENCE + var gn; + var ev = asn1.fromDer(e.value); + for(var n = 0; n < ev.value.length; ++n) { + // get GeneralName + gn = ev.value[n]; + + var altName = { + type: gn.type, + value: gn.value + }; + e.altNames.push(altName); + + // Note: Support for types 1,2,6,7,8 + switch(gn.type) { + // rfc822Name + case 1: + // dNSName + case 2: + // uniformResourceIdentifier (URI) + case 6: + break; + // IPAddress + case 7: + // convert to IPv4/IPv6 string representation + altName.ip = forge.util.bytesToIP(gn.value); + break; + // registeredID + case 8: + altName.oid = asn1.derToOid(gn.value); + break; + default: + // unsupported + } + } + } else if(e.name === 'subjectKeyIdentifier') { + // value is an OCTETSTRING w/the hash of the key-type specific + // public key structure (eg: RSAPublicKey) + var ev = asn1.fromDer(e.value); + e.subjectKeyIdentifier = forge.util.bytesToHex(ev.value); + } + } + return e; +}; + +/** + * Converts a PKCS#10 certification request (CSR) from an ASN.1 object. + * + * Note: If the certification request is to be verified then compute hash + * should be set to true. There is currently no implementation for converting + * a certificate back to ASN.1 so the CertificationRequestInfo part of the + * ASN.1 object needs to be scanned before the csr object is created. + * + * @param obj the asn1 representation of a PKCS#10 certification request (CSR). + * @param computeHash true to compute the hash for verification. + * + * @return the certification request (CSR). + */ +pki.certificationRequestFromAsn1 = function(obj, computeHash) { + // validate certification request and capture data + var capture = {}; + var errors = []; + if(!asn1.validate(obj, certificationRequestValidator, capture, errors)) { + var error = new Error('Cannot read PKCS#10 certificate request. ' + + 'ASN.1 object is not a PKCS#10 CertificationRequest.'); + error.errors = errors; + throw error; + } + + // get oid + var oid = asn1.derToOid(capture.publicKeyOid); + if(oid !== pki.oids.rsaEncryption) { + throw new Error('Cannot read public key. OID is not RSA.'); + } + + // create certification request + var csr = pki.createCertificationRequest(); + csr.version = capture.csrVersion ? capture.csrVersion.charCodeAt(0) : 0; + csr.signatureOid = forge.asn1.derToOid(capture.csrSignatureOid); + csr.signatureParameters = _readSignatureParameters( + csr.signatureOid, capture.csrSignatureParams, true); + csr.siginfo.algorithmOid = forge.asn1.derToOid(capture.csrSignatureOid); + csr.siginfo.parameters = _readSignatureParameters( + csr.siginfo.algorithmOid, capture.csrSignatureParams, false); + csr.signature = capture.csrSignature; + + // keep CertificationRequestInfo to preserve signature when exporting + csr.certificationRequestInfo = capture.certificationRequestInfo; + + if(computeHash) { + // check signature OID for supported signature types + csr.md = null; + if(csr.signatureOid in oids) { + var oid = oids[csr.signatureOid]; + switch(oid) { + case 'sha1WithRSAEncryption': + csr.md = forge.md.sha1.create(); + break; + case 'md5WithRSAEncryption': + csr.md = forge.md.md5.create(); + break; + case 'sha256WithRSAEncryption': + csr.md = forge.md.sha256.create(); + break; + case 'sha384WithRSAEncryption': + csr.md = forge.md.sha384.create(); + break; + case 'sha512WithRSAEncryption': + csr.md = forge.md.sha512.create(); + break; + case 'RSASSA-PSS': + csr.md = forge.md.sha256.create(); + break; + } + } + if(csr.md === null) { + var error = new Error('Could not compute certification request digest. ' + + 'Unknown signature OID.'); + error.signatureOid = csr.signatureOid; + throw error; + } + + // produce DER formatted CertificationRequestInfo and digest it + var bytes = asn1.toDer(csr.certificationRequestInfo); + csr.md.update(bytes.getBytes()); + } + + // handle subject, build subject message digest + var smd = forge.md.sha1.create(); + csr.subject.getField = function(sn) { + return _getAttribute(csr.subject, sn); + }; + csr.subject.addField = function(attr) { + _fillMissingFields([attr]); + csr.subject.attributes.push(attr); + }; + csr.subject.attributes = pki.RDNAttributesAsArray( + capture.certificationRequestInfoSubject, smd); + csr.subject.hash = smd.digest().toHex(); + + // convert RSA public key from ASN.1 + csr.publicKey = pki.publicKeyFromAsn1(capture.subjectPublicKeyInfo); + + // convert attributes from ASN.1 + csr.getAttribute = function(sn) { + return _getAttribute(csr, sn); + }; + csr.addAttribute = function(attr) { + _fillMissingFields([attr]); + csr.attributes.push(attr); + }; + csr.attributes = pki.CRIAttributesAsArray( + capture.certificationRequestInfoAttributes || []); + + return csr; +}; + +/** + * Creates an empty certification request (a CSR or certificate signing + * request). Once created, its public key and attributes can be set and then + * it can be signed. + * + * @return the empty certification request. + */ +pki.createCertificationRequest = function() { + var csr = {}; + csr.version = 0x00; + csr.signatureOid = null; + csr.signature = null; + csr.siginfo = {}; + csr.siginfo.algorithmOid = null; + + csr.subject = {}; + csr.subject.getField = function(sn) { + return _getAttribute(csr.subject, sn); + }; + csr.subject.addField = function(attr) { + _fillMissingFields([attr]); + csr.subject.attributes.push(attr); + }; + csr.subject.attributes = []; + csr.subject.hash = null; + + csr.publicKey = null; + csr.attributes = []; + csr.getAttribute = function(sn) { + return _getAttribute(csr, sn); + }; + csr.addAttribute = function(attr) { + _fillMissingFields([attr]); + csr.attributes.push(attr); + }; + csr.md = null; + + /** + * Sets the subject of this certification request. + * + * @param attrs the array of subject attributes to use. + */ + csr.setSubject = function(attrs) { + // set new attributes + _fillMissingFields(attrs); + csr.subject.attributes = attrs; + csr.subject.hash = null; + }; + + /** + * Sets the attributes of this certification request. + * + * @param attrs the array of attributes to use. + */ + csr.setAttributes = function(attrs) { + // set new attributes + _fillMissingFields(attrs); + csr.attributes = attrs; + }; + + /** + * Signs this certification request using the given private key. + * + * @param key the private key to sign with. + * @param md the message digest object to use (defaults to forge.md.sha1). + */ + csr.sign = function(key, md) { + // TODO: get signature OID from private key + csr.md = md || forge.md.sha1.create(); + var algorithmOid = oids[csr.md.algorithm + 'WithRSAEncryption']; + if(!algorithmOid) { + var error = new Error('Could not compute certification request digest. ' + + 'Unknown message digest algorithm OID.'); + error.algorithm = csr.md.algorithm; + throw error; + } + csr.signatureOid = csr.siginfo.algorithmOid = algorithmOid; + + // get CertificationRequestInfo, convert to DER + csr.certificationRequestInfo = pki.getCertificationRequestInfo(csr); + var bytes = asn1.toDer(csr.certificationRequestInfo); + + // digest and sign + csr.md.update(bytes.getBytes()); + csr.signature = key.sign(csr.md); + }; + + /** + * Attempts verify the signature on the passed certification request using + * its public key. + * + * A CSR that has been exported to a file in PEM format can be verified using + * OpenSSL using this command: + * + * openssl req -in -verify -noout -text + * + * @return true if verified, false if not. + */ + csr.verify = function() { + var rval = false; + + var md = csr.md; + if(md === null) { + // check signature OID for supported signature types + if(csr.signatureOid in oids) { + // TODO: create DRY `OID to md` function + var oid = oids[csr.signatureOid]; + switch(oid) { + case 'sha1WithRSAEncryption': + md = forge.md.sha1.create(); + break; + case 'md5WithRSAEncryption': + md = forge.md.md5.create(); + break; + case 'sha256WithRSAEncryption': + md = forge.md.sha256.create(); + break; + case 'sha384WithRSAEncryption': + md = forge.md.sha384.create(); + break; + case 'sha512WithRSAEncryption': + md = forge.md.sha512.create(); + break; + case 'RSASSA-PSS': + md = forge.md.sha256.create(); + break; + } + } + if(md === null) { + var error = new Error( + 'Could not compute certification request digest. ' + + 'Unknown signature OID.'); + error.signatureOid = csr.signatureOid; + throw error; + } + + // produce DER formatted CertificationRequestInfo and digest it + var cri = csr.certificationRequestInfo || + pki.getCertificationRequestInfo(csr); + var bytes = asn1.toDer(cri); + md.update(bytes.getBytes()); + } + + if(md !== null) { + var scheme; + + switch(csr.signatureOid) { + case oids.sha1WithRSAEncryption: + /* use PKCS#1 v1.5 padding scheme */ + break; + case oids['RSASSA-PSS']: + var hash, mgf; + + /* initialize mgf */ + hash = oids[csr.signatureParameters.mgf.hash.algorithmOid]; + if(hash === undefined || forge.md[hash] === undefined) { + var error = new Error('Unsupported MGF hash function.'); + error.oid = csr.signatureParameters.mgf.hash.algorithmOid; + error.name = hash; + throw error; + } + + mgf = oids[csr.signatureParameters.mgf.algorithmOid]; + if(mgf === undefined || forge.mgf[mgf] === undefined) { + var error = new Error('Unsupported MGF function.'); + error.oid = csr.signatureParameters.mgf.algorithmOid; + error.name = mgf; + throw error; + } + + mgf = forge.mgf[mgf].create(forge.md[hash].create()); + + /* initialize hash function */ + hash = oids[csr.signatureParameters.hash.algorithmOid]; + if(hash === undefined || forge.md[hash] === undefined) { + var error = new Error('Unsupported RSASSA-PSS hash function.'); + error.oid = csr.signatureParameters.hash.algorithmOid; + error.name = hash; + throw error; + } + + scheme = forge.pss.create(forge.md[hash].create(), mgf, + csr.signatureParameters.saltLength); + break; + } + + // verify signature on csr using its public key + rval = csr.publicKey.verify( + md.digest().getBytes(), csr.signature, scheme); + } + + return rval; + }; + + return csr; +}; + +/** + * Converts an X.509 subject or issuer to an ASN.1 RDNSequence. + * + * @param obj the subject or issuer (distinguished name). + * + * @return the ASN.1 RDNSequence. + */ +function _dnToAsn1(obj) { + // create an empty RDNSequence + var rval = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + + // iterate over attributes + var attr, set; + var attrs = obj.attributes; + for(var i = 0; i < attrs.length; ++i) { + attr = attrs[i]; + var value = attr.value; + + // reuse tag class for attribute value if available + var valueTagClass = asn1.Type.PRINTABLESTRING; + if('valueTagClass' in attr) { + valueTagClass = attr.valueTagClass; + + if(valueTagClass === asn1.Type.UTF8) { + value = forge.util.encodeUtf8(value); + } + // FIXME: handle more encodings + } + + // create a RelativeDistinguishedName set + // each value in the set is an AttributeTypeAndValue first + // containing the type (an OID) and second the value + set = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // AttributeType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(attr.type).getBytes()), + // AttributeValue + asn1.create(asn1.Class.UNIVERSAL, valueTagClass, false, value) + ]) + ]); + rval.value.push(set); + } + + return rval; +} + +/** + * Gets all printable attributes (typically of an issuer or subject) in a + * simplified JSON format for display. + * + * @param attrs the attributes. + * + * @return the JSON for display. + */ +function _getAttributesAsJson(attrs) { + var rval = {}; + for(var i = 0; i < attrs.length; ++i) { + var attr = attrs[i]; + if(attr.shortName && ( + attr.valueTagClass === asn1.Type.UTF8 || + attr.valueTagClass === asn1.Type.PRINTABLESTRING || + attr.valueTagClass === asn1.Type.IA5STRING)) { + var value = attr.value; + if(attr.valueTagClass === asn1.Type.UTF8) { + value = forge.util.encodeUtf8(attr.value); + } + if(!(attr.shortName in rval)) { + rval[attr.shortName] = value; + } else if(forge.util.isArray(rval[attr.shortName])) { + rval[attr.shortName].push(value); + } else { + rval[attr.shortName] = [rval[attr.shortName], value]; + } + } + } + return rval; +} + +/** + * Fills in missing fields in attributes. + * + * @param attrs the attributes to fill missing fields in. + */ +function _fillMissingFields(attrs) { + var attr; + for(var i = 0; i < attrs.length; ++i) { + attr = attrs[i]; + + // populate missing name + if(typeof attr.name === 'undefined') { + if(attr.type && attr.type in pki.oids) { + attr.name = pki.oids[attr.type]; + } else if(attr.shortName && attr.shortName in _shortNames) { + attr.name = pki.oids[_shortNames[attr.shortName]]; + } + } + + // populate missing type (OID) + if(typeof attr.type === 'undefined') { + if(attr.name && attr.name in pki.oids) { + attr.type = pki.oids[attr.name]; + } else { + var error = new Error('Attribute type not specified.'); + error.attribute = attr; + throw error; + } + } + + // populate missing shortname + if(typeof attr.shortName === 'undefined') { + if(attr.name && attr.name in _shortNames) { + attr.shortName = _shortNames[attr.name]; + } + } + + // convert extensions to value + if(attr.type === oids.extensionRequest) { + attr.valueConstructed = true; + attr.valueTagClass = asn1.Type.SEQUENCE; + if(!attr.value && attr.extensions) { + attr.value = []; + for(var ei = 0; ei < attr.extensions.length; ++ei) { + attr.value.push(pki.certificateExtensionToAsn1( + _fillMissingExtensionFields(attr.extensions[ei]))); + } + } + } + + if(typeof attr.value === 'undefined') { + var error = new Error('Attribute value not specified.'); + error.attribute = attr; + throw error; + } + } +} + +/** + * Fills in missing fields in certificate extensions. + * + * @param e the extension. + * @param [options] the options to use. + * [cert] the certificate the extensions are for. + * + * @return the extension. + */ +function _fillMissingExtensionFields(e, options) { + options = options || {}; + + // populate missing name + if(typeof e.name === 'undefined') { + if(e.id && e.id in pki.oids) { + e.name = pki.oids[e.id]; + } + } + + // populate missing id + if(typeof e.id === 'undefined') { + if(e.name && e.name in pki.oids) { + e.id = pki.oids[e.name]; + } else { + var error = new Error('Extension ID not specified.'); + error.extension = e; + throw error; + } + } + + if(typeof e.value !== 'undefined') { + return e; + } + + // handle missing value: + + // value is a BIT STRING + if(e.name === 'keyUsage') { + // build flags + var unused = 0; + var b2 = 0x00; + var b3 = 0x00; + if(e.digitalSignature) { + b2 |= 0x80; + unused = 7; + } + if(e.nonRepudiation) { + b2 |= 0x40; + unused = 6; + } + if(e.keyEncipherment) { + b2 |= 0x20; + unused = 5; + } + if(e.dataEncipherment) { + b2 |= 0x10; + unused = 4; + } + if(e.keyAgreement) { + b2 |= 0x08; + unused = 3; + } + if(e.keyCertSign) { + b2 |= 0x04; + unused = 2; + } + if(e.cRLSign) { + b2 |= 0x02; + unused = 1; + } + if(e.encipherOnly) { + b2 |= 0x01; + unused = 0; + } + if(e.decipherOnly) { + b3 |= 0x80; + unused = 7; + } + + // create bit string + var value = String.fromCharCode(unused); + if(b3 !== 0) { + value += String.fromCharCode(b2) + String.fromCharCode(b3); + } else if(b2 !== 0) { + value += String.fromCharCode(b2); + } + e.value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, value); + } else if(e.name === 'basicConstraints') { + // basicConstraints is a SEQUENCE + e.value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + // cA BOOLEAN flag defaults to false + if(e.cA) { + e.value.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.BOOLEAN, false, + String.fromCharCode(0xFF))); + } + if('pathLenConstraint' in e) { + e.value.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(e.pathLenConstraint).getBytes())); + } + } else if(e.name === 'extKeyUsage') { + // extKeyUsage is a SEQUENCE of OIDs + e.value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + var seq = e.value.value; + for(var key in e) { + if(e[key] !== true) { + continue; + } + // key is name in OID map + if(key in oids) { + seq.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, + false, asn1.oidToDer(oids[key]).getBytes())); + } else if(key.indexOf('.') !== -1) { + // assume key is an OID + seq.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, + false, asn1.oidToDer(key).getBytes())); + } + } + } else if(e.name === 'nsCertType') { + // nsCertType is a BIT STRING + // build flags + var unused = 0; + var b2 = 0x00; + + if(e.client) { + b2 |= 0x80; + unused = 7; + } + if(e.server) { + b2 |= 0x40; + unused = 6; + } + if(e.email) { + b2 |= 0x20; + unused = 5; + } + if(e.objsign) { + b2 |= 0x10; + unused = 4; + } + if(e.reserved) { + b2 |= 0x08; + unused = 3; + } + if(e.sslCA) { + b2 |= 0x04; + unused = 2; + } + if(e.emailCA) { + b2 |= 0x02; + unused = 1; + } + if(e.objCA) { + b2 |= 0x01; + unused = 0; + } + + // create bit string + var value = String.fromCharCode(unused); + if(b2 !== 0) { + value += String.fromCharCode(b2); + } + e.value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, value); + } else if(e.name === 'subjectAltName' || e.name === 'issuerAltName') { + // SYNTAX SEQUENCE + e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + + var altName; + for(var n = 0; n < e.altNames.length; ++n) { + altName = e.altNames[n]; + var value = altName.value; + // handle IP + if(altName.type === 7 && altName.ip) { + value = forge.util.bytesFromIP(altName.ip); + if(value === null) { + var error = new Error( + 'Extension "ip" value is not a valid IPv4 or IPv6 address.'); + error.extension = e; + throw error; + } + } else if(altName.type === 8) { + // handle OID + if(altName.oid) { + value = asn1.oidToDer(asn1.oidToDer(altName.oid)); + } else { + // deprecated ... convert value to OID + value = asn1.oidToDer(value); + } + } + e.value.value.push(asn1.create( + asn1.Class.CONTEXT_SPECIFIC, altName.type, false, + value)); + } + } else if(e.name === 'nsComment' && options.cert) { + // sanity check value is ASCII (req'd) and not too big + if(!(/^[\x00-\x7F]*$/.test(e.comment)) || + (e.comment.length < 1) || (e.comment.length > 128)) { + throw new Error('Invalid "nsComment" content.'); + } + // IA5STRING opaque comment + e.value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.IA5STRING, false, e.comment); + } else if(e.name === 'subjectKeyIdentifier' && options.cert) { + var ski = options.cert.generateSubjectKeyIdentifier(); + e.subjectKeyIdentifier = ski.toHex(); + // OCTETSTRING w/digest + e.value = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, ski.getBytes()); + } else if(e.name === 'authorityKeyIdentifier' && options.cert) { + // SYNTAX SEQUENCE + e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + var seq = e.value.value; + + if(e.keyIdentifier) { + var keyIdentifier = (e.keyIdentifier === true ? + options.cert.generateSubjectKeyIdentifier().getBytes() : + e.keyIdentifier); + seq.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, false, keyIdentifier)); + } + + if(e.authorityCertIssuer) { + var authorityCertIssuer = [ + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 4, true, [ + _dnToAsn1(e.authorityCertIssuer === true ? + options.cert.issuer : e.authorityCertIssuer) + ]) + ]; + seq.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, authorityCertIssuer)); + } + + if(e.serialNumber) { + var serialNumber = forge.util.hexToBytes(e.serialNumber === true ? + options.cert.serialNumber : e.serialNumber); + seq.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, false, serialNumber)); + } + } else if(e.name === 'cRLDistributionPoints') { + e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + var seq = e.value.value; + + // Create sub SEQUENCE of DistributionPointName + var subSeq = asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + + // Create fullName CHOICE + var fullNameGeneralNames = asn1.create( + asn1.Class.CONTEXT_SPECIFIC, 0, true, []); + var altName; + for(var n = 0; n < e.altNames.length; ++n) { + altName = e.altNames[n]; + var value = altName.value; + // handle IP + if(altName.type === 7 && altName.ip) { + value = forge.util.bytesFromIP(altName.ip); + if(value === null) { + var error = new Error( + 'Extension "ip" value is not a valid IPv4 or IPv6 address.'); + error.extension = e; + throw error; + } + } else if(altName.type === 8) { + // handle OID + if(altName.oid) { + value = asn1.oidToDer(asn1.oidToDer(altName.oid)); + } else { + // deprecated ... convert value to OID + value = asn1.oidToDer(value); + } + } + fullNameGeneralNames.value.push(asn1.create( + asn1.Class.CONTEXT_SPECIFIC, altName.type, false, + value)); + } + + // Add to the parent SEQUENCE + subSeq.value.push(asn1.create( + asn1.Class.CONTEXT_SPECIFIC, 0, true, [fullNameGeneralNames])); + seq.push(subSeq); + } + + // ensure value has been defined by now + if(typeof e.value === 'undefined') { + var error = new Error('Extension value not specified.'); + error.extension = e; + throw error; + } + + return e; +} + +/** + * Convert signature parameters object to ASN.1 + * + * @param {String} oid Signature algorithm OID + * @param params The signature parametrs object + * @return ASN.1 object representing signature parameters + */ +function _signatureParametersToAsn1(oid, params) { + switch(oid) { + case oids['RSASSA-PSS']: + var parts = []; + + if(params.hash.algorithmOid !== undefined) { + parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(params.hash.algorithmOid).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]) + ])); + } + + if(params.mgf.algorithmOid !== undefined) { + parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(params.mgf.algorithmOid).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(params.mgf.hash.algorithmOid).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '') + ]) + ]) + ])); + } + + if(params.saltLength !== undefined) { + parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(params.saltLength).getBytes()) + ])); + } + + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, parts); + + default: + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, ''); + } +} + +/** + * Converts a certification request's attributes to an ASN.1 set of + * CRIAttributes. + * + * @param csr certification request. + * + * @return the ASN.1 set of CRIAttributes. + */ +function _CRIAttributesToAsn1(csr) { + // create an empty context-specific container + var rval = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, []); + + // no attributes, return empty container + if(csr.attributes.length === 0) { + return rval; + } + + // each attribute has a sequence with a type and a set of values + var attrs = csr.attributes; + for(var i = 0; i < attrs.length; ++i) { + var attr = attrs[i]; + var value = attr.value; + + // reuse tag class for attribute value if available + var valueTagClass = asn1.Type.UTF8; + if('valueTagClass' in attr) { + valueTagClass = attr.valueTagClass; + } + if(valueTagClass === asn1.Type.UTF8) { + value = forge.util.encodeUtf8(value); + } + var valueConstructed = false; + if('valueConstructed' in attr) { + valueConstructed = attr.valueConstructed; + } + // FIXME: handle more encodings + + // create a RelativeDistinguishedName set + // each value in the set is an AttributeTypeAndValue first + // containing the type (an OID) and second the value + var seq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // AttributeType + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(attr.type).getBytes()), + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [ + // AttributeValue + asn1.create( + asn1.Class.UNIVERSAL, valueTagClass, valueConstructed, value) + ]) + ]); + rval.value.push(seq); + } + + return rval; +} + +var jan_1_1950 = new Date('1950-01-01T00:00:00Z'); +var jan_1_2050 = new Date('2050-01-01T00:00:00Z'); + +/** + * Converts a Date object to ASN.1 + * Handles the different format before and after 1st January 2050 + * + * @param date date object. + * + * @return the ASN.1 object representing the date. + */ +function _dateToAsn1(date) { + if(date >= jan_1_1950 && date < jan_1_2050) { + return asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.UTCTIME, false, + asn1.dateToUtcTime(date)); + } else { + return asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.GENERALIZEDTIME, false, + asn1.dateToGeneralizedTime(date)); + } +} + +/** + * Gets the ASN.1 TBSCertificate part of an X.509v3 certificate. + * + * @param cert the certificate. + * + * @return the asn1 TBSCertificate. + */ +pki.getTBSCertificate = function(cert) { + // TBSCertificate + var notBefore = _dateToAsn1(cert.validity.notBefore); + var notAfter = _dateToAsn1(cert.validity.notAfter); + var tbs = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // version + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [ + // integer + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(cert.version).getBytes()) + ]), + // serialNumber + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + forge.util.hexToBytes(cert.serialNumber)), + // signature + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(cert.siginfo.algorithmOid).getBytes()), + // parameters + _signatureParametersToAsn1( + cert.siginfo.algorithmOid, cert.siginfo.parameters) + ]), + // issuer + _dnToAsn1(cert.issuer), + // validity + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + notBefore, + notAfter + ]), + // subject + _dnToAsn1(cert.subject), + // SubjectPublicKeyInfo + pki.publicKeyToAsn1(cert.publicKey) + ]); + + if(cert.issuer.uniqueId) { + // issuerUniqueID (optional) + tbs.value.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, + // TODO: support arbitrary bit length ids + String.fromCharCode(0x00) + + cert.issuer.uniqueId + ) + ]) + ); + } + if(cert.subject.uniqueId) { + // subjectUniqueID (optional) + tbs.value.push( + asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, true, [ + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, + // TODO: support arbitrary bit length ids + String.fromCharCode(0x00) + + cert.subject.uniqueId + ) + ]) + ); + } + + if(cert.extensions.length > 0) { + // extensions (optional) + tbs.value.push(pki.certificateExtensionsToAsn1(cert.extensions)); + } + + return tbs; +}; + +/** + * Gets the ASN.1 CertificationRequestInfo part of a + * PKCS#10 CertificationRequest. + * + * @param csr the certification request. + * + * @return the asn1 CertificationRequestInfo. + */ +pki.getCertificationRequestInfo = function(csr) { + // CertificationRequestInfo + var cri = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // version + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false, + asn1.integerToDer(csr.version).getBytes()), + // subject + _dnToAsn1(csr.subject), + // SubjectPublicKeyInfo + pki.publicKeyToAsn1(csr.publicKey), + // attributes + _CRIAttributesToAsn1(csr) + ]); + + return cri; +}; + +/** + * Converts a DistinguishedName (subject or issuer) to an ASN.1 object. + * + * @param dn the DistinguishedName. + * + * @return the asn1 representation of a DistinguishedName. + */ +pki.distinguishedNameToAsn1 = function(dn) { + return _dnToAsn1(dn); +}; + +/** + * Converts an X.509v3 RSA certificate to an ASN.1 object. + * + * @param cert the certificate. + * + * @return the asn1 representation of an X.509v3 RSA certificate. + */ +pki.certificateToAsn1 = function(cert) { + // prefer cached TBSCertificate over generating one + var tbsCertificate = cert.tbsCertificate || pki.getTBSCertificate(cert); + + // Certificate + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // TBSCertificate + tbsCertificate, + // AlgorithmIdentifier (signature algorithm) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(cert.signatureOid).getBytes()), + // parameters + _signatureParametersToAsn1(cert.signatureOid, cert.signatureParameters) + ]), + // SignatureValue + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, + String.fromCharCode(0x00) + cert.signature) + ]); +}; + +/** + * Converts X.509v3 certificate extensions to ASN.1. + * + * @param exts the extensions to convert. + * + * @return the extensions in ASN.1 format. + */ +pki.certificateExtensionsToAsn1 = function(exts) { + // create top-level extension container + var rval = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 3, true, []); + + // create extension sequence (stores a sequence for each extension) + var seq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + rval.value.push(seq); + + for(var i = 0; i < exts.length; ++i) { + seq.value.push(pki.certificateExtensionToAsn1(exts[i])); + } + + return rval; +}; + +/** + * Converts a single certificate extension to ASN.1. + * + * @param ext the extension to convert. + * + * @return the extension in ASN.1 format. + */ +pki.certificateExtensionToAsn1 = function(ext) { + // create a sequence for each extension + var extseq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []); + + // extnID (OID) + extseq.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(ext.id).getBytes())); + + // critical defaults to false + if(ext.critical) { + // critical BOOLEAN DEFAULT FALSE + extseq.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.BOOLEAN, false, + String.fromCharCode(0xFF))); + } + + var value = ext.value; + if(typeof ext.value !== 'string') { + // value is asn.1 + value = asn1.toDer(value).getBytes(); + } + + // extnValue (OCTET STRING) + extseq.value.push(asn1.create( + asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, value)); + + return extseq; +}; + +/** + * Converts a PKCS#10 certification request to an ASN.1 object. + * + * @param csr the certification request. + * + * @return the asn1 representation of a certification request. + */ +pki.certificationRequestToAsn1 = function(csr) { + // prefer cached CertificationRequestInfo over generating one + var cri = csr.certificationRequestInfo || + pki.getCertificationRequestInfo(csr); + + // Certificate + return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // CertificationRequestInfo + cri, + // AlgorithmIdentifier (signature algorithm) + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [ + // algorithm + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false, + asn1.oidToDer(csr.signatureOid).getBytes()), + // parameters + _signatureParametersToAsn1(csr.signatureOid, csr.signatureParameters) + ]), + // signature + asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, + String.fromCharCode(0x00) + csr.signature) + ]); +}; + +/** + * Creates a CA store. + * + * @param certs an optional array of certificate objects or PEM-formatted + * certificate strings to add to the CA store. + * + * @return the CA store. + */ +pki.createCaStore = function(certs) { + // create CA store + var caStore = { + // stored certificates + certs: {} + }; + + /** + * Gets the certificate that issued the passed certificate or its + * 'parent'. + * + * @param cert the certificate to get the parent for. + * + * @return the parent certificate or null if none was found. + */ + caStore.getIssuer = function(cert) { + var rval = getBySubject(cert.issuer); + + // see if there are multiple matches + /*if(forge.util.isArray(rval)) { + // TODO: resolve multiple matches by checking + // authorityKey/subjectKey/issuerUniqueID/other identifiers, etc. + // FIXME: or alternatively do authority key mapping + // if possible (X.509v1 certs can't work?) + throw new Error('Resolving multiple issuer matches not implemented yet.'); + }*/ + + return rval; + }; + + /** + * Adds a trusted certificate to the store. + * + * @param cert the certificate to add as a trusted certificate (either a + * pki.certificate object or a PEM-formatted certificate). + */ + caStore.addCertificate = function(cert) { + // convert from pem if necessary + if(typeof cert === 'string') { + cert = forge.pki.certificateFromPem(cert); + } + + ensureSubjectHasHash(cert.subject); + + if(!caStore.hasCertificate(cert)) { // avoid duplicate certificates in store + if(cert.subject.hash in caStore.certs) { + // subject hash already exists, append to array + var tmp = caStore.certs[cert.subject.hash]; + if(!forge.util.isArray(tmp)) { + tmp = [tmp]; + } + tmp.push(cert); + caStore.certs[cert.subject.hash] = tmp; + } else { + caStore.certs[cert.subject.hash] = cert; + } + } + }; + + /** + * Checks to see if the given certificate is in the store. + * + * @param cert the certificate to check (either a pki.certificate or a + * PEM-formatted certificate). + * + * @return true if the certificate is in the store, false if not. + */ + caStore.hasCertificate = function(cert) { + // convert from pem if necessary + if(typeof cert === 'string') { + cert = forge.pki.certificateFromPem(cert); + } + + var match = getBySubject(cert.subject); + if(!match) { + return false; + } + if(!forge.util.isArray(match)) { + match = [match]; + } + // compare DER-encoding of certificates + var der1 = asn1.toDer(pki.certificateToAsn1(cert)).getBytes(); + for(var i = 0; i < match.length; ++i) { + var der2 = asn1.toDer(pki.certificateToAsn1(match[i])).getBytes(); + if(der1 === der2) { + return true; + } + } + return false; + }; + + /** + * Lists all of the certificates kept in the store. + * + * @return an array of all of the pki.certificate objects in the store. + */ + caStore.listAllCertificates = function() { + var certList = []; + + for(var hash in caStore.certs) { + if(caStore.certs.hasOwnProperty(hash)) { + var value = caStore.certs[hash]; + if(!forge.util.isArray(value)) { + certList.push(value); + } else { + for(var i = 0; i < value.length; ++i) { + certList.push(value[i]); + } + } + } + } + + return certList; + }; + + /** + * Removes a certificate from the store. + * + * @param cert the certificate to remove (either a pki.certificate or a + * PEM-formatted certificate). + * + * @return the certificate that was removed or null if the certificate + * wasn't in store. + */ + caStore.removeCertificate = function(cert) { + var result; + + // convert from pem if necessary + if(typeof cert === 'string') { + cert = forge.pki.certificateFromPem(cert); + } + ensureSubjectHasHash(cert.subject); + if(!caStore.hasCertificate(cert)) { + return null; + } + + var match = getBySubject(cert.subject); + + if(!forge.util.isArray(match)) { + result = caStore.certs[cert.subject.hash]; + delete caStore.certs[cert.subject.hash]; + return result; + } + + // compare DER-encoding of certificates + var der1 = asn1.toDer(pki.certificateToAsn1(cert)).getBytes(); + for(var i = 0; i < match.length; ++i) { + var der2 = asn1.toDer(pki.certificateToAsn1(match[i])).getBytes(); + if(der1 === der2) { + result = match[i]; + match.splice(i, 1); + } + } + if(match.length === 0) { + delete caStore.certs[cert.subject.hash]; + } + + return result; + }; + + function getBySubject(subject) { + ensureSubjectHasHash(subject); + return caStore.certs[subject.hash] || null; + } + + function ensureSubjectHasHash(subject) { + // produce subject hash if it doesn't exist + if(!subject.hash) { + var md = forge.md.sha1.create(); + subject.attributes = pki.RDNAttributesAsArray(_dnToAsn1(subject), md); + subject.hash = md.digest().toHex(); + } + } + + // auto-add passed in certs + if(certs) { + // parse PEM-formatted certificates as necessary + for(var i = 0; i < certs.length; ++i) { + var cert = certs[i]; + caStore.addCertificate(cert); + } + } + + return caStore; +}; + +/** + * Certificate verification errors, based on TLS. + */ +pki.certificateError = { + bad_certificate: 'forge.pki.BadCertificate', + unsupported_certificate: 'forge.pki.UnsupportedCertificate', + certificate_revoked: 'forge.pki.CertificateRevoked', + certificate_expired: 'forge.pki.CertificateExpired', + certificate_unknown: 'forge.pki.CertificateUnknown', + unknown_ca: 'forge.pki.UnknownCertificateAuthority' +}; + +/** + * Verifies a certificate chain against the given Certificate Authority store + * with an optional custom verify callback. + * + * @param caStore a certificate store to verify against. + * @param chain the certificate chain to verify, with the root or highest + * authority at the end (an array of certificates). + * @param options a callback to be called for every certificate in the chain or + * an object with: + * verify a callback to be called for every certificate in the + * chain + * validityCheckDate the date against which the certificate + * validity period should be checked. Pass null to not check + * the validity period. By default, the current date is used. + * + * The verify callback has the following signature: + * + * verified - Set to true if certificate was verified, otherwise the + * pki.certificateError for why the certificate failed. + * depth - The current index in the chain, where 0 is the end point's cert. + * certs - The certificate chain, *NOTE* an empty chain indicates an anonymous + * end point. + * + * The function returns true on success and on failure either the appropriate + * pki.certificateError or an object with 'error' set to the appropriate + * pki.certificateError and 'message' set to a custom error message. + * + * @return true if successful, error thrown if not. + */ +pki.verifyCertificateChain = function(caStore, chain, options) { + /* From: RFC3280 - Internet X.509 Public Key Infrastructure Certificate + Section 6: Certification Path Validation + See inline parentheticals related to this particular implementation. + + The primary goal of path validation is to verify the binding between + a subject distinguished name or a subject alternative name and subject + public key, as represented in the end entity certificate, based on the + public key of the trust anchor. This requires obtaining a sequence of + certificates that support that binding. That sequence should be provided + in the passed 'chain'. The trust anchor should be in the given CA + store. The 'end entity' certificate is the certificate provided by the + end point (typically a server) and is the first in the chain. + + To meet this goal, the path validation process verifies, among other + things, that a prospective certification path (a sequence of n + certificates or a 'chain') satisfies the following conditions: + + (a) for all x in {1, ..., n-1}, the subject of certificate x is + the issuer of certificate x+1; + + (b) certificate 1 is issued by the trust anchor; + + (c) certificate n is the certificate to be validated; and + + (d) for all x in {1, ..., n}, the certificate was valid at the + time in question. + + Note that here 'n' is index 0 in the chain and 1 is the last certificate + in the chain and it must be signed by a certificate in the connection's + CA store. + + The path validation process also determines the set of certificate + policies that are valid for this path, based on the certificate policies + extension, policy mapping extension, policy constraints extension, and + inhibit any-policy extension. + + Note: Policy mapping extension not supported (Not Required). + + Note: If the certificate has an unsupported critical extension, then it + must be rejected. + + Note: A certificate is self-issued if the DNs that appear in the subject + and issuer fields are identical and are not empty. + + The path validation algorithm assumes the following seven inputs are + provided to the path processing logic. What this specific implementation + will use is provided parenthetically: + + (a) a prospective certification path of length n (the 'chain') + (b) the current date/time: ('now'). + (c) user-initial-policy-set: A set of certificate policy identifiers + naming the policies that are acceptable to the certificate user. + The user-initial-policy-set contains the special value any-policy + if the user is not concerned about certificate policy + (Not implemented. Any policy is accepted). + (d) trust anchor information, describing a CA that serves as a trust + anchor for the certification path. The trust anchor information + includes: + + (1) the trusted issuer name, + (2) the trusted public key algorithm, + (3) the trusted public key, and + (4) optionally, the trusted public key parameters associated + with the public key. + + (Trust anchors are provided via certificates in the CA store). + + The trust anchor information may be provided to the path processing + procedure in the form of a self-signed certificate. The trusted anchor + information is trusted because it was delivered to the path processing + procedure by some trustworthy out-of-band procedure. If the trusted + public key algorithm requires parameters, then the parameters are + provided along with the trusted public key (No parameters used in this + implementation). + + (e) initial-policy-mapping-inhibit, which indicates if policy mapping is + allowed in the certification path. + (Not implemented, no policy checking) + + (f) initial-explicit-policy, which indicates if the path must be valid + for at least one of the certificate policies in the user-initial- + policy-set. + (Not implemented, no policy checking) + + (g) initial-any-policy-inhibit, which indicates whether the + anyPolicy OID should be processed if it is included in a + certificate. + (Not implemented, so any policy is valid provided that it is + not marked as critical) */ + + /* Basic Path Processing: + + For each certificate in the 'chain', the following is checked: + + 1. The certificate validity period includes the current time. + 2. The certificate was signed by its parent (where the parent is either + the next in the chain or from the CA store). Allow processing to + continue to the next step if no parent is found but the certificate is + in the CA store. + 3. TODO: The certificate has not been revoked. + 4. The certificate issuer name matches the parent's subject name. + 5. TODO: If the certificate is self-issued and not the final certificate + in the chain, skip this step, otherwise verify that the subject name + is within one of the permitted subtrees of X.500 distinguished names + and that each of the alternative names in the subjectAltName extension + (critical or non-critical) is within one of the permitted subtrees for + that name type. + 6. TODO: If the certificate is self-issued and not the final certificate + in the chain, skip this step, otherwise verify that the subject name + is not within one of the excluded subtrees for X.500 distinguished + names and none of the subjectAltName extension names are excluded for + that name type. + 7. The other steps in the algorithm for basic path processing involve + handling the policy extension which is not presently supported in this + implementation. Instead, if a critical policy extension is found, the + certificate is rejected as not supported. + 8. If the certificate is not the first or if its the only certificate in + the chain (having no parent from the CA store or is self-signed) and it + has a critical key usage extension, verify that the keyCertSign bit is + set. If the key usage extension exists, verify that the basic + constraints extension exists. If the basic constraints extension exists, + verify that the cA flag is set. If pathLenConstraint is set, ensure that + the number of certificates that precede in the chain (come earlier + in the chain as implemented below), excluding the very first in the + chain (typically the end-entity one), isn't greater than the + pathLenConstraint. This constraint limits the number of intermediate + CAs that may appear below a CA before only end-entity certificates + may be issued. */ + + // if a verify callback is passed as the third parameter, package it within + // the options object. This is to support a legacy function signature that + // expected the verify callback as the third parameter. + if(typeof options === 'function') { + options = {verify: options}; + } + options = options || {}; + + // copy cert chain references to another array to protect against changes + // in verify callback + chain = chain.slice(0); + var certs = chain.slice(0); + + var validityCheckDate = options.validityCheckDate; + // if no validityCheckDate is specified, default to the current date. Make + // sure to maintain the value null because it indicates that the validity + // period should not be checked. + if(typeof validityCheckDate === 'undefined') { + validityCheckDate = new Date(); + } + + // verify each cert in the chain using its parent, where the parent + // is either the next in the chain or from the CA store + var first = true; + var error = null; + var depth = 0; + do { + var cert = chain.shift(); + var parent = null; + var selfSigned = false; + + if(validityCheckDate) { + // 1. check valid time + if(validityCheckDate < cert.validity.notBefore || + validityCheckDate > cert.validity.notAfter) { + error = { + message: 'Certificate is not valid yet or has expired.', + error: pki.certificateError.certificate_expired, + notBefore: cert.validity.notBefore, + notAfter: cert.validity.notAfter, + // TODO: we might want to reconsider renaming 'now' to + // 'validityCheckDate' should this API be changed in the future. + now: validityCheckDate + }; + } + } + + // 2. verify with parent from chain or CA store + if(error === null) { + parent = chain[0] || caStore.getIssuer(cert); + if(parent === null) { + // check for self-signed cert + if(cert.isIssuer(cert)) { + selfSigned = true; + parent = cert; + } + } + + if(parent) { + // FIXME: current CA store implementation might have multiple + // certificates where the issuer can't be determined from the + // certificate (happens rarely with, eg: old certificates) so normalize + // by always putting parents into an array + // TODO: there's may be an extreme degenerate case currently uncovered + // where an old intermediate certificate seems to have a matching parent + // but none of the parents actually verify ... but the intermediate + // is in the CA and it should pass this check; needs investigation + var parents = parent; + if(!forge.util.isArray(parents)) { + parents = [parents]; + } + + // try to verify with each possible parent (typically only one) + var verified = false; + while(!verified && parents.length > 0) { + parent = parents.shift(); + try { + verified = parent.verify(cert); + } catch(ex) { + // failure to verify, don't care why, try next one + } + } + + if(!verified) { + error = { + message: 'Certificate signature is invalid.', + error: pki.certificateError.bad_certificate + }; + } + } + + if(error === null && (!parent || selfSigned) && + !caStore.hasCertificate(cert)) { + // no parent issuer and certificate itself is not trusted + error = { + message: 'Certificate is not trusted.', + error: pki.certificateError.unknown_ca + }; + } + } + + // TODO: 3. check revoked + + // 4. check for matching issuer/subject + if(error === null && parent && !cert.isIssuer(parent)) { + // parent is not issuer + error = { + message: 'Certificate issuer is invalid.', + error: pki.certificateError.bad_certificate + }; + } + + // 5. TODO: check names with permitted names tree + + // 6. TODO: check names against excluded names tree + + // 7. check for unsupported critical extensions + if(error === null) { + // supported extensions + var se = { + keyUsage: true, + basicConstraints: true + }; + for(var i = 0; error === null && i < cert.extensions.length; ++i) { + var ext = cert.extensions[i]; + if(ext.critical && !(ext.name in se)) { + error = { + message: + 'Certificate has an unsupported critical extension.', + error: pki.certificateError.unsupported_certificate + }; + } + } + } + + // 8. check for CA if cert is not first or is the only certificate + // remaining in chain with no parent or is self-signed + if(error === null && + (!first || (chain.length === 0 && (!parent || selfSigned)))) { + // first check keyUsage extension and then basic constraints + var bcExt = cert.getExtension('basicConstraints'); + var keyUsageExt = cert.getExtension('keyUsage'); + if(keyUsageExt !== null) { + // keyCertSign must be true and there must be a basic + // constraints extension + if(!keyUsageExt.keyCertSign || bcExt === null) { + // bad certificate + error = { + message: + 'Certificate keyUsage or basicConstraints conflict ' + + 'or indicate that the certificate is not a CA. ' + + 'If the certificate is the only one in the chain or ' + + 'isn\'t the first then the certificate must be a ' + + 'valid CA.', + error: pki.certificateError.bad_certificate + }; + } + } + // basic constraints cA flag must be set + if(error === null && bcExt !== null && !bcExt.cA) { + // bad certificate + error = { + message: + 'Certificate basicConstraints indicates the certificate ' + + 'is not a CA.', + error: pki.certificateError.bad_certificate + }; + } + // if error is not null and keyUsage is available, then we know it + // has keyCertSign and there is a basic constraints extension too, + // which means we can check pathLenConstraint (if it exists) + if(error === null && keyUsageExt !== null && + 'pathLenConstraint' in bcExt) { + // pathLen is the maximum # of intermediate CA certs that can be + // found between the current certificate and the end-entity (depth 0) + // certificate; this number does not include the end-entity (depth 0, + // last in the chain) even if it happens to be a CA certificate itself + var pathLen = depth - 1; + if(pathLen > bcExt.pathLenConstraint) { + // pathLenConstraint violated, bad certificate + error = { + message: + 'Certificate basicConstraints pathLenConstraint violated.', + error: pki.certificateError.bad_certificate + }; + } + } + } + + // call application callback + var vfd = (error === null) ? true : error.error; + var ret = options.verify ? options.verify(vfd, depth, certs) : vfd; + if(ret === true) { + // clear any set error + error = null; + } else { + // if passed basic tests, set default message and alert + if(vfd === true) { + error = { + message: 'The application rejected the certificate.', + error: pki.certificateError.bad_certificate + }; + } + + // check for custom error info + if(ret || ret === 0) { + // set custom message and error + if(typeof ret === 'object' && !forge.util.isArray(ret)) { + if(ret.message) { + error.message = ret.message; + } + if(ret.error) { + error.error = ret.error; + } + } else if(typeof ret === 'string') { + // set custom error + error.error = ret; + } + } + + // throw error + throw error; + } + + // no longer first cert in chain + first = false; + ++depth; + } while(chain.length > 0); + + return true; +}; + + +/***/ }), + +/***/ 17952: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +// TODO: Use the `URL` global when targeting Node.js 10 +const URLParser = typeof URL === 'undefined' ? (__nccwpck_require__(57310).URL) : URL; + +// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs +const DATA_URL_DEFAULT_MIME_TYPE = 'text/plain'; +const DATA_URL_DEFAULT_CHARSET = 'us-ascii'; + +const testParameter = (name, filters) => { + return filters.some(filter => filter instanceof RegExp ? filter.test(name) : filter === name); +}; + +const normalizeDataURL = (urlString, {stripHash}) => { + const parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/); + + if (!parts) { + throw new Error(`Invalid URL: ${urlString}`); + } + + const mediaType = parts[1].split(';'); + const body = parts[2]; + const hash = stripHash ? '' : parts[3]; + + let base64 = false; + + if (mediaType[mediaType.length - 1] === 'base64') { + mediaType.pop(); + base64 = true; + } + + // Lowercase MIME type + const mimeType = (mediaType.shift() || '').toLowerCase(); + const attributes = mediaType + .map(attribute => { + let [key, value = ''] = attribute.split('=').map(string => string.trim()); + + // Lowercase `charset` + if (key === 'charset') { + value = value.toLowerCase(); + + if (value === DATA_URL_DEFAULT_CHARSET) { + return ''; + } + } + + return `${key}${value ? `=${value}` : ''}`; + }) + .filter(Boolean); + + const normalizedMediaType = [ + ...attributes + ]; + + if (base64) { + normalizedMediaType.push('base64'); + } + + if (normalizedMediaType.length !== 0 || (mimeType && mimeType !== DATA_URL_DEFAULT_MIME_TYPE)) { + normalizedMediaType.unshift(mimeType); + } + + return `data:${normalizedMediaType.join(';')},${base64 ? body.trim() : body}${hash ? `#${hash}` : ''}`; +}; + +const normalizeUrl = (urlString, options) => { + options = { + defaultProtocol: 'http:', + normalizeProtocol: true, + forceHttp: false, + forceHttps: false, + stripAuthentication: true, + stripHash: false, + stripWWW: true, + removeQueryParameters: [/^utm_\w+/i], + removeTrailingSlash: true, + removeDirectoryIndex: false, + sortQueryParameters: true, + ...options + }; + + // TODO: Remove this at some point in the future + if (Reflect.has(options, 'normalizeHttps')) { + throw new Error('options.normalizeHttps is renamed to options.forceHttp'); + } + + if (Reflect.has(options, 'normalizeHttp')) { + throw new Error('options.normalizeHttp is renamed to options.forceHttps'); + } + + if (Reflect.has(options, 'stripFragment')) { + throw new Error('options.stripFragment is renamed to options.stripHash'); + } + + urlString = urlString.trim(); + + // Data URL + if (/^data:/i.test(urlString)) { + return normalizeDataURL(urlString, options); + } + + const hasRelativeProtocol = urlString.startsWith('//'); + const isRelativeUrl = !hasRelativeProtocol && /^\.*\//.test(urlString); + + // Prepend protocol + if (!isRelativeUrl) { + urlString = urlString.replace(/^(?!(?:\w+:)?\/\/)|^\/\//, options.defaultProtocol); + } + + const urlObj = new URLParser(urlString); + + if (options.forceHttp && options.forceHttps) { + throw new Error('The `forceHttp` and `forceHttps` options cannot be used together'); + } + + if (options.forceHttp && urlObj.protocol === 'https:') { + urlObj.protocol = 'http:'; + } + + if (options.forceHttps && urlObj.protocol === 'http:') { + urlObj.protocol = 'https:'; + } + + // Remove auth + if (options.stripAuthentication) { + urlObj.username = ''; + urlObj.password = ''; + } + + // Remove hash + if (options.stripHash) { + urlObj.hash = ''; + } + + // Remove duplicate slashes if not preceded by a protocol + if (urlObj.pathname) { + // TODO: Use the following instead when targeting Node.js 10 + // `urlObj.pathname = urlObj.pathname.replace(/(? { + if (/^(?!\/)/g.test(p1)) { + return `${p1}/`; + } + + return '/'; + }); + } + + // Decode URI octets + if (urlObj.pathname) { + urlObj.pathname = decodeURI(urlObj.pathname); + } + + // Remove directory index + if (options.removeDirectoryIndex === true) { + options.removeDirectoryIndex = [/^index\.[a-z]+$/]; + } + + if (Array.isArray(options.removeDirectoryIndex) && options.removeDirectoryIndex.length > 0) { + let pathComponents = urlObj.pathname.split('/'); + const lastComponent = pathComponents[pathComponents.length - 1]; + + if (testParameter(lastComponent, options.removeDirectoryIndex)) { + pathComponents = pathComponents.slice(0, pathComponents.length - 1); + urlObj.pathname = pathComponents.slice(1).join('/') + '/'; + } + } + + if (urlObj.hostname) { + // Remove trailing dot + urlObj.hostname = urlObj.hostname.replace(/\.$/, ''); + + // Remove `www.` + if (options.stripWWW && /^www\.([a-z\-\d]{2,63})\.([a-z.]{2,5})$/.test(urlObj.hostname)) { + // Each label should be max 63 at length (min: 2). + // The extension should be max 5 at length (min: 2). + // Source: https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names + urlObj.hostname = urlObj.hostname.replace(/^www\./, ''); + } + } + + // Remove query unwanted parameters + if (Array.isArray(options.removeQueryParameters)) { + for (const key of [...urlObj.searchParams.keys()]) { + if (testParameter(key, options.removeQueryParameters)) { + urlObj.searchParams.delete(key); + } + } + } + + // Sort query parameters + if (options.sortQueryParameters) { + urlObj.searchParams.sort(); + } + + if (options.removeTrailingSlash) { + urlObj.pathname = urlObj.pathname.replace(/\/$/, ''); + } + + // Take advantage of many of the Node `url` normalizations + urlString = urlObj.toString(); + + // Remove ending `/` + if ((options.removeTrailingSlash || urlObj.pathname === '/') && urlObj.hash === '') { + urlString = urlString.replace(/\/$/, ''); + } + + // Restore relative protocol, if applicable + if (hasRelativeProtocol && !options.normalizeProtocol) { + urlString = urlString.replace(/^http:\/\//, '//'); + } + + // Remove http/https + if (options.stripProtocol) { + urlString = urlString.replace(/^(?:https?:)?\/\//, ''); + } + + return urlString; +}; + +module.exports = normalizeUrl; +// TODO: Remove this for the next major release +module.exports["default"] = normalizeUrl; + + +/***/ }), + +/***/ 20504: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; + +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = __nccwpck_require__(37265); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } + + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } + + var indent = getIndent(opts, depth); + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return $replace.call(String(s), /"/g, '"'); +} + +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; + } + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } + } + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; + } + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); + } + } + } + return xs; +} + + +/***/ }), + +/***/ 37265: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(73837).inspect; + + +/***/ }), + +/***/ 37816: +/***/ ((module) => { + +"use strict"; + +module.exports = milliseconds => { + if (typeof milliseconds !== 'number') { + throw new TypeError('Expected a number'); + } + + const roundTowardsZero = milliseconds > 0 ? Math.floor : Math.ceil; + + return { + days: roundTowardsZero(milliseconds / 86400000), + hours: roundTowardsZero(milliseconds / 3600000) % 24, + minutes: roundTowardsZero(milliseconds / 60000) % 60, + seconds: roundTowardsZero(milliseconds / 1000) % 60, + milliseconds: roundTowardsZero(milliseconds) % 1000, + microseconds: roundTowardsZero(milliseconds * 1000) % 1000, + nanoseconds: roundTowardsZero(milliseconds * 1e6) % 1000 + }; +}; + + +/***/ }), + +/***/ 64810: +/***/ ((module) => { + +"use strict"; + + +const processFn = (fn, options, proxy, unwrapped) => function (...arguments_) { + const P = options.promiseModule; + + return new P((resolve, reject) => { + if (options.multiArgs) { + arguments_.push((...result) => { + if (options.errorFirst) { + if (result[0]) { + reject(result); + } else { + result.shift(); + resolve(result); + } + } else { + resolve(result); + } + }); + } else if (options.errorFirst) { + arguments_.push((error, result) => { + if (error) { + reject(error); + } else { + resolve(result); + } + }); + } else { + arguments_.push(resolve); + } + + const self = this === proxy ? unwrapped : this; + Reflect.apply(fn, self, arguments_); + }); +}; + +const filterCache = new WeakMap(); + +module.exports = (input, options) => { + options = { + exclude: [/.+(?:Sync|Stream)$/], + errorFirst: true, + promiseModule: Promise, + ...options + }; + + const objectType = typeof input; + if (!(input !== null && (objectType === 'object' || objectType === 'function'))) { + throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${input === null ? 'null' : objectType}\``); + } + + const filter = (target, key) => { + let cached = filterCache.get(target); + + if (!cached) { + cached = {}; + filterCache.set(target, cached); + } + + if (key in cached) { + return cached[key]; + } + + const match = pattern => (typeof pattern === 'string' || typeof key === 'symbol') ? key === pattern : pattern.test(key); + const desc = Reflect.getOwnPropertyDescriptor(target, key); + const writableOrConfigurableOwn = (desc === undefined || desc.writable || desc.configurable); + const included = options.include ? options.include.some(match) : !options.exclude.some(match); + const shouldFilter = included && writableOrConfigurableOwn; + cached[key] = shouldFilter; + return shouldFilter; + }; + + const cache = new WeakMap(); + + const proxy = new Proxy(input, { + apply(target, thisArg, args) { + const cached = cache.get(target); + + if (cached) { + return Reflect.apply(cached, thisArg, args); + } + + const pified = options.excludeMain ? target : processFn(target, options, proxy, target); + cache.set(target, pified); + return Reflect.apply(pified, thisArg, args); + }, + + get(target, key) { + const property = target[key]; + + // eslint-disable-next-line no-use-extend-native/no-use-extend-native + if (!filter(target, key) || property === Function.prototype[key]) { + return property; + } + + const cached = cache.get(property); + + if (cached) { + return cached; + } + + if (typeof property === 'function') { + const pified = processFn(property, options, proxy, target); + cache.set(property, pified); + return pified; + } + + return property; + } + }); + + return proxy; +}; + + +/***/ }), + +/***/ 56143: +/***/ ((module) => { + +"use strict"; + +module.exports = (url, options) => { + if (typeof url !== 'string') { + throw new TypeError(`Expected \`url\` to be of type \`string\`, got \`${typeof url}\``); + } + + url = url.trim(); + + options = { + https: true, + ...options + }; + + if (/^\.*\/|^(?!localhost)\w+:/.test(url)) { + return url; + } + + return url.replace(/^(?!(?:\w+:)?\/\/)/, options.https ? 'https://' : 'http://'); +}; + + +/***/ }), + +/***/ 51127: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const parseMilliseconds = __nccwpck_require__(37816); + +const pluralize = (word, count) => count === 1 ? word : `${word}s`; + +module.exports = (milliseconds, options = {}) => { + if (!Number.isFinite(milliseconds)) { + throw new TypeError('Expected a finite number'); + } + + if (options.colonNotation) { + options.compact = false; + options.formatSubMilliseconds = false; + options.separateMilliseconds = false; + options.verbose = false; + } + + if (options.compact) { + options.secondsDecimalDigits = 0; + options.millisecondsDecimalDigits = 0; + } + + const result = []; + + const add = (value, long, short, valueString) => { + if ((result.length === 0 || !options.colonNotation) && value === 0 && !(options.colonNotation && short === 'm')) { + return; + } + + valueString = (valueString || value || '0').toString(); + let prefix; + let suffix; + if (options.colonNotation) { + prefix = result.length > 0 ? ':' : ''; + suffix = ''; + const wholeDigits = valueString.includes('.') ? valueString.split('.')[0].length : valueString.length; + const minLength = result.length > 0 ? 2 : 1; + valueString = '0'.repeat(Math.max(0, minLength - wholeDigits)) + valueString; + } else { + prefix = ''; + suffix = options.verbose ? ' ' + pluralize(long, value) : short; + } + + result.push(prefix + valueString + suffix); + }; + + const secondsDecimalDigits = + typeof options.secondsDecimalDigits === 'number' ? + options.secondsDecimalDigits : + 1; + + if (secondsDecimalDigits < 1) { + const difference = 1000 - (milliseconds % 1000); + if (difference < 500) { + milliseconds += difference; + } + } + + // Round up milliseconds for values lager than 1 minute - 50ms since these + // always need to be round up. This fixes issues when rounding seconds + // independently of minutes later on. + if ( + milliseconds >= (1000 * 60) - 50 && + !options.separateMilliseconds && + !options.formatSubMilliseconds + ) { + const difference = 60 - (milliseconds % 60); + if (difference <= 50) { + milliseconds += difference; + } + } + + const parsed = parseMilliseconds(milliseconds); + + add(Math.trunc(parsed.days / 365), 'year', 'y'); + add(parsed.days % 365, 'day', 'd'); + add(parsed.hours, 'hour', 'h'); + add(parsed.minutes, 'minute', 'm'); + + if ( + options.separateMilliseconds || + options.formatSubMilliseconds || + milliseconds < 1000 + ) { + add(parsed.seconds, 'second', 's'); + if (options.formatSubMilliseconds) { + add(parsed.milliseconds, 'millisecond', 'ms'); + add(parsed.microseconds, 'microsecond', 'µs'); + add(parsed.nanoseconds, 'nanosecond', 'ns'); + } else { + const millisecondsAndBelow = + parsed.milliseconds + + (parsed.microseconds / 1000) + + (parsed.nanoseconds / 1e6); + + const millisecondsDecimalDigits = + typeof options.millisecondsDecimalDigits === 'number' ? + options.millisecondsDecimalDigits : + 0; + + const roundedMiliseconds = millisecondsAndBelow >= 1 ? + Math.round(millisecondsAndBelow) : + Math.ceil(millisecondsAndBelow); + + const millisecondsString = millisecondsDecimalDigits ? + millisecondsAndBelow.toFixed(millisecondsDecimalDigits) : + roundedMiliseconds; + + add( + parseFloat(millisecondsString, 10), + 'millisecond', + 'ms', + millisecondsString + ); + } + } else { + const seconds = (milliseconds / 1000) % 60; + const secondsDecimalDigits = + typeof options.secondsDecimalDigits === 'number' ? + options.secondsDecimalDigits : + 1; + const secondsFixed = seconds.toFixed(secondsDecimalDigits); + const secondsString = options.keepDecimalsOnWholeSeconds ? + secondsFixed : + secondsFixed.replace(/\.0+$/, ''); + add(parseFloat(secondsString, 10), 'second', 's', secondsString); + } + + if (result.length === 0) { + return '0' + (options.verbose ? ' milliseconds' : 'ms'); + } + + if (options.compact) { + return result[0]; + } + + if (typeof options.unitCount === 'number') { + const separator = options.colonNotation ? '' : ' '; + return result.slice(0, Math.max(options.unitCount, 1)).join(separator); + } + + return options.colonNotation ? result.join('') : result.join(' '); +}; + + +/***/ }), + +/***/ 50944: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const {google} = __nccwpck_require__(44913); +const pify = __nccwpck_require__(64810); +const output = __nccwpck_require__(57966); +const {getOptions} = __nccwpck_require__(7518); +const {pagespeedapi} = google.pagespeedonline('v5'); + +const runpagespeed = pify(pagespeedapi.runpagespeed).bind(pagespeedapi); + +const psi = (url, options) => Promise.resolve().then(() => { + if (!url) { + throw new Error('URL required'); + } + + return runpagespeed(getOptions(url, options)); +}); + +module.exports = psi; + +module.exports.output = (url, options) => psi(url, options).then(data => output(getOptions(url, options), data.data)); + + +/***/ }), + +/***/ 63828: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const chalk = __nccwpck_require__(24602); +const utils = __nccwpck_require__(59227); + +const renderSection = item => utils.labelize(item.label) + chalk.cyan(item.value); +const setTitle = sectionName => (chalk.gray.underline(sectionName) + '\n'); +const renderInfo = str => (chalk.white(str) + '\n'); + +const renderOverview = item => { + const color = (item.label === 'Performance') ? utils.scoreColor(item.value) : chalk.cyan; + return item.label + ':' + utils.buffer(item.label, 14) + color(item.value); +}; + +const getDataOutput = (data, msg = 'No info provided') => data.length > 0 ? + data.map(renderSection).join('\n') : + renderInfo(msg); + +module.exports = (overview, statistics, ruleSetResults, opportunities) => { + return [ + utils.divider, + setTitle('Summary'), + overview.map(renderOverview).join('\n') + '\n', + setTitle('Field Data'), + getDataOutput( + statistics, + 'The Chrome User Experience Report does not have sufficient real-world speed data for this page.' + ), + '', + setTitle('Lab Data'), + ruleSetResults.map(renderSection).join('\n'), + '', + setTitle('Opportunities'), + getDataOutput( + opportunities, + 'No opportunities provided.' + ), + utils.divider + ].join('\n'); +}; + + +/***/ }), + +/***/ 44286: +/***/ ((module) => { + +"use strict"; + + +const zip = section => section.reduce((acc, current) => { + const {label, value} = current; + acc[label] = value; + return acc; +}, {}); + +module.exports = (overview, statistics, ruleSetResults, opportunities) => { + return JSON.stringify({ + overview: zip(overview), + statistics: zip(statistics), + ruleResults: zip(ruleSetResults), + opportunities: zip(opportunities) + }, null, 2); +}; + + +/***/ }), + +/***/ 44599: +/***/ ((module) => { + +"use strict"; + +module.exports = (overview, statistics, ruleSetResults, threshold) => { + const outputTest = (overview, threshold) => { + const score = overview[2].value; + const result = score < threshold ? 'not ok' : 'ok'; + return `${result} 1 - psi`; + }; + + return [ + 'TAP version 13', + '1..1', + outputTest(overview, threshold) + ].join('\n'); +}; + + +/***/ }), + +/***/ 7518: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const prependHttp = __nccwpck_require__(56143); + +const THRESHOLD = 70; + +const getOptions = (url, options) => { + options = Object.assign({strategy: 'mobile'}, options); + options.nokey = options.key === undefined; + options.url = prependHttp(url); + return options; +}; + +const getThreshold = threshold => (typeof threshold === 'number' && threshold && threshold < 100) ? threshold : THRESHOLD; + +const getReporter = format => ['cli', 'json', 'tap'].includes(format) ? format : 'cli'; + +module.exports = { + getOptions, + getThreshold, + getReporter +}; + + +/***/ }), + +/***/ 57966: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +function __ncc_wildcard$0 (arg) { + if (arg === "cli.js" || arg === "cli") return __nccwpck_require__(63828); + else if (arg === "json.js" || arg === "json") return __nccwpck_require__(44286); + else if (arg === "tap.js" || arg === "tap") return __nccwpck_require__(44599); +} +'use strict'; +const sortOn = __nccwpck_require__(51496); +const humanizeUrl = __nccwpck_require__(70134); +const prettyMs = __nccwpck_require__(51127); +const terminalLink = __nccwpck_require__(1898); +const {getThreshold, getReporter} = __nccwpck_require__(7518); +const {getLink} = __nccwpck_require__(39331); + +function overview(url, strategy, scores) { + return [ + { + label: 'URL', + value: url + }, + { + label: 'Strategy', + value: strategy + }, + { + label: 'Performance', + value: convertToPercentum(scores.categories.performance.score) + } + ]; +} + +const fieldData = stats => { + const ret = []; + + for (const title in stats) { + if (Object.prototype.hasOwnProperty.call(stats, title)) { + ret.push({ + label: title, + value: prettyMs(stats[title].percentile) + }); + } + } + + return sortOn(ret, 'label'); +}; + +const getRules = (rules, group) => rules.filter(rule => rule.group === group); + +const labData = lighthouseResult => { + const {audits, categories} = lighthouseResult; + const rules = getRules(categories.performance.auditRefs, 'metrics'); + + const ret = rules.map(rule => { + const {title, displayValue} = audits[rule.id]; + return { + label: title, + value: displayValue.replace(/\s/g, '') + }; + }); + + return sortOn(ret, 'label'); +}; + +const getTitle = (title, description) => { + let output = title; + if (description) { + const link = getLink(description); + if (link) { + output = terminalLink(title, getLink(description)); + } + } + + return output; +}; + +const opportunities = (lighthouseResult, links) => { + const {audits, categories} = lighthouseResult; + const rules = getRules(categories.performance.auditRefs, 'load-opportunities'); + + const opportunityRules = rules.filter(rule => { + const {details} = audits[rule.id]; + return Boolean(details) && details.type === 'opportunity' && details.overallSavingsMs > 0; + }); + + const ret = opportunityRules.map(rule => { + const {title, details, description} = audits[rule.id]; + + return { + label: links ? getTitle(title, description) : title, + value: prettyMs(details.overallSavingsMs) + }; + }); + + return sortOn(ret, 'label'); +}; + +const convertToPercentum = num => Math.round(num * 100); + +module.exports = (parameters, response) => { + return Promise.resolve().then(() => { + const renderer = __ncc_wildcard$0(getReporter(parameters.format)); + const threshold = getThreshold(parameters.threshold); + const {lighthouseResult, loadingExperience = {}, id} = response; + + console.log(renderer( + overview(humanizeUrl(id), parameters.strategy, lighthouseResult), + fieldData(loadingExperience.metrics), + labData(lighthouseResult), + opportunities(lighthouseResult, parameters.links), + threshold + )); + + const score = convertToPercentum(lighthouseResult.categories.performance.score); + if (score < threshold) { + const error = new Error(`Threshold of ${threshold} not met with score of ${score}`); + error.noStack = true; + throw error; + } + }); +}; + + +/***/ }), + +/***/ 39331: +/***/ ((module) => { + +const getLink = str => { + const containsLink = str.match(/\(https?:(.*)\)/); + + return containsLink ? containsLink[0].replace('(', '').replace(')', '') : ''; +}; + +module.exports = { + getLink +}; + + +/***/ }), + +/***/ 59227: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +const chalk = __nccwpck_require__(24602); + +const humanizeTitleMap = { + FIRST_CONTENTFUL_PAINT_MS: 'First Contentful Paint (FCP)', + FIRST_INPUT_DELAY_MS: 'First Input Delay (FID)', + CUMULATIVE_LAYOUT_SHIFT_SCORE: 'Cumulative Layout Shift (CLS)', + LARGEST_CONTENTFUL_PAINT_MS: 'Largest Contentful Paint (LCP)' +}; + +exports.divider = '\n' + chalk.grey('-'.repeat(56)) + '\n'; + +exports.buffer = (msg, length) => { + let ret = ''; + + if (length === undefined) { + length = 44; + } + + length = length - msg.length - 1; + + if (length > 0) { + ret = ' '.repeat(length); + } + + return ret; +}; + +exports.scoreColor = score => { + let color = chalk.yellow; + color = score < 50 ? chalk.red : color; + color = score > 89 ? chalk.green : color; + return color; +}; + +exports.labelize = str => { + const label = humanizeTitleMap[str] || str; + return label + exports.buffer(label) + chalk.grey('| '); +}; + + +/***/ }), + +/***/ 43574: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +/* module decorator */ module = __nccwpck_require__.nmd(module); + + +const wrapAnsi16 = (fn, offset) => (...args) => { + const code = fn(...args); + return `\u001B[${code + offset}m`; +}; + +const wrapAnsi256 = (fn, offset) => (...args) => { + const code = fn(...args); + return `\u001B[${38 + offset};5;${code}m`; +}; + +const wrapAnsi16m = (fn, offset) => (...args) => { + const rgb = fn(...args); + return `\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`; +}; + +const ansi2ansi = n => n; +const rgb2rgb = (r, g, b) => [r, g, b]; + +const setLazyProperty = (object, property, get) => { + Object.defineProperty(object, property, { + get: () => { + const value = get(); + + Object.defineProperty(object, property, { + value, + enumerable: true, + configurable: true + }); + + return value; + }, + enumerable: true, + configurable: true + }); +}; + +/** @type {typeof import('color-convert')} */ +let colorConvert; +const makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => { + if (colorConvert === undefined) { + colorConvert = __nccwpck_require__(65024); + } + + const offset = isBackground ? 10 : 0; + const styles = {}; + + for (const [sourceSpace, suite] of Object.entries(colorConvert)) { + const name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace; + if (sourceSpace === targetSpace) { + styles[name] = wrap(identity, offset); + } else if (typeof suite === 'object') { + styles[name] = wrap(suite[targetSpace], offset); + } + } + + return styles; +}; + +function assembleStyles() { + const codes = new Map(); + const styles = { + modifier: { + reset: [0, 0], + // 21 isn't widely supported and 22 does the same thing + bold: [1, 22], + dim: [2, 22], + italic: [3, 23], + underline: [4, 24], + inverse: [7, 27], + hidden: [8, 28], + strikethrough: [9, 29] + }, + color: { + black: [30, 39], + red: [31, 39], + green: [32, 39], + yellow: [33, 39], + blue: [34, 39], + magenta: [35, 39], + cyan: [36, 39], + white: [37, 39], + + // Bright color + blackBright: [90, 39], + redBright: [91, 39], + greenBright: [92, 39], + yellowBright: [93, 39], + blueBright: [94, 39], + magentaBright: [95, 39], + cyanBright: [96, 39], + whiteBright: [97, 39] + }, + bgColor: { + bgBlack: [40, 49], + bgRed: [41, 49], + bgGreen: [42, 49], + bgYellow: [43, 49], + bgBlue: [44, 49], + bgMagenta: [45, 49], + bgCyan: [46, 49], + bgWhite: [47, 49], + + // Bright color + bgBlackBright: [100, 49], + bgRedBright: [101, 49], + bgGreenBright: [102, 49], + bgYellowBright: [103, 49], + bgBlueBright: [104, 49], + bgMagentaBright: [105, 49], + bgCyanBright: [106, 49], + bgWhiteBright: [107, 49] + } + }; + + // Alias bright black as gray (and grey) + styles.color.gray = styles.color.blackBright; + styles.bgColor.bgGray = styles.bgColor.bgBlackBright; + styles.color.grey = styles.color.blackBright; + styles.bgColor.bgGrey = styles.bgColor.bgBlackBright; + + for (const [groupName, group] of Object.entries(styles)) { + for (const [styleName, style] of Object.entries(group)) { + styles[styleName] = { + open: `\u001B[${style[0]}m`, + close: `\u001B[${style[1]}m` + }; + + group[styleName] = styles[styleName]; + + codes.set(style[0], style[1]); + } + + Object.defineProperty(styles, groupName, { + value: group, + enumerable: false + }); + } + + Object.defineProperty(styles, 'codes', { + value: codes, + enumerable: false + }); + + styles.color.close = '\u001B[39m'; + styles.bgColor.close = '\u001B[49m'; + + setLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false)); + setLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false)); + setLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false)); + setLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true)); + setLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true)); + setLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true)); + + return styles; +} + +// Make the export immutable +Object.defineProperty(module, 'exports', { + enumerable: true, + get: assembleStyles +}); + + +/***/ }), + +/***/ 24602: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const ansiStyles = __nccwpck_require__(43574); +const {stdout: stdoutColor, stderr: stderrColor} = __nccwpck_require__(53096); +const { + stringReplaceAll, + stringEncaseCRLFWithFirstIndex +} = __nccwpck_require__(24940); + +// `supportsColor.level` → `ansiStyles.color[name]` mapping +const levelMapping = [ + 'ansi', + 'ansi', + 'ansi256', + 'ansi16m' +]; + +const styles = Object.create(null); + +const applyOptions = (object, options = {}) => { + if (options.level > 3 || options.level < 0) { + throw new Error('The `level` option should be an integer from 0 to 3'); + } + + // Detect level if not set manually + const colorLevel = stdoutColor ? stdoutColor.level : 0; + object.level = options.level === undefined ? colorLevel : options.level; +}; + +class ChalkClass { + constructor(options) { + return chalkFactory(options); + } +} + +const chalkFactory = options => { + const chalk = {}; + applyOptions(chalk, options); + + chalk.template = (...arguments_) => chalkTag(chalk.template, ...arguments_); + + Object.setPrototypeOf(chalk, Chalk.prototype); + Object.setPrototypeOf(chalk.template, chalk); + + chalk.template.constructor = () => { + throw new Error('`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.'); + }; + + chalk.template.Instance = ChalkClass; + + return chalk.template; +}; + +function Chalk(options) { + return chalkFactory(options); +} + +for (const [styleName, style] of Object.entries(ansiStyles)) { + styles[styleName] = { + get() { + const builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty); + Object.defineProperty(this, styleName, {value: builder}); + return builder; + } + }; +} + +styles.visible = { + get() { + const builder = createBuilder(this, this._styler, true); + Object.defineProperty(this, 'visible', {value: builder}); + return builder; + } +}; + +const usedModels = ['rgb', 'hex', 'keyword', 'hsl', 'hsv', 'hwb', 'ansi', 'ansi256']; + +for (const model of usedModels) { + styles[model] = { + get() { + const {level} = this; + return function (...arguments_) { + const styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler); + return createBuilder(this, styler, this._isEmpty); + }; + } + }; +} + +for (const model of usedModels) { + const bgModel = 'bg' + model[0].toUpperCase() + model.slice(1); + styles[bgModel] = { + get() { + const {level} = this; + return function (...arguments_) { + const styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler); + return createBuilder(this, styler, this._isEmpty); + }; + } + }; +} + +const proto = Object.defineProperties(() => {}, { + ...styles, + level: { + enumerable: true, + get() { + return this._generator.level; + }, + set(level) { + this._generator.level = level; + } + } +}); + +const createStyler = (open, close, parent) => { + let openAll; + let closeAll; + if (parent === undefined) { + openAll = open; + closeAll = close; + } else { + openAll = parent.openAll + open; + closeAll = close + parent.closeAll; + } + + return { + open, + close, + openAll, + closeAll, + parent + }; +}; + +const createBuilder = (self, _styler, _isEmpty) => { + const builder = (...arguments_) => { + // Single argument is hot path, implicit coercion is faster than anything + // eslint-disable-next-line no-implicit-coercion + return applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' ')); + }; + + // `__proto__` is used because we must return a function, but there is + // no way to create a function with a different prototype + builder.__proto__ = proto; // eslint-disable-line no-proto + + builder._generator = self; + builder._styler = _styler; + builder._isEmpty = _isEmpty; + + return builder; +}; + +const applyStyle = (self, string) => { + if (self.level <= 0 || !string) { + return self._isEmpty ? '' : string; + } + + let styler = self._styler; + + if (styler === undefined) { + return string; + } + + const {openAll, closeAll} = styler; + if (string.indexOf('\u001B') !== -1) { + while (styler !== undefined) { + // Replace any instances already present with a re-opening code + // otherwise only the part of the string until said closing code + // will be colored, and the rest will simply be 'plain'. + string = stringReplaceAll(string, styler.close, styler.open); + + styler = styler.parent; + } + } + + // We can move both next actions out of loop, because remaining actions in loop won't have + // any/visible effect on parts we add here. Close the styling before a linebreak and reopen + // after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92 + const lfIndex = string.indexOf('\n'); + if (lfIndex !== -1) { + string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex); + } + + return openAll + string + closeAll; +}; + +let template; +const chalkTag = (chalk, ...strings) => { + const [firstString] = strings; + + if (!Array.isArray(firstString)) { + // If chalk() was called by itself or with a string, + // return the string itself as a string. + return strings.join(' '); + } + + const arguments_ = strings.slice(1); + const parts = [firstString.raw[0]]; + + for (let i = 1; i < firstString.length; i++) { + parts.push( + String(arguments_[i - 1]).replace(/[{}\\]/g, '\\$&'), + String(firstString.raw[i]) + ); + } + + if (template === undefined) { + template = __nccwpck_require__(99209); + } + + return template(chalk, parts.join('')); +}; + +Object.defineProperties(Chalk.prototype, styles); + +const chalk = Chalk(); // eslint-disable-line new-cap +chalk.supportsColor = stdoutColor; +chalk.stderr = Chalk({level: stderrColor ? stderrColor.level : 0}); // eslint-disable-line new-cap +chalk.stderr.supportsColor = stderrColor; + +// For TypeScript +chalk.Level = { + None: 0, + Basic: 1, + Ansi256: 2, + TrueColor: 3, + 0: 'None', + 1: 'Basic', + 2: 'Ansi256', + 3: 'TrueColor' +}; + +module.exports = chalk; + + +/***/ }), + +/***/ 99209: +/***/ ((module) => { + +"use strict"; + +const TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi; +const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g; +const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/; +const ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi; + +const ESCAPES = new Map([ + ['n', '\n'], + ['r', '\r'], + ['t', '\t'], + ['b', '\b'], + ['f', '\f'], + ['v', '\v'], + ['0', '\0'], + ['\\', '\\'], + ['e', '\u001B'], + ['a', '\u0007'] +]); + +function unescape(c) { + const u = c[0] === 'u'; + const bracket = c[1] === '{'; + + if ((u && !bracket && c.length === 5) || (c[0] === 'x' && c.length === 3)) { + return String.fromCharCode(parseInt(c.slice(1), 16)); + } + + if (u && bracket) { + return String.fromCodePoint(parseInt(c.slice(2, -1), 16)); + } + + return ESCAPES.get(c) || c; +} + +function parseArguments(name, arguments_) { + const results = []; + const chunks = arguments_.trim().split(/\s*,\s*/g); + let matches; + + for (const chunk of chunks) { + const number = Number(chunk); + if (!Number.isNaN(number)) { + results.push(number); + } else if ((matches = chunk.match(STRING_REGEX))) { + results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ? unescape(escape) : character)); + } else { + throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`); + } + } + + return results; +} + +function parseStyle(style) { + STYLE_REGEX.lastIndex = 0; + + const results = []; + let matches; + + while ((matches = STYLE_REGEX.exec(style)) !== null) { + const name = matches[1]; + + if (matches[2]) { + const args = parseArguments(name, matches[2]); + results.push([name].concat(args)); + } else { + results.push([name]); + } + } + + return results; +} + +function buildStyle(chalk, styles) { + const enabled = {}; + + for (const layer of styles) { + for (const style of layer.styles) { + enabled[style[0]] = layer.inverse ? null : style.slice(1); + } + } + + let current = chalk; + for (const [styleName, styles] of Object.entries(enabled)) { + if (!Array.isArray(styles)) { + continue; + } + + if (!(styleName in current)) { + throw new Error(`Unknown Chalk style: ${styleName}`); + } + + current = styles.length > 0 ? current[styleName](...styles) : current[styleName]; + } + + return current; +} + +module.exports = (chalk, temporary) => { + const styles = []; + const chunks = []; + let chunk = []; + + // eslint-disable-next-line max-params + temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => { + if (escapeCharacter) { + chunk.push(unescape(escapeCharacter)); + } else if (style) { + const string = chunk.join(''); + chunk = []; + chunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string)); + styles.push({inverse, styles: parseStyle(style)}); + } else if (close) { + if (styles.length === 0) { + throw new Error('Found extraneous } in Chalk template literal'); + } + + chunks.push(buildStyle(chalk, styles)(chunk.join(''))); + chunk = []; + styles.pop(); + } else { + chunk.push(character); + } + }); + + chunks.push(chunk.join('')); + + if (styles.length > 0) { + const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? '' : 's'} (\`}\`)`; + throw new Error(errMsg); + } + + return chunks.join(''); +}; + + +/***/ }), + +/***/ 24940: +/***/ ((module) => { + +"use strict"; + + +const stringReplaceAll = (string, substring, replacer) => { + let index = string.indexOf(substring); + if (index === -1) { + return string; + } + + const substringLength = substring.length; + let endIndex = 0; + let returnValue = ''; + do { + returnValue += string.substr(endIndex, index - endIndex) + substring + replacer; + endIndex = index + substringLength; + index = string.indexOf(substring, endIndex); + } while (index !== -1); + + returnValue += string.substr(endIndex); + return returnValue; +}; + +const stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => { + let endIndex = 0; + let returnValue = ''; + do { + const gotCR = string[index - 1] === '\r'; + returnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? '\r\n' : '\n') + postfix; + endIndex = index + 1; + index = string.indexOf('\n', endIndex); + } while (index !== -1); + + returnValue += string.substr(endIndex); + return returnValue; +}; + +module.exports = { + stringReplaceAll, + stringEncaseCRLFWithFirstIndex +}; + + +/***/ }), + +/***/ 5733: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/* MIT license */ +/* eslint-disable no-mixed-operators */ +const cssKeywords = __nccwpck_require__(96288); + +// NOTE: conversions should only return primitive values (i.e. arrays, or +// values that give correct `typeof` results). +// do not use box values types (i.e. Number(), String(), etc.) + +const reverseKeywords = {}; +for (const key of Object.keys(cssKeywords)) { + reverseKeywords[cssKeywords[key]] = key; +} + +const convert = { + rgb: {channels: 3, labels: 'rgb'}, + hsl: {channels: 3, labels: 'hsl'}, + hsv: {channels: 3, labels: 'hsv'}, + hwb: {channels: 3, labels: 'hwb'}, + cmyk: {channels: 4, labels: 'cmyk'}, + xyz: {channels: 3, labels: 'xyz'}, + lab: {channels: 3, labels: 'lab'}, + lch: {channels: 3, labels: 'lch'}, + hex: {channels: 1, labels: ['hex']}, + keyword: {channels: 1, labels: ['keyword']}, + ansi16: {channels: 1, labels: ['ansi16']}, + ansi256: {channels: 1, labels: ['ansi256']}, + hcg: {channels: 3, labels: ['h', 'c', 'g']}, + apple: {channels: 3, labels: ['r16', 'g16', 'b16']}, + gray: {channels: 1, labels: ['gray']} +}; + +module.exports = convert; + +// Hide .channels and .labels properties +for (const model of Object.keys(convert)) { + if (!('channels' in convert[model])) { + throw new Error('missing channels property: ' + model); + } + + if (!('labels' in convert[model])) { + throw new Error('missing channel labels property: ' + model); + } + + if (convert[model].labels.length !== convert[model].channels) { + throw new Error('channel and label counts mismatch: ' + model); + } + + const {channels, labels} = convert[model]; + delete convert[model].channels; + delete convert[model].labels; + Object.defineProperty(convert[model], 'channels', {value: channels}); + Object.defineProperty(convert[model], 'labels', {value: labels}); +} + +convert.rgb.hsl = function (rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const min = Math.min(r, g, b); + const max = Math.max(r, g, b); + const delta = max - min; + let h; + let s; + + if (max === min) { + h = 0; + } else if (r === max) { + h = (g - b) / delta; + } else if (g === max) { + h = 2 + (b - r) / delta; + } else if (b === max) { + h = 4 + (r - g) / delta; + } + + h = Math.min(h * 60, 360); + + if (h < 0) { + h += 360; + } + + const l = (min + max) / 2; + + if (max === min) { + s = 0; + } else if (l <= 0.5) { + s = delta / (max + min); + } else { + s = delta / (2 - max - min); + } + + return [h, s * 100, l * 100]; +}; + +convert.rgb.hsv = function (rgb) { + let rdif; + let gdif; + let bdif; + let h; + let s; + + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const v = Math.max(r, g, b); + const diff = v - Math.min(r, g, b); + const diffc = function (c) { + return (v - c) / 6 / diff + 1 / 2; + }; + + if (diff === 0) { + h = 0; + s = 0; + } else { + s = diff / v; + rdif = diffc(r); + gdif = diffc(g); + bdif = diffc(b); + + if (r === v) { + h = bdif - gdif; + } else if (g === v) { + h = (1 / 3) + rdif - bdif; + } else if (b === v) { + h = (2 / 3) + gdif - rdif; + } + + if (h < 0) { + h += 1; + } else if (h > 1) { + h -= 1; + } + } + + return [ + h * 360, + s * 100, + v * 100 + ]; +}; + +convert.rgb.hwb = function (rgb) { + const r = rgb[0]; + const g = rgb[1]; + let b = rgb[2]; + const h = convert.rgb.hsl(rgb)[0]; + const w = 1 / 255 * Math.min(r, Math.min(g, b)); + + b = 1 - 1 / 255 * Math.max(r, Math.max(g, b)); + + return [h, w * 100, b * 100]; +}; + +convert.rgb.cmyk = function (rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + + const k = Math.min(1 - r, 1 - g, 1 - b); + const c = (1 - r - k) / (1 - k) || 0; + const m = (1 - g - k) / (1 - k) || 0; + const y = (1 - b - k) / (1 - k) || 0; + + return [c * 100, m * 100, y * 100, k * 100]; +}; + +function comparativeDistance(x, y) { + /* + See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance + */ + return ( + ((x[0] - y[0]) ** 2) + + ((x[1] - y[1]) ** 2) + + ((x[2] - y[2]) ** 2) + ); +} + +convert.rgb.keyword = function (rgb) { + const reversed = reverseKeywords[rgb]; + if (reversed) { + return reversed; + } + + let currentClosestDistance = Infinity; + let currentClosestKeyword; + + for (const keyword of Object.keys(cssKeywords)) { + const value = cssKeywords[keyword]; + + // Compute comparative distance + const distance = comparativeDistance(rgb, value); + + // Check if its less, if so set as closest + if (distance < currentClosestDistance) { + currentClosestDistance = distance; + currentClosestKeyword = keyword; + } + } + + return currentClosestKeyword; +}; + +convert.keyword.rgb = function (keyword) { + return cssKeywords[keyword]; +}; + +convert.rgb.xyz = function (rgb) { + let r = rgb[0] / 255; + let g = rgb[1] / 255; + let b = rgb[2] / 255; + + // Assume sRGB + r = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92); + g = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92); + b = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92); + + const x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805); + const y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722); + const z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505); + + return [x * 100, y * 100, z * 100]; +}; + +convert.rgb.lab = function (rgb) { + const xyz = convert.rgb.xyz(rgb); + let x = xyz[0]; + let y = xyz[1]; + let z = xyz[2]; + + x /= 95.047; + y /= 100; + z /= 108.883; + + x = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116); + y = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116); + z = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116); + + const l = (116 * y) - 16; + const a = 500 * (x - y); + const b = 200 * (y - z); + + return [l, a, b]; +}; + +convert.hsl.rgb = function (hsl) { + const h = hsl[0] / 360; + const s = hsl[1] / 100; + const l = hsl[2] / 100; + let t2; + let t3; + let val; + + if (s === 0) { + val = l * 255; + return [val, val, val]; + } + + if (l < 0.5) { + t2 = l * (1 + s); + } else { + t2 = l + s - l * s; + } + + const t1 = 2 * l - t2; + + const rgb = [0, 0, 0]; + for (let i = 0; i < 3; i++) { + t3 = h + 1 / 3 * -(i - 1); + if (t3 < 0) { + t3++; + } + + if (t3 > 1) { + t3--; + } + + if (6 * t3 < 1) { + val = t1 + (t2 - t1) * 6 * t3; + } else if (2 * t3 < 1) { + val = t2; + } else if (3 * t3 < 2) { + val = t1 + (t2 - t1) * (2 / 3 - t3) * 6; + } else { + val = t1; + } + + rgb[i] = val * 255; + } + + return rgb; +}; + +convert.hsl.hsv = function (hsl) { + const h = hsl[0]; + let s = hsl[1] / 100; + let l = hsl[2] / 100; + let smin = s; + const lmin = Math.max(l, 0.01); + + l *= 2; + s *= (l <= 1) ? l : 2 - l; + smin *= lmin <= 1 ? lmin : 2 - lmin; + const v = (l + s) / 2; + const sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s); + + return [h, sv * 100, v * 100]; +}; + +convert.hsv.rgb = function (hsv) { + const h = hsv[0] / 60; + const s = hsv[1] / 100; + let v = hsv[2] / 100; + const hi = Math.floor(h) % 6; + + const f = h - Math.floor(h); + const p = 255 * v * (1 - s); + const q = 255 * v * (1 - (s * f)); + const t = 255 * v * (1 - (s * (1 - f))); + v *= 255; + + switch (hi) { + case 0: + return [v, t, p]; + case 1: + return [q, v, p]; + case 2: + return [p, v, t]; + case 3: + return [p, q, v]; + case 4: + return [t, p, v]; + case 5: + return [v, p, q]; + } +}; + +convert.hsv.hsl = function (hsv) { + const h = hsv[0]; + const s = hsv[1] / 100; + const v = hsv[2] / 100; + const vmin = Math.max(v, 0.01); + let sl; + let l; + + l = (2 - s) * v; + const lmin = (2 - s) * vmin; + sl = s * vmin; + sl /= (lmin <= 1) ? lmin : 2 - lmin; + sl = sl || 0; + l /= 2; + + return [h, sl * 100, l * 100]; +}; + +// http://dev.w3.org/csswg/css-color/#hwb-to-rgb +convert.hwb.rgb = function (hwb) { + const h = hwb[0] / 360; + let wh = hwb[1] / 100; + let bl = hwb[2] / 100; + const ratio = wh + bl; + let f; + + // Wh + bl cant be > 1 + if (ratio > 1) { + wh /= ratio; + bl /= ratio; + } + + const i = Math.floor(6 * h); + const v = 1 - bl; + f = 6 * h - i; + + if ((i & 0x01) !== 0) { + f = 1 - f; + } + + const n = wh + f * (v - wh); // Linear interpolation + + let r; + let g; + let b; + /* eslint-disable max-statements-per-line,no-multi-spaces */ + switch (i) { + default: + case 6: + case 0: r = v; g = n; b = wh; break; + case 1: r = n; g = v; b = wh; break; + case 2: r = wh; g = v; b = n; break; + case 3: r = wh; g = n; b = v; break; + case 4: r = n; g = wh; b = v; break; + case 5: r = v; g = wh; b = n; break; + } + /* eslint-enable max-statements-per-line,no-multi-spaces */ + + return [r * 255, g * 255, b * 255]; +}; + +convert.cmyk.rgb = function (cmyk) { + const c = cmyk[0] / 100; + const m = cmyk[1] / 100; + const y = cmyk[2] / 100; + const k = cmyk[3] / 100; + + const r = 1 - Math.min(1, c * (1 - k) + k); + const g = 1 - Math.min(1, m * (1 - k) + k); + const b = 1 - Math.min(1, y * (1 - k) + k); + + return [r * 255, g * 255, b * 255]; +}; + +convert.xyz.rgb = function (xyz) { + const x = xyz[0] / 100; + const y = xyz[1] / 100; + const z = xyz[2] / 100; + let r; + let g; + let b; + + r = (x * 3.2406) + (y * -1.5372) + (z * -0.4986); + g = (x * -0.9689) + (y * 1.8758) + (z * 0.0415); + b = (x * 0.0557) + (y * -0.2040) + (z * 1.0570); + + // Assume sRGB + r = r > 0.0031308 + ? ((1.055 * (r ** (1.0 / 2.4))) - 0.055) + : r * 12.92; + + g = g > 0.0031308 + ? ((1.055 * (g ** (1.0 / 2.4))) - 0.055) + : g * 12.92; + + b = b > 0.0031308 + ? ((1.055 * (b ** (1.0 / 2.4))) - 0.055) + : b * 12.92; + + r = Math.min(Math.max(0, r), 1); + g = Math.min(Math.max(0, g), 1); + b = Math.min(Math.max(0, b), 1); + + return [r * 255, g * 255, b * 255]; +}; + +convert.xyz.lab = function (xyz) { + let x = xyz[0]; + let y = xyz[1]; + let z = xyz[2]; + + x /= 95.047; + y /= 100; + z /= 108.883; + + x = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116); + y = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116); + z = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116); + + const l = (116 * y) - 16; + const a = 500 * (x - y); + const b = 200 * (y - z); + + return [l, a, b]; +}; + +convert.lab.xyz = function (lab) { + const l = lab[0]; + const a = lab[1]; + const b = lab[2]; + let x; + let y; + let z; + + y = (l + 16) / 116; + x = a / 500 + y; + z = y - b / 200; + + const y2 = y ** 3; + const x2 = x ** 3; + const z2 = z ** 3; + y = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787; + x = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787; + z = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787; + + x *= 95.047; + y *= 100; + z *= 108.883; + + return [x, y, z]; +}; + +convert.lab.lch = function (lab) { + const l = lab[0]; + const a = lab[1]; + const b = lab[2]; + let h; + + const hr = Math.atan2(b, a); + h = hr * 360 / 2 / Math.PI; + + if (h < 0) { + h += 360; + } + + const c = Math.sqrt(a * a + b * b); + + return [l, c, h]; +}; + +convert.lch.lab = function (lch) { + const l = lch[0]; + const c = lch[1]; + const h = lch[2]; + + const hr = h / 360 * 2 * Math.PI; + const a = c * Math.cos(hr); + const b = c * Math.sin(hr); + + return [l, a, b]; +}; + +convert.rgb.ansi16 = function (args, saturation = null) { + const [r, g, b] = args; + let value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization + + value = Math.round(value / 50); + + if (value === 0) { + return 30; + } + + let ansi = 30 + + ((Math.round(b / 255) << 2) + | (Math.round(g / 255) << 1) + | Math.round(r / 255)); + + if (value === 2) { + ansi += 60; + } + + return ansi; +}; + +convert.hsv.ansi16 = function (args) { + // Optimization here; we already know the value and don't need to get + // it converted for us. + return convert.rgb.ansi16(convert.hsv.rgb(args), args[2]); +}; + +convert.rgb.ansi256 = function (args) { + const r = args[0]; + const g = args[1]; + const b = args[2]; + + // We use the extended greyscale palette here, with the exception of + // black and white. normal palette only has 4 greyscale shades. + if (r === g && g === b) { + if (r < 8) { + return 16; + } + + if (r > 248) { + return 231; + } + + return Math.round(((r - 8) / 247) * 24) + 232; + } + + const ansi = 16 + + (36 * Math.round(r / 255 * 5)) + + (6 * Math.round(g / 255 * 5)) + + Math.round(b / 255 * 5); + + return ansi; +}; + +convert.ansi16.rgb = function (args) { + let color = args % 10; + + // Handle greyscale + if (color === 0 || color === 7) { + if (args > 50) { + color += 3.5; + } + + color = color / 10.5 * 255; + + return [color, color, color]; + } + + const mult = (~~(args > 50) + 1) * 0.5; + const r = ((color & 1) * mult) * 255; + const g = (((color >> 1) & 1) * mult) * 255; + const b = (((color >> 2) & 1) * mult) * 255; + + return [r, g, b]; +}; + +convert.ansi256.rgb = function (args) { + // Handle greyscale + if (args >= 232) { + const c = (args - 232) * 10 + 8; + return [c, c, c]; + } + + args -= 16; + + let rem; + const r = Math.floor(args / 36) / 5 * 255; + const g = Math.floor((rem = args % 36) / 6) / 5 * 255; + const b = (rem % 6) / 5 * 255; + + return [r, g, b]; +}; + +convert.rgb.hex = function (args) { + const integer = ((Math.round(args[0]) & 0xFF) << 16) + + ((Math.round(args[1]) & 0xFF) << 8) + + (Math.round(args[2]) & 0xFF); + + const string = integer.toString(16).toUpperCase(); + return '000000'.substring(string.length) + string; +}; + +convert.hex.rgb = function (args) { + const match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i); + if (!match) { + return [0, 0, 0]; + } + + let colorString = match[0]; + + if (match[0].length === 3) { + colorString = colorString.split('').map(char => { + return char + char; + }).join(''); + } + + const integer = parseInt(colorString, 16); + const r = (integer >> 16) & 0xFF; + const g = (integer >> 8) & 0xFF; + const b = integer & 0xFF; + + return [r, g, b]; +}; + +convert.rgb.hcg = function (rgb) { + const r = rgb[0] / 255; + const g = rgb[1] / 255; + const b = rgb[2] / 255; + const max = Math.max(Math.max(r, g), b); + const min = Math.min(Math.min(r, g), b); + const chroma = (max - min); + let grayscale; + let hue; + + if (chroma < 1) { + grayscale = min / (1 - chroma); + } else { + grayscale = 0; + } + + if (chroma <= 0) { + hue = 0; + } else + if (max === r) { + hue = ((g - b) / chroma) % 6; + } else + if (max === g) { + hue = 2 + (b - r) / chroma; + } else { + hue = 4 + (r - g) / chroma; + } + + hue /= 6; + hue %= 1; + + return [hue * 360, chroma * 100, grayscale * 100]; +}; + +convert.hsl.hcg = function (hsl) { + const s = hsl[1] / 100; + const l = hsl[2] / 100; + + const c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l)); + + let f = 0; + if (c < 1.0) { + f = (l - 0.5 * c) / (1.0 - c); + } + + return [hsl[0], c * 100, f * 100]; +}; + +convert.hsv.hcg = function (hsv) { + const s = hsv[1] / 100; + const v = hsv[2] / 100; + + const c = s * v; + let f = 0; + + if (c < 1.0) { + f = (v - c) / (1 - c); + } + + return [hsv[0], c * 100, f * 100]; +}; + +convert.hcg.rgb = function (hcg) { + const h = hcg[0] / 360; + const c = hcg[1] / 100; + const g = hcg[2] / 100; + + if (c === 0.0) { + return [g * 255, g * 255, g * 255]; + } + + const pure = [0, 0, 0]; + const hi = (h % 1) * 6; + const v = hi % 1; + const w = 1 - v; + let mg = 0; + + /* eslint-disable max-statements-per-line */ + switch (Math.floor(hi)) { + case 0: + pure[0] = 1; pure[1] = v; pure[2] = 0; break; + case 1: + pure[0] = w; pure[1] = 1; pure[2] = 0; break; + case 2: + pure[0] = 0; pure[1] = 1; pure[2] = v; break; + case 3: + pure[0] = 0; pure[1] = w; pure[2] = 1; break; + case 4: + pure[0] = v; pure[1] = 0; pure[2] = 1; break; + default: + pure[0] = 1; pure[1] = 0; pure[2] = w; + } + /* eslint-enable max-statements-per-line */ + + mg = (1.0 - c) * g; + + return [ + (c * pure[0] + mg) * 255, + (c * pure[1] + mg) * 255, + (c * pure[2] + mg) * 255 + ]; +}; + +convert.hcg.hsv = function (hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + + const v = c + g * (1.0 - c); + let f = 0; + + if (v > 0.0) { + f = c / v; + } + + return [hcg[0], f * 100, v * 100]; +}; + +convert.hcg.hsl = function (hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + + const l = g * (1.0 - c) + 0.5 * c; + let s = 0; + + if (l > 0.0 && l < 0.5) { + s = c / (2 * l); + } else + if (l >= 0.5 && l < 1.0) { + s = c / (2 * (1 - l)); + } + + return [hcg[0], s * 100, l * 100]; +}; + +convert.hcg.hwb = function (hcg) { + const c = hcg[1] / 100; + const g = hcg[2] / 100; + const v = c + g * (1.0 - c); + return [hcg[0], (v - c) * 100, (1 - v) * 100]; +}; + +convert.hwb.hcg = function (hwb) { + const w = hwb[1] / 100; + const b = hwb[2] / 100; + const v = 1 - b; + const c = v - w; + let g = 0; + + if (c < 1) { + g = (v - c) / (1 - c); + } + + return [hwb[0], c * 100, g * 100]; +}; + +convert.apple.rgb = function (apple) { + return [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255]; +}; + +convert.rgb.apple = function (rgb) { + return [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535]; +}; + +convert.gray.rgb = function (args) { + return [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255]; +}; + +convert.gray.hsl = function (args) { + return [0, 0, args[0]]; +}; + +convert.gray.hsv = convert.gray.hsl; + +convert.gray.hwb = function (gray) { + return [0, 100, gray[0]]; +}; + +convert.gray.cmyk = function (gray) { + return [0, 0, 0, gray[0]]; +}; + +convert.gray.lab = function (gray) { + return [gray[0], 0, 0]; +}; + +convert.gray.hex = function (gray) { + const val = Math.round(gray[0] / 100 * 255) & 0xFF; + const integer = (val << 16) + (val << 8) + val; + + const string = integer.toString(16).toUpperCase(); + return '000000'.substring(string.length) + string; +}; + +convert.rgb.gray = function (rgb) { + const val = (rgb[0] + rgb[1] + rgb[2]) / 3; + return [val / 255 * 100]; +}; + + +/***/ }), + +/***/ 65024: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const conversions = __nccwpck_require__(5733); +const route = __nccwpck_require__(65328); + +const convert = {}; + +const models = Object.keys(conversions); + +function wrapRaw(fn) { + const wrappedFn = function (...args) { + const arg0 = args[0]; + if (arg0 === undefined || arg0 === null) { + return arg0; + } + + if (arg0.length > 1) { + args = arg0; + } + + return fn(args); + }; + + // Preserve .conversion property if there is one + if ('conversion' in fn) { + wrappedFn.conversion = fn.conversion; + } + + return wrappedFn; +} + +function wrapRounded(fn) { + const wrappedFn = function (...args) { + const arg0 = args[0]; + + if (arg0 === undefined || arg0 === null) { + return arg0; + } + + if (arg0.length > 1) { + args = arg0; + } + + const result = fn(args); + + // We're assuming the result is an array here. + // see notice in conversions.js; don't use box types + // in conversion functions. + if (typeof result === 'object') { + for (let len = result.length, i = 0; i < len; i++) { + result[i] = Math.round(result[i]); + } + } + + return result; + }; + + // Preserve .conversion property if there is one + if ('conversion' in fn) { + wrappedFn.conversion = fn.conversion; + } + + return wrappedFn; +} + +models.forEach(fromModel => { + convert[fromModel] = {}; + + Object.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels}); + Object.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels}); + + const routes = route(fromModel); + const routeModels = Object.keys(routes); + + routeModels.forEach(toModel => { + const fn = routes[toModel]; + + convert[fromModel][toModel] = wrapRounded(fn); + convert[fromModel][toModel].raw = wrapRaw(fn); + }); +}); + +module.exports = convert; + + +/***/ }), + +/***/ 65328: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const conversions = __nccwpck_require__(5733); + +/* + This function routes a model to all other models. + + all functions that are routed have a property `.conversion` attached + to the returned synthetic function. This property is an array + of strings, each with the steps in between the 'from' and 'to' + color models (inclusive). + + conversions that are not possible simply are not included. +*/ + +function buildGraph() { + const graph = {}; + // https://jsperf.com/object-keys-vs-for-in-with-closure/3 + const models = Object.keys(conversions); + + for (let len = models.length, i = 0; i < len; i++) { + graph[models[i]] = { + // http://jsperf.com/1-vs-infinity + // micro-opt, but this is simple. + distance: -1, + parent: null + }; + } + + return graph; +} + +// https://en.wikipedia.org/wiki/Breadth-first_search +function deriveBFS(fromModel) { + const graph = buildGraph(); + const queue = [fromModel]; // Unshift -> queue -> pop + + graph[fromModel].distance = 0; + + while (queue.length) { + const current = queue.pop(); + const adjacents = Object.keys(conversions[current]); + + for (let len = adjacents.length, i = 0; i < len; i++) { + const adjacent = adjacents[i]; + const node = graph[adjacent]; + + if (node.distance === -1) { + node.distance = graph[current].distance + 1; + node.parent = current; + queue.unshift(adjacent); + } + } + } + + return graph; +} + +function link(from, to) { + return function (args) { + return to(from(args)); + }; +} + +function wrapConversion(toModel, graph) { + const path = [graph[toModel].parent, toModel]; + let fn = conversions[graph[toModel].parent][toModel]; + + let cur = graph[toModel].parent; + while (graph[cur].parent) { + path.unshift(graph[cur].parent); + fn = link(conversions[graph[cur].parent][cur], fn); + cur = graph[cur].parent; + } + + fn.conversion = path; + return fn; +} + +module.exports = function (fromModel) { + const graph = deriveBFS(fromModel); + const conversion = {}; + + const models = Object.keys(graph); + for (let len = models.length, i = 0; i < len; i++) { + const toModel = models[i]; + const node = graph[toModel]; + + if (node.parent === null) { + // No possible conversion, or this node is the source model. + continue; + } + + conversion[toModel] = wrapConversion(toModel, graph); + } + + return conversion; +}; + + + +/***/ }), + +/***/ 96288: +/***/ ((module) => { + +"use strict"; + + +module.exports = { + "aliceblue": [240, 248, 255], + "antiquewhite": [250, 235, 215], + "aqua": [0, 255, 255], + "aquamarine": [127, 255, 212], + "azure": [240, 255, 255], + "beige": [245, 245, 220], + "bisque": [255, 228, 196], + "black": [0, 0, 0], + "blanchedalmond": [255, 235, 205], + "blue": [0, 0, 255], + "blueviolet": [138, 43, 226], + "brown": [165, 42, 42], + "burlywood": [222, 184, 135], + "cadetblue": [95, 158, 160], + "chartreuse": [127, 255, 0], + "chocolate": [210, 105, 30], + "coral": [255, 127, 80], + "cornflowerblue": [100, 149, 237], + "cornsilk": [255, 248, 220], + "crimson": [220, 20, 60], + "cyan": [0, 255, 255], + "darkblue": [0, 0, 139], + "darkcyan": [0, 139, 139], + "darkgoldenrod": [184, 134, 11], + "darkgray": [169, 169, 169], + "darkgreen": [0, 100, 0], + "darkgrey": [169, 169, 169], + "darkkhaki": [189, 183, 107], + "darkmagenta": [139, 0, 139], + "darkolivegreen": [85, 107, 47], + "darkorange": [255, 140, 0], + "darkorchid": [153, 50, 204], + "darkred": [139, 0, 0], + "darksalmon": [233, 150, 122], + "darkseagreen": [143, 188, 143], + "darkslateblue": [72, 61, 139], + "darkslategray": [47, 79, 79], + "darkslategrey": [47, 79, 79], + "darkturquoise": [0, 206, 209], + "darkviolet": [148, 0, 211], + "deeppink": [255, 20, 147], + "deepskyblue": [0, 191, 255], + "dimgray": [105, 105, 105], + "dimgrey": [105, 105, 105], + "dodgerblue": [30, 144, 255], + "firebrick": [178, 34, 34], + "floralwhite": [255, 250, 240], + "forestgreen": [34, 139, 34], + "fuchsia": [255, 0, 255], + "gainsboro": [220, 220, 220], + "ghostwhite": [248, 248, 255], + "gold": [255, 215, 0], + "goldenrod": [218, 165, 32], + "gray": [128, 128, 128], + "green": [0, 128, 0], + "greenyellow": [173, 255, 47], + "grey": [128, 128, 128], + "honeydew": [240, 255, 240], + "hotpink": [255, 105, 180], + "indianred": [205, 92, 92], + "indigo": [75, 0, 130], + "ivory": [255, 255, 240], + "khaki": [240, 230, 140], + "lavender": [230, 230, 250], + "lavenderblush": [255, 240, 245], + "lawngreen": [124, 252, 0], + "lemonchiffon": [255, 250, 205], + "lightblue": [173, 216, 230], + "lightcoral": [240, 128, 128], + "lightcyan": [224, 255, 255], + "lightgoldenrodyellow": [250, 250, 210], + "lightgray": [211, 211, 211], + "lightgreen": [144, 238, 144], + "lightgrey": [211, 211, 211], + "lightpink": [255, 182, 193], + "lightsalmon": [255, 160, 122], + "lightseagreen": [32, 178, 170], + "lightskyblue": [135, 206, 250], + "lightslategray": [119, 136, 153], + "lightslategrey": [119, 136, 153], + "lightsteelblue": [176, 196, 222], + "lightyellow": [255, 255, 224], + "lime": [0, 255, 0], + "limegreen": [50, 205, 50], + "linen": [250, 240, 230], + "magenta": [255, 0, 255], + "maroon": [128, 0, 0], + "mediumaquamarine": [102, 205, 170], + "mediumblue": [0, 0, 205], + "mediumorchid": [186, 85, 211], + "mediumpurple": [147, 112, 219], + "mediumseagreen": [60, 179, 113], + "mediumslateblue": [123, 104, 238], + "mediumspringgreen": [0, 250, 154], + "mediumturquoise": [72, 209, 204], + "mediumvioletred": [199, 21, 133], + "midnightblue": [25, 25, 112], + "mintcream": [245, 255, 250], + "mistyrose": [255, 228, 225], + "moccasin": [255, 228, 181], + "navajowhite": [255, 222, 173], + "navy": [0, 0, 128], + "oldlace": [253, 245, 230], + "olive": [128, 128, 0], + "olivedrab": [107, 142, 35], + "orange": [255, 165, 0], + "orangered": [255, 69, 0], + "orchid": [218, 112, 214], + "palegoldenrod": [238, 232, 170], + "palegreen": [152, 251, 152], + "paleturquoise": [175, 238, 238], + "palevioletred": [219, 112, 147], + "papayawhip": [255, 239, 213], + "peachpuff": [255, 218, 185], + "peru": [205, 133, 63], + "pink": [255, 192, 203], + "plum": [221, 160, 221], + "powderblue": [176, 224, 230], + "purple": [128, 0, 128], + "rebeccapurple": [102, 51, 153], + "red": [255, 0, 0], + "rosybrown": [188, 143, 143], + "royalblue": [65, 105, 225], + "saddlebrown": [139, 69, 19], + "salmon": [250, 128, 114], + "sandybrown": [244, 164, 96], + "seagreen": [46, 139, 87], + "seashell": [255, 245, 238], + "sienna": [160, 82, 45], + "silver": [192, 192, 192], + "skyblue": [135, 206, 235], + "slateblue": [106, 90, 205], + "slategray": [112, 128, 144], + "slategrey": [112, 128, 144], + "snow": [255, 250, 250], + "springgreen": [0, 255, 127], + "steelblue": [70, 130, 180], + "tan": [210, 180, 140], + "teal": [0, 128, 128], + "thistle": [216, 191, 216], + "tomato": [255, 99, 71], + "turquoise": [64, 224, 208], + "violet": [238, 130, 238], + "wheat": [245, 222, 179], + "white": [255, 255, 255], + "whitesmoke": [245, 245, 245], + "yellow": [255, 255, 0], + "yellowgreen": [154, 205, 50] +}; + + +/***/ }), + +/***/ 10102: +/***/ ((module) => { + +"use strict"; + + +module.exports = (flag, argv = process.argv) => { + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf('--'); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); +}; + + +/***/ }), + +/***/ 53096: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const os = __nccwpck_require__(22037); +const tty = __nccwpck_require__(76224); +const hasFlag = __nccwpck_require__(10102); + +const {env} = process; + +let forceColor; +if (hasFlag('no-color') || + hasFlag('no-colors') || + hasFlag('color=false') || + hasFlag('color=never')) { + forceColor = 0; +} else if (hasFlag('color') || + hasFlag('colors') || + hasFlag('color=true') || + hasFlag('color=always')) { + forceColor = 1; +} + +if ('FORCE_COLOR' in env) { + if (env.FORCE_COLOR === 'true') { + forceColor = 1; + } else if (env.FORCE_COLOR === 'false') { + forceColor = 0; + } else { + forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); + } +} + +function translateLevel(level) { + if (level === 0) { + return false; + } + + return { + level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3 + }; +} + +function supportsColor(haveStream, streamIsTTY) { + if (forceColor === 0) { + return 0; + } + + if (hasFlag('color=16m') || + hasFlag('color=full') || + hasFlag('color=truecolor')) { + return 3; + } + + if (hasFlag('color=256')) { + return 2; + } + + if (haveStream && !streamIsTTY && forceColor === undefined) { + return 0; + } + + const min = forceColor || 0; + + if (env.TERM === 'dumb') { + return min; + } + + if (process.platform === 'win32') { + // Windows 10 build 10586 is the first Windows release that supports 256 colors. + // Windows 10 build 14931 is the first release that supports 16m/TrueColor. + const osRelease = os.release().split('.'); + if ( + Number(osRelease[0]) >= 10 && + Number(osRelease[2]) >= 10586 + ) { + return Number(osRelease[2]) >= 14931 ? 3 : 2; + } + + return 1; + } + + if ('CI' in env) { + if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') { + return 1; + } + + return min; + } + + if ('TEAMCITY_VERSION' in env) { + return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; + } + + if (env.COLORTERM === 'truecolor') { + return 3; + } + + if ('TERM_PROGRAM' in env) { + const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10); + + switch (env.TERM_PROGRAM) { + case 'iTerm.app': + return version >= 3 ? 3 : 2; + case 'Apple_Terminal': + return 2; + // No default + } + } + + if (/-256(color)?$/i.test(env.TERM)) { + return 2; + } + + if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { + return 1; + } + + if ('COLORTERM' in env) { + return 1; + } + + return min; +} + +function getSupportLevel(stream) { + const level = supportsColor(stream, stream && stream.isTTY); + return translateLevel(level); +} + +module.exports = { + supportsColor: getSupportLevel, + stdout: translateLevel(supportsColor(true, tty.isatty(1))), + stderr: translateLevel(supportsColor(true, tty.isatty(2))) +}; + + +/***/ }), + +/***/ 74907: +/***/ ((module) => { + +"use strict"; + + +var replace = String.prototype.replace; +var percentTwenties = /%20/g; + +var Format = { + RFC1738: 'RFC1738', + RFC3986: 'RFC3986' +}; + +module.exports = { + 'default': Format.RFC3986, + formatters: { + RFC1738: function (value) { + return replace.call(value, percentTwenties, '+'); + }, + RFC3986: function (value) { + return String(value); + } + }, + RFC1738: Format.RFC1738, + RFC3986: Format.RFC3986 +}; + + +/***/ }), + +/***/ 22760: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var stringify = __nccwpck_require__(79954); +var parse = __nccwpck_require__(33912); +var formats = __nccwpck_require__(74907); + +module.exports = { + formats: formats, + parse: parse, + stringify: stringify +}; + + +/***/ }), + +/***/ 33912: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var utils = __nccwpck_require__(72360); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +var defaults = { + allowDots: false, + allowPrototypes: false, + allowSparse: false, + arrayLimit: 20, + charset: 'utf-8', + charsetSentinel: false, + comma: false, + decoder: utils.decode, + delimiter: '&', + depth: 5, + ignoreQueryPrefix: false, + interpretNumericEntities: false, + parameterLimit: 1000, + parseArrays: true, + plainObjects: false, + strictNullHandling: false +}; + +var interpretNumericEntities = function (str) { + return str.replace(/&#(\d+);/g, function ($0, numberStr) { + return String.fromCharCode(parseInt(numberStr, 10)); + }); +}; + +var parseArrayValue = function (val, options) { + if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { + return val.split(','); + } + + return val; +}; + +// This is what browsers will submit when the ✓ character occurs in an +// application/x-www-form-urlencoded body and the encoding of the page containing +// the form is iso-8859-1, or when the submitted form has an accept-charset +// attribute of iso-8859-1. Presumably also with other charsets that do not contain +// the ✓ character, such as us-ascii. +var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') + +// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. +var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') + +var parseValues = function parseQueryStringValues(str, options) { + var obj = {}; + var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; + var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; + var parts = cleanStr.split(options.delimiter, limit); + var skipIndex = -1; // Keep track of where the utf8 sentinel was found + var i; + + var charset = options.charset; + if (options.charsetSentinel) { + for (i = 0; i < parts.length; ++i) { + if (parts[i].indexOf('utf8=') === 0) { + if (parts[i] === charsetSentinel) { + charset = 'utf-8'; + } else if (parts[i] === isoSentinel) { + charset = 'iso-8859-1'; + } + skipIndex = i; + i = parts.length; // The eslint settings do not allow break; + } + } + } + + for (i = 0; i < parts.length; ++i) { + if (i === skipIndex) { + continue; + } + var part = parts[i]; + + var bracketEqualsPos = part.indexOf(']='); + var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; + + var key, val; + if (pos === -1) { + key = options.decoder(part, defaults.decoder, charset, 'key'); + val = options.strictNullHandling ? null : ''; + } else { + key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); + val = utils.maybeMap( + parseArrayValue(part.slice(pos + 1), options), + function (encodedVal) { + return options.decoder(encodedVal, defaults.decoder, charset, 'value'); + } + ); + } + + if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { + val = interpretNumericEntities(val); + } + + if (part.indexOf('[]=') > -1) { + val = isArray(val) ? [val] : val; + } + + if (has.call(obj, key)) { + obj[key] = utils.combine(obj[key], val); + } else { + obj[key] = val; + } + } + + return obj; +}; + +var parseObject = function (chain, val, options, valuesParsed) { + var leaf = valuesParsed ? val : parseArrayValue(val, options); + + for (var i = chain.length - 1; i >= 0; --i) { + var obj; + var root = chain[i]; + + if (root === '[]' && options.parseArrays) { + obj = [].concat(leaf); + } else { + obj = options.plainObjects ? Object.create(null) : {}; + var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; + var index = parseInt(cleanRoot, 10); + if (!options.parseArrays && cleanRoot === '') { + obj = { 0: leaf }; + } else if ( + !isNaN(index) + && root !== cleanRoot + && String(index) === cleanRoot + && index >= 0 + && (options.parseArrays && index <= options.arrayLimit) + ) { + obj = []; + obj[index] = leaf; + } else if (cleanRoot !== '__proto__') { + obj[cleanRoot] = leaf; + } + } + + leaf = obj; + } + + return leaf; +}; + +var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { + if (!givenKey) { + return; + } + + // Transform dot notation to bracket notation + var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; + + // The regex chunks + + var brackets = /(\[[^[\]]*])/; + var child = /(\[[^[\]]*])/g; + + // Get the parent + + var segment = options.depth > 0 && brackets.exec(key); + var parent = segment ? key.slice(0, segment.index) : key; + + // Stash the parent if it exists + + var keys = []; + if (parent) { + // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties + if (!options.plainObjects && has.call(Object.prototype, parent)) { + if (!options.allowPrototypes) { + return; + } + } + + keys.push(parent); + } + + // Loop through children appending to the array until we hit depth + + var i = 0; + while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { + i += 1; + if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { + if (!options.allowPrototypes) { + return; + } + } + keys.push(segment[1]); + } + + // If there's a remainder, just add whatever is left + + if (segment) { + keys.push('[' + key.slice(segment.index) + ']'); + } + + return parseObject(keys, val, options, valuesParsed); +}; + +var normalizeParseOptions = function normalizeParseOptions(opts) { + if (!opts) { + return defaults; + } + + if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { + throw new TypeError('Decoder has to be a function.'); + } + + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; + + return { + allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, + allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, + allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse, + arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, + decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, + delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, + // eslint-disable-next-line no-implicit-coercion, no-extra-parens + depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, + ignoreQueryPrefix: opts.ignoreQueryPrefix === true, + interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, + parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, + parseArrays: opts.parseArrays !== false, + plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (str, opts) { + var options = normalizeParseOptions(opts); + + if (str === '' || str === null || typeof str === 'undefined') { + return options.plainObjects ? Object.create(null) : {}; + } + + var tempObj = typeof str === 'string' ? parseValues(str, options) : str; + var obj = options.plainObjects ? Object.create(null) : {}; + + // Iterate over the keys and setup the new object + + var keys = Object.keys(tempObj); + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); + obj = utils.merge(obj, newObj, options); + } + + if (options.allowSparse === true) { + return obj; + } + + return utils.compact(obj); +}; + + +/***/ }), + +/***/ 79954: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var getSideChannel = __nccwpck_require__(14334); +var utils = __nccwpck_require__(72360); +var formats = __nccwpck_require__(74907); +var has = Object.prototype.hasOwnProperty; + +var arrayPrefixGenerators = { + brackets: function brackets(prefix) { + return prefix + '[]'; + }, + comma: 'comma', + indices: function indices(prefix, key) { + return prefix + '[' + key + ']'; + }, + repeat: function repeat(prefix) { + return prefix; + } +}; + +var isArray = Array.isArray; +var split = String.prototype.split; +var push = Array.prototype.push; +var pushToArray = function (arr, valueOrArray) { + push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); +}; + +var toISO = Date.prototype.toISOString; + +var defaultFormat = formats['default']; +var defaults = { + addQueryPrefix: false, + allowDots: false, + charset: 'utf-8', + charsetSentinel: false, + delimiter: '&', + encode: true, + encoder: utils.encode, + encodeValuesOnly: false, + format: defaultFormat, + formatter: formats.formatters[defaultFormat], + // deprecated + indices: false, + serializeDate: function serializeDate(date) { + return toISO.call(date); + }, + skipNulls: false, + strictNullHandling: false +}; + +var isNonNullishPrimitive = function isNonNullishPrimitive(v) { + return typeof v === 'string' + || typeof v === 'number' + || typeof v === 'boolean' + || typeof v === 'symbol' + || typeof v === 'bigint'; +}; + +var sentinel = {}; + +var stringify = function stringify( + object, + prefix, + generateArrayPrefix, + commaRoundTrip, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + sideChannel +) { + var obj = object; + + var tmpSc = sideChannel; + var step = 0; + var findFlag = false; + while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { + // Where object last appeared in the ref tree + var pos = tmpSc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } else { + findFlag = true; // Break while + } + } + if (typeof tmpSc.get(sentinel) === 'undefined') { + step = 0; + } + } + + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } else if (obj instanceof Date) { + obj = serializeDate(obj); + } else if (generateArrayPrefix === 'comma' && isArray(obj)) { + obj = utils.maybeMap(obj, function (value) { + if (value instanceof Date) { + return serializeDate(value); + } + return value; + }); + } + + if (obj === null) { + if (strictNullHandling) { + return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; + } + + obj = ''; + } + + if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { + if (encoder) { + var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); + if (generateArrayPrefix === 'comma' && encodeValuesOnly) { + var valuesArray = split.call(String(obj), ','); + var valuesJoined = ''; + for (var i = 0; i < valuesArray.length; ++i) { + valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format)); + } + return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined]; + } + return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; + } + return [formatter(prefix) + '=' + formatter(String(obj))]; + } + + var values = []; + + if (typeof obj === 'undefined') { + return values; + } + + var objKeys; + if (generateArrayPrefix === 'comma' && isArray(obj)) { + // we need to join elements in + objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; + } else if (isArray(filter)) { + objKeys = filter; + } else { + var keys = Object.keys(obj); + objKeys = sort ? keys.sort(sort) : keys; + } + + var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix; + + for (var j = 0; j < objKeys.length; ++j) { + var key = objKeys[j]; + var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; + + if (skipNulls && value === null) { + continue; + } + + var keyPrefix = isArray(obj) + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix + : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']'); + + sideChannel.set(object, step); + var valueSideChannel = getSideChannel(); + valueSideChannel.set(sentinel, sideChannel); + pushToArray(values, stringify( + value, + keyPrefix, + generateArrayPrefix, + commaRoundTrip, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + valueSideChannel + )); + } + + return values; +}; + +var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { + if (!opts) { + return defaults; + } + + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + + var charset = opts.charset || defaults.charset; + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + + var format = formats['default']; + if (typeof opts.format !== 'undefined') { + if (!has.call(formats.formatters, opts.format)) { + throw new TypeError('Unknown format option provided.'); + } + format = opts.format; + } + var formatter = formats.formatters[format]; + + var filter = defaults.filter; + if (typeof opts.filter === 'function' || isArray(opts.filter)) { + filter = opts.filter; + } + + return { + addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, + allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, + encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, + encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, + encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, + filter: filter, + format: format, + formatter: formatter, + serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, + skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, + sort: typeof opts.sort === 'function' ? opts.sort : null, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (object, opts) { + var obj = object; + var options = normalizeStringifyOptions(opts); + + var objKeys; + var filter; + + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } else if (isArray(options.filter)) { + filter = options.filter; + objKeys = filter; + } + + var keys = []; + + if (typeof obj !== 'object' || obj === null) { + return ''; + } + + var arrayFormat; + if (opts && opts.arrayFormat in arrayPrefixGenerators) { + arrayFormat = opts.arrayFormat; + } else if (opts && 'indices' in opts) { + arrayFormat = opts.indices ? 'indices' : 'repeat'; + } else { + arrayFormat = 'indices'; + } + + var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') { + throw new TypeError('`commaRoundTrip` must be a boolean, or absent'); + } + var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip; + + if (!objKeys) { + objKeys = Object.keys(obj); + } + + if (options.sort) { + objKeys.sort(options.sort); + } + + var sideChannel = getSideChannel(); + for (var i = 0; i < objKeys.length; ++i) { + var key = objKeys[i]; + + if (options.skipNulls && obj[key] === null) { + continue; + } + pushToArray(keys, stringify( + obj[key], + key, + generateArrayPrefix, + commaRoundTrip, + options.strictNullHandling, + options.skipNulls, + options.encode ? options.encoder : null, + options.filter, + options.sort, + options.allowDots, + options.serializeDate, + options.format, + options.formatter, + options.encodeValuesOnly, + options.charset, + sideChannel + )); + } + + var joined = keys.join(options.delimiter); + var prefix = options.addQueryPrefix === true ? '?' : ''; + + if (options.charsetSentinel) { + if (options.charset === 'iso-8859-1') { + // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark + prefix += 'utf8=%26%2310003%3B&'; + } else { + // encodeURIComponent('✓') + prefix += 'utf8=%E2%9C%93&'; + } + } + + return joined.length > 0 ? prefix + joined : ''; +}; + + +/***/ }), + +/***/ 72360: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var formats = __nccwpck_require__(74907); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +var hexTable = (function () { + var array = []; + for (var i = 0; i < 256; ++i) { + array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); + } + + return array; +}()); + +var compactQueue = function compactQueue(queue) { + while (queue.length > 1) { + var item = queue.pop(); + var obj = item.obj[item.prop]; + + if (isArray(obj)) { + var compacted = []; + + for (var j = 0; j < obj.length; ++j) { + if (typeof obj[j] !== 'undefined') { + compacted.push(obj[j]); + } + } + + item.obj[item.prop] = compacted; + } + } +}; + +var arrayToObject = function arrayToObject(source, options) { + var obj = options && options.plainObjects ? Object.create(null) : {}; + for (var i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + + return obj; +}; + +var merge = function merge(target, source, options) { + /* eslint no-param-reassign: 0 */ + if (!source) { + return target; + } + + if (typeof source !== 'object') { + if (isArray(target)) { + target.push(source); + } else if (target && typeof target === 'object') { + if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { + target[source] = true; + } + } else { + return [target, source]; + } + + return target; + } + + if (!target || typeof target !== 'object') { + return [target].concat(source); + } + + var mergeTarget = target; + if (isArray(target) && !isArray(source)) { + mergeTarget = arrayToObject(target, options); + } + + if (isArray(target) && isArray(source)) { + source.forEach(function (item, i) { + if (has.call(target, i)) { + var targetItem = target[i]; + if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { + target[i] = merge(targetItem, item, options); + } else { + target.push(item); + } + } else { + target[i] = item; + } + }); + return target; + } + + return Object.keys(source).reduce(function (acc, key) { + var value = source[key]; + + if (has.call(acc, key)) { + acc[key] = merge(acc[key], value, options); + } else { + acc[key] = value; + } + return acc; + }, mergeTarget); +}; + +var assign = function assignSingleSource(target, source) { + return Object.keys(source).reduce(function (acc, key) { + acc[key] = source[key]; + return acc; + }, target); +}; + +var decode = function (str, decoder, charset) { + var strWithoutPlus = str.replace(/\+/g, ' '); + if (charset === 'iso-8859-1') { + // unescape never throws, no try...catch needed: + return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); + } + // utf-8 + try { + return decodeURIComponent(strWithoutPlus); + } catch (e) { + return strWithoutPlus; + } +}; + +var encode = function encode(str, defaultEncoder, charset, kind, format) { + // This code was originally written by Brian White (mscdex) for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + + var string = str; + if (typeof str === 'symbol') { + string = Symbol.prototype.toString.call(str); + } else if (typeof str !== 'string') { + string = String(str); + } + + if (charset === 'iso-8859-1') { + return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { + return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; + }); + } + + var out = ''; + for (var i = 0; i < string.length; ++i) { + var c = string.charCodeAt(i); + + if ( + c === 0x2D // - + || c === 0x2E // . + || c === 0x5F // _ + || c === 0x7E // ~ + || (c >= 0x30 && c <= 0x39) // 0-9 + || (c >= 0x41 && c <= 0x5A) // a-z + || (c >= 0x61 && c <= 0x7A) // A-Z + || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) + ) { + out += string.charAt(i); + continue; + } + + if (c < 0x80) { + out = out + hexTable[c]; + continue; + } + + if (c < 0x800) { + out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); + continue; + } + + if (c < 0xD800 || c >= 0xE000) { + out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); + continue; + } + + i += 1; + c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); + /* eslint operator-linebreak: [2, "before"] */ + out += hexTable[0xF0 | (c >> 18)] + + hexTable[0x80 | ((c >> 12) & 0x3F)] + + hexTable[0x80 | ((c >> 6) & 0x3F)] + + hexTable[0x80 | (c & 0x3F)]; + } + + return out; +}; + +var compact = function compact(value) { + var queue = [{ obj: { o: value }, prop: 'o' }]; + var refs = []; + + for (var i = 0; i < queue.length; ++i) { + var item = queue[i]; + var obj = item.obj[item.prop]; + + var keys = Object.keys(obj); + for (var j = 0; j < keys.length; ++j) { + var key = keys[j]; + var val = obj[key]; + if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { + queue.push({ obj: obj, prop: key }); + refs.push(val); + } + } + } + + compactQueue(queue); + + return value; +}; + +var isRegExp = function isRegExp(obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; +}; + +var isBuffer = function isBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); +}; + +var combine = function combine(a, b) { + return [].concat(a, b); +}; + +var maybeMap = function maybeMap(val, fn) { + if (isArray(val)) { + var mapped = []; + for (var i = 0; i < val.length; i += 1) { + mapped.push(fn(val[i])); + } + return mapped; + } + return fn(val); +}; + +module.exports = { + arrayToObject: arrayToObject, + assign: assign, + combine: combine, + compact: compact, + decode: decode, + encode: encode, + isBuffer: isBuffer, + isRegExp: isRegExp, + maybeMap: maybeMap, + merge: merge +}; + + +/***/ }), + +/***/ 21867: +/***/ ((module, exports, __nccwpck_require__) => { + +/* eslint-disable node/no-deprecated-api */ +var buffer = __nccwpck_require__(14300) +var Buffer = buffer.Buffer + +// alternative to using Object.keys for old browsers +function copyProps (src, dst) { + for (var key in src) { + dst[key] = src[key] + } +} +if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { + module.exports = buffer +} else { + // Copy properties from require('buffer') + copyProps(buffer, exports) + exports.Buffer = SafeBuffer +} + +function SafeBuffer (arg, encodingOrOffset, length) { + return Buffer(arg, encodingOrOffset, length) +} + +// Copy static methods from Buffer +copyProps(Buffer, SafeBuffer) + +SafeBuffer.from = function (arg, encodingOrOffset, length) { + if (typeof arg === 'number') { + throw new TypeError('Argument must not be a number') + } + return Buffer(arg, encodingOrOffset, length) +} + +SafeBuffer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + var buf = Buffer(size) + if (fill !== undefined) { + if (typeof encoding === 'string') { + buf.fill(fill, encoding) + } else { + buf.fill(fill) + } + } else { + buf.fill(0) + } + return buf +} + +SafeBuffer.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return Buffer(size) +} + +SafeBuffer.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return buffer.SlowBuffer(size) +} + + +/***/ }), + +/***/ 14334: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var GetIntrinsic = __nccwpck_require__(74538); +var callBound = __nccwpck_require__(28803); +var inspect = __nccwpck_require__(20504); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $WeakMap = GetIntrinsic('%WeakMap%', true); +var $Map = GetIntrinsic('%Map%', true); + +var $weakMapGet = callBound('WeakMap.prototype.get', true); +var $weakMapSet = callBound('WeakMap.prototype.set', true); +var $weakMapHas = callBound('WeakMap.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSet = callBound('Map.prototype.set', true); +var $mapHas = callBound('Map.prototype.has', true); + +/* + * This function traverses the list returning the node corresponding to the + * given key. + * + * That node is also moved to the head of the list, so that if it's accessed + * again we don't need to traverse the whole list. By doing so, all the recently + * used nodes can be accessed relatively quickly. + */ +var listGetNode = function (list, key) { // eslint-disable-line consistent-return + for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { + if (curr.key === key) { + prev.next = curr.next; + curr.next = list.next; + list.next = curr; // eslint-disable-line no-param-reassign + return curr; + } + } +}; + +var listGet = function (objects, key) { + var node = listGetNode(objects, key); + return node && node.value; +}; +var listSet = function (objects, key, value) { + var node = listGetNode(objects, key); + if (node) { + node.value = value; + } else { + // Prepend the new node to the beginning of the list + objects.next = { // eslint-disable-line no-param-reassign + key: key, + next: objects.next, + value: value + }; + } +}; +var listHas = function (objects, key) { + return !!listGetNode(objects, key); +}; + +module.exports = function getSideChannel() { + var $wm; + var $m; + var $o; + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + get: function (key) { // eslint-disable-line consistent-return + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapGet($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapGet($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listGet($o, key); + } + } + }, + has: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapHas($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapHas($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listHas($o, key); + } + } + return false; + }, + set: function (key, value) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if (!$wm) { + $wm = new $WeakMap(); + } + $weakMapSet($wm, key, value); + } else if ($Map) { + if (!$m) { + $m = new $Map(); + } + $mapSet($m, key, value); + } else { + if (!$o) { + /* + * Initialize the linked list as an empty node, so that we don't have + * to special-case handling of the first node: we can always refer to + * it as (previous node).next, instead of something like (list).head + */ + $o = { key: {}, next: null }; + } + listSet($o, key, value); + } + } + }; + return channel; +}; + + +/***/ }), + +/***/ 51496: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const dotProp = __nccwpck_require__(82042); +const arrify = __nccwpck_require__(61546); + +const dotPropGet = dotProp.get; + +module.exports = (array, property) => { + if (!Array.isArray(array)) { + throw new TypeError(`Expected type \`Array\`, got \`${typeof array}\``); + } + + return array.slice().sort((a, b) => { + let returnValue = 0; + + arrify(property).some(element => { + let isDescending; + let x; + let y; + + if (typeof element === 'function') { + x = element(a); + y = element(b); + } else if (typeof element === 'string') { + isDescending = element.charAt(0) === '-'; + element = isDescending ? element.slice(1) : element; + x = dotPropGet(a, element); + y = dotPropGet(b, element); + } else { + x = a; + y = b; + } + + if (x === y) { + returnValue = 0; + return false; + } + + if (y !== 0 && !y) { + returnValue = isDescending ? 1 : -1; + return true; + } + + if (x !== 0 && !x) { + returnValue = isDescending ? -1 : 1; + return true; + } + + if (typeof x === 'string' && typeof y === 'string') { + returnValue = isDescending ? y.localeCompare(x) : x.localeCompare(y); + return returnValue !== 0; + } + + if (isDescending) { + returnValue = x < y ? 1 : -1; + } else { + returnValue = x < y ? -1 : 1; + } + + return true; + }); + + return returnValue; + }); +}; + + +/***/ }), + +/***/ 59318: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const os = __nccwpck_require__(22037); +const hasFlag = __nccwpck_require__(31621); + +const env = process.env; + +let forceColor; +if (hasFlag('no-color') || + hasFlag('no-colors') || + hasFlag('color=false')) { + forceColor = false; +} else if (hasFlag('color') || + hasFlag('colors') || + hasFlag('color=true') || + hasFlag('color=always')) { + forceColor = true; +} +if ('FORCE_COLOR' in env) { + forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0; +} + +function translateLevel(level) { + if (level === 0) { + return false; + } + + return { + level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3 + }; +} + +function supportsColor(stream) { + if (forceColor === false) { + return 0; + } + + if (hasFlag('color=16m') || + hasFlag('color=full') || + hasFlag('color=truecolor')) { + return 3; + } + + if (hasFlag('color=256')) { + return 2; + } + + if (stream && !stream.isTTY && forceColor !== true) { + return 0; + } + + const min = forceColor ? 1 : 0; + + if (process.platform === 'win32') { + // Node.js 7.5.0 is the first version of Node.js to include a patch to + // libuv that enables 256 color output on Windows. Anything earlier and it + // won't work. However, here we target Node.js 8 at minimum as it is an LTS + // release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows + // release that supports 256 colors. Windows 10 build 14931 is the first release + // that supports 16m/TrueColor. + const osRelease = os.release().split('.'); + if ( + Number(process.versions.node.split('.')[0]) >= 8 && + Number(osRelease[0]) >= 10 && + Number(osRelease[2]) >= 10586 + ) { + return Number(osRelease[2]) >= 14931 ? 3 : 2; + } + + return 1; + } + + if ('CI' in env) { + if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') { + return 1; + } + + return min; + } + + if ('TEAMCITY_VERSION' in env) { + return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; + } + + if (env.COLORTERM === 'truecolor') { + return 3; + } + + if ('TERM_PROGRAM' in env) { + const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10); + + switch (env.TERM_PROGRAM) { + case 'iTerm.app': + return version >= 3 ? 3 : 2; + case 'Apple_Terminal': + return 2; + // No default + } + } + + if (/-256(color)?$/i.test(env.TERM)) { + return 2; + } + + if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { + return 1; + } + + if ('COLORTERM' in env) { + return 1; + } + + if (env.TERM === 'dumb') { + return min; + } + + return min; +} + +function getSupportLevel(stream) { + const level = supportsColor(stream); + return translateLevel(level); +} + +module.exports = { + supportsColor: getSupportLevel, + stdout: getSupportLevel(process.stdout), + stderr: getSupportLevel(process.stderr) +}; + + +/***/ }), + +/***/ 18824: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const supportsColor = __nccwpck_require__(31507); +const hasFlag = __nccwpck_require__(37362); + +function parseVersion(versionString) { + if (/^\d{3,4}$/.test(versionString)) { + // Env var doesn't always use dots. example: 4601 => 46.1.0 + const m = /(\d{1,2})(\d{2})/.exec(versionString); + return { + major: 0, + minor: parseInt(m[1], 10), + patch: parseInt(m[2], 10) + }; + } + + const versions = (versionString || '').split('.').map(n => parseInt(n, 10)); + return { + major: versions[0], + minor: versions[1], + patch: versions[2] + }; +} + +function supportsHyperlink(stream) { + const {env} = process; + + if ('FORCE_HYPERLINK' in env) { + return !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0); + } + + if (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) { + return false; + } + + if (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) { + return true; + } + + // If they specify no colors, they probably don't want hyperlinks. + if (!supportsColor.supportsColor(stream)) { + return false; + } + + if (stream && !stream.isTTY) { + return false; + } + + if (process.platform === 'win32') { + return false; + } + + if ('NETLIFY' in env) { + return true; + } + + if ('CI' in env) { + return false; + } + + if ('TEAMCITY_VERSION' in env) { + return false; + } + + if ('TERM_PROGRAM' in env) { + const version = parseVersion(env.TERM_PROGRAM_VERSION); + + switch (env.TERM_PROGRAM) { + case 'iTerm.app': + if (version.major === 3) { + return version.minor >= 1; + } + + return version.major > 3; + // No default + } + } + + if ('VTE_VERSION' in env) { + // 0.50.0 was supposed to support hyperlinks, but throws a segfault + if (env.VTE_VERSION === '0.50.0') { + return false; + } + + const version = parseVersion(env.VTE_VERSION); + return version.major > 0 || version.minor >= 50; + } + + return false; +} + +module.exports = { + supportsHyperlink, + stdout: supportsHyperlink(process.stdout), + stderr: supportsHyperlink(process.stderr) +}; + + +/***/ }), + +/***/ 37362: +/***/ ((module) => { + +"use strict"; + + +module.exports = (flag, argv = process.argv) => { + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf('--'); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); +}; + + +/***/ }), + +/***/ 31507: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const os = __nccwpck_require__(22037); +const tty = __nccwpck_require__(76224); +const hasFlag = __nccwpck_require__(37362); + +const {env} = process; + +let forceColor; +if (hasFlag('no-color') || + hasFlag('no-colors') || + hasFlag('color=false') || + hasFlag('color=never')) { + forceColor = 0; +} else if (hasFlag('color') || + hasFlag('colors') || + hasFlag('color=true') || + hasFlag('color=always')) { + forceColor = 1; +} + +if ('FORCE_COLOR' in env) { + if (env.FORCE_COLOR === 'true') { + forceColor = 1; + } else if (env.FORCE_COLOR === 'false') { + forceColor = 0; + } else { + forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); + } +} + +function translateLevel(level) { + if (level === 0) { + return false; + } + + return { + level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3 + }; +} + +function supportsColor(haveStream, streamIsTTY) { + if (forceColor === 0) { + return 0; + } + + if (hasFlag('color=16m') || + hasFlag('color=full') || + hasFlag('color=truecolor')) { + return 3; + } + + if (hasFlag('color=256')) { + return 2; + } + + if (haveStream && !streamIsTTY && forceColor === undefined) { + return 0; + } + + const min = forceColor || 0; + + if (env.TERM === 'dumb') { + return min; + } + + if (process.platform === 'win32') { + // Windows 10 build 10586 is the first Windows release that supports 256 colors. + // Windows 10 build 14931 is the first release that supports 16m/TrueColor. + const osRelease = os.release().split('.'); + if ( + Number(osRelease[0]) >= 10 && + Number(osRelease[2]) >= 10586 + ) { + return Number(osRelease[2]) >= 14931 ? 3 : 2; + } + + return 1; + } + + if ('CI' in env) { + if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') { + return 1; + } + + return min; + } + + if ('TEAMCITY_VERSION' in env) { + return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0; + } + + if (env.COLORTERM === 'truecolor') { + return 3; + } + + if ('TERM_PROGRAM' in env) { + const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10); + + switch (env.TERM_PROGRAM) { + case 'iTerm.app': + return version >= 3 ? 3 : 2; + case 'Apple_Terminal': + return 2; + // No default + } + } + + if (/-256(color)?$/i.test(env.TERM)) { + return 2; + } + + if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) { + return 1; + } + + if ('COLORTERM' in env) { + return 1; + } + + return min; +} + +function getSupportLevel(stream) { + const level = supportsColor(stream, stream && stream.isTTY); + return translateLevel(level); +} + +module.exports = { + supportsColor: getSupportLevel, + stdout: translateLevel(supportsColor(true, tty.isatty(1))), + stderr: translateLevel(supportsColor(true, tty.isatty(2))) +}; + + +/***/ }), + +/***/ 1898: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +const ansiEscapes = __nccwpck_require__(18512); +const supportsHyperlinks = __nccwpck_require__(18824); + +const terminalLink = (text, url, {target = 'stdout', ...options} = {}) => { + if (!supportsHyperlinks[target]) { + // If the fallback has been explicitly disabled, don't modify the text itself. + if (options.fallback === false) { + return text; + } + + return typeof options.fallback === 'function' ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`; + } + + return ansiEscapes.link(text, url); +}; + +module.exports = (text, url, options = {}) => terminalLink(text, url, options); + +module.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {target: 'stderr', ...options}); + +module.exports.isSupported = supportsHyperlinks.stdout; +module.exports.stderr.isSupported = supportsHyperlinks.stderr; + + +/***/ }), + +/***/ 74294: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(54219); + + +/***/ }), + +/***/ 54219: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +var net = __nccwpck_require__(41808); +var tls = __nccwpck_require__(24404); +var http = __nccwpck_require__(13685); +var https = __nccwpck_require__(95687); +var events = __nccwpck_require__(82361); +var assert = __nccwpck_require__(39491); +var util = __nccwpck_require__(73837); + + +exports.httpOverHttp = httpOverHttp; +exports.httpsOverHttp = httpsOverHttp; +exports.httpOverHttps = httpOverHttps; +exports.httpsOverHttps = httpsOverHttps; + + +function httpOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + return agent; +} + +function httpsOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + +function httpOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + return agent; +} + +function httpsOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + + +function TunnelingAgent(options) { + var self = this; + self.options = options || {}; + self.proxyOptions = self.options.proxy || {}; + self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; + self.requests = []; + self.sockets = []; + + self.on('free', function onFree(socket, host, port, localAddress) { + var options = toOptions(host, port, localAddress); + for (var i = 0, len = self.requests.length; i < len; ++i) { + var pending = self.requests[i]; + if (pending.host === options.host && pending.port === options.port) { + // Detect the request to connect same origin server, + // reuse the connection. + self.requests.splice(i, 1); + pending.request.onSocket(socket); + return; + } + } + socket.destroy(); + self.removeSocket(socket); + }); +} +util.inherits(TunnelingAgent, events.EventEmitter); + +TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { + var self = this; + var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); + + if (self.sockets.length >= this.maxSockets) { + // We are over limit so we'll add it to the queue. + self.requests.push(options); + return; + } + + // If we are under maxSockets create a new one. + self.createSocket(options, function(socket) { + socket.on('free', onFree); + socket.on('close', onCloseOrRemove); + socket.on('agentRemove', onCloseOrRemove); + req.onSocket(socket); + + function onFree() { + self.emit('free', socket, options); + } + + function onCloseOrRemove(err) { + self.removeSocket(socket); + socket.removeListener('free', onFree); + socket.removeListener('close', onCloseOrRemove); + socket.removeListener('agentRemove', onCloseOrRemove); + } + }); +}; + +TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { + var self = this; + var placeholder = {}; + self.sockets.push(placeholder); + + var connectOptions = mergeOptions({}, self.proxyOptions, { + method: 'CONNECT', + path: options.host + ':' + options.port, + agent: false, + headers: { + host: options.host + ':' + options.port + } + }); + if (options.localAddress) { + connectOptions.localAddress = options.localAddress; + } + if (connectOptions.proxyAuth) { + connectOptions.headers = connectOptions.headers || {}; + connectOptions.headers['Proxy-Authorization'] = 'Basic ' + + new Buffer(connectOptions.proxyAuth).toString('base64'); + } + + debug('making CONNECT request'); + var connectReq = self.request(connectOptions); + connectReq.useChunkedEncodingByDefault = false; // for v0.6 + connectReq.once('response', onResponse); // for v0.6 + connectReq.once('upgrade', onUpgrade); // for v0.6 + connectReq.once('connect', onConnect); // for v0.7 or later + connectReq.once('error', onError); + connectReq.end(); + + function onResponse(res) { + // Very hacky. This is necessary to avoid http-parser leaks. + res.upgrade = true; + } + + function onUpgrade(res, socket, head) { + // Hacky. + process.nextTick(function() { + onConnect(res, socket, head); + }); + } + + function onConnect(res, socket, head) { + connectReq.removeAllListeners(); + socket.removeAllListeners(); + + if (res.statusCode !== 200) { + debug('tunneling socket could not be established, statusCode=%d', + res.statusCode); + socket.destroy(); + var error = new Error('tunneling socket could not be established, ' + + 'statusCode=' + res.statusCode); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; + } + if (head.length > 0) { + debug('got illegal response body from proxy'); + socket.destroy(); + var error = new Error('got illegal response body from proxy'); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; + } + debug('tunneling connection has established'); + self.sockets[self.sockets.indexOf(placeholder)] = socket; + return cb(socket); + } + + function onError(cause) { + connectReq.removeAllListeners(); + + debug('tunneling socket could not be established, cause=%s\n', + cause.message, cause.stack); + var error = new Error('tunneling socket could not be established, ' + + 'cause=' + cause.message); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + } +}; + +TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { + var pos = this.sockets.indexOf(socket) + if (pos === -1) { + return; + } + this.sockets.splice(pos, 1); + + var pending = this.requests.shift(); + if (pending) { + // If we have pending requests and a socket gets closed a new one + // needs to be created to take over in the pool for the one that closed. + this.createSocket(pending, function(socket) { + pending.request.onSocket(socket); + }); + } +}; + +function createSecureSocket(options, cb) { + var self = this; + TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { + var hostHeader = options.request.getHeader('host'); + var tlsOptions = mergeOptions({}, self.options, { + socket: socket, + servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host + }); + + // 0 is dummy port for v0.6 + var secureSocket = tls.connect(0, tlsOptions); + self.sockets[self.sockets.indexOf(socket)] = secureSocket; + cb(secureSocket); + }); +} + + +function toOptions(host, port, localAddress) { + if (typeof host === 'string') { // since v0.10 + return { + host: host, + port: port, + localAddress: localAddress + }; + } + return host; // for v0.11 or later +} + +function mergeOptions(target) { + for (var i = 1, len = arguments.length; i < len; ++i) { + var overrides = arguments[i]; + if (typeof overrides === 'object') { + var keys = Object.keys(overrides); + for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { + var k = keys[j]; + if (overrides[k] !== undefined) { + target[k] = overrides[k]; + } + } + } + } + return target; +} + + +var debug; +if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { + debug = function() { + var args = Array.prototype.slice.call(arguments); + if (typeof args[0] === 'string') { + args[0] = 'TUNNEL: ' + args[0]; + } else { + args.unshift('TUNNEL:'); + } + console.error.apply(console, args); + } +} else { + debug = function() {}; +} +exports.debug = debug; // for test + + +/***/ }), + +/***/ 30464: +/***/ (function(module) { + +(function (root, factory) { + if (true) { + module.exports = factory(); + } else {} +}(this, function () { + /** + * @constructor + */ + function UrlTemplate() { + } + + /** + * @private + * @param {string} str + * @return {string} + */ + UrlTemplate.prototype.encodeReserved = function (str) { + return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { + if (!/%[0-9A-Fa-f]/.test(part)) { + part = encodeURI(part).replace(/%5B/g, '[').replace(/%5D/g, ']'); + } + return part; + }).join(''); + }; + + /** + * @private + * @param {string} str + * @return {string} + */ + UrlTemplate.prototype.encodeUnreserved = function (str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function (c) { + return '%' + c.charCodeAt(0).toString(16).toUpperCase(); + }); + } + + /** + * @private + * @param {string} operator + * @param {string} value + * @param {string} key + * @return {string} + */ + UrlTemplate.prototype.encodeValue = function (operator, value, key) { + value = (operator === '+' || operator === '#') ? this.encodeReserved(value) : this.encodeUnreserved(value); + + if (key) { + return this.encodeUnreserved(key) + '=' + value; + } else { + return value; + } + }; + + /** + * @private + * @param {*} value + * @return {boolean} + */ + UrlTemplate.prototype.isDefined = function (value) { + return value !== undefined && value !== null; + }; + + /** + * @private + * @param {string} + * @return {boolean} + */ + UrlTemplate.prototype.isKeyOperator = function (operator) { + return operator === ';' || operator === '&' || operator === '?'; + }; + + /** + * @private + * @param {Object} context + * @param {string} operator + * @param {string} key + * @param {string} modifier + */ + UrlTemplate.prototype.getValues = function (context, operator, key, modifier) { + var value = context[key], + result = []; + + if (this.isDefined(value) && value !== '') { + if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') { + value = value.toString(); + + if (modifier && modifier !== '*') { + value = value.substring(0, parseInt(modifier, 10)); + } + + result.push(this.encodeValue(operator, value, this.isKeyOperator(operator) ? key : null)); + } else { + if (modifier === '*') { + if (Array.isArray(value)) { + value.filter(this.isDefined).forEach(function (value) { + result.push(this.encodeValue(operator, value, this.isKeyOperator(operator) ? key : null)); + }, this); + } else { + Object.keys(value).forEach(function (k) { + if (this.isDefined(value[k])) { + result.push(this.encodeValue(operator, value[k], k)); + } + }, this); + } + } else { + var tmp = []; + + if (Array.isArray(value)) { + value.filter(this.isDefined).forEach(function (value) { + tmp.push(this.encodeValue(operator, value)); + }, this); + } else { + Object.keys(value).forEach(function (k) { + if (this.isDefined(value[k])) { + tmp.push(this.encodeUnreserved(k)); + tmp.push(this.encodeValue(operator, value[k].toString())); + } + }, this); + } + + if (this.isKeyOperator(operator)) { + result.push(this.encodeUnreserved(key) + '=' + tmp.join(',')); + } else if (tmp.length !== 0) { + result.push(tmp.join(',')); + } + } + } + } else { + if (operator === ';') { + if (this.isDefined(value)) { + result.push(this.encodeUnreserved(key)); + } + } else if (value === '' && (operator === '&' || operator === '?')) { + result.push(this.encodeUnreserved(key) + '='); + } else if (value === '') { + result.push(''); + } + } + return result; + }; + + /** + * @param {string} template + * @return {function(Object):string} + */ + UrlTemplate.prototype.parse = function (template) { + var that = this; + var operators = ['+', '#', '.', '/', ';', '?', '&']; + + return { + expand: function (context) { + return template.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g, function (_, expression, literal) { + if (expression) { + var operator = null, + values = []; + + if (operators.indexOf(expression.charAt(0)) !== -1) { + operator = expression.charAt(0); + expression = expression.substr(1); + } + + expression.split(/,/g).forEach(function (variable) { + var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); + values.push.apply(values, that.getValues(context, operator, tmp[1], tmp[2] || tmp[3])); + }); + + if (operator && operator !== '+') { + var separator = ','; + + if (operator === '?') { + separator = '&'; + } else if (operator !== '#') { + separator = operator; + } + return (values.length !== 0 ? operator : '') + values.join(separator); + } else { + return values.join(','); + } + } else { + return that.encodeReserved(literal); + } + }); + } + }; + }; + + return new UrlTemplate(); +})); + + +/***/ }), + +/***/ 75840: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "v1", ({ + enumerable: true, + get: function () { + return _v.default; + } +})); +Object.defineProperty(exports, "v3", ({ + enumerable: true, + get: function () { + return _v2.default; + } +})); +Object.defineProperty(exports, "v4", ({ + enumerable: true, + get: function () { + return _v3.default; + } +})); +Object.defineProperty(exports, "v5", ({ + enumerable: true, + get: function () { + return _v4.default; + } +})); +Object.defineProperty(exports, "NIL", ({ + enumerable: true, + get: function () { + return _nil.default; + } +})); +Object.defineProperty(exports, "version", ({ + enumerable: true, + get: function () { + return _version.default; + } +})); +Object.defineProperty(exports, "validate", ({ + enumerable: true, + get: function () { + return _validate.default; + } +})); +Object.defineProperty(exports, "stringify", ({ + enumerable: true, + get: function () { + return _stringify.default; + } +})); +Object.defineProperty(exports, "parse", ({ + enumerable: true, + get: function () { + return _parse.default; + } +})); + +var _v = _interopRequireDefault(__nccwpck_require__(78628)); + +var _v2 = _interopRequireDefault(__nccwpck_require__(86409)); + +var _v3 = _interopRequireDefault(__nccwpck_require__(85122)); + +var _v4 = _interopRequireDefault(__nccwpck_require__(79120)); + +var _nil = _interopRequireDefault(__nccwpck_require__(25332)); + +var _version = _interopRequireDefault(__nccwpck_require__(81595)); + +var _validate = _interopRequireDefault(__nccwpck_require__(66900)); + +var _stringify = _interopRequireDefault(__nccwpck_require__(18950)); + +var _parse = _interopRequireDefault(__nccwpck_require__(62746)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/***/ }), + +/***/ 4569: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function md5(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + + return _crypto.default.createHash('md5').update(bytes).digest(); +} + +var _default = md5; +exports["default"] = _default; + +/***/ }), + +/***/ 25332: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var _default = '00000000-0000-0000-0000-000000000000'; +exports["default"] = _default; + +/***/ }), + +/***/ 62746: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _validate = _interopRequireDefault(__nccwpck_require__(66900)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function parse(uuid) { + if (!(0, _validate.default)(uuid)) { + throw TypeError('Invalid UUID'); + } + + let v; + const arr = new Uint8Array(16); // Parse ########-....-....-....-............ + + arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; + arr[1] = v >>> 16 & 0xff; + arr[2] = v >>> 8 & 0xff; + arr[3] = v & 0xff; // Parse ........-####-....-....-............ + + arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; + arr[5] = v & 0xff; // Parse ........-....-####-....-............ + + arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; + arr[7] = v & 0xff; // Parse ........-....-....-####-............ + + arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; + arr[9] = v & 0xff; // Parse ........-....-....-....-############ + // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes) + + arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff; + arr[11] = v / 0x100000000 & 0xff; + arr[12] = v >>> 24 & 0xff; + arr[13] = v >>> 16 & 0xff; + arr[14] = v >>> 8 & 0xff; + arr[15] = v & 0xff; + return arr; +} + +var _default = parse; +exports["default"] = _default; + +/***/ }), + +/***/ 40814: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; +exports["default"] = _default; + +/***/ }), + +/***/ 50807: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = rng; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate + +let poolPtr = rnds8Pool.length; + +function rng() { + if (poolPtr > rnds8Pool.length - 16) { + _crypto.default.randomFillSync(rnds8Pool); + + poolPtr = 0; + } + + return rnds8Pool.slice(poolPtr, poolPtr += 16); +} + +/***/ }), + +/***/ 85274: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function sha1(bytes) { + if (Array.isArray(bytes)) { + bytes = Buffer.from(bytes); + } else if (typeof bytes === 'string') { + bytes = Buffer.from(bytes, 'utf8'); + } + + return _crypto.default.createHash('sha1').update(bytes).digest(); +} + +var _default = sha1; +exports["default"] = _default; + +/***/ }), + +/***/ 18950: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(900)); +var _validate = _interopRequireDefault(__nccwpck_require__(66900)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2439,7 +309731,7 @@ exports["default"] = _default; /***/ }), -/***/ 628: +/***/ 78628: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2450,9 +309742,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(807)); +var _rng = _interopRequireDefault(__nccwpck_require__(50807)); -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require__(18950)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2553,7 +309845,7 @@ exports["default"] = _default; /***/ }), -/***/ 409: +/***/ 86409: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2564,9 +309856,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(998)); +var _v = _interopRequireDefault(__nccwpck_require__(65998)); -var _md = _interopRequireDefault(__nccwpck_require__(569)); +var _md = _interopRequireDefault(__nccwpck_require__(4569)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2576,7 +309868,7 @@ exports["default"] = _default; /***/ }), -/***/ 998: +/***/ 65998: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2588,9 +309880,9 @@ Object.defineProperty(exports, "__esModule", ({ exports["default"] = _default; exports.URL = exports.DNS = void 0; -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require__(18950)); -var _parse = _interopRequireDefault(__nccwpck_require__(746)); +var _parse = _interopRequireDefault(__nccwpck_require__(62746)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2661,7 +309953,7 @@ function _default(name, version, hashfunc) { /***/ }), -/***/ 122: +/***/ 85122: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2672,9 +309964,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(807)); +var _rng = _interopRequireDefault(__nccwpck_require__(50807)); -var _stringify = _interopRequireDefault(__nccwpck_require__(950)); +var _stringify = _interopRequireDefault(__nccwpck_require__(18950)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2705,7 +309997,7 @@ exports["default"] = _default; /***/ }), -/***/ 120: +/***/ 79120: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2716,9 +310008,9 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(998)); +var _v = _interopRequireDefault(__nccwpck_require__(65998)); -var _sha = _interopRequireDefault(__nccwpck_require__(274)); +var _sha = _interopRequireDefault(__nccwpck_require__(85274)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2728,7 +310020,7 @@ exports["default"] = _default; /***/ }), -/***/ 900: +/***/ 66900: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2739,7 +310031,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _regex = _interopRequireDefault(__nccwpck_require__(814)); +var _regex = _interopRequireDefault(__nccwpck_require__(40814)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2752,7 +310044,7 @@ exports["default"] = _default; /***/ }), -/***/ 595: +/***/ 81595: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; @@ -2763,7 +310055,7 @@ Object.defineProperty(exports, "__esModule", ({ })); exports["default"] = void 0; -var _validate = _interopRequireDefault(__nccwpck_require__(900)); +var _validate = _interopRequireDefault(__nccwpck_require__(66900)); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -2780,7 +310072,15 @@ exports["default"] = _default; /***/ }), -/***/ 491: +/***/ 22877: +/***/ ((module) => { + +module.exports = eval("require")("encoding"); + + +/***/ }), + +/***/ 39491: /***/ ((module) => { "use strict"; @@ -2788,7 +310088,23 @@ module.exports = require("assert"); /***/ }), -/***/ 113: +/***/ 14300: +/***/ ((module) => { + +"use strict"; +module.exports = require("buffer"); + +/***/ }), + +/***/ 32081: +/***/ ((module) => { + +"use strict"; +module.exports = require("child_process"); + +/***/ }), + +/***/ 6113: /***/ ((module) => { "use strict"; @@ -2796,7 +310112,7 @@ module.exports = require("crypto"); /***/ }), -/***/ 361: +/***/ 82361: /***/ ((module) => { "use strict"; @@ -2804,7 +310120,7 @@ module.exports = require("events"); /***/ }), -/***/ 147: +/***/ 57147: /***/ ((module) => { "use strict"; @@ -2812,7 +310128,7 @@ module.exports = require("fs"); /***/ }), -/***/ 685: +/***/ 13685: /***/ ((module) => { "use strict"; @@ -2820,7 +310136,7 @@ module.exports = require("http"); /***/ }), -/***/ 687: +/***/ 95687: /***/ ((module) => { "use strict"; @@ -2828,7 +310144,7 @@ module.exports = require("https"); /***/ }), -/***/ 808: +/***/ 41808: /***/ ((module) => { "use strict"; @@ -2836,7 +310152,7 @@ module.exports = require("net"); /***/ }), -/***/ 37: +/***/ 22037: /***/ ((module) => { "use strict"; @@ -2844,7 +310160,7 @@ module.exports = require("os"); /***/ }), -/***/ 17: +/***/ 71017: /***/ ((module) => { "use strict"; @@ -2852,7 +310168,31 @@ module.exports = require("path"); /***/ }), -/***/ 404: +/***/ 85477: +/***/ ((module) => { + +"use strict"; +module.exports = require("punycode"); + +/***/ }), + +/***/ 63477: +/***/ ((module) => { + +"use strict"; +module.exports = require("querystring"); + +/***/ }), + +/***/ 12781: +/***/ ((module) => { + +"use strict"; +module.exports = require("stream"); + +/***/ }), + +/***/ 24404: /***/ ((module) => { "use strict"; @@ -2860,12 +310200,60 @@ module.exports = require("tls"); /***/ }), -/***/ 837: +/***/ 76224: +/***/ ((module) => { + +"use strict"; +module.exports = require("tty"); + +/***/ }), + +/***/ 57310: +/***/ ((module) => { + +"use strict"; +module.exports = require("url"); + +/***/ }), + +/***/ 73837: /***/ ((module) => { "use strict"; module.exports = require("util"); +/***/ }), + +/***/ 59796: +/***/ ((module) => { + +"use strict"; +module.exports = require("zlib"); + +/***/ }), + +/***/ 51402: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"name":"google-auth-library","version":"5.10.1","author":"Google Inc.","description":"Google APIs Authentication Client Library for Node.js","engines":{"node":">=8.10.0"},"main":"./build/src/index.js","types":"./build/src/index.d.ts","repository":"googleapis/google-auth-library-nodejs.git","keywords":["google","api","google apis","client","client library"],"dependencies":{"arrify":"^2.0.0","base64-js":"^1.3.0","ecdsa-sig-formatter":"^1.0.11","fast-text-encoding":"^1.0.0","gaxios":"^2.1.0","gcp-metadata":"^3.4.0","gtoken":"^4.1.0","jws":"^4.0.0","lru-cache":"^5.0.0"},"devDependencies":{"@compodoc/compodoc":"^1.1.7","@types/base64-js":"^1.2.5","@types/chai":"^4.1.7","@types/jws":"^3.1.0","@types/lru-cache":"^5.0.0","@types/mocha":"^7.0.0","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/node":"^10.5.1","@types/sinon":"^7.0.0","@types/tmp":"^0.1.0","assert-rejects":"^1.0.0","c8":"^7.0.0","chai":"^4.2.0","codecov":"^3.0.2","eslint":"^6.0.0","eslint-config-prettier":"^6.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-prettier":"^3.0.0","execa":"^4.0.0","gts":"^1.1.2","is-docker":"^2.0.0","js-green-licenses":"^1.0.0","karma":"^4.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-remap-coverage":"^0.1.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.0","keypair":"^1.0.1","linkinator":"^2.0.0","mocha":"^7.0.0","mv":"^2.1.1","ncp":"^2.0.0","nock":"^12.0.0","null-loader":"^3.0.0","prettier":"^1.13.4","puppeteer":"^2.0.0","sinon":"^9.0.0","tmp":"^0.1.0","ts-loader":"^6.0.0","typescript":"3.6.4","webpack":"^4.20.2","webpack-cli":"^3.1.1"},"files":["build/src","!build/src/**/*.map"],"scripts":{"test":"c8 mocha build/test","clean":"gts clean","prepare":"npm run compile","lint":"gts check && eslint \'**/*.js\' && jsgl --local .","compile":"tsc -p .","fix":"gts fix && eslint --fix \'**/*.js\'","pretest":"npm run compile","license-check":"jsgl --local .","docs":"compodoc src/","samples-test":"cd samples/ && npm link ../ && npm test && cd ../","system-test":"mocha build/system-test --timeout 60000","presystem-test":"npm run compile","webpack":"webpack","browser-test":"karma start","docs-test":"linkinator docs","predocs-test":"npm run docs","prelint":"cd samples; npm link ../; npm i"},"license":"Apache-2.0"}'); + +/***/ }), + +/***/ 73396: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"name":"googleapis-common","version":"3.2.2","description":"A common tooling library used by the googleapis npm module. You probably don\'t want to use this directly.","repository":"googleapis/nodejs-googleapis-common","main":"build/src/index.js","types":"build/src/index.d.ts","files":["build/src","!build/src/**/*.map"],"scripts":{"compile":"tsc -p .","test":"c8 mocha build/test","system-test":"mocha build/system-test","presystem-test":"npm run compile","fix":"gts fix","prepare":"npm run compile","pretest":"npm run compile","lint":"gts check","samples-test":"mocha build/samples-test","docs":"compodoc src/","webpack":"webpack","browser-test":"karma start","docs-test":"linkinator docs","predocs-test":"npm run docs","prelint":"cd samples; npm link ../; npm i"},"keywords":[],"author":"Google LLC","license":"Apache-2.0","devDependencies":{"@compodoc/compodoc":"^1.1.9","@types/chai":"^4.1.7","@types/execa":"^0.9.0","@types/extend":"^3.0.1","@types/mocha":"^7.0.0","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/nock":"^10.0.3","@types/qs":"^6.5.3","@types/tmp":"0.1.0","@types/url-template":"^2.0.28","@types/uuid":"^7.0.0","chai":"^4.2.0","codecov":"^3.5.0","gts":"^1.0.0","is-docker":"^2.0.0","karma":"^4.1.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^1.1.0","karma-mocha":"^1.3.0","karma-remap-coverage":"^0.1.5","karma-sourcemap-loader":"^0.3.7","karma-webpack":"^4.0.2","linkinator":"^2.0.0","mocha":"^7.0.0","mv":"^2.1.1","ncp":"^2.0.0","nock":"^12.0.0","null-loader":"^3.0.0","c8":"^7.0.0","puppeteer":"^2.0.0","ts-loader":"^6.0.4","typescript":"3.6.4","webpack":"^4.35.0","webpack-cli":"^3.3.5"},"dependencies":{"extend":"^3.0.2","gaxios":"^2.0.1","google-auth-library":"^5.6.1","qs":"^6.7.0","url-template":"^2.0.8","uuid":"^7.0.0"},"engines":{"node":">=8.10.0"}}'); + +/***/ }), + +/***/ 1907: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]'); + /***/ }) /******/ }); @@ -2882,8 +310270,8 @@ module.exports = require("util"); /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed +/******/ id: moduleId, +/******/ loaded: false, /******/ exports: {} /******/ }; /******/ @@ -2896,11 +310284,23 @@ module.exports = require("util"); /******/ if(threw) delete __webpack_module_cache__[moduleId]; /******/ } /******/ +/******/ // Flag the module as loaded +/******/ module.loaded = true; +/******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ +/******/ /* webpack/runtime/node module decorator */ +/******/ (() => { +/******/ __nccwpck_require__.nmd = (module) => { +/******/ module.paths = []; +/******/ if (!module.children) module.children = []; +/******/ return module; +/******/ }; +/******/ })(); +/******/ /******/ /* webpack/runtime/compat */ /******/ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; @@ -2910,7 +310310,7 @@ module.exports = require("util"); /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined -/******/ var __webpack_exports__ = __nccwpck_require__(109); +/******/ var __webpack_exports__ = __nccwpck_require__(3109); /******/ module.exports = __webpack_exports__; /******/ /******/ })() diff --git a/dist/index.js.map b/dist/index.js.map index 9379b6b..1cd007e 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC5DA;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpBA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AC7BA;AACA;;;;AEDA;AACA;AACA;AACA","sources":["../webpack://psi-action/./lib/main.js","../webpack://psi-action/./lib/wait.js","../webpack://psi-action/./node_modules/@actions/core/lib/command.js","../webpack://psi-action/./node_modules/@actions/core/lib/core.js","../webpack://psi-action/./node_modules/@actions/core/lib/file-command.js","../webpack://psi-action/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://psi-action/./node_modules/@actions/core/lib/path-utils.js","../webpack://psi-action/./node_modules/@actions/core/lib/summary.js","../webpack://psi-action/./node_modules/@actions/core/lib/utils.js","../webpack://psi-action/./node_modules/@actions/http-client/lib/auth.js","../webpack://psi-action/./node_modules/@actions/http-client/lib/index.js","../webpack://psi-action/./node_modules/@actions/http-client/lib/proxy.js","../webpack://psi-action/./node_modules/tunnel/index.js","../webpack://psi-action/./node_modules/tunnel/lib/tunnel.js","../webpack://psi-action/./node_modules/uuid/dist/index.js","../webpack://psi-action/./node_modules/uuid/dist/md5.js","../webpack://psi-action/./node_modules/uuid/dist/nil.js","../webpack://psi-action/./node_modules/uuid/dist/parse.js","../webpack://psi-action/./node_modules/uuid/dist/regex.js","../webpack://psi-action/./node_modules/uuid/dist/rng.js","../webpack://psi-action/./node_modules/uuid/dist/sha1.js","../webpack://psi-action/./node_modules/uuid/dist/stringify.js","../webpack://psi-action/./node_modules/uuid/dist/v1.js","../webpack://psi-action/./node_modules/uuid/dist/v3.js","../webpack://psi-action/./node_modules/uuid/dist/v35.js","../webpack://psi-action/./node_modules/uuid/dist/v4.js","../webpack://psi-action/./node_modules/uuid/dist/v5.js","../webpack://psi-action/./node_modules/uuid/dist/validate.js","../webpack://psi-action/./node_modules/uuid/dist/version.js","../webpack://psi-action/external node-commonjs \"assert\"","../webpack://psi-action/external node-commonjs \"crypto\"","../webpack://psi-action/external node-commonjs \"events\"","../webpack://psi-action/external node-commonjs \"fs\"","../webpack://psi-action/external node-commonjs \"http\"","../webpack://psi-action/external node-commonjs \"https\"","../webpack://psi-action/external node-commonjs \"net\"","../webpack://psi-action/external node-commonjs \"os\"","../webpack://psi-action/external node-commonjs \"path\"","../webpack://psi-action/external node-commonjs \"tls\"","../webpack://psi-action/external node-commonjs \"util\"","../webpack://psi-action/webpack/bootstrap","../webpack://psi-action/webpack/runtime/compat","../webpack://psi-action/webpack/before-startup","../webpack://psi-action/webpack/startup","../webpack://psi-action/webpack/after-startup"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst core = __importStar(require(\"@actions/core\"));\nconst wait_1 = require(\"./wait\");\nfunction run() {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const ms = core.getInput('milliseconds');\n core.debug(`Waiting ${ms} milliseconds ...`); // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true\n core.debug(new Date().toTimeString());\n yield (0, wait_1.wait)(parseInt(ms, 10));\n core.debug(new Date().toTimeString());\n core.setOutput('time', new Date().toTimeString());\n }\n catch (error) {\n if (error instanceof Error)\n core.setFailed(error.message);\n }\n });\n}\nrun();\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.wait = void 0;\nfunction wait(milliseconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => {\n if (isNaN(milliseconds)) {\n throw new Error('milliseconds not a number');\n }\n setTimeout(() => resolve('done!'), milliseconds);\n });\n });\n}\nexports.wait = wait;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('ENV', file_command_1.prepareKeyValueMessage(name, val));\n }\n command_1.issueCommand('set-env', { name }, convertedVal);\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueFileCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('OUTPUT', file_command_1.prepareKeyValueMessage(name, value));\n }\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('STATE', file_command_1.prepareKeyValueMessage(name, value));\n }\n command_1.issueCommand('save-state', { name }, utils_1.toCommandValue(value));\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepareKeyValueMessage = exports.issueFileCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst uuid_1 = require(\"uuid\");\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueFileCommand = issueFileCommand;\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${uuid_1.v4()}`;\n const convertedValue = utils_1.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n return new URL(proxyVar);\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n//# sourceMappingURL=proxy.js.map","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.default)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\nexports.URL = exports.DNS = void 0;\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction _default(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nvar _default = version;\nexports.default = _default;","module.exports = require(\"assert\");","module.exports = require(\"crypto\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"tls\");","module.exports = require(\"util\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(109);\n",""],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"index.js","mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC72FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpHA;AACA;AACA;;;;;;;;;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnDA;AACA;AACA;AACA;AACA;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3qBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACruBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3jBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7xCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACr6CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC95BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC35BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACj3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACp5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1iEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5nEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChyCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpyCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxhCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxhCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3iBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1sCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACllCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3wDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtsCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACp1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5fA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5fA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/ZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3ZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACn/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACziBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1nBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1nBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1WA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1WA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACz5pBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClpkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrifA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/jEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/lEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9mCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1hGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxyFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3kDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9jCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5jBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC99DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACp+DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvlCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvuNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/uNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3sCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxyEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACthGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3uBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3uBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACv+CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5iCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACniBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC58BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1WA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1oDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/dA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7wBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7WA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACntEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1zFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/hDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1jCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1gBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9fA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9fA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxlBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACn1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7vBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/jBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5xBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5xBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7mBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1vBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9lDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5hDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3sDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1pDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/jFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACleA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/iCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1nBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACv9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7zCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1dA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1dA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACp7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACzCA;AACA;AACA;AACA;AACA;;;;;;;;;ACJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChGA;AACA;AACA;AACA;;;;;;;;ACHA;;;;;;;ACAA;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChqDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClkCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/iCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/uCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACnRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACjjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxuCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACxSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AClaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACj0DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACptBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACzrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC11FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACpwGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC/fA;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC9IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8FA;;;;;;;;;;;;;;;;;;;;;;;;;;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACxOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACt0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AChGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACvJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACrUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AClIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;ACtIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvQA;AACA;AACA;AACA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;AC/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;ACpBA;;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AChCA;AACA;AACA;AACA;AACA;;;;ACJA;AACA;;;;AEDA;AACA;AACA;AACA","sources":["../webpack://psi-action/./lib/main.js","../webpack://psi-action/./node_modules/@actions/core/lib/command.js","../webpack://psi-action/./node_modules/@actions/core/lib/core.js","../webpack://psi-action/./node_modules/@actions/core/lib/file-command.js","../webpack://psi-action/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://psi-action/./node_modules/@actions/core/lib/path-utils.js","../webpack://psi-action/./node_modules/@actions/core/lib/summary.js","../webpack://psi-action/./node_modules/@actions/core/lib/utils.js","../webpack://psi-action/./node_modules/@actions/http-client/lib/auth.js","../webpack://psi-action/./node_modules/@actions/http-client/lib/index.js","../webpack://psi-action/./node_modules/@actions/http-client/lib/proxy.js","../webpack://psi-action/./node_modules/agent-base/dist/src/index.js","../webpack://psi-action/./node_modules/agent-base/dist/src/promisify.js","../webpack://psi-action/./node_modules/ansi-escapes/index.js","../webpack://psi-action/./node_modules/arrify/index.js","../webpack://psi-action/./node_modules/base64-js/index.js","../webpack://psi-action/./node_modules/bignumber.js/bignumber.js","../webpack://psi-action/./node_modules/buffer-equal-constant-time/index.js","../webpack://psi-action/./node_modules/call-bind/callBound.js","../webpack://psi-action/./node_modules/call-bind/index.js","../webpack://psi-action/./node_modules/debug/src/browser.js","../webpack://psi-action/./node_modules/debug/src/common.js","../webpack://psi-action/./node_modules/debug/src/index.js","../webpack://psi-action/./node_modules/debug/src/node.js","../webpack://psi-action/./node_modules/dot-prop/index.js","../webpack://psi-action/./node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js","../webpack://psi-action/./node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js","../webpack://psi-action/./node_modules/extend/index.js","../webpack://psi-action/./node_modules/fast-text-encoding/text.min.js","../webpack://psi-action/./node_modules/function-bind/implementation.js","../webpack://psi-action/./node_modules/function-bind/index.js","../webpack://psi-action/./node_modules/gaxios/build/src/common.js","../webpack://psi-action/./node_modules/gaxios/build/src/gaxios.js","../webpack://psi-action/./node_modules/gaxios/build/src/index.js","../webpack://psi-action/./node_modules/gaxios/build/src/retry.js","../webpack://psi-action/./node_modules/gcp-metadata/build/src/index.js","../webpack://psi-action/./node_modules/get-intrinsic/index.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/authclient.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/computeclient.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/envDetect.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/googleauth.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/iam.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/idtokenclient.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/jwtaccess.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/jwtclient.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/loginticket.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/oauth2client.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/auth/refreshclient.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/crypto/browser/crypto.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/crypto/crypto.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/crypto/node/crypto.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/index.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/messages.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/options.js","../webpack://psi-action/./node_modules/google-auth-library/build/src/transporters.js","../webpack://psi-action/./node_modules/google-auth-library/node_modules/lru-cache/index.js","../webpack://psi-action/./node_modules/google-auth-library/node_modules/yallist/iterator.js","../webpack://psi-action/./node_modules/google-auth-library/node_modules/yallist/yallist.js","../webpack://psi-action/./node_modules/google-p12-pem/build/src/index.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/apiIndex.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/apirequest.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/authplus.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/discovery.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/endpoint.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/index.js","../webpack://psi-action/./node_modules/googleapis-common/build/src/isbrowser.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/bytesToUuid.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/index.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/md5.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/rng.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/sha1.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/v1.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/v3.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/v35.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/v4.js","../webpack://psi-action/./node_modules/googleapis-common/node_modules/uuid/dist/v5.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/abusiveexperiencereport/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/abusiveexperiencereport/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/acceleratedmobilepageurl/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/accessapproval/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/accessapproval/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/accesscontextmanager/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/accesscontextmanager/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/accesscontextmanager/v1beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexchangebuyer/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexchangebuyer/v1.2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexchangebuyer/v1.3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexchangebuyer/v1.4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexchangebuyer2/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexchangebuyer2/v2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexperiencereport/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adexperiencereport/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/admin/datatransfer_v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/admin/directory_v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/admin/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/admin/reports_v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adsense/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adsense/v1.4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adsensehost/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/adsensehost/v4.1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/alertcenter/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/alertcenter/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/analytics/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/analytics/v2.4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/analytics/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/analyticsreporting/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/analyticsreporting/v4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androiddeviceprovisioning/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androiddeviceprovisioning/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidenterprise/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidenterprise/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidmanagement/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidmanagement/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidpublisher/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidpublisher/v1.1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidpublisher/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidpublisher/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/androidpublisher/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/appengine/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/appengine/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/appengine/v1alpha.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/appengine/v1beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/appsactivity/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/appsactivity/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigquery/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigquery/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigqueryconnection/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigqueryconnection/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigquerydatatransfer/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigquerydatatransfer/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigqueryreservation/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigqueryreservation/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigqueryreservation/v1alpha2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigqueryreservation/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigtableadmin/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigtableadmin/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/bigtableadmin/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/billingbudgets/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/billingbudgets/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/binaryauthorization/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/binaryauthorization/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/binaryauthorization/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/blogger/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/blogger/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/blogger/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/books/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/books/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/calendar/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/calendar/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/chat/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/chat/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/civicinfo/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/civicinfo/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/classroom/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/classroom/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudasset/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudasset/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudasset/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudbilling/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudbilling/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudbuild/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudbuild/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudbuild/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/clouddebugger/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/clouddebugger/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/clouderrorreporting/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/clouderrorreporting/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudfunctions/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudfunctions/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudfunctions/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudidentity/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudidentity/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudidentity/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudiot/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudiot/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudkms/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudkms/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudprivatecatalog/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudprivatecatalog/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudprivatecatalogproducer/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudprivatecatalogproducer/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudprofiler/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudprofiler/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudresourcemanager/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudresourcemanager/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudresourcemanager/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudresourcemanager/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudresourcemanager/v2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudscheduler/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudscheduler/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudscheduler/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudsearch/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudsearch/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudshell/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudshell/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudshell/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtasks/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtasks/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtasks/v2beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtasks/v2beta3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtrace/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtrace/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/cloudtrace/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/commentanalyzer/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/commentanalyzer/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/composer/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/composer/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/composer/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/compute/alpha.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/compute/beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/compute/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/compute/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/container/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/container/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/container/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/containeranalysis/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/containeranalysis/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/containeranalysis/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/content/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/content/v2.1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/content/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/customsearch/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/customsearch/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datacatalog/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datacatalog/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dataflow/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dataflow/v1b3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datafusion/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datafusion/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dataproc/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dataproc/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dataproc/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datastore/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datastore/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datastore/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/datastore/v1beta3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/deploymentmanager/alpha.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/deploymentmanager/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/deploymentmanager/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/deploymentmanager/v2beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dfareporting/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dfareporting/v3.3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dfareporting/v3.4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dialogflow/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dialogflow/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dialogflow/v2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/digitalassetlinks/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/digitalassetlinks/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/discovery/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/discovery/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dlp/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dlp/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dns/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dns/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dns/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/dns/v2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/docs/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/docs/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/domainsrdap/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/domainsrdap/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/doubleclickbidmanager/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/doubleclickbidmanager/v1.1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/doubleclickbidmanager/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/doubleclicksearch/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/doubleclicksearch/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/drive/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/drive/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/drive/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/driveactivity/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/driveactivity/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/factchecktools/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/factchecktools/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/fcm/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/fcm/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/file/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/file/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/file/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebase/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebase/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebasedynamiclinks/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebasedynamiclinks/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebasehosting/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebasehosting/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebaserules/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firebaserules/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firestore/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firestore/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firestore/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/firestore/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/fitness/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/fitness/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/games/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/games/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/gamesConfiguration/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/gamesConfiguration/v1configuration.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/gamesManagement/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/gamesManagement/v1management.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/genomics/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/genomics/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/genomics/v1alpha2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/genomics/v2alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/gmail/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/gmail/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/groupsmigration/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/groupsmigration/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/groupssettings/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/groupssettings/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/healthcare/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/healthcare/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/homegraph/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/homegraph/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iam/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iam/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iamcredentials/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iamcredentials/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iap/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iap/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/iap/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/identitytoolkit/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/identitytoolkit/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/indexing/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/indexing/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/jobs/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/jobs/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/jobs/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/jobs/v3p1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/kgsearch/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/kgsearch/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/language/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/language/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/language/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/language/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/libraryagent/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/libraryagent/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/licensing/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/licensing/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/lifesciences/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/lifesciences/v2beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/logging/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/logging/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/manufacturers/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/manufacturers/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/mirror/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/mirror/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/ml/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/ml/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/monitoring/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/monitoring/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/monitoring/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oauth2/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oauth2/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oauth2/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oslogin/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oslogin/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oslogin/v1alpha.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/oslogin/v1beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pagespeedonline/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pagespeedonline/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pagespeedonline/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pagespeedonline/v4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pagespeedonline/v5.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/people/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/people/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/playcustomapp/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/playcustomapp/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/plus/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/plus/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/plusDomains/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/plusDomains/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/policytroubleshooter/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/policytroubleshooter/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/policytroubleshooter/v1beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/poly/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/poly/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/prod_tt_sasportal/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/prod_tt_sasportal/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/proximitybeacon/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/proximitybeacon/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pubsub/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pubsub/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pubsub/v1beta1a.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/pubsub/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/recommender/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/recommender/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/redis/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/redis/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/redis/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/remotebuildexecution/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/remotebuildexecution/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/remotebuildexecution/v1alpha.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/remotebuildexecution/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/replicapool/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/replicapool/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/reseller/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/reseller/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/run/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/run/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/run/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/run/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/runtimeconfig/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/runtimeconfig/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/runtimeconfig/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/safebrowsing/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/safebrowsing/v4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sasportal/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sasportal/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/script/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/script/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/secretmanager/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/secretmanager/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/securitycenter/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/securitycenter/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/securitycenter/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/securitycenter/v1p1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/securitycenter/v1p1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicebroker/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicebroker/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicebroker/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicebroker/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/serviceconsumermanagement/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/serviceconsumermanagement/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicecontrol/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicecontrol/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicemanagement/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicemanagement/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicenetworking/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicenetworking/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/servicenetworking/v1beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/serviceusage/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/serviceusage/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/serviceusage/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sheets/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sheets/v4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/siteVerification/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/siteVerification/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/slides/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/slides/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sourcerepo/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sourcerepo/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/spanner/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/spanner/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/speech/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/speech/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/speech/v1p1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/speech/v2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sql/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/sql/v1beta4.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/storage/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/storage/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/storage/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/storagetransfer/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/storagetransfer/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/streetviewpublish/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/streetviewpublish/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tagmanager/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tagmanager/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tagmanager/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tasks/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tasks/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/testing/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/testing/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/texttospeech/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/texttospeech/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/texttospeech/v1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/toolresults/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/toolresults/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/toolresults/v1beta3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tpu/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tpu/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/tpu/v1alpha1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/translate/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/translate/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/translate/v3beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/vault/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/vault/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/verifiedaccess/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/verifiedaccess/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/videointelligence/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/videointelligence/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/videointelligence/v1beta2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/videointelligence/v1p1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/videointelligence/v1p2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/videointelligence/v1p3beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/vision/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/vision/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/vision/v1p1beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/vision/v1p2beta1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/webfonts/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/webfonts/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/webmasters/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/webmasters/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/websecurityscanner/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/websecurityscanner/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/websecurityscanner/v1alpha.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/websecurityscanner/v1beta.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtube/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtube/v3.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtubeAnalytics/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtubeAnalytics/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtubeAnalytics/v2.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtubereporting/index.js","../webpack://psi-action/./node_modules/googleapis/build/src/apis/youtubereporting/v1.js","../webpack://psi-action/./node_modules/googleapis/build/src/googleapis.js","../webpack://psi-action/./node_modules/googleapis/build/src/index.js","../webpack://psi-action/./node_modules/gtoken/build/src/index.js","../webpack://psi-action/./node_modules/has-flag/index.js","../webpack://psi-action/./node_modules/has-symbols/index.js","../webpack://psi-action/./node_modules/has-symbols/shams.js","../webpack://psi-action/./node_modules/has/src/index.js","../webpack://psi-action/./node_modules/https-proxy-agent/dist/agent.js","../webpack://psi-action/./node_modules/https-proxy-agent/dist/index.js","../webpack://psi-action/./node_modules/https-proxy-agent/dist/parse-proxy-response.js","../webpack://psi-action/./node_modules/humanize-url/index.js","../webpack://psi-action/./node_modules/is-obj/index.js","../webpack://psi-action/./node_modules/is-stream/index.js","../webpack://psi-action/./node_modules/json-bigint/index.js","../webpack://psi-action/./node_modules/json-bigint/lib/parse.js","../webpack://psi-action/./node_modules/json-bigint/lib/stringify.js","../webpack://psi-action/./node_modules/jwa/index.js","../webpack://psi-action/./node_modules/jws/index.js","../webpack://psi-action/./node_modules/jws/lib/data-stream.js","../webpack://psi-action/./node_modules/jws/lib/sign-stream.js","../webpack://psi-action/./node_modules/jws/lib/tostring.js","../webpack://psi-action/./node_modules/jws/lib/verify-stream.js","../webpack://psi-action/./node_modules/mime/Mime.js","../webpack://psi-action/./node_modules/mime/index.js","../webpack://psi-action/./node_modules/mime/types/other.js","../webpack://psi-action/./node_modules/mime/types/standard.js","../webpack://psi-action/./node_modules/ms/index.js","../webpack://psi-action/./node_modules/node-fetch/lib/index.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/tr46/index.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js","../webpack://psi-action/./node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js","../webpack://psi-action/./node_modules/node-forge/lib/aes.js","../webpack://psi-action/./node_modules/node-forge/lib/aesCipherSuites.js","../webpack://psi-action/./node_modules/node-forge/lib/asn1-validator.js","../webpack://psi-action/./node_modules/node-forge/lib/asn1.js","../webpack://psi-action/./node_modules/node-forge/lib/baseN.js","../webpack://psi-action/./node_modules/node-forge/lib/cipher.js","../webpack://psi-action/./node_modules/node-forge/lib/cipherModes.js","../webpack://psi-action/./node_modules/node-forge/lib/debug.js","../webpack://psi-action/./node_modules/node-forge/lib/des.js","../webpack://psi-action/./node_modules/node-forge/lib/ed25519.js","../webpack://psi-action/./node_modules/node-forge/lib/forge.js","../webpack://psi-action/./node_modules/node-forge/lib/hmac.js","../webpack://psi-action/./node_modules/node-forge/lib/index.js","../webpack://psi-action/./node_modules/node-forge/lib/jsbn.js","../webpack://psi-action/./node_modules/node-forge/lib/kem.js","../webpack://psi-action/./node_modules/node-forge/lib/log.js","../webpack://psi-action/./node_modules/node-forge/lib/md.all.js","../webpack://psi-action/./node_modules/node-forge/lib/md.js","../webpack://psi-action/./node_modules/node-forge/lib/md5.js","../webpack://psi-action/./node_modules/node-forge/lib/mgf.js","../webpack://psi-action/./node_modules/node-forge/lib/mgf1.js","../webpack://psi-action/./node_modules/node-forge/lib/oids.js","../webpack://psi-action/./node_modules/node-forge/lib/pbe.js","../webpack://psi-action/./node_modules/node-forge/lib/pbkdf2.js","../webpack://psi-action/./node_modules/node-forge/lib/pem.js","../webpack://psi-action/./node_modules/node-forge/lib/pkcs1.js","../webpack://psi-action/./node_modules/node-forge/lib/pkcs12.js","../webpack://psi-action/./node_modules/node-forge/lib/pkcs7.js","../webpack://psi-action/./node_modules/node-forge/lib/pkcs7asn1.js","../webpack://psi-action/./node_modules/node-forge/lib/pki.js","../webpack://psi-action/./node_modules/node-forge/lib/prime.js","../webpack://psi-action/./node_modules/node-forge/lib/prng.js","../webpack://psi-action/./node_modules/node-forge/lib/pss.js","../webpack://psi-action/./node_modules/node-forge/lib/random.js","../webpack://psi-action/./node_modules/node-forge/lib/rc2.js","../webpack://psi-action/./node_modules/node-forge/lib/rsa.js","../webpack://psi-action/./node_modules/node-forge/lib/sha1.js","../webpack://psi-action/./node_modules/node-forge/lib/sha256.js","../webpack://psi-action/./node_modules/node-forge/lib/sha512.js","../webpack://psi-action/./node_modules/node-forge/lib/ssh.js","../webpack://psi-action/./node_modules/node-forge/lib/task.js","../webpack://psi-action/./node_modules/node-forge/lib/tls.js","../webpack://psi-action/./node_modules/node-forge/lib/util.js","../webpack://psi-action/./node_modules/node-forge/lib/x509.js","../webpack://psi-action/./node_modules/normalize-url/index.js","../webpack://psi-action/./node_modules/object-inspect/index.js","../webpack://psi-action/./node_modules/object-inspect/util.inspect.js","../webpack://psi-action/./node_modules/parse-ms/index.js","../webpack://psi-action/./node_modules/pify/index.js","../webpack://psi-action/./node_modules/prepend-http/index.js","../webpack://psi-action/./node_modules/pretty-ms/index.js","../webpack://psi-action/./node_modules/psi/index.js","../webpack://psi-action/./node_modules/psi/lib/formats/cli.js","../webpack://psi-action/./node_modules/psi/lib/formats/json.js","../webpack://psi-action/./node_modules/psi/lib/formats/tap.js","../webpack://psi-action/./node_modules/psi/lib/options-handler.js","../webpack://psi-action/./node_modules/psi/lib/output.js","../webpack://psi-action/./node_modules/psi/lib/string-utils.js","../webpack://psi-action/./node_modules/psi/lib/utils.js","../webpack://psi-action/./node_modules/psi/node_modules/ansi-styles/index.js","../webpack://psi-action/./node_modules/psi/node_modules/chalk/source/index.js","../webpack://psi-action/./node_modules/psi/node_modules/chalk/source/templates.js","../webpack://psi-action/./node_modules/psi/node_modules/chalk/source/util.js","../webpack://psi-action/./node_modules/psi/node_modules/color-convert/conversions.js","../webpack://psi-action/./node_modules/psi/node_modules/color-convert/index.js","../webpack://psi-action/./node_modules/psi/node_modules/color-convert/route.js","../webpack://psi-action/./node_modules/psi/node_modules/color-name/index.js","../webpack://psi-action/./node_modules/psi/node_modules/has-flag/index.js","../webpack://psi-action/./node_modules/psi/node_modules/supports-color/index.js","../webpack://psi-action/./node_modules/qs/lib/formats.js","../webpack://psi-action/./node_modules/qs/lib/index.js","../webpack://psi-action/./node_modules/qs/lib/parse.js","../webpack://psi-action/./node_modules/qs/lib/stringify.js","../webpack://psi-action/./node_modules/qs/lib/utils.js","../webpack://psi-action/./node_modules/safe-buffer/index.js","../webpack://psi-action/./node_modules/side-channel/index.js","../webpack://psi-action/./node_modules/sort-on/index.js","../webpack://psi-action/./node_modules/supports-color/index.js","../webpack://psi-action/./node_modules/supports-hyperlinks/index.js","../webpack://psi-action/./node_modules/supports-hyperlinks/node_modules/has-flag/index.js","../webpack://psi-action/./node_modules/supports-hyperlinks/node_modules/supports-color/index.js","../webpack://psi-action/./node_modules/terminal-link/index.js","../webpack://psi-action/./node_modules/tunnel/index.js","../webpack://psi-action/./node_modules/tunnel/lib/tunnel.js","../webpack://psi-action/./node_modules/url-template/lib/url-template.js","../webpack://psi-action/./node_modules/uuid/dist/index.js","../webpack://psi-action/./node_modules/uuid/dist/md5.js","../webpack://psi-action/./node_modules/uuid/dist/nil.js","../webpack://psi-action/./node_modules/uuid/dist/parse.js","../webpack://psi-action/./node_modules/uuid/dist/regex.js","../webpack://psi-action/./node_modules/uuid/dist/rng.js","../webpack://psi-action/./node_modules/uuid/dist/sha1.js","../webpack://psi-action/./node_modules/uuid/dist/stringify.js","../webpack://psi-action/./node_modules/uuid/dist/v1.js","../webpack://psi-action/./node_modules/uuid/dist/v3.js","../webpack://psi-action/./node_modules/uuid/dist/v35.js","../webpack://psi-action/./node_modules/uuid/dist/v4.js","../webpack://psi-action/./node_modules/uuid/dist/v5.js","../webpack://psi-action/./node_modules/uuid/dist/validate.js","../webpack://psi-action/./node_modules/uuid/dist/version.js","../webpack://psi-action/./node_modules/@vercel/ncc/dist/ncc/@@notfound.js","../webpack://psi-action/external node-commonjs \"assert\"","../webpack://psi-action/external node-commonjs \"buffer\"","../webpack://psi-action/external node-commonjs \"child_process\"","../webpack://psi-action/external node-commonjs \"crypto\"","../webpack://psi-action/external node-commonjs \"events\"","../webpack://psi-action/external node-commonjs \"fs\"","../webpack://psi-action/external node-commonjs \"http\"","../webpack://psi-action/external node-commonjs \"https\"","../webpack://psi-action/external node-commonjs \"net\"","../webpack://psi-action/external node-commonjs \"os\"","../webpack://psi-action/external node-commonjs \"path\"","../webpack://psi-action/external node-commonjs \"punycode\"","../webpack://psi-action/external node-commonjs \"querystring\"","../webpack://psi-action/external node-commonjs \"stream\"","../webpack://psi-action/external node-commonjs \"tls\"","../webpack://psi-action/external node-commonjs \"tty\"","../webpack://psi-action/external node-commonjs \"url\"","../webpack://psi-action/external node-commonjs \"util\"","../webpack://psi-action/external node-commonjs \"zlib\"","../webpack://psi-action/webpack/bootstrap","../webpack://psi-action/webpack/runtime/node module decorator","../webpack://psi-action/webpack/runtime/compat","../webpack://psi-action/webpack/before-startup","../webpack://psi-action/webpack/startup","../webpack://psi-action/webpack/after-startup"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst core = __importStar(require(\"@actions/core\"));\nconst psi_1 = __importDefault(require(\"psi\"));\nfunction run() {\n var _a, _b, _c, _d, _e, _f, _g;\n return __awaiter(this, void 0, void 0, function* () {\n try {\n const url = core.getInput('url');\n const key = core.getInput('key');\n const strategyInput = core.getInput('strategy');\n let strategy = 'desktop';\n if (strategyInput === 'mobile')\n strategy = strategyInput;\n const data = yield (0, psi_1.default)(url, {\n key,\n strategy\n });\n const lighthouseResult = data.data.lighthouseResult;\n const fieldData = data.data.loadingExperience.metrics;\n const score = Math.round(lighthouseResult.categories.performance.score * 100);\n const fcp = ((_a = fieldData.FIRST_CONTENTFUL_PAINT_MS) === null || _a === void 0 ? void 0 : _a.percentile) || 0;\n const fid = ((_b = fieldData.FIRST_INPUT_DELAY_MS) === null || _b === void 0 ? void 0 : _b.percentile) || 0;\n const cls = ((_c = fieldData.CUMULATIVE_LAYOUT_SHIFT_SCORE) === null || _c === void 0 ? void 0 : _c.percentile) || 0;\n const lcp = ((_d = fieldData.LARGEST_CONTENTFUL_PAINT_MS) === null || _d === void 0 ? void 0 : _d.percentile) || 0;\n const si = ((_e = lighthouseResult.audits['speed-index']) === null || _e === void 0 ? void 0 : _e.score) *\n 100 || 0;\n const tti = ((_f = lighthouseResult.audits['time-to-interactive']) === null || _f === void 0 ? void 0 : _f.score) * 100 || 0;\n const tbt = ((_g = lighthouseResult.audits['total-blocking-time']) === null || _g === void 0 ? void 0 : _g.score) * 100 || 0;\n core.setOutput('score', score);\n core.setOutput('first-contentful-paint', fcp);\n core.setOutput('first-input-delay', fid);\n core.setOutput('cumulative-layout-shift', cls);\n core.setOutput('largest-contentful-paint', lcp);\n core.setOutput('speed-index', si);\n core.setOutput('time-to-interactive', tti);\n core.setOutput('total-blocking-time', tbt);\n }\n catch (error) {\n if (error instanceof Error)\n core.setFailed(error.message);\n }\n });\n}\nrun();\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('ENV', file_command_1.prepareKeyValueMessage(name, val));\n }\n command_1.issueCommand('set-env', { name }, convertedVal);\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueFileCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('OUTPUT', file_command_1.prepareKeyValueMessage(name, value));\n }\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('STATE', file_command_1.prepareKeyValueMessage(name, value));\n }\n command_1.issueCommand('save-state', { name }, utils_1.toCommandValue(value));\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepareKeyValueMessage = exports.issueFileCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst uuid_1 = require(\"uuid\");\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueFileCommand = issueFileCommand;\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${uuid_1.v4()}`;\n const convertedValue = utils_1.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n return new URL(proxyVar);\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n//# sourceMappingURL=proxy.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nconst events_1 = require(\"events\");\nconst debug_1 = __importDefault(require(\"debug\"));\nconst promisify_1 = __importDefault(require(\"./promisify\"));\nconst debug = debug_1.default('agent-base');\nfunction isAgent(v) {\n return Boolean(v) && typeof v.addRequest === 'function';\n}\nfunction isSecureEndpoint() {\n const { stack } = new Error();\n if (typeof stack !== 'string')\n return false;\n return stack.split('\\n').some(l => l.indexOf('(https.js:') !== -1 || l.indexOf('node:https:') !== -1);\n}\nfunction createAgent(callback, opts) {\n return new createAgent.Agent(callback, opts);\n}\n(function (createAgent) {\n /**\n * Base `http.Agent` implementation.\n * No pooling/keep-alive is implemented by default.\n *\n * @param {Function} callback\n * @api public\n */\n class Agent extends events_1.EventEmitter {\n constructor(callback, _opts) {\n super();\n let opts = _opts;\n if (typeof callback === 'function') {\n this.callback = callback;\n }\n else if (callback) {\n opts = callback;\n }\n // Timeout for the socket to be returned from the callback\n this.timeout = null;\n if (opts && typeof opts.timeout === 'number') {\n this.timeout = opts.timeout;\n }\n // These aren't actually used by `agent-base`, but are required\n // for the TypeScript definition files in `@types/node` :/\n this.maxFreeSockets = 1;\n this.maxSockets = 1;\n this.maxTotalSockets = Infinity;\n this.sockets = {};\n this.freeSockets = {};\n this.requests = {};\n this.options = {};\n }\n get defaultPort() {\n if (typeof this.explicitDefaultPort === 'number') {\n return this.explicitDefaultPort;\n }\n return isSecureEndpoint() ? 443 : 80;\n }\n set defaultPort(v) {\n this.explicitDefaultPort = v;\n }\n get protocol() {\n if (typeof this.explicitProtocol === 'string') {\n return this.explicitProtocol;\n }\n return isSecureEndpoint() ? 'https:' : 'http:';\n }\n set protocol(v) {\n this.explicitProtocol = v;\n }\n callback(req, opts, fn) {\n throw new Error('\"agent-base\" has no default implementation, you must subclass and override `callback()`');\n }\n /**\n * Called by node-core's \"_http_client.js\" module when creating\n * a new HTTP request with this Agent instance.\n *\n * @api public\n */\n addRequest(req, _opts) {\n const opts = Object.assign({}, _opts);\n if (typeof opts.secureEndpoint !== 'boolean') {\n opts.secureEndpoint = isSecureEndpoint();\n }\n if (opts.host == null) {\n opts.host = 'localhost';\n }\n if (opts.port == null) {\n opts.port = opts.secureEndpoint ? 443 : 80;\n }\n if (opts.protocol == null) {\n opts.protocol = opts.secureEndpoint ? 'https:' : 'http:';\n }\n if (opts.host && opts.path) {\n // If both a `host` and `path` are specified then it's most\n // likely the result of a `url.parse()` call... we need to\n // remove the `path` portion so that `net.connect()` doesn't\n // attempt to open that as a unix socket file.\n delete opts.path;\n }\n delete opts.agent;\n delete opts.hostname;\n delete opts._defaultAgent;\n delete opts.defaultPort;\n delete opts.createConnection;\n // Hint to use \"Connection: close\"\n // XXX: non-documented `http` module API :(\n req._last = true;\n req.shouldKeepAlive = false;\n let timedOut = false;\n let timeoutId = null;\n const timeoutMs = opts.timeout || this.timeout;\n const onerror = (err) => {\n if (req._hadError)\n return;\n req.emit('error', err);\n // For Safety. Some additional errors might fire later on\n // and we need to make sure we don't double-fire the error event.\n req._hadError = true;\n };\n const ontimeout = () => {\n timeoutId = null;\n timedOut = true;\n const err = new Error(`A \"socket\" was not created for HTTP request before ${timeoutMs}ms`);\n err.code = 'ETIMEOUT';\n onerror(err);\n };\n const callbackError = (err) => {\n if (timedOut)\n return;\n if (timeoutId !== null) {\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n onerror(err);\n };\n const onsocket = (socket) => {\n if (timedOut)\n return;\n if (timeoutId != null) {\n clearTimeout(timeoutId);\n timeoutId = null;\n }\n if (isAgent(socket)) {\n // `socket` is actually an `http.Agent` instance, so\n // relinquish responsibility for this `req` to the Agent\n // from here on\n debug('Callback returned another Agent instance %o', socket.constructor.name);\n socket.addRequest(req, opts);\n return;\n }\n if (socket) {\n socket.once('free', () => {\n this.freeSocket(socket, opts);\n });\n req.onSocket(socket);\n return;\n }\n const err = new Error(`no Duplex stream was returned to agent-base for \\`${req.method} ${req.path}\\``);\n onerror(err);\n };\n if (typeof this.callback !== 'function') {\n onerror(new Error('`callback` is not defined'));\n return;\n }\n if (!this.promisifiedCallback) {\n if (this.callback.length >= 3) {\n debug('Converting legacy callback function to promise');\n this.promisifiedCallback = promisify_1.default(this.callback);\n }\n else {\n this.promisifiedCallback = this.callback;\n }\n }\n if (typeof timeoutMs === 'number' && timeoutMs > 0) {\n timeoutId = setTimeout(ontimeout, timeoutMs);\n }\n if ('port' in opts && typeof opts.port !== 'number') {\n opts.port = Number(opts.port);\n }\n try {\n debug('Resolving socket for %o request: %o', opts.protocol, `${req.method} ${req.path}`);\n Promise.resolve(this.promisifiedCallback(req, opts)).then(onsocket, callbackError);\n }\n catch (err) {\n Promise.reject(err).catch(callbackError);\n }\n }\n freeSocket(socket, opts) {\n debug('Freeing socket %o %o', socket.constructor.name, opts);\n socket.destroy();\n }\n destroy() {\n debug('Destroying agent %o', this.constructor.name);\n }\n }\n createAgent.Agent = Agent;\n // So that `instanceof` works correctly\n createAgent.prototype = createAgent.Agent.prototype;\n})(createAgent || (createAgent = {}));\nmodule.exports = createAgent;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction promisify(fn) {\n return function (req, opts) {\n return new Promise((resolve, reject) => {\n fn.call(this, req, opts, (err, rtn) => {\n if (err) {\n reject(err);\n }\n else {\n resolve(rtn);\n }\n });\n });\n };\n}\nexports.default = promisify;\n//# sourceMappingURL=promisify.js.map","'use strict';\nconst ansiEscapes = module.exports;\n// TODO: remove this in the next major version\nmodule.exports.default = ansiEscapes;\n\nconst ESC = '\\u001B[';\nconst OSC = '\\u001B]';\nconst BEL = '\\u0007';\nconst SEP = ';';\nconst isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';\n\nansiEscapes.cursorTo = (x, y) => {\n\tif (typeof x !== 'number') {\n\t\tthrow new TypeError('The `x` argument is required');\n\t}\n\n\tif (typeof y !== 'number') {\n\t\treturn ESC + (x + 1) + 'G';\n\t}\n\n\treturn ESC + (y + 1) + ';' + (x + 1) + 'H';\n};\n\nansiEscapes.cursorMove = (x, y) => {\n\tif (typeof x !== 'number') {\n\t\tthrow new TypeError('The `x` argument is required');\n\t}\n\n\tlet ret = '';\n\n\tif (x < 0) {\n\t\tret += ESC + (-x) + 'D';\n\t} else if (x > 0) {\n\t\tret += ESC + x + 'C';\n\t}\n\n\tif (y < 0) {\n\t\tret += ESC + (-y) + 'A';\n\t} else if (y > 0) {\n\t\tret += ESC + y + 'B';\n\t}\n\n\treturn ret;\n};\n\nansiEscapes.cursorUp = (count = 1) => ESC + count + 'A';\nansiEscapes.cursorDown = (count = 1) => ESC + count + 'B';\nansiEscapes.cursorForward = (count = 1) => ESC + count + 'C';\nansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D';\n\nansiEscapes.cursorLeft = ESC + 'G';\nansiEscapes.cursorSavePosition = isTerminalApp ? '\\u001B7' : ESC + 's';\nansiEscapes.cursorRestorePosition = isTerminalApp ? '\\u001B8' : ESC + 'u';\nansiEscapes.cursorGetPosition = ESC + '6n';\nansiEscapes.cursorNextLine = ESC + 'E';\nansiEscapes.cursorPrevLine = ESC + 'F';\nansiEscapes.cursorHide = ESC + '?25l';\nansiEscapes.cursorShow = ESC + '?25h';\n\nansiEscapes.eraseLines = count => {\n\tlet clear = '';\n\n\tfor (let i = 0; i < count; i++) {\n\t\tclear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : '');\n\t}\n\n\tif (count) {\n\t\tclear += ansiEscapes.cursorLeft;\n\t}\n\n\treturn clear;\n};\n\nansiEscapes.eraseEndLine = ESC + 'K';\nansiEscapes.eraseStartLine = ESC + '1K';\nansiEscapes.eraseLine = ESC + '2K';\nansiEscapes.eraseDown = ESC + 'J';\nansiEscapes.eraseUp = ESC + '1J';\nansiEscapes.eraseScreen = ESC + '2J';\nansiEscapes.scrollUp = ESC + 'S';\nansiEscapes.scrollDown = ESC + 'T';\n\nansiEscapes.clearScreen = '\\u001Bc';\n\nansiEscapes.clearTerminal = process.platform === 'win32' ?\n\t`${ansiEscapes.eraseScreen}${ESC}0f` :\n\t// 1. Erases the screen (Only done in case `2` is not supported)\n\t// 2. Erases the whole screen including scrollback buffer\n\t// 3. Moves cursor to the top-left position\n\t// More info: https://www.real-world-systems.com/docs/ANSIcode.html\n\t`${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`;\n\nansiEscapes.beep = BEL;\n\nansiEscapes.link = (text, url) => {\n\treturn [\n\t\tOSC,\n\t\t'8',\n\t\tSEP,\n\t\tSEP,\n\t\turl,\n\t\tBEL,\n\t\ttext,\n\t\tOSC,\n\t\t'8',\n\t\tSEP,\n\t\tSEP,\n\t\tBEL\n\t].join('');\n};\n\nansiEscapes.image = (buffer, options = {}) => {\n\tlet ret = `${OSC}1337;File=inline=1`;\n\n\tif (options.width) {\n\t\tret += `;width=${options.width}`;\n\t}\n\n\tif (options.height) {\n\t\tret += `;height=${options.height}`;\n\t}\n\n\tif (options.preserveAspectRatio === false) {\n\t\tret += ';preserveAspectRatio=0';\n\t}\n\n\treturn ret + ':' + buffer.toString('base64') + BEL;\n};\n\nansiEscapes.iTerm = {\n\tsetCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,\n\n\tannotation: (message, options = {}) => {\n\t\tlet ret = `${OSC}1337;`;\n\n\t\tconst hasX = typeof options.x !== 'undefined';\n\t\tconst hasY = typeof options.y !== 'undefined';\n\t\tif ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) {\n\t\t\tthrow new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined');\n\t\t}\n\n\t\tmessage = message.replace(/\\|/g, '');\n\n\t\tret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation=';\n\n\t\tif (options.length > 0) {\n\t\t\tret +=\n\t\t\t\t\t(hasX ?\n\t\t\t\t\t\t[message, options.length, options.x, options.y] :\n\t\t\t\t\t\t[options.length, message]).join('|');\n\t\t} else {\n\t\t\tret += message;\n\t\t}\n\n\t\treturn ret + BEL;\n\t}\n};\n","'use strict';\n\nconst arrify = value => {\n\tif (value === null || value === undefined) {\n\t\treturn [];\n\t}\n\n\tif (Array.isArray(value)) {\n\t\treturn value;\n\t}\n\n\tif (typeof value === 'string') {\n\t\treturn [value];\n\t}\n\n\tif (typeof value[Symbol.iterator] === 'function') {\n\t\treturn [...value];\n\t}\n\n\treturn [value];\n};\n\nmodule.exports = arrify;\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n",";(function (globalObject) {\r\n 'use strict';\r\n\r\n/*\r\n * bignumber.js v9.1.1\r\n * A JavaScript library for arbitrary-precision arithmetic.\r\n * https://github.com/MikeMcl/bignumber.js\r\n * Copyright (c) 2022 Michael Mclaughlin \r\n * MIT Licensed.\r\n *\r\n * BigNumber.prototype methods | BigNumber methods\r\n * |\r\n * absoluteValue abs | clone\r\n * comparedTo | config set\r\n * decimalPlaces dp | DECIMAL_PLACES\r\n * dividedBy div | ROUNDING_MODE\r\n * dividedToIntegerBy idiv | EXPONENTIAL_AT\r\n * exponentiatedBy pow | RANGE\r\n * integerValue | CRYPTO\r\n * isEqualTo eq | MODULO_MODE\r\n * isFinite | POW_PRECISION\r\n * isGreaterThan gt | FORMAT\r\n * isGreaterThanOrEqualTo gte | ALPHABET\r\n * isInteger | isBigNumber\r\n * isLessThan lt | maximum max\r\n * isLessThanOrEqualTo lte | minimum min\r\n * isNaN | random\r\n * isNegative | sum\r\n * isPositive |\r\n * isZero |\r\n * minus |\r\n * modulo mod |\r\n * multipliedBy times |\r\n * negated |\r\n * plus |\r\n * precision sd |\r\n * shiftedBy |\r\n * squareRoot sqrt |\r\n * toExponential |\r\n * toFixed |\r\n * toFormat |\r\n * toFraction |\r\n * toJSON |\r\n * toNumber |\r\n * toPrecision |\r\n * toString |\r\n * valueOf |\r\n *\r\n */\r\n\r\n\r\n var BigNumber,\r\n isNumeric = /^-?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:e[+-]?\\d+)?$/i,\r\n mathceil = Math.ceil,\r\n mathfloor = Math.floor,\r\n\r\n bignumberError = '[BigNumber Error] ',\r\n tooManyDigits = bignumberError + 'Number primitive has more than 15 significant digits: ',\r\n\r\n BASE = 1e14,\r\n LOG_BASE = 14,\r\n MAX_SAFE_INTEGER = 0x1fffffffffffff, // 2^53 - 1\r\n // MAX_INT32 = 0x7fffffff, // 2^31 - 1\r\n POWS_TEN = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13],\r\n SQRT_BASE = 1e7,\r\n\r\n // EDITABLE\r\n // The limit on the value of DECIMAL_PLACES, TO_EXP_NEG, TO_EXP_POS, MIN_EXP, MAX_EXP, and\r\n // the arguments to toExponential, toFixed, toFormat, and toPrecision.\r\n MAX = 1E9; // 0 to MAX_INT32\r\n\r\n\r\n /*\r\n * Create and return a BigNumber constructor.\r\n */\r\n function clone(configObject) {\r\n var div, convertBase, parseNumeric,\r\n P = BigNumber.prototype = { constructor: BigNumber, toString: null, valueOf: null },\r\n ONE = new BigNumber(1),\r\n\r\n\r\n //----------------------------- EDITABLE CONFIG DEFAULTS -------------------------------\r\n\r\n\r\n // The default values below must be integers within the inclusive ranges stated.\r\n // The values can also be changed at run-time using BigNumber.set.\r\n\r\n // The maximum number of decimal places for operations involving division.\r\n DECIMAL_PLACES = 20, // 0 to MAX\r\n\r\n // The rounding mode used when rounding to the above decimal places, and when using\r\n // toExponential, toFixed, toFormat and toPrecision, and round (default value).\r\n // UP 0 Away from zero.\r\n // DOWN 1 Towards zero.\r\n // CEIL 2 Towards +Infinity.\r\n // FLOOR 3 Towards -Infinity.\r\n // HALF_UP 4 Towards nearest neighbour. If equidistant, up.\r\n // HALF_DOWN 5 Towards nearest neighbour. If equidistant, down.\r\n // HALF_EVEN 6 Towards nearest neighbour. If equidistant, towards even neighbour.\r\n // HALF_CEIL 7 Towards nearest neighbour. If equidistant, towards +Infinity.\r\n // HALF_FLOOR 8 Towards nearest neighbour. If equidistant, towards -Infinity.\r\n ROUNDING_MODE = 4, // 0 to 8\r\n\r\n // EXPONENTIAL_AT : [TO_EXP_NEG , TO_EXP_POS]\r\n\r\n // The exponent value at and beneath which toString returns exponential notation.\r\n // Number type: -7\r\n TO_EXP_NEG = -7, // 0 to -MAX\r\n\r\n // The exponent value at and above which toString returns exponential notation.\r\n // Number type: 21\r\n TO_EXP_POS = 21, // 0 to MAX\r\n\r\n // RANGE : [MIN_EXP, MAX_EXP]\r\n\r\n // The minimum exponent value, beneath which underflow to zero occurs.\r\n // Number type: -324 (5e-324)\r\n MIN_EXP = -1e7, // -1 to -MAX\r\n\r\n // The maximum exponent value, above which overflow to Infinity occurs.\r\n // Number type: 308 (1.7976931348623157e+308)\r\n // For MAX_EXP > 1e7, e.g. new BigNumber('1e100000000').plus(1) may be slow.\r\n MAX_EXP = 1e7, // 1 to MAX\r\n\r\n // Whether to use cryptographically-secure random number generation, if available.\r\n CRYPTO = false, // true or false\r\n\r\n // The modulo mode used when calculating the modulus: a mod n.\r\n // The quotient (q = a / n) is calculated according to the corresponding rounding mode.\r\n // The remainder (r) is calculated as: r = a - n * q.\r\n //\r\n // UP 0 The remainder is positive if the dividend is negative, else is negative.\r\n // DOWN 1 The remainder has the same sign as the dividend.\r\n // This modulo mode is commonly known as 'truncated division' and is\r\n // equivalent to (a % n) in JavaScript.\r\n // FLOOR 3 The remainder has the same sign as the divisor (Python %).\r\n // HALF_EVEN 6 This modulo mode implements the IEEE 754 remainder function.\r\n // EUCLID 9 Euclidian division. q = sign(n) * floor(a / abs(n)).\r\n // The remainder is always positive.\r\n //\r\n // The truncated division, floored division, Euclidian division and IEEE 754 remainder\r\n // modes are commonly used for the modulus operation.\r\n // Although the other rounding modes can also be used, they may not give useful results.\r\n MODULO_MODE = 1, // 0 to 9\r\n\r\n // The maximum number of significant digits of the result of the exponentiatedBy operation.\r\n // If POW_PRECISION is 0, there will be unlimited significant digits.\r\n POW_PRECISION = 0, // 0 to MAX\r\n\r\n // The format specification used by the BigNumber.prototype.toFormat method.\r\n FORMAT = {\r\n prefix: '',\r\n groupSize: 3,\r\n secondaryGroupSize: 0,\r\n groupSeparator: ',',\r\n decimalSeparator: '.',\r\n fractionGroupSize: 0,\r\n fractionGroupSeparator: '\\xA0', // non-breaking space\r\n suffix: ''\r\n },\r\n\r\n // The alphabet used for base conversion. It must be at least 2 characters long, with no '+',\r\n // '-', '.', whitespace, or repeated character.\r\n // '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_'\r\n ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyz',\r\n alphabetHasNormalDecimalDigits = true;\r\n\r\n\r\n //------------------------------------------------------------------------------------------\r\n\r\n\r\n // CONSTRUCTOR\r\n\r\n\r\n /*\r\n * The BigNumber constructor and exported function.\r\n * Create and return a new instance of a BigNumber object.\r\n *\r\n * v {number|string|BigNumber} A numeric value.\r\n * [b] {number} The base of v. Integer, 2 to ALPHABET.length inclusive.\r\n */\r\n function BigNumber(v, b) {\r\n var alphabet, c, caseChanged, e, i, isNum, len, str,\r\n x = this;\r\n\r\n // Enable constructor call without `new`.\r\n if (!(x instanceof BigNumber)) return new BigNumber(v, b);\r\n\r\n if (b == null) {\r\n\r\n if (v && v._isBigNumber === true) {\r\n x.s = v.s;\r\n\r\n if (!v.c || v.e > MAX_EXP) {\r\n x.c = x.e = null;\r\n } else if (v.e < MIN_EXP) {\r\n x.c = [x.e = 0];\r\n } else {\r\n x.e = v.e;\r\n x.c = v.c.slice();\r\n }\r\n\r\n return;\r\n }\r\n\r\n if ((isNum = typeof v == 'number') && v * 0 == 0) {\r\n\r\n // Use `1 / n` to handle minus zero also.\r\n x.s = 1 / v < 0 ? (v = -v, -1) : 1;\r\n\r\n // Fast path for integers, where n < 2147483648 (2**31).\r\n if (v === ~~v) {\r\n for (e = 0, i = v; i >= 10; i /= 10, e++);\r\n\r\n if (e > MAX_EXP) {\r\n x.c = x.e = null;\r\n } else {\r\n x.e = e;\r\n x.c = [v];\r\n }\r\n\r\n return;\r\n }\r\n\r\n str = String(v);\r\n } else {\r\n\r\n if (!isNumeric.test(str = String(v))) return parseNumeric(x, str, isNum);\r\n\r\n x.s = str.charCodeAt(0) == 45 ? (str = str.slice(1), -1) : 1;\r\n }\r\n\r\n // Decimal point?\r\n if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');\r\n\r\n // Exponential form?\r\n if ((i = str.search(/e/i)) > 0) {\r\n\r\n // Determine exponent.\r\n if (e < 0) e = i;\r\n e += +str.slice(i + 1);\r\n str = str.substring(0, i);\r\n } else if (e < 0) {\r\n\r\n // Integer.\r\n e = str.length;\r\n }\r\n\r\n } else {\r\n\r\n // '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}'\r\n intCheck(b, 2, ALPHABET.length, 'Base');\r\n\r\n // Allow exponential notation to be used with base 10 argument, while\r\n // also rounding to DECIMAL_PLACES as with other bases.\r\n if (b == 10 && alphabetHasNormalDecimalDigits) {\r\n x = new BigNumber(v);\r\n return round(x, DECIMAL_PLACES + x.e + 1, ROUNDING_MODE);\r\n }\r\n\r\n str = String(v);\r\n\r\n if (isNum = typeof v == 'number') {\r\n\r\n // Avoid potential interpretation of Infinity and NaN as base 44+ values.\r\n if (v * 0 != 0) return parseNumeric(x, str, isNum, b);\r\n\r\n x.s = 1 / v < 0 ? (str = str.slice(1), -1) : 1;\r\n\r\n // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}'\r\n if (BigNumber.DEBUG && str.replace(/^0\\.0*|\\./, '').length > 15) {\r\n throw Error\r\n (tooManyDigits + v);\r\n }\r\n } else {\r\n x.s = str.charCodeAt(0) === 45 ? (str = str.slice(1), -1) : 1;\r\n }\r\n\r\n alphabet = ALPHABET.slice(0, b);\r\n e = i = 0;\r\n\r\n // Check that str is a valid base b number.\r\n // Don't use RegExp, so alphabet can contain special characters.\r\n for (len = str.length; i < len; i++) {\r\n if (alphabet.indexOf(c = str.charAt(i)) < 0) {\r\n if (c == '.') {\r\n\r\n // If '.' is not the first character and it has not be found before.\r\n if (i > e) {\r\n e = len;\r\n continue;\r\n }\r\n } else if (!caseChanged) {\r\n\r\n // Allow e.g. hexadecimal 'FF' as well as 'ff'.\r\n if (str == str.toUpperCase() && (str = str.toLowerCase()) ||\r\n str == str.toLowerCase() && (str = str.toUpperCase())) {\r\n caseChanged = true;\r\n i = -1;\r\n e = 0;\r\n continue;\r\n }\r\n }\r\n\r\n return parseNumeric(x, String(v), isNum, b);\r\n }\r\n }\r\n\r\n // Prevent later check for length on converted number.\r\n isNum = false;\r\n str = convertBase(str, b, 10, x.s);\r\n\r\n // Decimal point?\r\n if ((e = str.indexOf('.')) > -1) str = str.replace('.', '');\r\n else e = str.length;\r\n }\r\n\r\n // Determine leading zeros.\r\n for (i = 0; str.charCodeAt(i) === 48; i++);\r\n\r\n // Determine trailing zeros.\r\n for (len = str.length; str.charCodeAt(--len) === 48;);\r\n\r\n if (str = str.slice(i, ++len)) {\r\n len -= i;\r\n\r\n // '[BigNumber Error] Number primitive has more than 15 significant digits: {n}'\r\n if (isNum && BigNumber.DEBUG &&\r\n len > 15 && (v > MAX_SAFE_INTEGER || v !== mathfloor(v))) {\r\n throw Error\r\n (tooManyDigits + (x.s * v));\r\n }\r\n\r\n // Overflow?\r\n if ((e = e - i - 1) > MAX_EXP) {\r\n\r\n // Infinity.\r\n x.c = x.e = null;\r\n\r\n // Underflow?\r\n } else if (e < MIN_EXP) {\r\n\r\n // Zero.\r\n x.c = [x.e = 0];\r\n } else {\r\n x.e = e;\r\n x.c = [];\r\n\r\n // Transform base\r\n\r\n // e is the base 10 exponent.\r\n // i is where to slice str to get the first element of the coefficient array.\r\n i = (e + 1) % LOG_BASE;\r\n if (e < 0) i += LOG_BASE; // i < 1\r\n\r\n if (i < len) {\r\n if (i) x.c.push(+str.slice(0, i));\r\n\r\n for (len -= LOG_BASE; i < len;) {\r\n x.c.push(+str.slice(i, i += LOG_BASE));\r\n }\r\n\r\n i = LOG_BASE - (str = str.slice(i)).length;\r\n } else {\r\n i -= len;\r\n }\r\n\r\n for (; i--; str += '0');\r\n x.c.push(+str);\r\n }\r\n } else {\r\n\r\n // Zero.\r\n x.c = [x.e = 0];\r\n }\r\n }\r\n\r\n\r\n // CONSTRUCTOR PROPERTIES\r\n\r\n\r\n BigNumber.clone = clone;\r\n\r\n BigNumber.ROUND_UP = 0;\r\n BigNumber.ROUND_DOWN = 1;\r\n BigNumber.ROUND_CEIL = 2;\r\n BigNumber.ROUND_FLOOR = 3;\r\n BigNumber.ROUND_HALF_UP = 4;\r\n BigNumber.ROUND_HALF_DOWN = 5;\r\n BigNumber.ROUND_HALF_EVEN = 6;\r\n BigNumber.ROUND_HALF_CEIL = 7;\r\n BigNumber.ROUND_HALF_FLOOR = 8;\r\n BigNumber.EUCLID = 9;\r\n\r\n\r\n /*\r\n * Configure infrequently-changing library-wide settings.\r\n *\r\n * Accept an object with the following optional properties (if the value of a property is\r\n * a number, it must be an integer within the inclusive range stated):\r\n *\r\n * DECIMAL_PLACES {number} 0 to MAX\r\n * ROUNDING_MODE {number} 0 to 8\r\n * EXPONENTIAL_AT {number|number[]} -MAX to MAX or [-MAX to 0, 0 to MAX]\r\n * RANGE {number|number[]} -MAX to MAX (not zero) or [-MAX to -1, 1 to MAX]\r\n * CRYPTO {boolean} true or false\r\n * MODULO_MODE {number} 0 to 9\r\n * POW_PRECISION {number} 0 to MAX\r\n * ALPHABET {string} A string of two or more unique characters which does\r\n * not contain '.'.\r\n * FORMAT {object} An object with some of the following properties:\r\n * prefix {string}\r\n * groupSize {number}\r\n * secondaryGroupSize {number}\r\n * groupSeparator {string}\r\n * decimalSeparator {string}\r\n * fractionGroupSize {number}\r\n * fractionGroupSeparator {string}\r\n * suffix {string}\r\n *\r\n * (The values assigned to the above FORMAT object properties are not checked for validity.)\r\n *\r\n * E.g.\r\n * BigNumber.config({ DECIMAL_PLACES : 20, ROUNDING_MODE : 4 })\r\n *\r\n * Ignore properties/parameters set to null or undefined, except for ALPHABET.\r\n *\r\n * Return an object with the properties current values.\r\n */\r\n BigNumber.config = BigNumber.set = function (obj) {\r\n var p, v;\r\n\r\n if (obj != null) {\r\n\r\n if (typeof obj == 'object') {\r\n\r\n // DECIMAL_PLACES {number} Integer, 0 to MAX inclusive.\r\n // '[BigNumber Error] DECIMAL_PLACES {not a primitive number|not an integer|out of range}: {v}'\r\n if (obj.hasOwnProperty(p = 'DECIMAL_PLACES')) {\r\n v = obj[p];\r\n intCheck(v, 0, MAX, p);\r\n DECIMAL_PLACES = v;\r\n }\r\n\r\n // ROUNDING_MODE {number} Integer, 0 to 8 inclusive.\r\n // '[BigNumber Error] ROUNDING_MODE {not a primitive number|not an integer|out of range}: {v}'\r\n if (obj.hasOwnProperty(p = 'ROUNDING_MODE')) {\r\n v = obj[p];\r\n intCheck(v, 0, 8, p);\r\n ROUNDING_MODE = v;\r\n }\r\n\r\n // EXPONENTIAL_AT {number|number[]}\r\n // Integer, -MAX to MAX inclusive or\r\n // [integer -MAX to 0 inclusive, 0 to MAX inclusive].\r\n // '[BigNumber Error] EXPONENTIAL_AT {not a primitive number|not an integer|out of range}: {v}'\r\n if (obj.hasOwnProperty(p = 'EXPONENTIAL_AT')) {\r\n v = obj[p];\r\n if (v && v.pop) {\r\n intCheck(v[0], -MAX, 0, p);\r\n intCheck(v[1], 0, MAX, p);\r\n TO_EXP_NEG = v[0];\r\n TO_EXP_POS = v[1];\r\n } else {\r\n intCheck(v, -MAX, MAX, p);\r\n TO_EXP_NEG = -(TO_EXP_POS = v < 0 ? -v : v);\r\n }\r\n }\r\n\r\n // RANGE {number|number[]} Non-zero integer, -MAX to MAX inclusive or\r\n // [integer -MAX to -1 inclusive, integer 1 to MAX inclusive].\r\n // '[BigNumber Error] RANGE {not a primitive number|not an integer|out of range|cannot be zero}: {v}'\r\n if (obj.hasOwnProperty(p = 'RANGE')) {\r\n v = obj[p];\r\n if (v && v.pop) {\r\n intCheck(v[0], -MAX, -1, p);\r\n intCheck(v[1], 1, MAX, p);\r\n MIN_EXP = v[0];\r\n MAX_EXP = v[1];\r\n } else {\r\n intCheck(v, -MAX, MAX, p);\r\n if (v) {\r\n MIN_EXP = -(MAX_EXP = v < 0 ? -v : v);\r\n } else {\r\n throw Error\r\n (bignumberError + p + ' cannot be zero: ' + v);\r\n }\r\n }\r\n }\r\n\r\n // CRYPTO {boolean} true or false.\r\n // '[BigNumber Error] CRYPTO not true or false: {v}'\r\n // '[BigNumber Error] crypto unavailable'\r\n if (obj.hasOwnProperty(p = 'CRYPTO')) {\r\n v = obj[p];\r\n if (v === !!v) {\r\n if (v) {\r\n if (typeof crypto != 'undefined' && crypto &&\r\n (crypto.getRandomValues || crypto.randomBytes)) {\r\n CRYPTO = v;\r\n } else {\r\n CRYPTO = !v;\r\n throw Error\r\n (bignumberError + 'crypto unavailable');\r\n }\r\n } else {\r\n CRYPTO = v;\r\n }\r\n } else {\r\n throw Error\r\n (bignumberError + p + ' not true or false: ' + v);\r\n }\r\n }\r\n\r\n // MODULO_MODE {number} Integer, 0 to 9 inclusive.\r\n // '[BigNumber Error] MODULO_MODE {not a primitive number|not an integer|out of range}: {v}'\r\n if (obj.hasOwnProperty(p = 'MODULO_MODE')) {\r\n v = obj[p];\r\n intCheck(v, 0, 9, p);\r\n MODULO_MODE = v;\r\n }\r\n\r\n // POW_PRECISION {number} Integer, 0 to MAX inclusive.\r\n // '[BigNumber Error] POW_PRECISION {not a primitive number|not an integer|out of range}: {v}'\r\n if (obj.hasOwnProperty(p = 'POW_PRECISION')) {\r\n v = obj[p];\r\n intCheck(v, 0, MAX, p);\r\n POW_PRECISION = v;\r\n }\r\n\r\n // FORMAT {object}\r\n // '[BigNumber Error] FORMAT not an object: {v}'\r\n if (obj.hasOwnProperty(p = 'FORMAT')) {\r\n v = obj[p];\r\n if (typeof v == 'object') FORMAT = v;\r\n else throw Error\r\n (bignumberError + p + ' not an object: ' + v);\r\n }\r\n\r\n // ALPHABET {string}\r\n // '[BigNumber Error] ALPHABET invalid: {v}'\r\n if (obj.hasOwnProperty(p = 'ALPHABET')) {\r\n v = obj[p];\r\n\r\n // Disallow if less than two characters,\r\n // or if it contains '+', '-', '.', whitespace, or a repeated character.\r\n if (typeof v == 'string' && !/^.?$|[+\\-.\\s]|(.).*\\1/.test(v)) {\r\n alphabetHasNormalDecimalDigits = v.slice(0, 10) == '0123456789';\r\n ALPHABET = v;\r\n } else {\r\n throw Error\r\n (bignumberError + p + ' invalid: ' + v);\r\n }\r\n }\r\n\r\n } else {\r\n\r\n // '[BigNumber Error] Object expected: {v}'\r\n throw Error\r\n (bignumberError + 'Object expected: ' + obj);\r\n }\r\n }\r\n\r\n return {\r\n DECIMAL_PLACES: DECIMAL_PLACES,\r\n ROUNDING_MODE: ROUNDING_MODE,\r\n EXPONENTIAL_AT: [TO_EXP_NEG, TO_EXP_POS],\r\n RANGE: [MIN_EXP, MAX_EXP],\r\n CRYPTO: CRYPTO,\r\n MODULO_MODE: MODULO_MODE,\r\n POW_PRECISION: POW_PRECISION,\r\n FORMAT: FORMAT,\r\n ALPHABET: ALPHABET\r\n };\r\n };\r\n\r\n\r\n /*\r\n * Return true if v is a BigNumber instance, otherwise return false.\r\n *\r\n * If BigNumber.DEBUG is true, throw if a BigNumber instance is not well-formed.\r\n *\r\n * v {any}\r\n *\r\n * '[BigNumber Error] Invalid BigNumber: {v}'\r\n */\r\n BigNumber.isBigNumber = function (v) {\r\n if (!v || v._isBigNumber !== true) return false;\r\n if (!BigNumber.DEBUG) return true;\r\n\r\n var i, n,\r\n c = v.c,\r\n e = v.e,\r\n s = v.s;\r\n\r\n out: if ({}.toString.call(c) == '[object Array]') {\r\n\r\n if ((s === 1 || s === -1) && e >= -MAX && e <= MAX && e === mathfloor(e)) {\r\n\r\n // If the first element is zero, the BigNumber value must be zero.\r\n if (c[0] === 0) {\r\n if (e === 0 && c.length === 1) return true;\r\n break out;\r\n }\r\n\r\n // Calculate number of digits that c[0] should have, based on the exponent.\r\n i = (e + 1) % LOG_BASE;\r\n if (i < 1) i += LOG_BASE;\r\n\r\n // Calculate number of digits of c[0].\r\n //if (Math.ceil(Math.log(c[0] + 1) / Math.LN10) == i) {\r\n if (String(c[0]).length == i) {\r\n\r\n for (i = 0; i < c.length; i++) {\r\n n = c[i];\r\n if (n < 0 || n >= BASE || n !== mathfloor(n)) break out;\r\n }\r\n\r\n // Last element cannot be zero, unless it is the only element.\r\n if (n !== 0) return true;\r\n }\r\n }\r\n\r\n // Infinity/NaN\r\n } else if (c === null && e === null && (s === null || s === 1 || s === -1)) {\r\n return true;\r\n }\r\n\r\n throw Error\r\n (bignumberError + 'Invalid BigNumber: ' + v);\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the maximum of the arguments.\r\n *\r\n * arguments {number|string|BigNumber}\r\n */\r\n BigNumber.maximum = BigNumber.max = function () {\r\n return maxOrMin(arguments, P.lt);\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the minimum of the arguments.\r\n *\r\n * arguments {number|string|BigNumber}\r\n */\r\n BigNumber.minimum = BigNumber.min = function () {\r\n return maxOrMin(arguments, P.gt);\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber with a random value equal to or greater than 0 and less than 1,\r\n * and with dp, or DECIMAL_PLACES if dp is omitted, decimal places (or less if trailing\r\n * zeros are produced).\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp}'\r\n * '[BigNumber Error] crypto unavailable'\r\n */\r\n BigNumber.random = (function () {\r\n var pow2_53 = 0x20000000000000;\r\n\r\n // Return a 53 bit integer n, where 0 <= n < 9007199254740992.\r\n // Check if Math.random() produces more than 32 bits of randomness.\r\n // If it does, assume at least 53 bits are produced, otherwise assume at least 30 bits.\r\n // 0x40000000 is 2^30, 0x800000 is 2^23, 0x1fffff is 2^21 - 1.\r\n var random53bitInt = (Math.random() * pow2_53) & 0x1fffff\r\n ? function () { return mathfloor(Math.random() * pow2_53); }\r\n : function () { return ((Math.random() * 0x40000000 | 0) * 0x800000) +\r\n (Math.random() * 0x800000 | 0); };\r\n\r\n return function (dp) {\r\n var a, b, e, k, v,\r\n i = 0,\r\n c = [],\r\n rand = new BigNumber(ONE);\r\n\r\n if (dp == null) dp = DECIMAL_PLACES;\r\n else intCheck(dp, 0, MAX);\r\n\r\n k = mathceil(dp / LOG_BASE);\r\n\r\n if (CRYPTO) {\r\n\r\n // Browsers supporting crypto.getRandomValues.\r\n if (crypto.getRandomValues) {\r\n\r\n a = crypto.getRandomValues(new Uint32Array(k *= 2));\r\n\r\n for (; i < k;) {\r\n\r\n // 53 bits:\r\n // ((Math.pow(2, 32) - 1) * Math.pow(2, 21)).toString(2)\r\n // 11111 11111111 11111111 11111111 11100000 00000000 00000000\r\n // ((Math.pow(2, 32) - 1) >>> 11).toString(2)\r\n // 11111 11111111 11111111\r\n // 0x20000 is 2^21.\r\n v = a[i] * 0x20000 + (a[i + 1] >>> 11);\r\n\r\n // Rejection sampling:\r\n // 0 <= v < 9007199254740992\r\n // Probability that v >= 9e15, is\r\n // 7199254740992 / 9007199254740992 ~= 0.0008, i.e. 1 in 1251\r\n if (v >= 9e15) {\r\n b = crypto.getRandomValues(new Uint32Array(2));\r\n a[i] = b[0];\r\n a[i + 1] = b[1];\r\n } else {\r\n\r\n // 0 <= v <= 8999999999999999\r\n // 0 <= (v % 1e14) <= 99999999999999\r\n c.push(v % 1e14);\r\n i += 2;\r\n }\r\n }\r\n i = k / 2;\r\n\r\n // Node.js supporting crypto.randomBytes.\r\n } else if (crypto.randomBytes) {\r\n\r\n // buffer\r\n a = crypto.randomBytes(k *= 7);\r\n\r\n for (; i < k;) {\r\n\r\n // 0x1000000000000 is 2^48, 0x10000000000 is 2^40\r\n // 0x100000000 is 2^32, 0x1000000 is 2^24\r\n // 11111 11111111 11111111 11111111 11111111 11111111 11111111\r\n // 0 <= v < 9007199254740992\r\n v = ((a[i] & 31) * 0x1000000000000) + (a[i + 1] * 0x10000000000) +\r\n (a[i + 2] * 0x100000000) + (a[i + 3] * 0x1000000) +\r\n (a[i + 4] << 16) + (a[i + 5] << 8) + a[i + 6];\r\n\r\n if (v >= 9e15) {\r\n crypto.randomBytes(7).copy(a, i);\r\n } else {\r\n\r\n // 0 <= (v % 1e14) <= 99999999999999\r\n c.push(v % 1e14);\r\n i += 7;\r\n }\r\n }\r\n i = k / 7;\r\n } else {\r\n CRYPTO = false;\r\n throw Error\r\n (bignumberError + 'crypto unavailable');\r\n }\r\n }\r\n\r\n // Use Math.random.\r\n if (!CRYPTO) {\r\n\r\n for (; i < k;) {\r\n v = random53bitInt();\r\n if (v < 9e15) c[i++] = v % 1e14;\r\n }\r\n }\r\n\r\n k = c[--i];\r\n dp %= LOG_BASE;\r\n\r\n // Convert trailing digits to zeros according to dp.\r\n if (k && dp) {\r\n v = POWS_TEN[LOG_BASE - dp];\r\n c[i] = mathfloor(k / v) * v;\r\n }\r\n\r\n // Remove trailing elements which are zero.\r\n for (; c[i] === 0; c.pop(), i--);\r\n\r\n // Zero?\r\n if (i < 0) {\r\n c = [e = 0];\r\n } else {\r\n\r\n // Remove leading elements which are zero and adjust exponent accordingly.\r\n for (e = -1 ; c[0] === 0; c.splice(0, 1), e -= LOG_BASE);\r\n\r\n // Count the digits of the first element of c to determine leading zeros, and...\r\n for (i = 1, v = c[0]; v >= 10; v /= 10, i++);\r\n\r\n // adjust the exponent accordingly.\r\n if (i < LOG_BASE) e -= LOG_BASE - i;\r\n }\r\n\r\n rand.e = e;\r\n rand.c = c;\r\n return rand;\r\n };\r\n })();\r\n\r\n\r\n /*\r\n * Return a BigNumber whose value is the sum of the arguments.\r\n *\r\n * arguments {number|string|BigNumber}\r\n */\r\n BigNumber.sum = function () {\r\n var i = 1,\r\n args = arguments,\r\n sum = new BigNumber(args[0]);\r\n for (; i < args.length;) sum = sum.plus(args[i++]);\r\n return sum;\r\n };\r\n\r\n\r\n // PRIVATE FUNCTIONS\r\n\r\n\r\n // Called by BigNumber and BigNumber.prototype.toString.\r\n convertBase = (function () {\r\n var decimal = '0123456789';\r\n\r\n /*\r\n * Convert string of baseIn to an array of numbers of baseOut.\r\n * Eg. toBaseOut('255', 10, 16) returns [15, 15].\r\n * Eg. toBaseOut('ff', 16, 10) returns [2, 5, 5].\r\n */\r\n function toBaseOut(str, baseIn, baseOut, alphabet) {\r\n var j,\r\n arr = [0],\r\n arrL,\r\n i = 0,\r\n len = str.length;\r\n\r\n for (; i < len;) {\r\n for (arrL = arr.length; arrL--; arr[arrL] *= baseIn);\r\n\r\n arr[0] += alphabet.indexOf(str.charAt(i++));\r\n\r\n for (j = 0; j < arr.length; j++) {\r\n\r\n if (arr[j] > baseOut - 1) {\r\n if (arr[j + 1] == null) arr[j + 1] = 0;\r\n arr[j + 1] += arr[j] / baseOut | 0;\r\n arr[j] %= baseOut;\r\n }\r\n }\r\n }\r\n\r\n return arr.reverse();\r\n }\r\n\r\n // Convert a numeric string of baseIn to a numeric string of baseOut.\r\n // If the caller is toString, we are converting from base 10 to baseOut.\r\n // If the caller is BigNumber, we are converting from baseIn to base 10.\r\n return function (str, baseIn, baseOut, sign, callerIsToString) {\r\n var alphabet, d, e, k, r, x, xc, y,\r\n i = str.indexOf('.'),\r\n dp = DECIMAL_PLACES,\r\n rm = ROUNDING_MODE;\r\n\r\n // Non-integer.\r\n if (i >= 0) {\r\n k = POW_PRECISION;\r\n\r\n // Unlimited precision.\r\n POW_PRECISION = 0;\r\n str = str.replace('.', '');\r\n y = new BigNumber(baseIn);\r\n x = y.pow(str.length - i);\r\n POW_PRECISION = k;\r\n\r\n // Convert str as if an integer, then restore the fraction part by dividing the\r\n // result by its base raised to a power.\r\n\r\n y.c = toBaseOut(toFixedPoint(coeffToString(x.c), x.e, '0'),\r\n 10, baseOut, decimal);\r\n y.e = y.c.length;\r\n }\r\n\r\n // Convert the number as integer.\r\n\r\n xc = toBaseOut(str, baseIn, baseOut, callerIsToString\r\n ? (alphabet = ALPHABET, decimal)\r\n : (alphabet = decimal, ALPHABET));\r\n\r\n // xc now represents str as an integer and converted to baseOut. e is the exponent.\r\n e = k = xc.length;\r\n\r\n // Remove trailing zeros.\r\n for (; xc[--k] == 0; xc.pop());\r\n\r\n // Zero?\r\n if (!xc[0]) return alphabet.charAt(0);\r\n\r\n // Does str represent an integer? If so, no need for the division.\r\n if (i < 0) {\r\n --e;\r\n } else {\r\n x.c = xc;\r\n x.e = e;\r\n\r\n // The sign is needed for correct rounding.\r\n x.s = sign;\r\n x = div(x, y, dp, rm, baseOut);\r\n xc = x.c;\r\n r = x.r;\r\n e = x.e;\r\n }\r\n\r\n // xc now represents str converted to baseOut.\r\n\r\n // THe index of the rounding digit.\r\n d = e + dp + 1;\r\n\r\n // The rounding digit: the digit to the right of the digit that may be rounded up.\r\n i = xc[d];\r\n\r\n // Look at the rounding digits and mode to determine whether to round up.\r\n\r\n k = baseOut / 2;\r\n r = r || d < 0 || xc[d + 1] != null;\r\n\r\n r = rm < 4 ? (i != null || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))\r\n : i > k || i == k &&(rm == 4 || r || rm == 6 && xc[d - 1] & 1 ||\r\n rm == (x.s < 0 ? 8 : 7));\r\n\r\n // If the index of the rounding digit is not greater than zero, or xc represents\r\n // zero, then the result of the base conversion is zero or, if rounding up, a value\r\n // such as 0.00001.\r\n if (d < 1 || !xc[0]) {\r\n\r\n // 1^-dp or 0\r\n str = r ? toFixedPoint(alphabet.charAt(1), -dp, alphabet.charAt(0)) : alphabet.charAt(0);\r\n } else {\r\n\r\n // Truncate xc to the required number of decimal places.\r\n xc.length = d;\r\n\r\n // Round up?\r\n if (r) {\r\n\r\n // Rounding up may mean the previous digit has to be rounded up and so on.\r\n for (--baseOut; ++xc[--d] > baseOut;) {\r\n xc[d] = 0;\r\n\r\n if (!d) {\r\n ++e;\r\n xc = [1].concat(xc);\r\n }\r\n }\r\n }\r\n\r\n // Determine trailing zeros.\r\n for (k = xc.length; !xc[--k];);\r\n\r\n // E.g. [4, 11, 15] becomes 4bf.\r\n for (i = 0, str = ''; i <= k; str += alphabet.charAt(xc[i++]));\r\n\r\n // Add leading zeros, decimal point and trailing zeros as required.\r\n str = toFixedPoint(str, e, alphabet.charAt(0));\r\n }\r\n\r\n // The caller will add the sign.\r\n return str;\r\n };\r\n })();\r\n\r\n\r\n // Perform division in the specified base. Called by div and convertBase.\r\n div = (function () {\r\n\r\n // Assume non-zero x and k.\r\n function multiply(x, k, base) {\r\n var m, temp, xlo, xhi,\r\n carry = 0,\r\n i = x.length,\r\n klo = k % SQRT_BASE,\r\n khi = k / SQRT_BASE | 0;\r\n\r\n for (x = x.slice(); i--;) {\r\n xlo = x[i] % SQRT_BASE;\r\n xhi = x[i] / SQRT_BASE | 0;\r\n m = khi * xlo + xhi * klo;\r\n temp = klo * xlo + ((m % SQRT_BASE) * SQRT_BASE) + carry;\r\n carry = (temp / base | 0) + (m / SQRT_BASE | 0) + khi * xhi;\r\n x[i] = temp % base;\r\n }\r\n\r\n if (carry) x = [carry].concat(x);\r\n\r\n return x;\r\n }\r\n\r\n function compare(a, b, aL, bL) {\r\n var i, cmp;\r\n\r\n if (aL != bL) {\r\n cmp = aL > bL ? 1 : -1;\r\n } else {\r\n\r\n for (i = cmp = 0; i < aL; i++) {\r\n\r\n if (a[i] != b[i]) {\r\n cmp = a[i] > b[i] ? 1 : -1;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n return cmp;\r\n }\r\n\r\n function subtract(a, b, aL, base) {\r\n var i = 0;\r\n\r\n // Subtract b from a.\r\n for (; aL--;) {\r\n a[aL] -= i;\r\n i = a[aL] < b[aL] ? 1 : 0;\r\n a[aL] = i * base + a[aL] - b[aL];\r\n }\r\n\r\n // Remove leading zeros.\r\n for (; !a[0] && a.length > 1; a.splice(0, 1));\r\n }\r\n\r\n // x: dividend, y: divisor.\r\n return function (x, y, dp, rm, base) {\r\n var cmp, e, i, more, n, prod, prodL, q, qc, rem, remL, rem0, xi, xL, yc0,\r\n yL, yz,\r\n s = x.s == y.s ? 1 : -1,\r\n xc = x.c,\r\n yc = y.c;\r\n\r\n // Either NaN, Infinity or 0?\r\n if (!xc || !xc[0] || !yc || !yc[0]) {\r\n\r\n return new BigNumber(\r\n\r\n // Return NaN if either NaN, or both Infinity or 0.\r\n !x.s || !y.s || (xc ? yc && xc[0] == yc[0] : !yc) ? NaN :\r\n\r\n // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.\r\n xc && xc[0] == 0 || !yc ? s * 0 : s / 0\r\n );\r\n }\r\n\r\n q = new BigNumber(s);\r\n qc = q.c = [];\r\n e = x.e - y.e;\r\n s = dp + e + 1;\r\n\r\n if (!base) {\r\n base = BASE;\r\n e = bitFloor(x.e / LOG_BASE) - bitFloor(y.e / LOG_BASE);\r\n s = s / LOG_BASE | 0;\r\n }\r\n\r\n // Result exponent may be one less then the current value of e.\r\n // The coefficients of the BigNumbers from convertBase may have trailing zeros.\r\n for (i = 0; yc[i] == (xc[i] || 0); i++);\r\n\r\n if (yc[i] > (xc[i] || 0)) e--;\r\n\r\n if (s < 0) {\r\n qc.push(1);\r\n more = true;\r\n } else {\r\n xL = xc.length;\r\n yL = yc.length;\r\n i = 0;\r\n s += 2;\r\n\r\n // Normalise xc and yc so highest order digit of yc is >= base / 2.\r\n\r\n n = mathfloor(base / (yc[0] + 1));\r\n\r\n // Not necessary, but to handle odd bases where yc[0] == (base / 2) - 1.\r\n // if (n > 1 || n++ == 1 && yc[0] < base / 2) {\r\n if (n > 1) {\r\n yc = multiply(yc, n, base);\r\n xc = multiply(xc, n, base);\r\n yL = yc.length;\r\n xL = xc.length;\r\n }\r\n\r\n xi = yL;\r\n rem = xc.slice(0, yL);\r\n remL = rem.length;\r\n\r\n // Add zeros to make remainder as long as divisor.\r\n for (; remL < yL; rem[remL++] = 0);\r\n yz = yc.slice();\r\n yz = [0].concat(yz);\r\n yc0 = yc[0];\r\n if (yc[1] >= base / 2) yc0++;\r\n // Not necessary, but to prevent trial digit n > base, when using base 3.\r\n // else if (base == 3 && yc0 == 1) yc0 = 1 + 1e-15;\r\n\r\n do {\r\n n = 0;\r\n\r\n // Compare divisor and remainder.\r\n cmp = compare(yc, rem, yL, remL);\r\n\r\n // If divisor < remainder.\r\n if (cmp < 0) {\r\n\r\n // Calculate trial digit, n.\r\n\r\n rem0 = rem[0];\r\n if (yL != remL) rem0 = rem0 * base + (rem[1] || 0);\r\n\r\n // n is how many times the divisor goes into the current remainder.\r\n n = mathfloor(rem0 / yc0);\r\n\r\n // Algorithm:\r\n // product = divisor multiplied by trial digit (n).\r\n // Compare product and remainder.\r\n // If product is greater than remainder:\r\n // Subtract divisor from product, decrement trial digit.\r\n // Subtract product from remainder.\r\n // If product was less than remainder at the last compare:\r\n // Compare new remainder and divisor.\r\n // If remainder is greater than divisor:\r\n // Subtract divisor from remainder, increment trial digit.\r\n\r\n if (n > 1) {\r\n\r\n // n may be > base only when base is 3.\r\n if (n >= base) n = base - 1;\r\n\r\n // product = divisor * trial digit.\r\n prod = multiply(yc, n, base);\r\n prodL = prod.length;\r\n remL = rem.length;\r\n\r\n // Compare product and remainder.\r\n // If product > remainder then trial digit n too high.\r\n // n is 1 too high about 5% of the time, and is not known to have\r\n // ever been more than 1 too high.\r\n while (compare(prod, rem, prodL, remL) == 1) {\r\n n--;\r\n\r\n // Subtract divisor from product.\r\n subtract(prod, yL < prodL ? yz : yc, prodL, base);\r\n prodL = prod.length;\r\n cmp = 1;\r\n }\r\n } else {\r\n\r\n // n is 0 or 1, cmp is -1.\r\n // If n is 0, there is no need to compare yc and rem again below,\r\n // so change cmp to 1 to avoid it.\r\n // If n is 1, leave cmp as -1, so yc and rem are compared again.\r\n if (n == 0) {\r\n\r\n // divisor < remainder, so n must be at least 1.\r\n cmp = n = 1;\r\n }\r\n\r\n // product = divisor\r\n prod = yc.slice();\r\n prodL = prod.length;\r\n }\r\n\r\n if (prodL < remL) prod = [0].concat(prod);\r\n\r\n // Subtract product from remainder.\r\n subtract(rem, prod, remL, base);\r\n remL = rem.length;\r\n\r\n // If product was < remainder.\r\n if (cmp == -1) {\r\n\r\n // Compare divisor and new remainder.\r\n // If divisor < new remainder, subtract divisor from remainder.\r\n // Trial digit n too low.\r\n // n is 1 too low about 5% of the time, and very rarely 2 too low.\r\n while (compare(yc, rem, yL, remL) < 1) {\r\n n++;\r\n\r\n // Subtract divisor from remainder.\r\n subtract(rem, yL < remL ? yz : yc, remL, base);\r\n remL = rem.length;\r\n }\r\n }\r\n } else if (cmp === 0) {\r\n n++;\r\n rem = [0];\r\n } // else cmp === 1 and n will be 0\r\n\r\n // Add the next digit, n, to the result array.\r\n qc[i++] = n;\r\n\r\n // Update the remainder.\r\n if (rem[0]) {\r\n rem[remL++] = xc[xi] || 0;\r\n } else {\r\n rem = [xc[xi]];\r\n remL = 1;\r\n }\r\n } while ((xi++ < xL || rem[0] != null) && s--);\r\n\r\n more = rem[0] != null;\r\n\r\n // Leading zero?\r\n if (!qc[0]) qc.splice(0, 1);\r\n }\r\n\r\n if (base == BASE) {\r\n\r\n // To calculate q.e, first get the number of digits of qc[0].\r\n for (i = 1, s = qc[0]; s >= 10; s /= 10, i++);\r\n\r\n round(q, dp + (q.e = i + e * LOG_BASE - 1) + 1, rm, more);\r\n\r\n // Caller is convertBase.\r\n } else {\r\n q.e = e;\r\n q.r = +more;\r\n }\r\n\r\n return q;\r\n };\r\n })();\r\n\r\n\r\n /*\r\n * Return a string representing the value of BigNumber n in fixed-point or exponential\r\n * notation rounded to the specified decimal places or significant digits.\r\n *\r\n * n: a BigNumber.\r\n * i: the index of the last digit required (i.e. the digit that may be rounded up).\r\n * rm: the rounding mode.\r\n * id: 1 (toExponential) or 2 (toPrecision).\r\n */\r\n function format(n, i, rm, id) {\r\n var c0, e, ne, len, str;\r\n\r\n if (rm == null) rm = ROUNDING_MODE;\r\n else intCheck(rm, 0, 8);\r\n\r\n if (!n.c) return n.toString();\r\n\r\n c0 = n.c[0];\r\n ne = n.e;\r\n\r\n if (i == null) {\r\n str = coeffToString(n.c);\r\n str = id == 1 || id == 2 && (ne <= TO_EXP_NEG || ne >= TO_EXP_POS)\r\n ? toExponential(str, ne)\r\n : toFixedPoint(str, ne, '0');\r\n } else {\r\n n = round(new BigNumber(n), i, rm);\r\n\r\n // n.e may have changed if the value was rounded up.\r\n e = n.e;\r\n\r\n str = coeffToString(n.c);\r\n len = str.length;\r\n\r\n // toPrecision returns exponential notation if the number of significant digits\r\n // specified is less than the number of digits necessary to represent the integer\r\n // part of the value in fixed-point notation.\r\n\r\n // Exponential notation.\r\n if (id == 1 || id == 2 && (i <= e || e <= TO_EXP_NEG)) {\r\n\r\n // Append zeros?\r\n for (; len < i; str += '0', len++);\r\n str = toExponential(str, e);\r\n\r\n // Fixed-point notation.\r\n } else {\r\n i -= ne;\r\n str = toFixedPoint(str, e, '0');\r\n\r\n // Append zeros?\r\n if (e + 1 > len) {\r\n if (--i > 0) for (str += '.'; i--; str += '0');\r\n } else {\r\n i += e - len;\r\n if (i > 0) {\r\n if (e + 1 == len) str += '.';\r\n for (; i--; str += '0');\r\n }\r\n }\r\n }\r\n }\r\n\r\n return n.s < 0 && c0 ? '-' + str : str;\r\n }\r\n\r\n\r\n // Handle BigNumber.max and BigNumber.min.\r\n function maxOrMin(args, method) {\r\n var n,\r\n i = 1,\r\n m = new BigNumber(args[0]);\r\n\r\n for (; i < args.length; i++) {\r\n n = new BigNumber(args[i]);\r\n\r\n // If any number is NaN, return NaN.\r\n if (!n.s) {\r\n m = n;\r\n break;\r\n } else if (method.call(m, n)) {\r\n m = n;\r\n }\r\n }\r\n\r\n return m;\r\n }\r\n\r\n\r\n /*\r\n * Strip trailing zeros, calculate base 10 exponent and check against MIN_EXP and MAX_EXP.\r\n * Called by minus, plus and times.\r\n */\r\n function normalise(n, c, e) {\r\n var i = 1,\r\n j = c.length;\r\n\r\n // Remove trailing zeros.\r\n for (; !c[--j]; c.pop());\r\n\r\n // Calculate the base 10 exponent. First get the number of digits of c[0].\r\n for (j = c[0]; j >= 10; j /= 10, i++);\r\n\r\n // Overflow?\r\n if ((e = i + e * LOG_BASE - 1) > MAX_EXP) {\r\n\r\n // Infinity.\r\n n.c = n.e = null;\r\n\r\n // Underflow?\r\n } else if (e < MIN_EXP) {\r\n\r\n // Zero.\r\n n.c = [n.e = 0];\r\n } else {\r\n n.e = e;\r\n n.c = c;\r\n }\r\n\r\n return n;\r\n }\r\n\r\n\r\n // Handle values that fail the validity test in BigNumber.\r\n parseNumeric = (function () {\r\n var basePrefix = /^(-?)0([xbo])(?=\\w[\\w.]*$)/i,\r\n dotAfter = /^([^.]+)\\.$/,\r\n dotBefore = /^\\.([^.]+)$/,\r\n isInfinityOrNaN = /^-?(Infinity|NaN)$/,\r\n whitespaceOrPlus = /^\\s*\\+(?=[\\w.])|^\\s+|\\s+$/g;\r\n\r\n return function (x, str, isNum, b) {\r\n var base,\r\n s = isNum ? str : str.replace(whitespaceOrPlus, '');\r\n\r\n // No exception on ±Infinity or NaN.\r\n if (isInfinityOrNaN.test(s)) {\r\n x.s = isNaN(s) ? null : s < 0 ? -1 : 1;\r\n } else {\r\n if (!isNum) {\r\n\r\n // basePrefix = /^(-?)0([xbo])(?=\\w[\\w.]*$)/i\r\n s = s.replace(basePrefix, function (m, p1, p2) {\r\n base = (p2 = p2.toLowerCase()) == 'x' ? 16 : p2 == 'b' ? 2 : 8;\r\n return !b || b == base ? p1 : m;\r\n });\r\n\r\n if (b) {\r\n base = b;\r\n\r\n // E.g. '1.' to '1', '.1' to '0.1'\r\n s = s.replace(dotAfter, '$1').replace(dotBefore, '0.$1');\r\n }\r\n\r\n if (str != s) return new BigNumber(s, base);\r\n }\r\n\r\n // '[BigNumber Error] Not a number: {n}'\r\n // '[BigNumber Error] Not a base {b} number: {n}'\r\n if (BigNumber.DEBUG) {\r\n throw Error\r\n (bignumberError + 'Not a' + (b ? ' base ' + b : '') + ' number: ' + str);\r\n }\r\n\r\n // NaN\r\n x.s = null;\r\n }\r\n\r\n x.c = x.e = null;\r\n }\r\n })();\r\n\r\n\r\n /*\r\n * Round x to sd significant digits using rounding mode rm. Check for over/under-flow.\r\n * If r is truthy, it is known that there are more digits after the rounding digit.\r\n */\r\n function round(x, sd, rm, r) {\r\n var d, i, j, k, n, ni, rd,\r\n xc = x.c,\r\n pows10 = POWS_TEN;\r\n\r\n // if x is not Infinity or NaN...\r\n if (xc) {\r\n\r\n // rd is the rounding digit, i.e. the digit after the digit that may be rounded up.\r\n // n is a base 1e14 number, the value of the element of array x.c containing rd.\r\n // ni is the index of n within x.c.\r\n // d is the number of digits of n.\r\n // i is the index of rd within n including leading zeros.\r\n // j is the actual index of rd within n (if < 0, rd is a leading zero).\r\n out: {\r\n\r\n // Get the number of digits of the first element of xc.\r\n for (d = 1, k = xc[0]; k >= 10; k /= 10, d++);\r\n i = sd - d;\r\n\r\n // If the rounding digit is in the first element of xc...\r\n if (i < 0) {\r\n i += LOG_BASE;\r\n j = sd;\r\n n = xc[ni = 0];\r\n\r\n // Get the rounding digit at index j of n.\r\n rd = n / pows10[d - j - 1] % 10 | 0;\r\n } else {\r\n ni = mathceil((i + 1) / LOG_BASE);\r\n\r\n if (ni >= xc.length) {\r\n\r\n if (r) {\r\n\r\n // Needed by sqrt.\r\n for (; xc.length <= ni; xc.push(0));\r\n n = rd = 0;\r\n d = 1;\r\n i %= LOG_BASE;\r\n j = i - LOG_BASE + 1;\r\n } else {\r\n break out;\r\n }\r\n } else {\r\n n = k = xc[ni];\r\n\r\n // Get the number of digits of n.\r\n for (d = 1; k >= 10; k /= 10, d++);\r\n\r\n // Get the index of rd within n.\r\n i %= LOG_BASE;\r\n\r\n // Get the index of rd within n, adjusted for leading zeros.\r\n // The number of leading zeros of n is given by LOG_BASE - d.\r\n j = i - LOG_BASE + d;\r\n\r\n // Get the rounding digit at index j of n.\r\n rd = j < 0 ? 0 : n / pows10[d - j - 1] % 10 | 0;\r\n }\r\n }\r\n\r\n r = r || sd < 0 ||\r\n\r\n // Are there any non-zero digits after the rounding digit?\r\n // The expression n % pows10[d - j - 1] returns all digits of n to the right\r\n // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.\r\n xc[ni + 1] != null || (j < 0 ? n : n % pows10[d - j - 1]);\r\n\r\n r = rm < 4\r\n ? (rd || r) && (rm == 0 || rm == (x.s < 0 ? 3 : 2))\r\n : rd > 5 || rd == 5 && (rm == 4 || r || rm == 6 &&\r\n\r\n // Check whether the digit to the left of the rounding digit is odd.\r\n ((i > 0 ? j > 0 ? n / pows10[d - j] : 0 : xc[ni - 1]) % 10) & 1 ||\r\n rm == (x.s < 0 ? 8 : 7));\r\n\r\n if (sd < 1 || !xc[0]) {\r\n xc.length = 0;\r\n\r\n if (r) {\r\n\r\n // Convert sd to decimal places.\r\n sd -= x.e + 1;\r\n\r\n // 1, 0.1, 0.01, 0.001, 0.0001 etc.\r\n xc[0] = pows10[(LOG_BASE - sd % LOG_BASE) % LOG_BASE];\r\n x.e = -sd || 0;\r\n } else {\r\n\r\n // Zero.\r\n xc[0] = x.e = 0;\r\n }\r\n\r\n return x;\r\n }\r\n\r\n // Remove excess digits.\r\n if (i == 0) {\r\n xc.length = ni;\r\n k = 1;\r\n ni--;\r\n } else {\r\n xc.length = ni + 1;\r\n k = pows10[LOG_BASE - i];\r\n\r\n // E.g. 56700 becomes 56000 if 7 is the rounding digit.\r\n // j > 0 means i > number of leading zeros of n.\r\n xc[ni] = j > 0 ? mathfloor(n / pows10[d - j] % pows10[j]) * k : 0;\r\n }\r\n\r\n // Round up?\r\n if (r) {\r\n\r\n for (; ;) {\r\n\r\n // If the digit to be rounded up is in the first element of xc...\r\n if (ni == 0) {\r\n\r\n // i will be the length of xc[0] before k is added.\r\n for (i = 1, j = xc[0]; j >= 10; j /= 10, i++);\r\n j = xc[0] += k;\r\n for (k = 1; j >= 10; j /= 10, k++);\r\n\r\n // if i != k the length has increased.\r\n if (i != k) {\r\n x.e++;\r\n if (xc[0] == BASE) xc[0] = 1;\r\n }\r\n\r\n break;\r\n } else {\r\n xc[ni] += k;\r\n if (xc[ni] != BASE) break;\r\n xc[ni--] = 0;\r\n k = 1;\r\n }\r\n }\r\n }\r\n\r\n // Remove trailing zeros.\r\n for (i = xc.length; xc[--i] === 0; xc.pop());\r\n }\r\n\r\n // Overflow? Infinity.\r\n if (x.e > MAX_EXP) {\r\n x.c = x.e = null;\r\n\r\n // Underflow? Zero.\r\n } else if (x.e < MIN_EXP) {\r\n x.c = [x.e = 0];\r\n }\r\n }\r\n\r\n return x;\r\n }\r\n\r\n\r\n function valueOf(n) {\r\n var str,\r\n e = n.e;\r\n\r\n if (e === null) return n.toString();\r\n\r\n str = coeffToString(n.c);\r\n\r\n str = e <= TO_EXP_NEG || e >= TO_EXP_POS\r\n ? toExponential(str, e)\r\n : toFixedPoint(str, e, '0');\r\n\r\n return n.s < 0 ? '-' + str : str;\r\n }\r\n\r\n\r\n // PROTOTYPE/INSTANCE METHODS\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the absolute value of this BigNumber.\r\n */\r\n P.absoluteValue = P.abs = function () {\r\n var x = new BigNumber(this);\r\n if (x.s < 0) x.s = 1;\r\n return x;\r\n };\r\n\r\n\r\n /*\r\n * Return\r\n * 1 if the value of this BigNumber is greater than the value of BigNumber(y, b),\r\n * -1 if the value of this BigNumber is less than the value of BigNumber(y, b),\r\n * 0 if they have the same value,\r\n * or null if the value of either is NaN.\r\n */\r\n P.comparedTo = function (y, b) {\r\n return compare(this, new BigNumber(y, b));\r\n };\r\n\r\n\r\n /*\r\n * If dp is undefined or null or true or false, return the number of decimal places of the\r\n * value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN.\r\n *\r\n * Otherwise, if dp is a number, return a new BigNumber whose value is the value of this\r\n * BigNumber rounded to a maximum of dp decimal places using rounding mode rm, or\r\n * ROUNDING_MODE if rm is omitted.\r\n *\r\n * [dp] {number} Decimal places: integer, 0 to MAX inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'\r\n */\r\n P.decimalPlaces = P.dp = function (dp, rm) {\r\n var c, n, v,\r\n x = this;\r\n\r\n if (dp != null) {\r\n intCheck(dp, 0, MAX);\r\n if (rm == null) rm = ROUNDING_MODE;\r\n else intCheck(rm, 0, 8);\r\n\r\n return round(new BigNumber(x), dp + x.e + 1, rm);\r\n }\r\n\r\n if (!(c = x.c)) return null;\r\n n = ((v = c.length - 1) - bitFloor(this.e / LOG_BASE)) * LOG_BASE;\r\n\r\n // Subtract the number of trailing zeros of the last number.\r\n if (v = c[v]) for (; v % 10 == 0; v /= 10, n--);\r\n if (n < 0) n = 0;\r\n\r\n return n;\r\n };\r\n\r\n\r\n /*\r\n * n / 0 = I\r\n * n / N = N\r\n * n / I = 0\r\n * 0 / n = 0\r\n * 0 / 0 = N\r\n * 0 / N = N\r\n * 0 / I = 0\r\n * N / n = N\r\n * N / 0 = N\r\n * N / N = N\r\n * N / I = N\r\n * I / n = I\r\n * I / 0 = I\r\n * I / N = N\r\n * I / I = N\r\n *\r\n * Return a new BigNumber whose value is the value of this BigNumber divided by the value of\r\n * BigNumber(y, b), rounded according to DECIMAL_PLACES and ROUNDING_MODE.\r\n */\r\n P.dividedBy = P.div = function (y, b) {\r\n return div(this, new BigNumber(y, b), DECIMAL_PLACES, ROUNDING_MODE);\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the integer part of dividing the value of this\r\n * BigNumber by the value of BigNumber(y, b).\r\n */\r\n P.dividedToIntegerBy = P.idiv = function (y, b) {\r\n return div(this, new BigNumber(y, b), 0, 1);\r\n };\r\n\r\n\r\n /*\r\n * Return a BigNumber whose value is the value of this BigNumber exponentiated by n.\r\n *\r\n * If m is present, return the result modulo m.\r\n * If n is negative round according to DECIMAL_PLACES and ROUNDING_MODE.\r\n * If POW_PRECISION is non-zero and m is not present, round to POW_PRECISION using ROUNDING_MODE.\r\n *\r\n * The modular power operation works efficiently when x, n, and m are integers, otherwise it\r\n * is equivalent to calculating x.exponentiatedBy(n).modulo(m) with a POW_PRECISION of 0.\r\n *\r\n * n {number|string|BigNumber} The exponent. An integer.\r\n * [m] {number|string|BigNumber} The modulus.\r\n *\r\n * '[BigNumber Error] Exponent not an integer: {n}'\r\n */\r\n P.exponentiatedBy = P.pow = function (n, m) {\r\n var half, isModExp, i, k, more, nIsBig, nIsNeg, nIsOdd, y,\r\n x = this;\r\n\r\n n = new BigNumber(n);\r\n\r\n // Allow NaN and ±Infinity, but not other non-integers.\r\n if (n.c && !n.isInteger()) {\r\n throw Error\r\n (bignumberError + 'Exponent not an integer: ' + valueOf(n));\r\n }\r\n\r\n if (m != null) m = new BigNumber(m);\r\n\r\n // Exponent of MAX_SAFE_INTEGER is 15.\r\n nIsBig = n.e > 14;\r\n\r\n // If x is NaN, ±Infinity, ±0 or ±1, or n is ±Infinity, NaN or ±0.\r\n if (!x.c || !x.c[0] || x.c[0] == 1 && !x.e && x.c.length == 1 || !n.c || !n.c[0]) {\r\n\r\n // The sign of the result of pow when x is negative depends on the evenness of n.\r\n // If +n overflows to ±Infinity, the evenness of n would be not be known.\r\n y = new BigNumber(Math.pow(+valueOf(x), nIsBig ? n.s * (2 - isOdd(n)) : +valueOf(n)));\r\n return m ? y.mod(m) : y;\r\n }\r\n\r\n nIsNeg = n.s < 0;\r\n\r\n if (m) {\r\n\r\n // x % m returns NaN if abs(m) is zero, or m is NaN.\r\n if (m.c ? !m.c[0] : !m.s) return new BigNumber(NaN);\r\n\r\n isModExp = !nIsNeg && x.isInteger() && m.isInteger();\r\n\r\n if (isModExp) x = x.mod(m);\r\n\r\n // Overflow to ±Infinity: >=2**1e10 or >=1.0000024**1e15.\r\n // Underflow to ±0: <=0.79**1e10 or <=0.9999975**1e15.\r\n } else if (n.e > 9 && (x.e > 0 || x.e < -1 || (x.e == 0\r\n // [1, 240000000]\r\n ? x.c[0] > 1 || nIsBig && x.c[1] >= 24e7\r\n // [80000000000000] [99999750000000]\r\n : x.c[0] < 8e13 || nIsBig && x.c[0] <= 9999975e7))) {\r\n\r\n // If x is negative and n is odd, k = -0, else k = 0.\r\n k = x.s < 0 && isOdd(n) ? -0 : 0;\r\n\r\n // If x >= 1, k = ±Infinity.\r\n if (x.e > -1) k = 1 / k;\r\n\r\n // If n is negative return ±0, else return ±Infinity.\r\n return new BigNumber(nIsNeg ? 1 / k : k);\r\n\r\n } else if (POW_PRECISION) {\r\n\r\n // Truncating each coefficient array to a length of k after each multiplication\r\n // equates to truncating significant digits to POW_PRECISION + [28, 41],\r\n // i.e. there will be a minimum of 28 guard digits retained.\r\n k = mathceil(POW_PRECISION / LOG_BASE + 2);\r\n }\r\n\r\n if (nIsBig) {\r\n half = new BigNumber(0.5);\r\n if (nIsNeg) n.s = 1;\r\n nIsOdd = isOdd(n);\r\n } else {\r\n i = Math.abs(+valueOf(n));\r\n nIsOdd = i % 2;\r\n }\r\n\r\n y = new BigNumber(ONE);\r\n\r\n // Performs 54 loop iterations for n of 9007199254740991.\r\n for (; ;) {\r\n\r\n if (nIsOdd) {\r\n y = y.times(x);\r\n if (!y.c) break;\r\n\r\n if (k) {\r\n if (y.c.length > k) y.c.length = k;\r\n } else if (isModExp) {\r\n y = y.mod(m); //y = y.minus(div(y, m, 0, MODULO_MODE).times(m));\r\n }\r\n }\r\n\r\n if (i) {\r\n i = mathfloor(i / 2);\r\n if (i === 0) break;\r\n nIsOdd = i % 2;\r\n } else {\r\n n = n.times(half);\r\n round(n, n.e + 1, 1);\r\n\r\n if (n.e > 14) {\r\n nIsOdd = isOdd(n);\r\n } else {\r\n i = +valueOf(n);\r\n if (i === 0) break;\r\n nIsOdd = i % 2;\r\n }\r\n }\r\n\r\n x = x.times(x);\r\n\r\n if (k) {\r\n if (x.c && x.c.length > k) x.c.length = k;\r\n } else if (isModExp) {\r\n x = x.mod(m); //x = x.minus(div(x, m, 0, MODULO_MODE).times(m));\r\n }\r\n }\r\n\r\n if (isModExp) return y;\r\n if (nIsNeg) y = ONE.div(y);\r\n\r\n return m ? y.mod(m) : k ? round(y, POW_PRECISION, ROUNDING_MODE, more) : y;\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the value of this BigNumber rounded to an integer\r\n * using rounding mode rm, or ROUNDING_MODE if rm is omitted.\r\n *\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {rm}'\r\n */\r\n P.integerValue = function (rm) {\r\n var n = new BigNumber(this);\r\n if (rm == null) rm = ROUNDING_MODE;\r\n else intCheck(rm, 0, 8);\r\n return round(n, n.e + 1, rm);\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is equal to the value of BigNumber(y, b),\r\n * otherwise return false.\r\n */\r\n P.isEqualTo = P.eq = function (y, b) {\r\n return compare(this, new BigNumber(y, b)) === 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is a finite number, otherwise return false.\r\n */\r\n P.isFinite = function () {\r\n return !!this.c;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is greater than the value of BigNumber(y, b),\r\n * otherwise return false.\r\n */\r\n P.isGreaterThan = P.gt = function (y, b) {\r\n return compare(this, new BigNumber(y, b)) > 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is greater than or equal to the value of\r\n * BigNumber(y, b), otherwise return false.\r\n */\r\n P.isGreaterThanOrEqualTo = P.gte = function (y, b) {\r\n return (b = compare(this, new BigNumber(y, b))) === 1 || b === 0;\r\n\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is an integer, otherwise return false.\r\n */\r\n P.isInteger = function () {\r\n return !!this.c && bitFloor(this.e / LOG_BASE) > this.c.length - 2;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is less than the value of BigNumber(y, b),\r\n * otherwise return false.\r\n */\r\n P.isLessThan = P.lt = function (y, b) {\r\n return compare(this, new BigNumber(y, b)) < 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is less than or equal to the value of\r\n * BigNumber(y, b), otherwise return false.\r\n */\r\n P.isLessThanOrEqualTo = P.lte = function (y, b) {\r\n return (b = compare(this, new BigNumber(y, b))) === -1 || b === 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is NaN, otherwise return false.\r\n */\r\n P.isNaN = function () {\r\n return !this.s;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is negative, otherwise return false.\r\n */\r\n P.isNegative = function () {\r\n return this.s < 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is positive, otherwise return false.\r\n */\r\n P.isPositive = function () {\r\n return this.s > 0;\r\n };\r\n\r\n\r\n /*\r\n * Return true if the value of this BigNumber is 0 or -0, otherwise return false.\r\n */\r\n P.isZero = function () {\r\n return !!this.c && this.c[0] == 0;\r\n };\r\n\r\n\r\n /*\r\n * n - 0 = n\r\n * n - N = N\r\n * n - I = -I\r\n * 0 - n = -n\r\n * 0 - 0 = 0\r\n * 0 - N = N\r\n * 0 - I = -I\r\n * N - n = N\r\n * N - 0 = N\r\n * N - N = N\r\n * N - I = N\r\n * I - n = I\r\n * I - 0 = I\r\n * I - N = N\r\n * I - I = N\r\n *\r\n * Return a new BigNumber whose value is the value of this BigNumber minus the value of\r\n * BigNumber(y, b).\r\n */\r\n P.minus = function (y, b) {\r\n var i, j, t, xLTy,\r\n x = this,\r\n a = x.s;\r\n\r\n y = new BigNumber(y, b);\r\n b = y.s;\r\n\r\n // Either NaN?\r\n if (!a || !b) return new BigNumber(NaN);\r\n\r\n // Signs differ?\r\n if (a != b) {\r\n y.s = -b;\r\n return x.plus(y);\r\n }\r\n\r\n var xe = x.e / LOG_BASE,\r\n ye = y.e / LOG_BASE,\r\n xc = x.c,\r\n yc = y.c;\r\n\r\n if (!xe || !ye) {\r\n\r\n // Either Infinity?\r\n if (!xc || !yc) return xc ? (y.s = -b, y) : new BigNumber(yc ? x : NaN);\r\n\r\n // Either zero?\r\n if (!xc[0] || !yc[0]) {\r\n\r\n // Return y if y is non-zero, x if x is non-zero, or zero if both are zero.\r\n return yc[0] ? (y.s = -b, y) : new BigNumber(xc[0] ? x :\r\n\r\n // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity\r\n ROUNDING_MODE == 3 ? -0 : 0);\r\n }\r\n }\r\n\r\n xe = bitFloor(xe);\r\n ye = bitFloor(ye);\r\n xc = xc.slice();\r\n\r\n // Determine which is the bigger number.\r\n if (a = xe - ye) {\r\n\r\n if (xLTy = a < 0) {\r\n a = -a;\r\n t = xc;\r\n } else {\r\n ye = xe;\r\n t = yc;\r\n }\r\n\r\n t.reverse();\r\n\r\n // Prepend zeros to equalise exponents.\r\n for (b = a; b--; t.push(0));\r\n t.reverse();\r\n } else {\r\n\r\n // Exponents equal. Check digit by digit.\r\n j = (xLTy = (a = xc.length) < (b = yc.length)) ? a : b;\r\n\r\n for (a = b = 0; b < j; b++) {\r\n\r\n if (xc[b] != yc[b]) {\r\n xLTy = xc[b] < yc[b];\r\n break;\r\n }\r\n }\r\n }\r\n\r\n // x < y? Point xc to the array of the bigger number.\r\n if (xLTy) {\r\n t = xc;\r\n xc = yc;\r\n yc = t;\r\n y.s = -y.s;\r\n }\r\n\r\n b = (j = yc.length) - (i = xc.length);\r\n\r\n // Append zeros to xc if shorter.\r\n // No need to add zeros to yc if shorter as subtract only needs to start at yc.length.\r\n if (b > 0) for (; b--; xc[i++] = 0);\r\n b = BASE - 1;\r\n\r\n // Subtract yc from xc.\r\n for (; j > a;) {\r\n\r\n if (xc[--j] < yc[j]) {\r\n for (i = j; i && !xc[--i]; xc[i] = b);\r\n --xc[i];\r\n xc[j] += BASE;\r\n }\r\n\r\n xc[j] -= yc[j];\r\n }\r\n\r\n // Remove leading zeros and adjust exponent accordingly.\r\n for (; xc[0] == 0; xc.splice(0, 1), --ye);\r\n\r\n // Zero?\r\n if (!xc[0]) {\r\n\r\n // Following IEEE 754 (2008) 6.3,\r\n // n - n = +0 but n - n = -0 when rounding towards -Infinity.\r\n y.s = ROUNDING_MODE == 3 ? -1 : 1;\r\n y.c = [y.e = 0];\r\n return y;\r\n }\r\n\r\n // No need to check for Infinity as +x - +y != Infinity && -x - -y != Infinity\r\n // for finite x and y.\r\n return normalise(y, xc, ye);\r\n };\r\n\r\n\r\n /*\r\n * n % 0 = N\r\n * n % N = N\r\n * n % I = n\r\n * 0 % n = 0\r\n * -0 % n = -0\r\n * 0 % 0 = N\r\n * 0 % N = N\r\n * 0 % I = 0\r\n * N % n = N\r\n * N % 0 = N\r\n * N % N = N\r\n * N % I = N\r\n * I % n = N\r\n * I % 0 = N\r\n * I % N = N\r\n * I % I = N\r\n *\r\n * Return a new BigNumber whose value is the value of this BigNumber modulo the value of\r\n * BigNumber(y, b). The result depends on the value of MODULO_MODE.\r\n */\r\n P.modulo = P.mod = function (y, b) {\r\n var q, s,\r\n x = this;\r\n\r\n y = new BigNumber(y, b);\r\n\r\n // Return NaN if x is Infinity or NaN, or y is NaN or zero.\r\n if (!x.c || !y.s || y.c && !y.c[0]) {\r\n return new BigNumber(NaN);\r\n\r\n // Return x if y is Infinity or x is zero.\r\n } else if (!y.c || x.c && !x.c[0]) {\r\n return new BigNumber(x);\r\n }\r\n\r\n if (MODULO_MODE == 9) {\r\n\r\n // Euclidian division: q = sign(y) * floor(x / abs(y))\r\n // r = x - qy where 0 <= r < abs(y)\r\n s = y.s;\r\n y.s = 1;\r\n q = div(x, y, 0, 3);\r\n y.s = s;\r\n q.s *= s;\r\n } else {\r\n q = div(x, y, 0, MODULO_MODE);\r\n }\r\n\r\n y = x.minus(q.times(y));\r\n\r\n // To match JavaScript %, ensure sign of zero is sign of dividend.\r\n if (!y.c[0] && MODULO_MODE == 1) y.s = x.s;\r\n\r\n return y;\r\n };\r\n\r\n\r\n /*\r\n * n * 0 = 0\r\n * n * N = N\r\n * n * I = I\r\n * 0 * n = 0\r\n * 0 * 0 = 0\r\n * 0 * N = N\r\n * 0 * I = N\r\n * N * n = N\r\n * N * 0 = N\r\n * N * N = N\r\n * N * I = N\r\n * I * n = I\r\n * I * 0 = N\r\n * I * N = N\r\n * I * I = I\r\n *\r\n * Return a new BigNumber whose value is the value of this BigNumber multiplied by the value\r\n * of BigNumber(y, b).\r\n */\r\n P.multipliedBy = P.times = function (y, b) {\r\n var c, e, i, j, k, m, xcL, xlo, xhi, ycL, ylo, yhi, zc,\r\n base, sqrtBase,\r\n x = this,\r\n xc = x.c,\r\n yc = (y = new BigNumber(y, b)).c;\r\n\r\n // Either NaN, ±Infinity or ±0?\r\n if (!xc || !yc || !xc[0] || !yc[0]) {\r\n\r\n // Return NaN if either is NaN, or one is 0 and the other is Infinity.\r\n if (!x.s || !y.s || xc && !xc[0] && !yc || yc && !yc[0] && !xc) {\r\n y.c = y.e = y.s = null;\r\n } else {\r\n y.s *= x.s;\r\n\r\n // Return ±Infinity if either is ±Infinity.\r\n if (!xc || !yc) {\r\n y.c = y.e = null;\r\n\r\n // Return ±0 if either is ±0.\r\n } else {\r\n y.c = [0];\r\n y.e = 0;\r\n }\r\n }\r\n\r\n return y;\r\n }\r\n\r\n e = bitFloor(x.e / LOG_BASE) + bitFloor(y.e / LOG_BASE);\r\n y.s *= x.s;\r\n xcL = xc.length;\r\n ycL = yc.length;\r\n\r\n // Ensure xc points to longer array and xcL to its length.\r\n if (xcL < ycL) {\r\n zc = xc;\r\n xc = yc;\r\n yc = zc;\r\n i = xcL;\r\n xcL = ycL;\r\n ycL = i;\r\n }\r\n\r\n // Initialise the result array with zeros.\r\n for (i = xcL + ycL, zc = []; i--; zc.push(0));\r\n\r\n base = BASE;\r\n sqrtBase = SQRT_BASE;\r\n\r\n for (i = ycL; --i >= 0;) {\r\n c = 0;\r\n ylo = yc[i] % sqrtBase;\r\n yhi = yc[i] / sqrtBase | 0;\r\n\r\n for (k = xcL, j = i + k; j > i;) {\r\n xlo = xc[--k] % sqrtBase;\r\n xhi = xc[k] / sqrtBase | 0;\r\n m = yhi * xlo + xhi * ylo;\r\n xlo = ylo * xlo + ((m % sqrtBase) * sqrtBase) + zc[j] + c;\r\n c = (xlo / base | 0) + (m / sqrtBase | 0) + yhi * xhi;\r\n zc[j--] = xlo % base;\r\n }\r\n\r\n zc[j] = c;\r\n }\r\n\r\n if (c) {\r\n ++e;\r\n } else {\r\n zc.splice(0, 1);\r\n }\r\n\r\n return normalise(y, zc, e);\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the value of this BigNumber negated,\r\n * i.e. multiplied by -1.\r\n */\r\n P.negated = function () {\r\n var x = new BigNumber(this);\r\n x.s = -x.s || null;\r\n return x;\r\n };\r\n\r\n\r\n /*\r\n * n + 0 = n\r\n * n + N = N\r\n * n + I = I\r\n * 0 + n = n\r\n * 0 + 0 = 0\r\n * 0 + N = N\r\n * 0 + I = I\r\n * N + n = N\r\n * N + 0 = N\r\n * N + N = N\r\n * N + I = N\r\n * I + n = I\r\n * I + 0 = I\r\n * I + N = N\r\n * I + I = I\r\n *\r\n * Return a new BigNumber whose value is the value of this BigNumber plus the value of\r\n * BigNumber(y, b).\r\n */\r\n P.plus = function (y, b) {\r\n var t,\r\n x = this,\r\n a = x.s;\r\n\r\n y = new BigNumber(y, b);\r\n b = y.s;\r\n\r\n // Either NaN?\r\n if (!a || !b) return new BigNumber(NaN);\r\n\r\n // Signs differ?\r\n if (a != b) {\r\n y.s = -b;\r\n return x.minus(y);\r\n }\r\n\r\n var xe = x.e / LOG_BASE,\r\n ye = y.e / LOG_BASE,\r\n xc = x.c,\r\n yc = y.c;\r\n\r\n if (!xe || !ye) {\r\n\r\n // Return ±Infinity if either ±Infinity.\r\n if (!xc || !yc) return new BigNumber(a / 0);\r\n\r\n // Either zero?\r\n // Return y if y is non-zero, x if x is non-zero, or zero if both are zero.\r\n if (!xc[0] || !yc[0]) return yc[0] ? y : new BigNumber(xc[0] ? x : a * 0);\r\n }\r\n\r\n xe = bitFloor(xe);\r\n ye = bitFloor(ye);\r\n xc = xc.slice();\r\n\r\n // Prepend zeros to equalise exponents. Faster to use reverse then do unshifts.\r\n if (a = xe - ye) {\r\n if (a > 0) {\r\n ye = xe;\r\n t = yc;\r\n } else {\r\n a = -a;\r\n t = xc;\r\n }\r\n\r\n t.reverse();\r\n for (; a--; t.push(0));\r\n t.reverse();\r\n }\r\n\r\n a = xc.length;\r\n b = yc.length;\r\n\r\n // Point xc to the longer array, and b to the shorter length.\r\n if (a - b < 0) {\r\n t = yc;\r\n yc = xc;\r\n xc = t;\r\n b = a;\r\n }\r\n\r\n // Only start adding at yc.length - 1 as the further digits of xc can be ignored.\r\n for (a = 0; b;) {\r\n a = (xc[--b] = xc[b] + yc[b] + a) / BASE | 0;\r\n xc[b] = BASE === xc[b] ? 0 : xc[b] % BASE;\r\n }\r\n\r\n if (a) {\r\n xc = [a].concat(xc);\r\n ++ye;\r\n }\r\n\r\n // No need to check for zero, as +x + +y != 0 && -x + -y != 0\r\n // ye = MAX_EXP + 1 possible\r\n return normalise(y, xc, ye);\r\n };\r\n\r\n\r\n /*\r\n * If sd is undefined or null or true or false, return the number of significant digits of\r\n * the value of this BigNumber, or null if the value of this BigNumber is ±Infinity or NaN.\r\n * If sd is true include integer-part trailing zeros in the count.\r\n *\r\n * Otherwise, if sd is a number, return a new BigNumber whose value is the value of this\r\n * BigNumber rounded to a maximum of sd significant digits using rounding mode rm, or\r\n * ROUNDING_MODE if rm is omitted.\r\n *\r\n * sd {number|boolean} number: significant digits: integer, 1 to MAX inclusive.\r\n * boolean: whether to count integer-part trailing zeros: true or false.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}'\r\n */\r\n P.precision = P.sd = function (sd, rm) {\r\n var c, n, v,\r\n x = this;\r\n\r\n if (sd != null && sd !== !!sd) {\r\n intCheck(sd, 1, MAX);\r\n if (rm == null) rm = ROUNDING_MODE;\r\n else intCheck(rm, 0, 8);\r\n\r\n return round(new BigNumber(x), sd, rm);\r\n }\r\n\r\n if (!(c = x.c)) return null;\r\n v = c.length - 1;\r\n n = v * LOG_BASE + 1;\r\n\r\n if (v = c[v]) {\r\n\r\n // Subtract the number of trailing zeros of the last element.\r\n for (; v % 10 == 0; v /= 10, n--);\r\n\r\n // Add the number of digits of the first element.\r\n for (v = c[0]; v >= 10; v /= 10, n++);\r\n }\r\n\r\n if (sd && x.e + 1 > n) n = x.e + 1;\r\n\r\n return n;\r\n };\r\n\r\n\r\n /*\r\n * Return a new BigNumber whose value is the value of this BigNumber shifted by k places\r\n * (powers of 10). Shift to the right if n > 0, and to the left if n < 0.\r\n *\r\n * k {number} Integer, -MAX_SAFE_INTEGER to MAX_SAFE_INTEGER inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {k}'\r\n */\r\n P.shiftedBy = function (k) {\r\n intCheck(k, -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER);\r\n return this.times('1e' + k);\r\n };\r\n\r\n\r\n /*\r\n * sqrt(-n) = N\r\n * sqrt(N) = N\r\n * sqrt(-I) = N\r\n * sqrt(I) = I\r\n * sqrt(0) = 0\r\n * sqrt(-0) = -0\r\n *\r\n * Return a new BigNumber whose value is the square root of the value of this BigNumber,\r\n * rounded according to DECIMAL_PLACES and ROUNDING_MODE.\r\n */\r\n P.squareRoot = P.sqrt = function () {\r\n var m, n, r, rep, t,\r\n x = this,\r\n c = x.c,\r\n s = x.s,\r\n e = x.e,\r\n dp = DECIMAL_PLACES + 4,\r\n half = new BigNumber('0.5');\r\n\r\n // Negative/NaN/Infinity/zero?\r\n if (s !== 1 || !c || !c[0]) {\r\n return new BigNumber(!s || s < 0 && (!c || c[0]) ? NaN : c ? x : 1 / 0);\r\n }\r\n\r\n // Initial estimate.\r\n s = Math.sqrt(+valueOf(x));\r\n\r\n // Math.sqrt underflow/overflow?\r\n // Pass x to Math.sqrt as integer, then adjust the exponent of the result.\r\n if (s == 0 || s == 1 / 0) {\r\n n = coeffToString(c);\r\n if ((n.length + e) % 2 == 0) n += '0';\r\n s = Math.sqrt(+n);\r\n e = bitFloor((e + 1) / 2) - (e < 0 || e % 2);\r\n\r\n if (s == 1 / 0) {\r\n n = '5e' + e;\r\n } else {\r\n n = s.toExponential();\r\n n = n.slice(0, n.indexOf('e') + 1) + e;\r\n }\r\n\r\n r = new BigNumber(n);\r\n } else {\r\n r = new BigNumber(s + '');\r\n }\r\n\r\n // Check for zero.\r\n // r could be zero if MIN_EXP is changed after the this value was created.\r\n // This would cause a division by zero (x/t) and hence Infinity below, which would cause\r\n // coeffToString to throw.\r\n if (r.c[0]) {\r\n e = r.e;\r\n s = e + dp;\r\n if (s < 3) s = 0;\r\n\r\n // Newton-Raphson iteration.\r\n for (; ;) {\r\n t = r;\r\n r = half.times(t.plus(div(x, t, dp, 1)));\r\n\r\n if (coeffToString(t.c).slice(0, s) === (n = coeffToString(r.c)).slice(0, s)) {\r\n\r\n // The exponent of r may here be one less than the final result exponent,\r\n // e.g 0.0009999 (e-4) --> 0.001 (e-3), so adjust s so the rounding digits\r\n // are indexed correctly.\r\n if (r.e < e) --s;\r\n n = n.slice(s - 3, s + 1);\r\n\r\n // The 4th rounding digit may be in error by -1 so if the 4 rounding digits\r\n // are 9999 or 4999 (i.e. approaching a rounding boundary) continue the\r\n // iteration.\r\n if (n == '9999' || !rep && n == '4999') {\r\n\r\n // On the first iteration only, check to see if rounding up gives the\r\n // exact result as the nines may infinitely repeat.\r\n if (!rep) {\r\n round(t, t.e + DECIMAL_PLACES + 2, 0);\r\n\r\n if (t.times(t).eq(x)) {\r\n r = t;\r\n break;\r\n }\r\n }\r\n\r\n dp += 4;\r\n s += 4;\r\n rep = 1;\r\n } else {\r\n\r\n // If rounding digits are null, 0{0,4} or 50{0,3}, check for exact\r\n // result. If not, then there are further digits and m will be truthy.\r\n if (!+n || !+n.slice(1) && n.charAt(0) == '5') {\r\n\r\n // Truncate to the first rounding digit.\r\n round(r, r.e + DECIMAL_PLACES + 2, 1);\r\n m = !r.times(r).eq(x);\r\n }\r\n\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return round(r, r.e + DECIMAL_PLACES + 1, ROUNDING_MODE, m);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this BigNumber in exponential notation and\r\n * rounded using ROUNDING_MODE to dp fixed decimal places.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'\r\n */\r\n P.toExponential = function (dp, rm) {\r\n if (dp != null) {\r\n intCheck(dp, 0, MAX);\r\n dp++;\r\n }\r\n return format(this, dp, rm, 1);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this BigNumber in fixed-point notation rounding\r\n * to dp fixed decimal places using rounding mode rm, or ROUNDING_MODE if rm is omitted.\r\n *\r\n * Note: as with JavaScript's number type, (-0).toFixed(0) is '0',\r\n * but e.g. (-0.00001).toFixed(0) is '-0'.\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'\r\n */\r\n P.toFixed = function (dp, rm) {\r\n if (dp != null) {\r\n intCheck(dp, 0, MAX);\r\n dp = dp + this.e + 1;\r\n }\r\n return format(this, dp, rm);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this BigNumber in fixed-point notation rounded\r\n * using rm or ROUNDING_MODE to dp decimal places, and formatted according to the properties\r\n * of the format or FORMAT object (see BigNumber.set).\r\n *\r\n * The formatting object may contain some or all of the properties shown below.\r\n *\r\n * FORMAT = {\r\n * prefix: '',\r\n * groupSize: 3,\r\n * secondaryGroupSize: 0,\r\n * groupSeparator: ',',\r\n * decimalSeparator: '.',\r\n * fractionGroupSize: 0,\r\n * fractionGroupSeparator: '\\xA0', // non-breaking space\r\n * suffix: ''\r\n * };\r\n *\r\n * [dp] {number} Decimal places. Integer, 0 to MAX inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n * [format] {object} Formatting options. See FORMAT pbject above.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {dp|rm}'\r\n * '[BigNumber Error] Argument not an object: {format}'\r\n */\r\n P.toFormat = function (dp, rm, format) {\r\n var str,\r\n x = this;\r\n\r\n if (format == null) {\r\n if (dp != null && rm && typeof rm == 'object') {\r\n format = rm;\r\n rm = null;\r\n } else if (dp && typeof dp == 'object') {\r\n format = dp;\r\n dp = rm = null;\r\n } else {\r\n format = FORMAT;\r\n }\r\n } else if (typeof format != 'object') {\r\n throw Error\r\n (bignumberError + 'Argument not an object: ' + format);\r\n }\r\n\r\n str = x.toFixed(dp, rm);\r\n\r\n if (x.c) {\r\n var i,\r\n arr = str.split('.'),\r\n g1 = +format.groupSize,\r\n g2 = +format.secondaryGroupSize,\r\n groupSeparator = format.groupSeparator || '',\r\n intPart = arr[0],\r\n fractionPart = arr[1],\r\n isNeg = x.s < 0,\r\n intDigits = isNeg ? intPart.slice(1) : intPart,\r\n len = intDigits.length;\r\n\r\n if (g2) {\r\n i = g1;\r\n g1 = g2;\r\n g2 = i;\r\n len -= i;\r\n }\r\n\r\n if (g1 > 0 && len > 0) {\r\n i = len % g1 || g1;\r\n intPart = intDigits.substr(0, i);\r\n for (; i < len; i += g1) intPart += groupSeparator + intDigits.substr(i, g1);\r\n if (g2 > 0) intPart += groupSeparator + intDigits.slice(i);\r\n if (isNeg) intPart = '-' + intPart;\r\n }\r\n\r\n str = fractionPart\r\n ? intPart + (format.decimalSeparator || '') + ((g2 = +format.fractionGroupSize)\r\n ? fractionPart.replace(new RegExp('\\\\d{' + g2 + '}\\\\B', 'g'),\r\n '$&' + (format.fractionGroupSeparator || ''))\r\n : fractionPart)\r\n : intPart;\r\n }\r\n\r\n return (format.prefix || '') + str + (format.suffix || '');\r\n };\r\n\r\n\r\n /*\r\n * Return an array of two BigNumbers representing the value of this BigNumber as a simple\r\n * fraction with an integer numerator and an integer denominator.\r\n * The denominator will be a positive non-zero value less than or equal to the specified\r\n * maximum denominator. If a maximum denominator is not specified, the denominator will be\r\n * the lowest value necessary to represent the number exactly.\r\n *\r\n * [md] {number|string|BigNumber} Integer >= 1, or Infinity. The maximum denominator.\r\n *\r\n * '[BigNumber Error] Argument {not an integer|out of range} : {md}'\r\n */\r\n P.toFraction = function (md) {\r\n var d, d0, d1, d2, e, exp, n, n0, n1, q, r, s,\r\n x = this,\r\n xc = x.c;\r\n\r\n if (md != null) {\r\n n = new BigNumber(md);\r\n\r\n // Throw if md is less than one or is not an integer, unless it is Infinity.\r\n if (!n.isInteger() && (n.c || n.s !== 1) || n.lt(ONE)) {\r\n throw Error\r\n (bignumberError + 'Argument ' +\r\n (n.isInteger() ? 'out of range: ' : 'not an integer: ') + valueOf(n));\r\n }\r\n }\r\n\r\n if (!xc) return new BigNumber(x);\r\n\r\n d = new BigNumber(ONE);\r\n n1 = d0 = new BigNumber(ONE);\r\n d1 = n0 = new BigNumber(ONE);\r\n s = coeffToString(xc);\r\n\r\n // Determine initial denominator.\r\n // d is a power of 10 and the minimum max denominator that specifies the value exactly.\r\n e = d.e = s.length - x.e - 1;\r\n d.c[0] = POWS_TEN[(exp = e % LOG_BASE) < 0 ? LOG_BASE + exp : exp];\r\n md = !md || n.comparedTo(d) > 0 ? (e > 0 ? d : n1) : n;\r\n\r\n exp = MAX_EXP;\r\n MAX_EXP = 1 / 0;\r\n n = new BigNumber(s);\r\n\r\n // n0 = d1 = 0\r\n n0.c[0] = 0;\r\n\r\n for (; ;) {\r\n q = div(n, d, 0, 1);\r\n d2 = d0.plus(q.times(d1));\r\n if (d2.comparedTo(md) == 1) break;\r\n d0 = d1;\r\n d1 = d2;\r\n n1 = n0.plus(q.times(d2 = n1));\r\n n0 = d2;\r\n d = n.minus(q.times(d2 = d));\r\n n = d2;\r\n }\r\n\r\n d2 = div(md.minus(d0), d1, 0, 1);\r\n n0 = n0.plus(d2.times(n1));\r\n d0 = d0.plus(d2.times(d1));\r\n n0.s = n1.s = x.s;\r\n e = e * 2;\r\n\r\n // Determine which fraction is closer to x, n0/d0 or n1/d1\r\n r = div(n1, d1, e, ROUNDING_MODE).minus(x).abs().comparedTo(\r\n div(n0, d0, e, ROUNDING_MODE).minus(x).abs()) < 1 ? [n1, d1] : [n0, d0];\r\n\r\n MAX_EXP = exp;\r\n\r\n return r;\r\n };\r\n\r\n\r\n /*\r\n * Return the value of this BigNumber converted to a number primitive.\r\n */\r\n P.toNumber = function () {\r\n return +valueOf(this);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this BigNumber rounded to sd significant digits\r\n * using rounding mode rm or ROUNDING_MODE. If sd is less than the number of digits\r\n * necessary to represent the integer part of the value in fixed-point notation, then use\r\n * exponential notation.\r\n *\r\n * [sd] {number} Significant digits. Integer, 1 to MAX inclusive.\r\n * [rm] {number} Rounding mode. Integer, 0 to 8 inclusive.\r\n *\r\n * '[BigNumber Error] Argument {not a primitive number|not an integer|out of range}: {sd|rm}'\r\n */\r\n P.toPrecision = function (sd, rm) {\r\n if (sd != null) intCheck(sd, 1, MAX);\r\n return format(this, sd, rm, 2);\r\n };\r\n\r\n\r\n /*\r\n * Return a string representing the value of this BigNumber in base b, or base 10 if b is\r\n * omitted. If a base is specified, including base 10, round according to DECIMAL_PLACES and\r\n * ROUNDING_MODE. If a base is not specified, and this BigNumber has a positive exponent\r\n * that is equal to or greater than TO_EXP_POS, or a negative exponent equal to or less than\r\n * TO_EXP_NEG, return exponential notation.\r\n *\r\n * [b] {number} Integer, 2 to ALPHABET.length inclusive.\r\n *\r\n * '[BigNumber Error] Base {not a primitive number|not an integer|out of range}: {b}'\r\n */\r\n P.toString = function (b) {\r\n var str,\r\n n = this,\r\n s = n.s,\r\n e = n.e;\r\n\r\n // Infinity or NaN?\r\n if (e === null) {\r\n if (s) {\r\n str = 'Infinity';\r\n if (s < 0) str = '-' + str;\r\n } else {\r\n str = 'NaN';\r\n }\r\n } else {\r\n if (b == null) {\r\n str = e <= TO_EXP_NEG || e >= TO_EXP_POS\r\n ? toExponential(coeffToString(n.c), e)\r\n : toFixedPoint(coeffToString(n.c), e, '0');\r\n } else if (b === 10 && alphabetHasNormalDecimalDigits) {\r\n n = round(new BigNumber(n), DECIMAL_PLACES + e + 1, ROUNDING_MODE);\r\n str = toFixedPoint(coeffToString(n.c), n.e, '0');\r\n } else {\r\n intCheck(b, 2, ALPHABET.length, 'Base');\r\n str = convertBase(toFixedPoint(coeffToString(n.c), e, '0'), 10, b, s, true);\r\n }\r\n\r\n if (s < 0 && n.c[0]) str = '-' + str;\r\n }\r\n\r\n return str;\r\n };\r\n\r\n\r\n /*\r\n * Return as toString, but do not accept a base argument, and include the minus sign for\r\n * negative zero.\r\n */\r\n P.valueOf = P.toJSON = function () {\r\n return valueOf(this);\r\n };\r\n\r\n\r\n P._isBigNumber = true;\r\n\r\n if (configObject != null) BigNumber.set(configObject);\r\n\r\n return BigNumber;\r\n }\r\n\r\n\r\n // PRIVATE HELPER FUNCTIONS\r\n\r\n // These functions don't need access to variables,\r\n // e.g. DECIMAL_PLACES, in the scope of the `clone` function above.\r\n\r\n\r\n function bitFloor(n) {\r\n var i = n | 0;\r\n return n > 0 || n === i ? i : i - 1;\r\n }\r\n\r\n\r\n // Return a coefficient array as a string of base 10 digits.\r\n function coeffToString(a) {\r\n var s, z,\r\n i = 1,\r\n j = a.length,\r\n r = a[0] + '';\r\n\r\n for (; i < j;) {\r\n s = a[i++] + '';\r\n z = LOG_BASE - s.length;\r\n for (; z--; s = '0' + s);\r\n r += s;\r\n }\r\n\r\n // Determine trailing zeros.\r\n for (j = r.length; r.charCodeAt(--j) === 48;);\r\n\r\n return r.slice(0, j + 1 || 1);\r\n }\r\n\r\n\r\n // Compare the value of BigNumbers x and y.\r\n function compare(x, y) {\r\n var a, b,\r\n xc = x.c,\r\n yc = y.c,\r\n i = x.s,\r\n j = y.s,\r\n k = x.e,\r\n l = y.e;\r\n\r\n // Either NaN?\r\n if (!i || !j) return null;\r\n\r\n a = xc && !xc[0];\r\n b = yc && !yc[0];\r\n\r\n // Either zero?\r\n if (a || b) return a ? b ? 0 : -j : i;\r\n\r\n // Signs differ?\r\n if (i != j) return i;\r\n\r\n a = i < 0;\r\n b = k == l;\r\n\r\n // Either Infinity?\r\n if (!xc || !yc) return b ? 0 : !xc ^ a ? 1 : -1;\r\n\r\n // Compare exponents.\r\n if (!b) return k > l ^ a ? 1 : -1;\r\n\r\n j = (k = xc.length) < (l = yc.length) ? k : l;\r\n\r\n // Compare digit by digit.\r\n for (i = 0; i < j; i++) if (xc[i] != yc[i]) return xc[i] > yc[i] ^ a ? 1 : -1;\r\n\r\n // Compare lengths.\r\n return k == l ? 0 : k > l ^ a ? 1 : -1;\r\n }\r\n\r\n\r\n /*\r\n * Check that n is a primitive number, an integer, and in range, otherwise throw.\r\n */\r\n function intCheck(n, min, max, name) {\r\n if (n < min || n > max || n !== mathfloor(n)) {\r\n throw Error\r\n (bignumberError + (name || 'Argument') + (typeof n == 'number'\r\n ? n < min || n > max ? ' out of range: ' : ' not an integer: '\r\n : ' not a primitive number: ') + String(n));\r\n }\r\n }\r\n\r\n\r\n // Assumes finite n.\r\n function isOdd(n) {\r\n var k = n.c.length - 1;\r\n return bitFloor(n.e / LOG_BASE) == k && n.c[k] % 2 != 0;\r\n }\r\n\r\n\r\n function toExponential(str, e) {\r\n return (str.length > 1 ? str.charAt(0) + '.' + str.slice(1) : str) +\r\n (e < 0 ? 'e' : 'e+') + e;\r\n }\r\n\r\n\r\n function toFixedPoint(str, e, z) {\r\n var len, zs;\r\n\r\n // Negative exponent?\r\n if (e < 0) {\r\n\r\n // Prepend zeros.\r\n for (zs = z + '.'; ++e; zs += z);\r\n str = zs + str;\r\n\r\n // Positive exponent\r\n } else {\r\n len = str.length;\r\n\r\n // Append zeros.\r\n if (++e > len) {\r\n for (zs = z, e -= len; --e; zs += z);\r\n str += zs;\r\n } else if (e < len) {\r\n str = str.slice(0, e) + '.' + str.slice(e);\r\n }\r\n }\r\n\r\n return str;\r\n }\r\n\r\n\r\n // EXPORT\r\n\r\n\r\n BigNumber = clone();\r\n BigNumber['default'] = BigNumber.BigNumber = BigNumber;\r\n\r\n // AMD.\r\n if (typeof define == 'function' && define.amd) {\r\n define(function () { return BigNumber; });\r\n\r\n // Node.js and other environments that support module.exports.\r\n } else if (typeof module != 'undefined' && module.exports) {\r\n module.exports = BigNumber;\r\n\r\n // Browser.\r\n } else {\r\n if (!globalObject) {\r\n globalObject = typeof self != 'undefined' && self ? self : window;\r\n }\r\n\r\n globalObject.BigNumber = BigNumber;\r\n }\r\n})(this);\r\n","/*jshint node:true */\n'use strict';\nvar Buffer = require('buffer').Buffer; // browserify\nvar SlowBuffer = require('buffer').SlowBuffer;\n\nmodule.exports = bufferEq;\n\nfunction bufferEq(a, b) {\n\n // shortcutting on type is necessary for correctness\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n return false;\n }\n\n // buffer sizes should be well-known information, so despite this\n // shortcutting, it doesn't leak any information about the *contents* of the\n // buffers.\n if (a.length !== b.length) {\n return false;\n }\n\n var c = 0;\n for (var i = 0; i < a.length; i++) {\n /*jshint bitwise:false */\n c |= a[i] ^ b[i]; // XOR\n }\n return c === 0;\n}\n\nbufferEq.install = function() {\n Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {\n return bufferEq(this, that);\n };\n};\n\nvar origBufEqual = Buffer.prototype.equal;\nvar origSlowBufEqual = SlowBuffer.prototype.equal;\nbufferEq.restore = function() {\n Buffer.prototype.equal = origBufEqual;\n SlowBuffer.prototype.equal = origSlowBufEqual;\n};\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n","'use strict';\n\nvar bind = require('function-bind');\nvar GetIntrinsic = require('get-intrinsic');\n\nvar $apply = GetIntrinsic('%Function.prototype.apply%');\nvar $call = GetIntrinsic('%Function.prototype.call%');\nvar $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\nvar $max = GetIntrinsic('%Math.max%');\n\nif ($defineProperty) {\n\ttry {\n\t\t$defineProperty({}, 'a', { value: 1 });\n\t} catch (e) {\n\t\t// IE 8 has a broken defineProperty\n\t\t$defineProperty = null;\n\t}\n}\n\nmodule.exports = function callBind(originalFunction) {\n\tvar func = $reflectApply(bind, $call, arguments);\n\tif ($gOPD && $defineProperty) {\n\t\tvar desc = $gOPD(func, 'length');\n\t\tif (desc.configurable) {\n\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t$defineProperty(\n\t\t\t\tfunc,\n\t\t\t\t'length',\n\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t);\n\t\t}\n\t}\n\treturn func;\n};\n\nvar applyBind = function applyBind() {\n\treturn $reflectApply(bind, $apply, arguments);\n};\n\nif ($defineProperty) {\n\t$defineProperty(module.exports, 'apply', { value: applyBind });\n} else {\n\tmodule.exports.apply = applyBind;\n}\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Detect Electron renderer / nwjs process, which is node, but we should\n * treat as a browser.\n */\n\nif (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {\n\tmodule.exports = require('./browser.js');\n} else {\n\tmodule.exports = require('./node.js');\n}\n","/**\n * Module dependencies.\n */\n\nconst tty = require('tty');\nconst util = require('util');\n\n/**\n * This is the Node.js implementation of `debug()`.\n */\n\nexports.init = init;\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.destroy = util.deprecate(\n\t() => {},\n\t'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'\n);\n\n/**\n * Colors.\n */\n\nexports.colors = [6, 2, 3, 4, 5, 1];\n\ntry {\n\t// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)\n\t// eslint-disable-next-line import/no-extraneous-dependencies\n\tconst supportsColor = require('supports-color');\n\n\tif (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {\n\t\texports.colors = [\n\t\t\t20,\n\t\t\t21,\n\t\t\t26,\n\t\t\t27,\n\t\t\t32,\n\t\t\t33,\n\t\t\t38,\n\t\t\t39,\n\t\t\t40,\n\t\t\t41,\n\t\t\t42,\n\t\t\t43,\n\t\t\t44,\n\t\t\t45,\n\t\t\t56,\n\t\t\t57,\n\t\t\t62,\n\t\t\t63,\n\t\t\t68,\n\t\t\t69,\n\t\t\t74,\n\t\t\t75,\n\t\t\t76,\n\t\t\t77,\n\t\t\t78,\n\t\t\t79,\n\t\t\t80,\n\t\t\t81,\n\t\t\t92,\n\t\t\t93,\n\t\t\t98,\n\t\t\t99,\n\t\t\t112,\n\t\t\t113,\n\t\t\t128,\n\t\t\t129,\n\t\t\t134,\n\t\t\t135,\n\t\t\t148,\n\t\t\t149,\n\t\t\t160,\n\t\t\t161,\n\t\t\t162,\n\t\t\t163,\n\t\t\t164,\n\t\t\t165,\n\t\t\t166,\n\t\t\t167,\n\t\t\t168,\n\t\t\t169,\n\t\t\t170,\n\t\t\t171,\n\t\t\t172,\n\t\t\t173,\n\t\t\t178,\n\t\t\t179,\n\t\t\t184,\n\t\t\t185,\n\t\t\t196,\n\t\t\t197,\n\t\t\t198,\n\t\t\t199,\n\t\t\t200,\n\t\t\t201,\n\t\t\t202,\n\t\t\t203,\n\t\t\t204,\n\t\t\t205,\n\t\t\t206,\n\t\t\t207,\n\t\t\t208,\n\t\t\t209,\n\t\t\t214,\n\t\t\t215,\n\t\t\t220,\n\t\t\t221\n\t\t];\n\t}\n} catch (error) {\n\t// Swallow - we only care if `supports-color` is available; it doesn't have to be.\n}\n\n/**\n * Build up the default `inspectOpts` object from the environment variables.\n *\n * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js\n */\n\nexports.inspectOpts = Object.keys(process.env).filter(key => {\n\treturn /^debug_/i.test(key);\n}).reduce((obj, key) => {\n\t// Camel-case\n\tconst prop = key\n\t\t.substring(6)\n\t\t.toLowerCase()\n\t\t.replace(/_([a-z])/g, (_, k) => {\n\t\t\treturn k.toUpperCase();\n\t\t});\n\n\t// Coerce string value into JS value\n\tlet val = process.env[key];\n\tif (/^(yes|on|true|enabled)$/i.test(val)) {\n\t\tval = true;\n\t} else if (/^(no|off|false|disabled)$/i.test(val)) {\n\t\tval = false;\n\t} else if (val === 'null') {\n\t\tval = null;\n\t} else {\n\t\tval = Number(val);\n\t}\n\n\tobj[prop] = val;\n\treturn obj;\n}, {});\n\n/**\n * Is stdout a TTY? Colored output is enabled when `true`.\n */\n\nfunction useColors() {\n\treturn 'colors' in exports.inspectOpts ?\n\t\tBoolean(exports.inspectOpts.colors) :\n\t\ttty.isatty(process.stderr.fd);\n}\n\n/**\n * Adds ANSI color escape codes if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\tconst {namespace: name, useColors} = this;\n\n\tif (useColors) {\n\t\tconst c = this.color;\n\t\tconst colorCode = '\\u001B[3' + (c < 8 ? c : '8;5;' + c);\n\t\tconst prefix = ` ${colorCode};1m${name} \\u001B[0m`;\n\n\t\targs[0] = prefix + args[0].split('\\n').join('\\n' + prefix);\n\t\targs.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\\u001B[0m');\n\t} else {\n\t\targs[0] = getDate() + name + ' ' + args[0];\n\t}\n}\n\nfunction getDate() {\n\tif (exports.inspectOpts.hideDate) {\n\t\treturn '';\n\t}\n\treturn new Date().toISOString() + ' ';\n}\n\n/**\n * Invokes `util.format()` with the specified arguments and writes to stderr.\n */\n\nfunction log(...args) {\n\treturn process.stderr.write(util.format(...args) + '\\n');\n}\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\tif (namespaces) {\n\t\tprocess.env.DEBUG = namespaces;\n\t} else {\n\t\t// If you set a process.env field to null or undefined, it gets cast to the\n\t\t// string 'null' or 'undefined'. Just delete instead.\n\t\tdelete process.env.DEBUG;\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\n\nfunction load() {\n\treturn process.env.DEBUG;\n}\n\n/**\n * Init logic for `debug` instances.\n *\n * Create a new `inspectOpts` object in case `useColors` is set\n * differently for a particular `debug` instance.\n */\n\nfunction init(debug) {\n\tdebug.inspectOpts = {};\n\n\tconst keys = Object.keys(exports.inspectOpts);\n\tfor (let i = 0; i < keys.length; i++) {\n\t\tdebug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %o to `util.inspect()`, all on a single line.\n */\n\nformatters.o = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts)\n\t\t.split('\\n')\n\t\t.map(str => str.trim())\n\t\t.join(' ');\n};\n\n/**\n * Map %O to `util.inspect()`, allowing multiple lines if needed.\n */\n\nformatters.O = function (v) {\n\tthis.inspectOpts.colors = this.useColors;\n\treturn util.inspect(v, this.inspectOpts);\n};\n","'use strict';\nconst isObj = require('is-obj');\n\nconst disallowedKeys = [\n\t'__proto__',\n\t'prototype',\n\t'constructor'\n];\n\nconst isValidPath = pathSegments => !pathSegments.some(segment => disallowedKeys.includes(segment));\n\nfunction getPathSegments(path) {\n\tconst pathArray = path.split('.');\n\tconst parts = [];\n\n\tfor (let i = 0; i < pathArray.length; i++) {\n\t\tlet p = pathArray[i];\n\n\t\twhile (p[p.length - 1] === '\\\\' && pathArray[i + 1] !== undefined) {\n\t\t\tp = p.slice(0, -1) + '.';\n\t\t\tp += pathArray[++i];\n\t\t}\n\n\t\tparts.push(p);\n\t}\n\n\tif (!isValidPath(parts)) {\n\t\treturn [];\n\t}\n\n\treturn parts;\n}\n\nmodule.exports = {\n\tget(object, path, value) {\n\t\tif (!isObj(object) || typeof path !== 'string') {\n\t\t\treturn value === undefined ? object : value;\n\t\t}\n\n\t\tconst pathArray = getPathSegments(path);\n\t\tif (pathArray.length === 0) {\n\t\t\treturn;\n\t\t}\n\n\t\tfor (let i = 0; i < pathArray.length; i++) {\n\t\t\tif (!Object.prototype.propertyIsEnumerable.call(object, pathArray[i])) {\n\t\t\t\treturn value;\n\t\t\t}\n\n\t\t\tobject = object[pathArray[i]];\n\n\t\t\tif (object === undefined || object === null) {\n\t\t\t\t// `object` is either `undefined` or `null` so we want to stop the loop, and\n\t\t\t\t// if this is not the last bit of the path, and\n\t\t\t\t// if it did't return `undefined`\n\t\t\t\t// it would return `null` if `object` is `null`\n\t\t\t\t// but we want `get({foo: null}, 'foo.bar')` to equal `undefined`, or the supplied value, not `null`\n\t\t\t\tif (i !== pathArray.length - 1) {\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn object;\n\t},\n\n\tset(object, path, value) {\n\t\tif (!isObj(object) || typeof path !== 'string') {\n\t\t\treturn object;\n\t\t}\n\n\t\tconst root = object;\n\t\tconst pathArray = getPathSegments(path);\n\n\t\tfor (let i = 0; i < pathArray.length; i++) {\n\t\t\tconst p = pathArray[i];\n\n\t\t\tif (!isObj(object[p])) {\n\t\t\t\tobject[p] = {};\n\t\t\t}\n\n\t\t\tif (i === pathArray.length - 1) {\n\t\t\t\tobject[p] = value;\n\t\t\t}\n\n\t\t\tobject = object[p];\n\t\t}\n\n\t\treturn root;\n\t},\n\n\tdelete(object, path) {\n\t\tif (!isObj(object) || typeof path !== 'string') {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst pathArray = getPathSegments(path);\n\n\t\tfor (let i = 0; i < pathArray.length; i++) {\n\t\t\tconst p = pathArray[i];\n\n\t\t\tif (i === pathArray.length - 1) {\n\t\t\t\tdelete object[p];\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tobject = object[p];\n\n\t\t\tif (!isObj(object)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t},\n\n\thas(object, path) {\n\t\tif (!isObj(object) || typeof path !== 'string') {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst pathArray = getPathSegments(path);\n\t\tif (pathArray.length === 0) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// eslint-disable-next-line unicorn/no-for-loop\n\t\tfor (let i = 0; i < pathArray.length; i++) {\n\t\t\tif (isObj(object)) {\n\t\t\t\tif (!(pathArray[i] in object)) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tobject = object[pathArray[i]];\n\t\t\t} else {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n};\n","'use strict';\n\nvar Buffer = require('safe-buffer').Buffer;\n\nvar getParamBytesForAlg = require('./param-bytes-for-alg');\n\nvar MAX_OCTET = 0x80,\n\tCLASS_UNIVERSAL = 0,\n\tPRIMITIVE_BIT = 0x20,\n\tTAG_SEQ = 0x10,\n\tTAG_INT = 0x02,\n\tENCODED_TAG_SEQ = (TAG_SEQ | PRIMITIVE_BIT) | (CLASS_UNIVERSAL << 6),\n\tENCODED_TAG_INT = TAG_INT | (CLASS_UNIVERSAL << 6);\n\nfunction base64Url(base64) {\n\treturn base64\n\t\t.replace(/=/g, '')\n\t\t.replace(/\\+/g, '-')\n\t\t.replace(/\\//g, '_');\n}\n\nfunction signatureAsBuffer(signature) {\n\tif (Buffer.isBuffer(signature)) {\n\t\treturn signature;\n\t} else if ('string' === typeof signature) {\n\t\treturn Buffer.from(signature, 'base64');\n\t}\n\n\tthrow new TypeError('ECDSA signature must be a Base64 string or a Buffer');\n}\n\nfunction derToJose(signature, alg) {\n\tsignature = signatureAsBuffer(signature);\n\tvar paramBytes = getParamBytesForAlg(alg);\n\n\t// the DER encoded param should at most be the param size, plus a padding\n\t// zero, since due to being a signed integer\n\tvar maxEncodedParamLength = paramBytes + 1;\n\n\tvar inputLength = signature.length;\n\n\tvar offset = 0;\n\tif (signature[offset++] !== ENCODED_TAG_SEQ) {\n\t\tthrow new Error('Could not find expected \"seq\"');\n\t}\n\n\tvar seqLength = signature[offset++];\n\tif (seqLength === (MAX_OCTET | 1)) {\n\t\tseqLength = signature[offset++];\n\t}\n\n\tif (inputLength - offset < seqLength) {\n\t\tthrow new Error('\"seq\" specified length of \"' + seqLength + '\", only \"' + (inputLength - offset) + '\" remaining');\n\t}\n\n\tif (signature[offset++] !== ENCODED_TAG_INT) {\n\t\tthrow new Error('Could not find expected \"int\" for \"r\"');\n\t}\n\n\tvar rLength = signature[offset++];\n\n\tif (inputLength - offset - 2 < rLength) {\n\t\tthrow new Error('\"r\" specified length of \"' + rLength + '\", only \"' + (inputLength - offset - 2) + '\" available');\n\t}\n\n\tif (maxEncodedParamLength < rLength) {\n\t\tthrow new Error('\"r\" specified length of \"' + rLength + '\", max of \"' + maxEncodedParamLength + '\" is acceptable');\n\t}\n\n\tvar rOffset = offset;\n\toffset += rLength;\n\n\tif (signature[offset++] !== ENCODED_TAG_INT) {\n\t\tthrow new Error('Could not find expected \"int\" for \"s\"');\n\t}\n\n\tvar sLength = signature[offset++];\n\n\tif (inputLength - offset !== sLength) {\n\t\tthrow new Error('\"s\" specified length of \"' + sLength + '\", expected \"' + (inputLength - offset) + '\"');\n\t}\n\n\tif (maxEncodedParamLength < sLength) {\n\t\tthrow new Error('\"s\" specified length of \"' + sLength + '\", max of \"' + maxEncodedParamLength + '\" is acceptable');\n\t}\n\n\tvar sOffset = offset;\n\toffset += sLength;\n\n\tif (offset !== inputLength) {\n\t\tthrow new Error('Expected to consume entire buffer, but \"' + (inputLength - offset) + '\" bytes remain');\n\t}\n\n\tvar rPadding = paramBytes - rLength,\n\t\tsPadding = paramBytes - sLength;\n\n\tvar dst = Buffer.allocUnsafe(rPadding + rLength + sPadding + sLength);\n\n\tfor (offset = 0; offset < rPadding; ++offset) {\n\t\tdst[offset] = 0;\n\t}\n\tsignature.copy(dst, offset, rOffset + Math.max(-rPadding, 0), rOffset + rLength);\n\n\toffset = paramBytes;\n\n\tfor (var o = offset; offset < o + sPadding; ++offset) {\n\t\tdst[offset] = 0;\n\t}\n\tsignature.copy(dst, offset, sOffset + Math.max(-sPadding, 0), sOffset + sLength);\n\n\tdst = dst.toString('base64');\n\tdst = base64Url(dst);\n\n\treturn dst;\n}\n\nfunction countPadding(buf, start, stop) {\n\tvar padding = 0;\n\twhile (start + padding < stop && buf[start + padding] === 0) {\n\t\t++padding;\n\t}\n\n\tvar needsSign = buf[start + padding] >= MAX_OCTET;\n\tif (needsSign) {\n\t\t--padding;\n\t}\n\n\treturn padding;\n}\n\nfunction joseToDer(signature, alg) {\n\tsignature = signatureAsBuffer(signature);\n\tvar paramBytes = getParamBytesForAlg(alg);\n\n\tvar signatureBytes = signature.length;\n\tif (signatureBytes !== paramBytes * 2) {\n\t\tthrow new TypeError('\"' + alg + '\" signatures must be \"' + paramBytes * 2 + '\" bytes, saw \"' + signatureBytes + '\"');\n\t}\n\n\tvar rPadding = countPadding(signature, 0, paramBytes);\n\tvar sPadding = countPadding(signature, paramBytes, signature.length);\n\tvar rLength = paramBytes - rPadding;\n\tvar sLength = paramBytes - sPadding;\n\n\tvar rsBytes = 1 + 1 + rLength + 1 + 1 + sLength;\n\n\tvar shortLength = rsBytes < MAX_OCTET;\n\n\tvar dst = Buffer.allocUnsafe((shortLength ? 2 : 3) + rsBytes);\n\n\tvar offset = 0;\n\tdst[offset++] = ENCODED_TAG_SEQ;\n\tif (shortLength) {\n\t\t// Bit 8 has value \"0\"\n\t\t// bits 7-1 give the length.\n\t\tdst[offset++] = rsBytes;\n\t} else {\n\t\t// Bit 8 of first octet has value \"1\"\n\t\t// bits 7-1 give the number of additional length octets.\n\t\tdst[offset++] = MAX_OCTET\t| 1;\n\t\t// length, base 256\n\t\tdst[offset++] = rsBytes & 0xff;\n\t}\n\tdst[offset++] = ENCODED_TAG_INT;\n\tdst[offset++] = rLength;\n\tif (rPadding < 0) {\n\t\tdst[offset++] = 0;\n\t\toffset += signature.copy(dst, offset, 0, paramBytes);\n\t} else {\n\t\toffset += signature.copy(dst, offset, rPadding, paramBytes);\n\t}\n\tdst[offset++] = ENCODED_TAG_INT;\n\tdst[offset++] = sLength;\n\tif (sPadding < 0) {\n\t\tdst[offset++] = 0;\n\t\tsignature.copy(dst, offset, paramBytes);\n\t} else {\n\t\tsignature.copy(dst, offset, paramBytes + sPadding);\n\t}\n\n\treturn dst;\n}\n\nmodule.exports = {\n\tderToJose: derToJose,\n\tjoseToDer: joseToDer\n};\n","'use strict';\n\nfunction getParamSize(keySize) {\n\tvar result = ((keySize / 8) | 0) + (keySize % 8 === 0 ? 0 : 1);\n\treturn result;\n}\n\nvar paramBytesForAlg = {\n\tES256: getParamSize(256),\n\tES384: getParamSize(384),\n\tES512: getParamSize(521)\n};\n\nfunction getParamBytesForAlg(alg) {\n\tvar paramBytes = paramBytesForAlg[alg];\n\tif (paramBytes) {\n\t\treturn paramBytes;\n\t}\n\n\tthrow new Error('Unknown algorithm \"' + alg + '\"');\n}\n\nmodule.exports = getParamBytesForAlg;\n","'use strict';\n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toStr = Object.prototype.toString;\nvar defineProperty = Object.defineProperty;\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nvar isArray = function isArray(arr) {\n\tif (typeof Array.isArray === 'function') {\n\t\treturn Array.isArray(arr);\n\t}\n\n\treturn toStr.call(arr) === '[object Array]';\n};\n\nvar isPlainObject = function isPlainObject(obj) {\n\tif (!obj || toStr.call(obj) !== '[object Object]') {\n\t\treturn false;\n\t}\n\n\tvar hasOwnConstructor = hasOwn.call(obj, 'constructor');\n\tvar hasIsPrototypeOf = obj.constructor && obj.constructor.prototype && hasOwn.call(obj.constructor.prototype, 'isPrototypeOf');\n\t// Not own constructor property must be Object\n\tif (obj.constructor && !hasOwnConstructor && !hasIsPrototypeOf) {\n\t\treturn false;\n\t}\n\n\t// Own properties are enumerated firstly, so to speed up,\n\t// if last one is own, then all properties are own.\n\tvar key;\n\tfor (key in obj) { /**/ }\n\n\treturn typeof key === 'undefined' || hasOwn.call(obj, key);\n};\n\n// If name is '__proto__', and Object.defineProperty is available, define __proto__ as an own property on target\nvar setProperty = function setProperty(target, options) {\n\tif (defineProperty && options.name === '__proto__') {\n\t\tdefineProperty(target, options.name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\tvalue: options.newValue,\n\t\t\twritable: true\n\t\t});\n\t} else {\n\t\ttarget[options.name] = options.newValue;\n\t}\n};\n\n// Return undefined instead of __proto__ if '__proto__' is not an own property\nvar getProperty = function getProperty(obj, name) {\n\tif (name === '__proto__') {\n\t\tif (!hasOwn.call(obj, name)) {\n\t\t\treturn void 0;\n\t\t} else if (gOPD) {\n\t\t\t// In early versions of node, obj['__proto__'] is buggy when obj has\n\t\t\t// __proto__ as an own property. Object.getOwnPropertyDescriptor() works.\n\t\t\treturn gOPD(obj, name).value;\n\t\t}\n\t}\n\n\treturn obj[name];\n};\n\nmodule.exports = function extend() {\n\tvar options, name, src, copy, copyIsArray, clone;\n\tvar target = arguments[0];\n\tvar i = 1;\n\tvar length = arguments.length;\n\tvar deep = false;\n\n\t// Handle a deep copy situation\n\tif (typeof target === 'boolean') {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\tif (target == null || (typeof target !== 'object' && typeof target !== 'function')) {\n\t\ttarget = {};\n\t}\n\n\tfor (; i < length; ++i) {\n\t\toptions = arguments[i];\n\t\t// Only deal with non-null/undefined values\n\t\tif (options != null) {\n\t\t\t// Extend the base object\n\t\t\tfor (name in options) {\n\t\t\t\tsrc = getProperty(target, name);\n\t\t\t\tcopy = getProperty(options, name);\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif (target !== copy) {\n\t\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\t\tif (deep && copy && (isPlainObject(copy) || (copyIsArray = isArray(copy)))) {\n\t\t\t\t\t\tif (copyIsArray) {\n\t\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\t\tclone = src && isArray(src) ? src : [];\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tclone = src && isPlainObject(src) ? src : {};\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: extend(deep, clone, copy) });\n\n\t\t\t\t\t// Don't bring in undefined values\n\t\t\t\t\t} else if (typeof copy !== 'undefined') {\n\t\t\t\t\t\tsetProperty(target, { name: name, newValue: copy });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n","(function(scope) {'use strict';\nfunction B(r,e){var f;return r instanceof Buffer?f=r:f=Buffer.from(r.buffer,r.byteOffset,r.byteLength),f.toString(e)}var w=function(r){return Buffer.from(r)};function h(r){for(var e=0,f=Math.min(256*256,r.length+1),n=new Uint16Array(f),i=[],o=0;;){var t=e=f-1){var s=n.subarray(0,o),m=s;if(i.push(String.fromCharCode.apply(null,m)),!t)return i.join(\"\");r=r.subarray(e),e=0,o=0}var a=r[e++];if((a&128)===0)n[o++]=a;else if((a&224)===192){var d=r[e++]&63;n[o++]=(a&31)<<6|d}else if((a&240)===224){var d=r[e++]&63,l=r[e++]&63;n[o++]=(a&31)<<12|d<<6|l}else if((a&248)===240){var d=r[e++]&63,l=r[e++]&63,R=r[e++]&63,c=(a&7)<<18|d<<12|l<<6|R;c>65535&&(c-=65536,n[o++]=c>>>10&1023|55296,c=56320|c&1023),n[o++]=c}}}function F(r){for(var e=0,f=r.length,n=0,i=Math.max(32,f+(f>>>1)+7),o=new Uint8Array(i>>>3<<3);e=55296&&t<=56319){if(e=55296&&t<=56319)continue}if(n+4>o.length){i+=8,i*=1+e/r.length*2,i=i>>>3<<3;var m=new Uint8Array(i);m.set(o),o=m}if((t&4294967168)===0){o[n++]=t;continue}else if((t&4294965248)===0)o[n++]=t>>>6&31|192;else if((t&4294901760)===0)o[n++]=t>>>12&15|224,o[n++]=t>>>6&63|128;else if((t&4292870144)===0)o[n++]=t>>>18&7|240,o[n++]=t>>>12&63|128,o[n++]=t>>>6&63|128;else continue;o[n++]=t&63|128}return o.slice?o.slice(0,n):o.subarray(0,n)}var u=\"Failed to \",p=function(r,e,f){if(r)throw new Error(\"\".concat(u).concat(e,\": the '\").concat(f,\"' option is unsupported.\"))};var x=typeof Buffer==\"function\"&&Buffer.from;var A=x?w:F;function v(){this.encoding=\"utf-8\"}v.prototype.encode=function(r,e){return p(e&&e.stream,\"encode\",\"stream\"),A(r)};function U(r){var e;try{var f=new Blob([r],{type:\"text/plain;charset=UTF-8\"});e=URL.createObjectURL(f);var n=new XMLHttpRequest;return n.open(\"GET\",e,!1),n.send(),n.responseText}finally{e&&URL.revokeObjectURL(e)}}var O=!x&&typeof Blob==\"function\"&&typeof URL==\"function\"&&typeof URL.createObjectURL==\"function\",S=[\"utf-8\",\"utf8\",\"unicode-1-1-utf-8\"],T=h;x?T=B:O&&(T=function(r){try{return U(r)}catch(e){return h(r)}});var y=\"construct 'TextDecoder'\",E=\"\".concat(u,\" \").concat(y,\": the \");function g(r,e){p(e&&e.fatal,y,\"fatal\"),r=r||\"utf-8\";var f;if(x?f=Buffer.isEncoding(r):f=S.indexOf(r.toLowerCase())!==-1,!f)throw new RangeError(\"\".concat(E,\" encoding label provided ('\").concat(r,\"') is invalid.\"));this.encoding=r,this.fatal=!1,this.ignoreBOM=!1}g.prototype.decode=function(r,e){p(e&&e.stream,\"decode\",\"stream\");var f;return r instanceof Uint8Array?f=r:r.buffer instanceof ArrayBuffer?f=new Uint8Array(r.buffer):f=new Uint8Array(r),T(f,this.encoding)};scope.TextEncoder=scope.TextEncoder||v;scope.TextDecoder=scope.TextDecoder||g;\n}(typeof window !== 'undefined' ? window : (typeof global !== 'undefined' ? global : this)));\n","'use strict';\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n","'use strict';\n\nvar implementation = require('./implementation');\n\nmodule.exports = Function.prototype.bind || implementation;\n","\"use strict\";\n// Copyright 2018 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// tslint:disable no-any\nclass GaxiosError extends Error {\n constructor(message, options, response) {\n super(message);\n this.response = response;\n this.config = options;\n this.code = response.status.toString();\n }\n}\nexports.GaxiosError = GaxiosError;\n//# sourceMappingURL=common.js.map","\"use strict\";\n// Copyright 2018 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst extend_1 = __importDefault(require(\"extend\"));\nconst node_fetch_1 = __importDefault(require(\"node-fetch\"));\nconst querystring_1 = __importDefault(require(\"querystring\"));\nconst is_stream_1 = __importDefault(require(\"is-stream\"));\nconst url_1 = __importDefault(require(\"url\"));\nconst common_1 = require(\"./common\");\nconst retry_1 = require(\"./retry\");\n// tslint:disable no-any\nconst URL = hasURL() ? window.URL : url_1.default.URL;\nconst fetch = hasFetch() ? window.fetch : node_fetch_1.default;\nfunction hasWindow() {\n return typeof window !== 'undefined' && !!window;\n}\nfunction hasURL() {\n return hasWindow() && !!window.URL;\n}\nfunction hasFetch() {\n return hasWindow() && !!window.fetch;\n}\n// tslint:disable-next-line variable-name\nlet HttpsProxyAgent;\n// Figure out if we should be using a proxy. Only if it's required, load\n// the https-proxy-agent module as it adds startup cost.\nfunction loadProxy() {\n const proxy = process.env.HTTPS_PROXY ||\n process.env.https_proxy ||\n process.env.HTTP_PROXY ||\n process.env.http_proxy;\n if (proxy) {\n HttpsProxyAgent = require('https-proxy-agent');\n }\n return proxy;\n}\nloadProxy();\nclass Gaxios {\n /**\n * The Gaxios class is responsible for making HTTP requests.\n * @param defaults The default set of options to be used for this instance.\n */\n constructor(defaults) {\n this.agentCache = new Map();\n this.defaults = defaults || {};\n }\n /**\n * Perform an HTTP request with the given options.\n * @param opts Set of HTTP options that will be used for this HTTP request.\n */\n async request(opts = {}) {\n opts = this.validateOpts(opts);\n return this._request(opts);\n }\n /**\n * Internal, retryable version of the `request` method.\n * @param opts Set of HTTP options that will be used for this HTTP request.\n */\n async _request(opts = {}) {\n try {\n let translatedResponse;\n if (opts.adapter) {\n translatedResponse = await opts.adapter(opts);\n }\n else {\n const res = await fetch(opts.url, opts);\n const data = await this.getResponseData(opts, res);\n translatedResponse = this.translateResponse(opts, res, data);\n }\n if (!opts.validateStatus(translatedResponse.status)) {\n throw new common_1.GaxiosError(`Request failed with status code ${translatedResponse.status}`, opts, translatedResponse);\n }\n return translatedResponse;\n }\n catch (e) {\n const err = e;\n err.config = opts;\n const { shouldRetry, config } = await retry_1.getRetryConfig(e);\n if (shouldRetry && config) {\n err.config.retryConfig.currentRetryAttempt = config.retryConfig.currentRetryAttempt;\n return this._request(err.config);\n }\n throw err;\n }\n }\n async getResponseData(opts, res) {\n switch (opts.responseType) {\n case 'stream':\n return res.body;\n case 'json':\n let data = await res.text();\n try {\n data = JSON.parse(data);\n }\n catch (e) { }\n return data;\n case 'arraybuffer':\n return res.arrayBuffer();\n case 'blob':\n return res.blob();\n default:\n return res.text();\n }\n }\n /**\n * Validates the options, and merges them with defaults.\n * @param opts The original options passed from the client.\n */\n validateOpts(options) {\n const opts = extend_1.default(true, {}, this.defaults, options);\n if (!opts.url) {\n throw new Error('URL is required.');\n }\n // baseUrl has been deprecated, remove in 2.0\n const baseUrl = opts.baseUrl || opts.baseURL;\n if (baseUrl) {\n opts.url = baseUrl + opts.url;\n }\n const parsedUrl = new URL(opts.url);\n opts.url = `${parsedUrl.origin}${parsedUrl.pathname}`;\n opts.params = extend_1.default(querystring_1.default.parse(parsedUrl.search.substr(1)), // removes leading ?\n opts.params);\n opts.paramsSerializer = opts.paramsSerializer || this.paramsSerializer;\n if (opts.params) {\n parsedUrl.search = opts.paramsSerializer(opts.params);\n }\n opts.url = parsedUrl.href;\n if (typeof options.maxContentLength === 'number') {\n opts.size = options.maxContentLength;\n }\n if (typeof options.maxRedirects === 'number') {\n opts.follow = options.maxRedirects;\n }\n opts.headers = opts.headers || {};\n if (opts.data) {\n if (is_stream_1.default.readable(opts.data)) {\n opts.body = opts.data;\n }\n else if (typeof opts.data === 'object') {\n opts.body = JSON.stringify(opts.data);\n // Allow the user to specifiy their own content type,\n // such as application/json-patch+json; for historical reasons this\n // content type must currently be a json type, as we are relying on\n // application/x-www-form-urlencoded (which is incompatible with\n // upstream GCP APIs) being rewritten to application/json.\n //\n // TODO: refactor upstream dependencies to stop relying on this\n // side-effect.\n if (!opts.headers['Content-Type'] ||\n !opts.headers['Content-Type'].includes('json')) {\n opts.headers['Content-Type'] = 'application/json';\n }\n }\n else {\n opts.body = opts.data;\n }\n }\n opts.validateStatus = opts.validateStatus || this.validateStatus;\n opts.responseType = opts.responseType || 'json';\n if (!opts.headers['Accept'] && opts.responseType === 'json') {\n opts.headers['Accept'] = 'application/json';\n }\n opts.method = opts.method || 'GET';\n const proxy = loadProxy();\n if (proxy) {\n if (this.agentCache.has(proxy)) {\n opts.agent = this.agentCache.get(proxy);\n }\n else {\n opts.agent = new HttpsProxyAgent(proxy);\n this.agentCache.set(proxy, opts.agent);\n }\n }\n return opts;\n }\n /**\n * By default, throw for any non-2xx status code\n * @param status status code from the HTTP response\n */\n validateStatus(status) {\n return status >= 200 && status < 300;\n }\n /**\n * Encode a set of key/value pars into a querystring format (?foo=bar&baz=boo)\n * @param params key value pars to encode\n */\n paramsSerializer(params) {\n return querystring_1.default.stringify(params);\n }\n translateResponse(opts, res, data) {\n // headers need to be converted from a map to an obj\n const headers = {};\n res.headers.forEach((value, key) => {\n headers[key] = value;\n });\n return {\n config: opts,\n data: data,\n headers,\n status: res.status,\n statusText: res.statusText,\n // XMLHttpRequestLike\n request: {\n responseURL: res.url,\n },\n };\n }\n}\nexports.Gaxios = Gaxios;\n//# sourceMappingURL=gaxios.js.map","\"use strict\";\n// Copyright 2018 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst gaxios_1 = require(\"./gaxios\");\nexports.Gaxios = gaxios_1.Gaxios;\nvar common_1 = require(\"./common\");\nexports.GaxiosError = common_1.GaxiosError;\n/**\n * The default instance used when the `request` method is directly\n * invoked.\n */\nexports.instance = new gaxios_1.Gaxios();\n/**\n * Make an HTTP request using the given options.\n * @param opts Options for the request\n */\nasync function request(opts) {\n return exports.instance.request(opts);\n}\nexports.request = request;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2018 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nasync function getRetryConfig(err) {\n let config = getConfig(err);\n if (!err || !err.config || (!config && !err.config.retry)) {\n return { shouldRetry: false };\n }\n config = config || {};\n config.currentRetryAttempt = config.currentRetryAttempt || 0;\n config.retry =\n config.retry === undefined || config.retry === null ? 3 : config.retry;\n config.httpMethodsToRetry = config.httpMethodsToRetry || [\n 'GET',\n 'HEAD',\n 'PUT',\n 'OPTIONS',\n 'DELETE',\n ];\n config.noResponseRetries =\n config.noResponseRetries === undefined || config.noResponseRetries === null\n ? 2\n : config.noResponseRetries;\n // If this wasn't in the list of status codes where we want\n // to automatically retry, return.\n const retryRanges = [\n // https://en.wikipedia.org/wiki/List_of_HTTP_status_codes\n // 1xx - Retry (Informational, request still processing)\n // 2xx - Do not retry (Success)\n // 3xx - Do not retry (Redirect)\n // 4xx - Do not retry (Client errors)\n // 429 - Retry (\"Too Many Requests\")\n // 5xx - Retry (Server errors)\n [100, 199],\n [429, 429],\n [500, 599],\n ];\n config.statusCodesToRetry = config.statusCodesToRetry || retryRanges;\n // Put the config back into the err\n err.config.retryConfig = config;\n // Determine if we should retry the request\n const shouldRetryFn = config.shouldRetry || shouldRetryRequest;\n if (!(await shouldRetryFn(err))) {\n return { shouldRetry: false, config: err.config };\n }\n // Calculate time to wait with exponential backoff.\n // Formula: (2^c - 1 / 2) * 1000\n const delay = ((Math.pow(2, config.currentRetryAttempt) - 1) / 2) * 1000;\n // We're going to retry! Incremenent the counter.\n err.config.retryConfig.currentRetryAttempt += 1;\n // Create a promise that invokes the retry after the backOffDelay\n const backoff = new Promise(resolve => {\n setTimeout(resolve, delay);\n });\n // Notify the user if they added an `onRetryAttempt` handler\n if (config.onRetryAttempt) {\n config.onRetryAttempt(err);\n }\n // Return the promise in which recalls Gaxios to retry the request\n await backoff;\n return { shouldRetry: true, config: err.config };\n}\nexports.getRetryConfig = getRetryConfig;\n/**\n * Determine based on config if we should retry the request.\n * @param err The GaxiosError passed to the interceptor.\n */\nfunction shouldRetryRequest(err) {\n const config = getConfig(err);\n // node-fetch raises an AbortError if signaled:\n // https://github.com/bitinn/node-fetch#request-cancellation-with-abortsignal\n if (err.name === 'AbortError') {\n return false;\n }\n // If there's no config, or retries are disabled, return.\n if (!config || config.retry === 0) {\n return false;\n }\n // Check if this error has no response (ETIMEDOUT, ENOTFOUND, etc)\n if (!err.response &&\n (config.currentRetryAttempt || 0) >= config.noResponseRetries) {\n return false;\n }\n // Only retry with configured HttpMethods.\n if (!err.config.method ||\n config.httpMethodsToRetry.indexOf(err.config.method.toUpperCase()) < 0) {\n return false;\n }\n // If this wasn't in the list of status codes where we want\n // to automatically retry, return.\n if (err.response && err.response.status) {\n let isInRange = false;\n for (const [min, max] of config.statusCodesToRetry) {\n const status = err.response.status;\n if (status >= min && status <= max) {\n isInRange = true;\n break;\n }\n }\n if (!isInRange) {\n return false;\n }\n }\n // If we are out of retry attempts, return\n config.currentRetryAttempt = config.currentRetryAttempt || 0;\n if (config.currentRetryAttempt >= config.retry) {\n return false;\n }\n return true;\n}\n/**\n * Acquire the raxConfig object from an GaxiosError if available.\n * @param err The Gaxios error with a config object.\n */\nfunction getConfig(err) {\n if (err && err.config && err.config.retryConfig) {\n return err.config.retryConfig;\n }\n return;\n}\n//# sourceMappingURL=retry.js.map","\"use strict\";\n/**\n * Copyright 2018 Google LLC\n *\n * Distributed under MIT license.\n * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst gaxios_1 = require(\"gaxios\");\nconst jsonBigint = require('json-bigint');\nexports.HOST_ADDRESS = 'http://169.254.169.254';\nexports.BASE_PATH = '/computeMetadata/v1';\nexports.BASE_URL = exports.HOST_ADDRESS + exports.BASE_PATH;\nexports.SECONDARY_HOST_ADDRESS = 'http://metadata.google.internal.';\nexports.SECONDARY_BASE_URL = exports.SECONDARY_HOST_ADDRESS + exports.BASE_PATH;\nexports.HEADER_NAME = 'Metadata-Flavor';\nexports.HEADER_VALUE = 'Google';\nexports.HEADERS = Object.freeze({ [exports.HEADER_NAME]: exports.HEADER_VALUE });\n// Accepts an options object passed from the user to the API. In previous\n// versions of the API, it referred to a `Request` or an `Axios` request\n// options object. Now it refers to an object with very limited property\n// names. This is here to help ensure users don't pass invalid options when\n// they upgrade from 0.4 to 0.5 to 0.8.\nfunction validate(options) {\n Object.keys(options).forEach(key => {\n switch (key) {\n case 'params':\n case 'property':\n case 'headers':\n break;\n case 'qs':\n throw new Error(`'qs' is not a valid configuration option. Please use 'params' instead.`);\n default:\n throw new Error(`'${key}' is not a valid configuration option.`);\n }\n });\n}\nasync function metadataAccessor(type, options, noResponseRetries = 3, fastFail = false) {\n options = options || {};\n if (typeof options === 'string') {\n options = { property: options };\n }\n let property = '';\n if (typeof options === 'object' && options.property) {\n property = '/' + options.property;\n }\n validate(options);\n try {\n const requestMethod = fastFail ? fastFailMetadataRequest : gaxios_1.request;\n const res = await requestMethod({\n url: `${exports.BASE_URL}/${type}${property}`,\n headers: Object.assign({}, exports.HEADERS, options.headers),\n retryConfig: { noResponseRetries },\n params: options.params,\n responseType: 'text',\n timeout: requestTimeout(),\n });\n // NOTE: node.js converts all incoming headers to lower case.\n if (res.headers[exports.HEADER_NAME.toLowerCase()] !== exports.HEADER_VALUE) {\n throw new Error(`Invalid response from metadata service: incorrect ${exports.HEADER_NAME} header.`);\n }\n else if (!res.data) {\n throw new Error('Invalid response from the metadata service');\n }\n if (typeof res.data === 'string') {\n try {\n return jsonBigint.parse(res.data);\n }\n catch (_a) {\n /* ignore */\n }\n }\n return res.data;\n }\n catch (e) {\n if (e.response && e.response.status !== 200) {\n e.message = `Unsuccessful response status code. ${e.message}`;\n }\n throw e;\n }\n}\nasync function fastFailMetadataRequest(options) {\n const secondaryOptions = Object.assign(Object.assign({}, options), { url: options.url.replace(exports.BASE_URL, exports.SECONDARY_BASE_URL) });\n // We race a connection between DNS/IP to metadata server. There are a couple\n // reasons for this:\n //\n // 1. the DNS is slow in some GCP environments; by checking both, we might\n // detect the runtime environment signficantly faster.\n // 2. we can't just check the IP, which is tarpitted and slow to respond\n // on a user's local machine.\n //\n // Additional logic has been added to make sure that we don't create an\n // unhandled rejection in scenarios where a failure happens sometime\n // after a success.\n //\n // Note, however, if a failure happens prior to a success, a rejection should\n // occur, this is for folks running locally.\n //\n let responded = false;\n const r1 = gaxios_1.request(options)\n .then(res => {\n responded = true;\n return res;\n })\n .catch(err => {\n if (responded) {\n return r2;\n }\n else {\n responded = true;\n throw err;\n }\n });\n const r2 = gaxios_1.request(secondaryOptions)\n .then(res => {\n responded = true;\n return res;\n })\n .catch(err => {\n if (responded) {\n return r1;\n }\n else {\n responded = true;\n throw err;\n }\n });\n return Promise.race([r1, r2]);\n}\n// tslint:disable-next-line no-any\nfunction instance(options) {\n return metadataAccessor('instance', options);\n}\nexports.instance = instance;\n// tslint:disable-next-line no-any\nfunction project(options) {\n return metadataAccessor('project', options);\n}\nexports.project = project;\n/*\n * How many times should we retry detecting GCP environment.\n */\nfunction detectGCPAvailableRetries() {\n return process.env.DETECT_GCP_RETRIES\n ? Number(process.env.DETECT_GCP_RETRIES)\n : 0;\n}\n/**\n * Determine if the metadata server is currently available.\n */\nlet cachedIsAvailableResponse;\nasync function isAvailable() {\n try {\n // If a user is instantiating several GCP libraries at the same time,\n // this may result in multiple calls to isAvailable(), to detect the\n // runtime environment. We use the same promise for each of these calls\n // to reduce the network load.\n if (cachedIsAvailableResponse === undefined) {\n cachedIsAvailableResponse = metadataAccessor('instance', undefined, detectGCPAvailableRetries(), true);\n }\n await cachedIsAvailableResponse;\n return true;\n }\n catch (err) {\n if (process.env.DEBUG_AUTH) {\n console.info(err);\n }\n if (err.type === 'request-timeout') {\n // If running in a GCP environment, metadata endpoint should return\n // within ms.\n return false;\n }\n else if (err.code &&\n [\n 'EHOSTDOWN',\n 'EHOSTUNREACH',\n 'ENETUNREACH',\n 'ENOENT',\n 'ENOTFOUND',\n 'ECONNREFUSED',\n ].includes(err.code)) {\n // Failure to resolve the metadata service means that it is not available.\n return false;\n }\n else if (err.response && err.response.status === 404) {\n return false;\n }\n // Throw unexpected errors.\n throw err;\n }\n}\nexports.isAvailable = isAvailable;\n/**\n * reset the memoized isAvailable() lookup.\n */\nfunction resetIsAvailableCache() {\n cachedIsAvailableResponse = undefined;\n}\nexports.resetIsAvailableCache = resetIsAvailableCache;\nfunction requestTimeout() {\n // In testing, we were able to reproduce behavior similar to\n // https://github.com/googleapis/google-auth-library-nodejs/issues/798\n // by making many concurrent network requests. Requests do not actually fail,\n // rather they take significantly longer to complete (and we hit our\n // default 3000ms timeout).\n //\n // This logic detects a GCF environment, using the documented environment\n // variables K_SERVICE and FUNCTION_NAME:\n // https://cloud.google.com/functions/docs/env-var and, in a GCF environment\n // eliminates timeouts (by setting the value to 0 to disable).\n return process.env.K_SERVICE || process.env.FUNCTION_NAME ? 0 : 3000;\n}\nexports.requestTimeout = requestTimeout;\n//# sourceMappingURL=index.js.map","'use strict';\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = require('has-symbols')();\n\nvar getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = require('function-bind');\nvar hasOwn = require('has');\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n","\"use strict\";\n// Copyright 2012 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst events_1 = require(\"events\");\nconst transporters_1 = require(\"../transporters\");\nclass AuthClient extends events_1.EventEmitter {\n constructor() {\n super(...arguments);\n this.transporter = new transporters_1.DefaultTransporter();\n this.credentials = {};\n }\n /**\n * Sets the auth credentials.\n */\n setCredentials(credentials) {\n this.credentials = credentials;\n }\n /**\n * Append additional headers, e.g., x-goog-user-project, shared across the\n * classes inheriting AuthClient. This method should be used by any method\n * that overrides getRequestMetadataAsync(), which is a shared helper for\n * setting request information in both gRPC and HTTP API calls.\n *\n * @param headers objedcdt to append additional headers to.\n */\n addSharedMetadataHeaders(headers) {\n // quota_project_id, stored in application_default_credentials.json, is set in\n // the x-goog-user-project header, to indicate an alternate account for\n // billing and quota:\n if (!headers['x-goog-user-project'] && // don't override a value the user sets.\n this.quotaProjectId) {\n headers['x-goog-user-project'] = this.quotaProjectId;\n }\n return headers;\n }\n}\nexports.AuthClient = AuthClient;\n//# sourceMappingURL=authclient.js.map","\"use strict\";\n// Copyright 2013 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst arrify = require(\"arrify\");\nconst gcpMetadata = require(\"gcp-metadata\");\nconst messages = require(\"../messages\");\nconst oauth2client_1 = require(\"./oauth2client\");\nclass Compute extends oauth2client_1.OAuth2Client {\n /**\n * Google Compute Engine service account credentials.\n *\n * Retrieve access token from the metadata server.\n * See: https://developers.google.com/compute/docs/authentication\n */\n constructor(options = {}) {\n super(options);\n // Start with an expired refresh token, which will automatically be\n // refreshed before the first API call is made.\n this.credentials = { expiry_date: 1, refresh_token: 'compute-placeholder' };\n this.serviceAccountEmail = options.serviceAccountEmail || 'default';\n this.scopes = arrify(options.scopes);\n }\n /**\n * Indicates whether the credential requires scopes to be created by calling\n * createdScoped before use.\n * @deprecated\n * @return Boolean indicating if scope is required.\n */\n createScopedRequired() {\n // On compute engine, scopes are specified at the compute instance's\n // creation time, and cannot be changed. For this reason, always return\n // false.\n messages.warn(messages.COMPUTE_CREATE_SCOPED_DEPRECATED);\n return false;\n }\n /**\n * Refreshes the access token.\n * @param refreshToken Unused parameter\n */\n async refreshTokenNoCache(refreshToken) {\n const tokenPath = `service-accounts/${this.serviceAccountEmail}/token`;\n let data;\n try {\n const instanceOptions = {\n property: tokenPath,\n };\n if (this.scopes.length > 0) {\n instanceOptions.params = {\n scopes: this.scopes.join(','),\n };\n }\n data = await gcpMetadata.instance(instanceOptions);\n }\n catch (e) {\n e.message = `Could not refresh access token: ${e.message}`;\n this.wrapError(e);\n throw e;\n }\n const tokens = data;\n if (data && data.expires_in) {\n tokens.expiry_date = new Date().getTime() + data.expires_in * 1000;\n delete tokens.expires_in;\n }\n this.emit('tokens', tokens);\n return { tokens, res: null };\n }\n /**\n * Fetches an ID token.\n * @param targetAudience the audience for the fetched ID token.\n */\n async fetchIdToken(targetAudience) {\n const idTokenPath = `service-accounts/${this.serviceAccountEmail}/identity` +\n `?format=full&audience=${targetAudience}`;\n let idToken;\n try {\n const instanceOptions = {\n property: idTokenPath,\n };\n idToken = await gcpMetadata.instance(instanceOptions);\n }\n catch (e) {\n e.message = `Could not fetch ID token: ${e.message}`;\n throw e;\n }\n return idToken;\n }\n wrapError(e) {\n const res = e.response;\n if (res && res.status) {\n e.code = res.status.toString();\n if (res.status === 403) {\n e.message =\n 'A Forbidden error was returned while attempting to retrieve an access ' +\n 'token for the Compute Engine built-in service account. This may be because the Compute ' +\n 'Engine instance does not have the correct permission scopes specified: ' +\n e.message;\n }\n else if (res.status === 404) {\n e.message =\n 'A Not Found error was returned while attempting to retrieve an access' +\n 'token for the Compute Engine built-in service account. This may be because the Compute ' +\n 'Engine instance does not have any permission scopes specified: ' +\n e.message;\n }\n }\n }\n}\nexports.Compute = Compute;\n//# sourceMappingURL=computeclient.js.map","\"use strict\";\n// Copyright 2018 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst gcpMetadata = require(\"gcp-metadata\");\nvar GCPEnv;\n(function (GCPEnv) {\n GCPEnv[\"APP_ENGINE\"] = \"APP_ENGINE\";\n GCPEnv[\"KUBERNETES_ENGINE\"] = \"KUBERNETES_ENGINE\";\n GCPEnv[\"CLOUD_FUNCTIONS\"] = \"CLOUD_FUNCTIONS\";\n GCPEnv[\"COMPUTE_ENGINE\"] = \"COMPUTE_ENGINE\";\n GCPEnv[\"NONE\"] = \"NONE\";\n})(GCPEnv = exports.GCPEnv || (exports.GCPEnv = {}));\nlet envPromise;\nfunction clear() {\n envPromise = undefined;\n}\nexports.clear = clear;\nasync function getEnv() {\n if (envPromise) {\n return envPromise;\n }\n envPromise = getEnvMemoized();\n return envPromise;\n}\nexports.getEnv = getEnv;\nasync function getEnvMemoized() {\n let env = GCPEnv.NONE;\n if (isAppEngine()) {\n env = GCPEnv.APP_ENGINE;\n }\n else if (isCloudFunction()) {\n env = GCPEnv.CLOUD_FUNCTIONS;\n }\n else if (await isComputeEngine()) {\n if (await isKubernetesEngine()) {\n env = GCPEnv.KUBERNETES_ENGINE;\n }\n else {\n env = GCPEnv.COMPUTE_ENGINE;\n }\n }\n else {\n env = GCPEnv.NONE;\n }\n return env;\n}\nfunction isAppEngine() {\n return !!(process.env.GAE_SERVICE || process.env.GAE_MODULE_NAME);\n}\nfunction isCloudFunction() {\n return !!(process.env.FUNCTION_NAME || process.env.FUNCTION_TARGET);\n}\nasync function isKubernetesEngine() {\n try {\n await gcpMetadata.instance('attributes/cluster-name');\n return true;\n }\n catch (e) {\n return false;\n }\n}\nasync function isComputeEngine() {\n return gcpMetadata.isAvailable();\n}\n//# sourceMappingURL=envDetect.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst child_process_1 = require(\"child_process\");\nconst fs = require(\"fs\");\nconst gcpMetadata = require(\"gcp-metadata\");\nconst os = require(\"os\");\nconst path = require(\"path\");\nconst crypto_1 = require(\"../crypto/crypto\");\nconst messages = require(\"../messages\");\nconst transporters_1 = require(\"../transporters\");\nconst computeclient_1 = require(\"./computeclient\");\nconst idtokenclient_1 = require(\"./idtokenclient\");\nconst envDetect_1 = require(\"./envDetect\");\nconst jwtclient_1 = require(\"./jwtclient\");\nconst refreshclient_1 = require(\"./refreshclient\");\nexports.CLOUD_SDK_CLIENT_ID = '764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com';\nclass GoogleAuth {\n constructor(opts) {\n /**\n * Caches a value indicating whether the auth layer is running on Google\n * Compute Engine.\n * @private\n */\n this.checkIsGCE = undefined;\n // To save the contents of the JSON credential file\n this.jsonContent = null;\n this.cachedCredential = null;\n opts = opts || {};\n this._cachedProjectId = opts.projectId || null;\n this.keyFilename = opts.keyFilename || opts.keyFile;\n this.scopes = opts.scopes;\n this.jsonContent = opts.credentials || null;\n this.clientOptions = opts.clientOptions;\n }\n // Note: this properly is only public to satisify unit tests.\n // https://github.com/Microsoft/TypeScript/issues/5228\n get isGCE() {\n return this.checkIsGCE;\n }\n getDefaultProjectId(callback) {\n messages.warn(messages.DEFAULT_PROJECT_ID_DEPRECATED);\n if (callback) {\n this.getProjectIdAsync().then(r => callback(null, r), callback);\n }\n else {\n return this.getProjectIdAsync();\n }\n }\n getProjectId(callback) {\n if (callback) {\n this.getProjectIdAsync().then(r => callback(null, r), callback);\n }\n else {\n return this.getProjectIdAsync();\n }\n }\n getProjectIdAsync() {\n if (this._cachedProjectId) {\n return Promise.resolve(this._cachedProjectId);\n }\n // In implicit case, supports three environments. In order of precedence,\n // the implicit environments are:\n // - GCLOUD_PROJECT or GOOGLE_CLOUD_PROJECT environment variable\n // - GOOGLE_APPLICATION_CREDENTIALS JSON file\n // - Cloud SDK: `gcloud config config-helper --format json`\n // - GCE project ID from metadata server)\n if (!this._getDefaultProjectIdPromise) {\n this._getDefaultProjectIdPromise = new Promise(async (resolve, reject) => {\n try {\n const projectId = this.getProductionProjectId() ||\n (await this.getFileProjectId()) ||\n (await this.getDefaultServiceProjectId()) ||\n (await this.getGCEProjectId());\n this._cachedProjectId = projectId;\n if (!projectId) {\n throw new Error('Unable to detect a Project Id in the current environment. \\n' +\n 'To learn more about authentication and Google APIs, visit: \\n' +\n 'https://cloud.google.com/docs/authentication/getting-started');\n }\n resolve(projectId);\n }\n catch (e) {\n reject(e);\n }\n });\n }\n return this._getDefaultProjectIdPromise;\n }\n getApplicationDefault(optionsOrCallback = {}, callback) {\n let options;\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n }\n else {\n options = optionsOrCallback;\n }\n if (callback) {\n this.getApplicationDefaultAsync(options).then(r => callback(null, r.credential, r.projectId), callback);\n }\n else {\n return this.getApplicationDefaultAsync(options);\n }\n }\n async getApplicationDefaultAsync(options = {}) {\n // If we've already got a cached credential, just return it.\n if (this.cachedCredential) {\n return {\n credential: this.cachedCredential,\n projectId: await this.getProjectIdAsync(),\n };\n }\n let credential;\n let projectId;\n // Check for the existence of a local environment variable pointing to the\n // location of the credential file. This is typically used in local\n // developer scenarios.\n credential = await this._tryGetApplicationCredentialsFromEnvironmentVariable(options);\n if (credential) {\n if (credential instanceof jwtclient_1.JWT) {\n credential.scopes = this.scopes;\n }\n this.cachedCredential = credential;\n projectId = await this.getProjectId();\n return { credential, projectId };\n }\n // Look in the well-known credential file location.\n credential = await this._tryGetApplicationCredentialsFromWellKnownFile(options);\n if (credential) {\n if (credential instanceof jwtclient_1.JWT) {\n credential.scopes = this.scopes;\n }\n this.cachedCredential = credential;\n projectId = await this.getProjectId();\n return { credential, projectId };\n }\n // Determine if we're running on GCE.\n let isGCE;\n try {\n isGCE = await this._checkIsGCE();\n }\n catch (e) {\n e.message = `Unexpected error determining execution environment: ${e.message}`;\n throw e;\n }\n if (!isGCE) {\n // We failed to find the default credentials. Bail out with an error.\n throw new Error('Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.');\n }\n // For GCE, just return a default ComputeClient. It will take care of\n // the rest.\n options.scopes = this.scopes;\n this.cachedCredential = new computeclient_1.Compute(options);\n projectId = await this.getProjectId();\n return { projectId, credential: this.cachedCredential };\n }\n /**\n * Determines whether the auth layer is running on Google Compute Engine.\n * @returns A promise that resolves with the boolean.\n * @api private\n */\n async _checkIsGCE() {\n if (this.checkIsGCE === undefined) {\n this.checkIsGCE = await gcpMetadata.isAvailable();\n }\n return this.checkIsGCE;\n }\n /**\n * Attempts to load default credentials from the environment variable path..\n * @returns Promise that resolves with the OAuth2Client or null.\n * @api private\n */\n async _tryGetApplicationCredentialsFromEnvironmentVariable(options) {\n const credentialsPath = process.env['GOOGLE_APPLICATION_CREDENTIALS'] ||\n process.env['google_application_credentials'];\n if (!credentialsPath || credentialsPath.length === 0) {\n return null;\n }\n try {\n return this._getApplicationCredentialsFromFilePath(credentialsPath, options);\n }\n catch (e) {\n e.message = `Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${e.message}`;\n throw e;\n }\n }\n /**\n * Attempts to load default credentials from a well-known file location\n * @return Promise that resolves with the OAuth2Client or null.\n * @api private\n */\n async _tryGetApplicationCredentialsFromWellKnownFile(options) {\n // First, figure out the location of the file, depending upon the OS type.\n let location = null;\n if (this._isWindows()) {\n // Windows\n location = process.env['APPDATA'];\n }\n else {\n // Linux or Mac\n const home = process.env['HOME'];\n if (home) {\n location = path.join(home, '.config');\n }\n }\n // If we found the root path, expand it.\n if (location) {\n location = path.join(location, 'gcloud', 'application_default_credentials.json');\n if (!fs.existsSync(location)) {\n location = null;\n }\n }\n // The file does not exist.\n if (!location) {\n return null;\n }\n // The file seems to exist. Try to use it.\n const client = await this._getApplicationCredentialsFromFilePath(location, options);\n this.warnOnProblematicCredentials(client);\n return client;\n }\n /**\n * Attempts to load default credentials from a file at the given path..\n * @param filePath The path to the file to read.\n * @returns Promise that resolves with the OAuth2Client\n * @api private\n */\n async _getApplicationCredentialsFromFilePath(filePath, options = {}) {\n // Make sure the path looks like a string.\n if (!filePath || filePath.length === 0) {\n throw new Error('The file path is invalid.');\n }\n // Make sure there is a file at the path. lstatSync will throw if there is\n // nothing there.\n try {\n // Resolve path to actual file in case of symlink. Expect a thrown error\n // if not resolvable.\n filePath = fs.realpathSync(filePath);\n if (!fs.lstatSync(filePath).isFile()) {\n throw new Error();\n }\n }\n catch (err) {\n err.message = `The file at ${filePath} does not exist, or it is not a file. ${err.message}`;\n throw err;\n }\n // Now open a read stream on the file, and parse it.\n const readStream = fs.createReadStream(filePath);\n return this.fromStream(readStream, options);\n }\n /**\n * Credentials from the Cloud SDK that are associated with Cloud SDK's project\n * are problematic because they may not have APIs enabled and have limited\n * quota. If this is the case, warn about it.\n */\n warnOnProblematicCredentials(client) {\n if (client.email === exports.CLOUD_SDK_CLIENT_ID) {\n messages.warn(messages.PROBLEMATIC_CREDENTIALS_WARNING);\n }\n }\n /**\n * Create a credentials instance using the given input options.\n * @param json The input object.\n * @param options The JWT or UserRefresh options for the client\n * @returns JWT or UserRefresh Client with data\n */\n fromJSON(json, options) {\n let client;\n if (!json) {\n throw new Error('Must pass in a JSON object containing the Google auth settings.');\n }\n options = options || {};\n if (json.type === 'authorized_user') {\n client = new refreshclient_1.UserRefreshClient(options);\n }\n else {\n options.scopes = this.scopes;\n client = new jwtclient_1.JWT(options);\n }\n client.fromJSON(json);\n return client;\n }\n /**\n * Return a JWT or UserRefreshClient from JavaScript object, caching both the\n * object used to instantiate and the client.\n * @param json The input object.\n * @param options The JWT or UserRefresh options for the client\n * @returns JWT or UserRefresh Client with data\n */\n _cacheClientFromJSON(json, options) {\n let client;\n // create either a UserRefreshClient or JWT client.\n options = options || {};\n if (json.type === 'authorized_user') {\n client = new refreshclient_1.UserRefreshClient(options);\n }\n else {\n options.scopes = this.scopes;\n client = new jwtclient_1.JWT(options);\n }\n client.fromJSON(json);\n // cache both raw data used to instantiate client and client itself.\n this.jsonContent = json;\n this.cachedCredential = client;\n return this.cachedCredential;\n }\n fromStream(inputStream, optionsOrCallback = {}, callback) {\n let options = {};\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n }\n else {\n options = optionsOrCallback;\n }\n if (callback) {\n this.fromStreamAsync(inputStream, options).then(r => callback(null, r), callback);\n }\n else {\n return this.fromStreamAsync(inputStream, options);\n }\n }\n fromStreamAsync(inputStream, options) {\n return new Promise((resolve, reject) => {\n if (!inputStream) {\n throw new Error('Must pass in a stream containing the Google auth settings.');\n }\n let s = '';\n inputStream\n .setEncoding('utf8')\n .on('error', reject)\n .on('data', chunk => (s += chunk))\n .on('end', () => {\n try {\n const data = JSON.parse(s);\n const r = this._cacheClientFromJSON(data, options);\n return resolve(r);\n }\n catch (err) {\n return reject(err);\n }\n });\n });\n }\n /**\n * Create a credentials instance using the given API key string.\n * @param apiKey The API key string\n * @param options An optional options object.\n * @returns A JWT loaded from the key\n */\n fromAPIKey(apiKey, options) {\n options = options || {};\n const client = new jwtclient_1.JWT(options);\n client.fromAPIKey(apiKey);\n return client;\n }\n /**\n * Determines whether the current operating system is Windows.\n * @api private\n */\n _isWindows() {\n const sys = os.platform();\n if (sys && sys.length >= 3) {\n if (sys.substring(0, 3).toLowerCase() === 'win') {\n return true;\n }\n }\n return false;\n }\n /**\n * Run the Google Cloud SDK command that prints the default project ID\n */\n async getDefaultServiceProjectId() {\n return new Promise(resolve => {\n child_process_1.exec('gcloud config config-helper --format json', (err, stdout, stderr) => {\n if (!err && stdout) {\n try {\n const projectId = JSON.parse(stdout).configuration.properties.core\n .project;\n resolve(projectId);\n return;\n }\n catch (e) {\n // ignore errors\n }\n }\n resolve(null);\n });\n });\n }\n /**\n * Loads the project id from environment variables.\n * @api private\n */\n getProductionProjectId() {\n return (process.env['GCLOUD_PROJECT'] ||\n process.env['GOOGLE_CLOUD_PROJECT'] ||\n process.env['gcloud_project'] ||\n process.env['google_cloud_project']);\n }\n /**\n * Loads the project id from the GOOGLE_APPLICATION_CREDENTIALS json file.\n * @api private\n */\n async getFileProjectId() {\n if (this.cachedCredential) {\n // Try to read the project ID from the cached credentials file\n return this.cachedCredential.projectId;\n }\n // Ensure the projectId is loaded from the keyFile if available.\n if (this.keyFilename) {\n const creds = await this.getClient();\n if (creds && creds.projectId) {\n return creds.projectId;\n }\n }\n // Try to load a credentials file and read its project ID\n const r = await this._tryGetApplicationCredentialsFromEnvironmentVariable();\n if (r) {\n return r.projectId;\n }\n else {\n return null;\n }\n }\n /**\n * Gets the Compute Engine project ID if it can be inferred.\n */\n async getGCEProjectId() {\n try {\n const r = await gcpMetadata.project('project-id');\n return r;\n }\n catch (e) {\n // Ignore any errors\n return null;\n }\n }\n getCredentials(callback) {\n if (callback) {\n this.getCredentialsAsync().then(r => callback(null, r), callback);\n }\n else {\n return this.getCredentialsAsync();\n }\n }\n async getCredentialsAsync() {\n await this.getClient();\n if (this.jsonContent) {\n const credential = {\n client_email: this.jsonContent.client_email,\n private_key: this.jsonContent.private_key,\n };\n return credential;\n }\n const isGCE = await this._checkIsGCE();\n if (!isGCE) {\n throw new Error('Unknown error.');\n }\n // For GCE, return the service account details from the metadata server\n // NOTE: The trailing '/' at the end of service-accounts/ is very important!\n // The GCF metadata server doesn't respect querystring params if this / is\n // not included.\n const data = await gcpMetadata.instance({\n property: 'service-accounts/',\n params: { recursive: 'true' },\n });\n if (!data || !data.default || !data.default.email) {\n throw new Error('Failure from metadata server.');\n }\n return { client_email: data.default.email };\n }\n /**\n * Automatically obtain a client based on the provided configuration. If no\n * options were passed, use Application Default Credentials.\n */\n async getClient(options) {\n if (options) {\n throw new Error('Passing options to getClient is forbidden in v5.0.0. Use new GoogleAuth(opts) instead.');\n }\n if (!this.cachedCredential) {\n if (this.jsonContent) {\n this._cacheClientFromJSON(this.jsonContent, this.clientOptions);\n }\n else if (this.keyFilename) {\n const filePath = path.resolve(this.keyFilename);\n const stream = fs.createReadStream(filePath);\n await this.fromStreamAsync(stream, this.clientOptions);\n }\n else {\n await this.getApplicationDefaultAsync(this.clientOptions);\n }\n }\n return this.cachedCredential;\n }\n /**\n * Creates a client which will fetch an ID token for authorization.\n * @param targetAudience the audience for the fetched ID token.\n * @returns IdTokenClient for making HTTP calls authenticated with ID tokens.\n */\n async getIdTokenClient(targetAudience) {\n const client = await this.getClient();\n if (!('fetchIdToken' in client)) {\n throw new Error('Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.');\n }\n return new idtokenclient_1.IdTokenClient({ targetAudience, idTokenProvider: client });\n }\n /**\n * Automatically obtain application default credentials, and return\n * an access token for making requests.\n */\n async getAccessToken() {\n const client = await this.getClient();\n return (await client.getAccessToken()).token;\n }\n /**\n * Obtain the HTTP headers that will provide authorization for a given\n * request.\n */\n async getRequestHeaders(url) {\n const client = await this.getClient();\n return client.getRequestHeaders(url);\n }\n /**\n * Obtain credentials for a request, then attach the appropriate headers to\n * the request options.\n * @param opts Axios or Request options on which to attach the headers\n */\n async authorizeRequest(opts) {\n opts = opts || {};\n const url = opts.url || opts.uri;\n const client = await this.getClient();\n const headers = await client.getRequestHeaders(url);\n opts.headers = Object.assign(opts.headers || {}, headers);\n return opts;\n }\n /**\n * Automatically obtain application default credentials, and make an\n * HTTP request using the given options.\n * @param opts Axios request options for the HTTP request.\n */\n // tslint:disable-next-line no-any\n async request(opts) {\n const client = await this.getClient();\n return client.request(opts);\n }\n /**\n * Determine the compute environment in which the code is running.\n */\n getEnv() {\n return envDetect_1.getEnv();\n }\n /**\n * Sign the given data with the current private key, or go out\n * to the IAM API to sign it.\n * @param data The data to be signed.\n */\n async sign(data) {\n const client = await this.getClient();\n const crypto = crypto_1.createCrypto();\n if (client instanceof jwtclient_1.JWT && client.key) {\n const sign = await crypto.sign(client.key, data);\n return sign;\n }\n const projectId = await this.getProjectId();\n if (!projectId) {\n throw new Error('Cannot sign data without a project ID.');\n }\n const creds = await this.getCredentials();\n if (!creds.client_email) {\n throw new Error('Cannot sign data without `client_email`.');\n }\n const id = `projects/${projectId}/serviceAccounts/${creds.client_email}`;\n const res = await this.request({\n method: 'POST',\n url: `https://iam.googleapis.com/v1/${id}:signBlob`,\n data: { bytesToSign: crypto.encodeBase64StringUtf8(data) },\n });\n return res.data.signature;\n }\n}\nexports.GoogleAuth = GoogleAuth;\n/**\n * Export DefaultTransporter as a static property of the class.\n */\nGoogleAuth.DefaultTransporter = transporters_1.DefaultTransporter;\n//# sourceMappingURL=googleauth.js.map","\"use strict\";\n// Copyright 2014 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst messages = require(\"../messages\");\nclass IAMAuth {\n /**\n * IAM credentials.\n *\n * @param selector the iam authority selector\n * @param token the token\n * @constructor\n */\n constructor(selector, token) {\n this.selector = selector;\n this.token = token;\n this.selector = selector;\n this.token = token;\n }\n /**\n * Indicates whether the credential requires scopes to be created by calling\n * createdScoped before use.\n * @deprecated\n * @return always false\n */\n createScopedRequired() {\n // IAM authorization does not use scopes.\n messages.warn(messages.IAM_CREATE_SCOPED_DEPRECATED);\n return false;\n }\n /**\n * Pass the selector and token to the metadataFn callback.\n * @deprecated\n * @param unused_uri is required of the credentials interface\n * @param metadataFn a callback invoked with object containing request\n * metadata.\n */\n getRequestMetadata(unusedUri, metadataFn) {\n messages.warn(messages.IAM_GET_REQUEST_METADATA_DEPRECATED);\n metadataFn(null, this.getRequestHeaders());\n }\n /**\n * Acquire the HTTP headers required to make an authenticated request.\n */\n getRequestHeaders() {\n return {\n 'x-goog-iam-authority-selector': this.selector,\n 'x-goog-iam-authorization-token': this.token,\n };\n }\n}\nexports.IAMAuth = IAMAuth;\n//# sourceMappingURL=iam.js.map","\"use strict\";\n// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst oauth2client_1 = require(\"./oauth2client\");\nclass IdTokenClient extends oauth2client_1.OAuth2Client {\n /**\n * Google ID Token client\n *\n * Retrieve access token from the metadata server.\n * See: https://developers.google.com/compute/docs/authentication\n */\n constructor(options) {\n super();\n this.targetAudience = options.targetAudience;\n this.idTokenProvider = options.idTokenProvider;\n }\n async getRequestMetadataAsync(url) {\n if (!this.credentials.id_token ||\n (this.credentials.expiry_date || 0) < Date.now()) {\n const idToken = await this.idTokenProvider.fetchIdToken(this.targetAudience);\n this.credentials = {\n id_token: idToken,\n expiry_date: this.getIdTokenExpiryDate(idToken),\n };\n }\n const headers = {\n Authorization: 'Bearer ' + this.credentials.id_token,\n };\n return { headers };\n }\n getIdTokenExpiryDate(idToken) {\n const payloadB64 = idToken.split('.')[1];\n if (payloadB64) {\n const payload = JSON.parse(Buffer.from(payloadB64, 'base64').toString('ascii'));\n return payload.exp * 1000;\n }\n }\n}\nexports.IdTokenClient = IdTokenClient;\n//# sourceMappingURL=idtokenclient.js.map","\"use strict\";\n// Copyright 2015 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst jws = require(\"jws\");\nconst LRU = require(\"lru-cache\");\nconst messages = require(\"../messages\");\nconst DEFAULT_HEADER = {\n alg: 'RS256',\n typ: 'JWT',\n};\nclass JWTAccess {\n /**\n * JWTAccess service account credentials.\n *\n * Create a new access token by using the credential to create a new JWT token\n * that's recognized as the access token.\n *\n * @param email the service account email address.\n * @param key the private key that will be used to sign the token.\n * @param keyId the ID of the private key used to sign the token.\n */\n constructor(email, key, keyId) {\n this.cache = new LRU({ max: 500, maxAge: 60 * 60 * 1000 });\n this.email = email;\n this.key = key;\n this.keyId = keyId;\n }\n /**\n * Indicates whether the credential requires scopes to be created by calling\n * createdScoped before use.\n * @deprecated\n * @return always false\n */\n createScopedRequired() {\n // JWT Header authentication does not use scopes.\n messages.warn(messages.JWT_ACCESS_CREATE_SCOPED_DEPRECATED);\n return false;\n }\n /**\n * Get a non-expired access token, after refreshing if necessary.\n *\n * @param authURI The URI being authorized.\n * @param additionalClaims An object with a set of additional claims to\n * include in the payload.\n * @deprecated Please use `getRequestHeaders` instead.\n * @returns An object that includes the authorization header.\n */\n getRequestMetadata(url, additionalClaims) {\n messages.warn(messages.JWT_ACCESS_GET_REQUEST_METADATA_DEPRECATED);\n return { headers: this.getRequestHeaders(url, additionalClaims) };\n }\n /**\n * Get a non-expired access token, after refreshing if necessary.\n *\n * @param url The URI being authorized.\n * @param additionalClaims An object with a set of additional claims to\n * include in the payload.\n * @returns An object that includes the authorization header.\n */\n getRequestHeaders(url, additionalClaims) {\n const cachedToken = this.cache.get(url);\n if (cachedToken) {\n return cachedToken;\n }\n const iat = Math.floor(new Date().getTime() / 1000);\n const exp = iat + 3600; // 3600 seconds = 1 hour\n // The payload used for signed JWT headers has:\n // iss == sub == \n // aud == \n const defaultClaims = {\n iss: this.email,\n sub: this.email,\n aud: url,\n exp,\n iat,\n };\n // if additionalClaims are provided, ensure they do not collide with\n // other required claims.\n if (additionalClaims) {\n for (const claim in defaultClaims) {\n if (additionalClaims[claim]) {\n throw new Error(`The '${claim}' property is not allowed when passing additionalClaims. This claim is included in the JWT by default.`);\n }\n }\n }\n const header = this.keyId\n ? Object.assign(Object.assign({}, DEFAULT_HEADER), { kid: this.keyId }) : DEFAULT_HEADER;\n const payload = Object.assign(defaultClaims, additionalClaims);\n // Sign the jwt and add it to the cache\n const signedJWT = jws.sign({ header, payload, secret: this.key });\n const headers = { Authorization: `Bearer ${signedJWT}` };\n this.cache.set(url, headers);\n return headers;\n }\n /**\n * Create a JWTAccess credentials instance using the given input options.\n * @param json The input object.\n */\n fromJSON(json) {\n if (!json) {\n throw new Error('Must pass in a JSON object containing the service account auth settings.');\n }\n if (!json.client_email) {\n throw new Error('The incoming JSON object does not contain a client_email field');\n }\n if (!json.private_key) {\n throw new Error('The incoming JSON object does not contain a private_key field');\n }\n // Extract the relevant information from the json key file.\n this.email = json.client_email;\n this.key = json.private_key;\n this.keyId = json.private_key_id;\n this.projectId = json.project_id;\n }\n fromStream(inputStream, callback) {\n if (callback) {\n this.fromStreamAsync(inputStream).then(r => callback(), callback);\n }\n else {\n return this.fromStreamAsync(inputStream);\n }\n }\n fromStreamAsync(inputStream) {\n return new Promise((resolve, reject) => {\n if (!inputStream) {\n reject(new Error('Must pass in a stream containing the service account auth settings.'));\n }\n let s = '';\n inputStream\n .setEncoding('utf8')\n .on('data', chunk => (s += chunk))\n .on('error', reject)\n .on('end', () => {\n try {\n const data = JSON.parse(s);\n this.fromJSON(data);\n resolve();\n }\n catch (err) {\n reject(err);\n }\n });\n });\n }\n}\nexports.JWTAccess = JWTAccess;\n//# sourceMappingURL=jwtaccess.js.map","\"use strict\";\n// Copyright 2013 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst gtoken_1 = require(\"gtoken\");\nconst messages = require(\"../messages\");\nconst jwtaccess_1 = require(\"./jwtaccess\");\nconst oauth2client_1 = require(\"./oauth2client\");\nclass JWT extends oauth2client_1.OAuth2Client {\n constructor(optionsOrEmail, keyFile, key, scopes, subject, keyId) {\n const opts = optionsOrEmail && typeof optionsOrEmail === 'object'\n ? optionsOrEmail\n : { email: optionsOrEmail, keyFile, key, keyId, scopes, subject };\n super({\n eagerRefreshThresholdMillis: opts.eagerRefreshThresholdMillis,\n forceRefreshOnFailure: opts.forceRefreshOnFailure,\n });\n this.email = opts.email;\n this.keyFile = opts.keyFile;\n this.key = opts.key;\n this.keyId = opts.keyId;\n this.scopes = opts.scopes;\n this.subject = opts.subject;\n this.additionalClaims = opts.additionalClaims;\n this.credentials = { refresh_token: 'jwt-placeholder', expiry_date: 1 };\n }\n /**\n * Creates a copy of the credential with the specified scopes.\n * @param scopes List of requested scopes or a single scope.\n * @return The cloned instance.\n */\n createScoped(scopes) {\n return new JWT({\n email: this.email,\n keyFile: this.keyFile,\n key: this.key,\n keyId: this.keyId,\n scopes,\n subject: this.subject,\n additionalClaims: this.additionalClaims,\n });\n }\n /**\n * Obtains the metadata to be sent with the request.\n *\n * @param url the URI being authorized.\n */\n async getRequestMetadataAsync(url) {\n if (!this.apiKey && !this.hasScopes() && url) {\n if (this.additionalClaims &&\n this.additionalClaims.target_audience) {\n const { tokens } = await this.refreshToken();\n return {\n headers: this.addSharedMetadataHeaders({\n Authorization: `Bearer ${tokens.id_token}`,\n }),\n };\n }\n else {\n // no scopes have been set, but a uri has been provided. Use JWTAccess\n // credentials.\n if (!this.access) {\n this.access = new jwtaccess_1.JWTAccess(this.email, this.key, this.keyId);\n }\n const headers = await this.access.getRequestHeaders(url, this.additionalClaims);\n return { headers: this.addSharedMetadataHeaders(headers) };\n }\n }\n else {\n return super.getRequestMetadataAsync(url);\n }\n }\n /**\n * Fetches an ID token.\n * @param targetAudience the audience for the fetched ID token.\n */\n async fetchIdToken(targetAudience) {\n // Create a new gToken for fetching an ID token\n const gtoken = new gtoken_1.GoogleToken({\n iss: this.email,\n sub: this.subject,\n scope: this.scopes,\n keyFile: this.keyFile,\n key: this.key,\n additionalClaims: { target_audience: targetAudience },\n });\n await gtoken.getToken({\n forceRefresh: true,\n });\n if (!gtoken.idToken) {\n throw new Error('Unknown error: Failed to fetch ID token');\n }\n return gtoken.idToken;\n }\n /**\n * Indicates whether the credential requires scopes to be created by calling\n * createScoped before use.\n * @deprecated\n * @return false if createScoped does not need to be called.\n */\n createScopedRequired() {\n messages.warn(messages.JWT_CREATE_SCOPED_DEPRECATED);\n return !this.hasScopes();\n }\n /**\n * Determine if there are currently scopes available.\n */\n hasScopes() {\n if (!this.scopes) {\n return false;\n }\n // For arrays, check the array length.\n if (this.scopes instanceof Array) {\n return this.scopes.length > 0;\n }\n // For others, convert to a string and check the length.\n return String(this.scopes).length > 0;\n }\n authorize(callback) {\n if (callback) {\n this.authorizeAsync().then(r => callback(null, r), callback);\n }\n else {\n return this.authorizeAsync();\n }\n }\n async authorizeAsync() {\n const result = await this.refreshToken();\n if (!result) {\n throw new Error('No result returned');\n }\n this.credentials = result.tokens;\n this.credentials.refresh_token = 'jwt-placeholder';\n this.key = this.gtoken.key;\n this.email = this.gtoken.iss;\n return result.tokens;\n }\n /**\n * Refreshes the access token.\n * @param refreshToken ignored\n * @private\n */\n async refreshTokenNoCache(refreshToken) {\n const gtoken = this.createGToken();\n const token = await gtoken.getToken({\n forceRefresh: this.isTokenExpiring(),\n });\n const tokens = {\n access_token: token.access_token,\n token_type: 'Bearer',\n expiry_date: gtoken.expiresAt,\n id_token: gtoken.idToken,\n };\n this.emit('tokens', tokens);\n return { res: null, tokens };\n }\n /**\n * Create a gToken if it doesn't already exist.\n */\n createGToken() {\n if (!this.gtoken) {\n this.gtoken = new gtoken_1.GoogleToken({\n iss: this.email,\n sub: this.subject,\n scope: this.scopes,\n keyFile: this.keyFile,\n key: this.key,\n additionalClaims: this.additionalClaims,\n });\n }\n return this.gtoken;\n }\n /**\n * Create a JWT credentials instance using the given input options.\n * @param json The input object.\n */\n fromJSON(json) {\n if (!json) {\n throw new Error('Must pass in a JSON object containing the service account auth settings.');\n }\n if (!json.client_email) {\n throw new Error('The incoming JSON object does not contain a client_email field');\n }\n if (!json.private_key) {\n throw new Error('The incoming JSON object does not contain a private_key field');\n }\n // Extract the relevant information from the json key file.\n this.email = json.client_email;\n this.key = json.private_key;\n this.keyId = json.private_key_id;\n this.projectId = json.project_id;\n this.quotaProjectId = json.quota_project_id;\n }\n fromStream(inputStream, callback) {\n if (callback) {\n this.fromStreamAsync(inputStream).then(r => callback(), callback);\n }\n else {\n return this.fromStreamAsync(inputStream);\n }\n }\n fromStreamAsync(inputStream) {\n return new Promise((resolve, reject) => {\n if (!inputStream) {\n throw new Error('Must pass in a stream containing the service account auth settings.');\n }\n let s = '';\n inputStream\n .setEncoding('utf8')\n .on('error', reject)\n .on('data', chunk => (s += chunk))\n .on('end', () => {\n try {\n const data = JSON.parse(s);\n this.fromJSON(data);\n resolve();\n }\n catch (e) {\n reject(e);\n }\n });\n });\n }\n /**\n * Creates a JWT credentials instance using an API Key for authentication.\n * @param apiKey The API Key in string form.\n */\n fromAPIKey(apiKey) {\n if (typeof apiKey !== 'string') {\n throw new Error('Must provide an API Key string.');\n }\n this.apiKey = apiKey;\n }\n /**\n * Using the key or keyFile on the JWT client, obtain an object that contains\n * the key and the client email.\n */\n async getCredentials() {\n if (this.key) {\n return { private_key: this.key, client_email: this.email };\n }\n else if (this.keyFile) {\n const gtoken = this.createGToken();\n const creds = await gtoken.getCredentials(this.keyFile);\n return { private_key: creds.privateKey, client_email: creds.clientEmail };\n }\n throw new Error('A key or a keyFile must be provided to getCredentials.');\n }\n}\nexports.JWT = JWT;\n//# sourceMappingURL=jwtclient.js.map","\"use strict\";\n// Copyright 2014 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nclass LoginTicket {\n /**\n * Create a simple class to extract user ID from an ID Token\n *\n * @param {string} env Envelope of the jwt\n * @param {TokenPayload} pay Payload of the jwt\n * @constructor\n */\n constructor(env, pay) {\n this.envelope = env;\n this.payload = pay;\n }\n getEnvelope() {\n return this.envelope;\n }\n getPayload() {\n return this.payload;\n }\n /**\n * Create a simple class to extract user ID from an ID Token\n *\n * @return The user ID\n */\n getUserId() {\n const payload = this.getPayload();\n if (payload && payload.sub) {\n return payload.sub;\n }\n return null;\n }\n /**\n * Returns attributes from the login ticket. This can contain\n * various information about the user session.\n *\n * @return The envelope and payload\n */\n getAttributes() {\n return { envelope: this.getEnvelope(), payload: this.getPayload() };\n }\n}\nexports.LoginTicket = LoginTicket;\n//# sourceMappingURL=loginticket.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst querystring = require(\"querystring\");\nconst stream = require(\"stream\");\nconst formatEcdsa = require(\"ecdsa-sig-formatter\");\nconst crypto_1 = require(\"../crypto/crypto\");\nconst messages = require(\"../messages\");\nconst authclient_1 = require(\"./authclient\");\nconst loginticket_1 = require(\"./loginticket\");\nvar CodeChallengeMethod;\n(function (CodeChallengeMethod) {\n CodeChallengeMethod[\"Plain\"] = \"plain\";\n CodeChallengeMethod[\"S256\"] = \"S256\";\n})(CodeChallengeMethod = exports.CodeChallengeMethod || (exports.CodeChallengeMethod = {}));\nvar CertificateFormat;\n(function (CertificateFormat) {\n CertificateFormat[\"PEM\"] = \"PEM\";\n CertificateFormat[\"JWK\"] = \"JWK\";\n})(CertificateFormat = exports.CertificateFormat || (exports.CertificateFormat = {}));\nclass OAuth2Client extends authclient_1.AuthClient {\n constructor(optionsOrClientId, clientSecret, redirectUri) {\n super();\n this.certificateCache = {};\n this.certificateExpiry = null;\n this.certificateCacheFormat = CertificateFormat.PEM;\n this.refreshTokenPromises = new Map();\n const opts = optionsOrClientId && typeof optionsOrClientId === 'object'\n ? optionsOrClientId\n : { clientId: optionsOrClientId, clientSecret, redirectUri };\n this._clientId = opts.clientId;\n this._clientSecret = opts.clientSecret;\n this.redirectUri = opts.redirectUri;\n this.eagerRefreshThresholdMillis =\n opts.eagerRefreshThresholdMillis || 5 * 60 * 1000;\n this.forceRefreshOnFailure = !!opts.forceRefreshOnFailure;\n }\n /**\n * Generates URL for consent page landing.\n * @param opts Options.\n * @return URL to consent page.\n */\n generateAuthUrl(opts = {}) {\n if (opts.code_challenge_method && !opts.code_challenge) {\n throw new Error('If a code_challenge_method is provided, code_challenge must be included.');\n }\n opts.response_type = opts.response_type || 'code';\n opts.client_id = opts.client_id || this._clientId;\n opts.redirect_uri = opts.redirect_uri || this.redirectUri;\n // Allow scopes to be passed either as array or a string\n if (opts.scope instanceof Array) {\n opts.scope = opts.scope.join(' ');\n }\n const rootUrl = OAuth2Client.GOOGLE_OAUTH2_AUTH_BASE_URL_;\n return rootUrl + '?' + querystring.stringify(opts);\n }\n generateCodeVerifier() {\n // To make the code compatible with browser SubtleCrypto we need to make\n // this method async.\n throw new Error('generateCodeVerifier is removed, please use generateCodeVerifierAsync instead.');\n }\n /**\n * Convenience method to automatically generate a code_verifier, and it's\n * resulting SHA256. If used, this must be paired with a S256\n * code_challenge_method.\n *\n * For a full example see:\n * https://github.com/googleapis/google-auth-library-nodejs/blob/master/samples/oauth2-codeVerifier.js\n */\n async generateCodeVerifierAsync() {\n // base64 encoding uses 6 bits per character, and we want to generate128\n // characters. 6*128/8 = 96.\n const crypto = crypto_1.createCrypto();\n const randomString = crypto.randomBytesBase64(96);\n // The valid characters in the code_verifier are [A-Z]/[a-z]/[0-9]/\n // \"-\"/\".\"/\"_\"/\"~\". Base64 encoded strings are pretty close, so we're just\n // swapping out a few chars.\n const codeVerifier = randomString\n .replace(/\\+/g, '~')\n .replace(/=/g, '_')\n .replace(/\\//g, '-');\n // Generate the base64 encoded SHA256\n const unencodedCodeChallenge = await crypto.sha256DigestBase64(codeVerifier);\n // We need to use base64UrlEncoding instead of standard base64\n const codeChallenge = unencodedCodeChallenge\n .split('=')[0]\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_');\n return { codeVerifier, codeChallenge };\n }\n getToken(codeOrOptions, callback) {\n const options = typeof codeOrOptions === 'string' ? { code: codeOrOptions } : codeOrOptions;\n if (callback) {\n this.getTokenAsync(options).then(r => callback(null, r.tokens, r.res), e => callback(e, null, e.response));\n }\n else {\n return this.getTokenAsync(options);\n }\n }\n async getTokenAsync(options) {\n const url = OAuth2Client.GOOGLE_OAUTH2_TOKEN_URL_;\n const values = {\n code: options.code,\n client_id: options.client_id || this._clientId,\n client_secret: this._clientSecret,\n redirect_uri: options.redirect_uri || this.redirectUri,\n grant_type: 'authorization_code',\n code_verifier: options.codeVerifier,\n };\n const res = await this.transporter.request({\n method: 'POST',\n url,\n data: querystring.stringify(values),\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n });\n const tokens = res.data;\n if (res.data && res.data.expires_in) {\n tokens.expiry_date = new Date().getTime() + res.data.expires_in * 1000;\n delete tokens.expires_in;\n }\n this.emit('tokens', tokens);\n return { tokens, res };\n }\n /**\n * Refreshes the access token.\n * @param refresh_token Existing refresh token.\n * @private\n */\n async refreshToken(refreshToken) {\n if (!refreshToken) {\n return this.refreshTokenNoCache(refreshToken);\n }\n // If a request to refresh using the same token has started,\n // return the same promise.\n if (this.refreshTokenPromises.has(refreshToken)) {\n return this.refreshTokenPromises.get(refreshToken);\n }\n const p = this.refreshTokenNoCache(refreshToken).then(r => {\n this.refreshTokenPromises.delete(refreshToken);\n return r;\n }, e => {\n this.refreshTokenPromises.delete(refreshToken);\n throw e;\n });\n this.refreshTokenPromises.set(refreshToken, p);\n return p;\n }\n async refreshTokenNoCache(refreshToken) {\n if (!refreshToken) {\n throw new Error('No refresh token is set.');\n }\n const url = OAuth2Client.GOOGLE_OAUTH2_TOKEN_URL_;\n const data = {\n refresh_token: refreshToken,\n client_id: this._clientId,\n client_secret: this._clientSecret,\n grant_type: 'refresh_token',\n };\n // request for new token\n const res = await this.transporter.request({\n method: 'POST',\n url,\n data: querystring.stringify(data),\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n });\n const tokens = res.data;\n // TODO: de-duplicate this code from a few spots\n if (res.data && res.data.expires_in) {\n tokens.expiry_date = new Date().getTime() + res.data.expires_in * 1000;\n delete tokens.expires_in;\n }\n this.emit('tokens', tokens);\n return { tokens, res };\n }\n refreshAccessToken(callback) {\n if (callback) {\n this.refreshAccessTokenAsync().then(r => callback(null, r.credentials, r.res), callback);\n }\n else {\n return this.refreshAccessTokenAsync();\n }\n }\n async refreshAccessTokenAsync() {\n const r = await this.refreshToken(this.credentials.refresh_token);\n const tokens = r.tokens;\n tokens.refresh_token = this.credentials.refresh_token;\n this.credentials = tokens;\n return { credentials: this.credentials, res: r.res };\n }\n getAccessToken(callback) {\n if (callback) {\n this.getAccessTokenAsync().then(r => callback(null, r.token, r.res), callback);\n }\n else {\n return this.getAccessTokenAsync();\n }\n }\n async getAccessTokenAsync() {\n const shouldRefresh = !this.credentials.access_token || this.isTokenExpiring();\n if (shouldRefresh) {\n if (!this.credentials.refresh_token) {\n throw new Error('No refresh token is set.');\n }\n const r = await this.refreshAccessTokenAsync();\n if (!r.credentials || (r.credentials && !r.credentials.access_token)) {\n throw new Error('Could not refresh access token.');\n }\n return { token: r.credentials.access_token, res: r.res };\n }\n else {\n return { token: this.credentials.access_token };\n }\n }\n getRequestMetadata(url, callback) {\n messages.warn(messages.OAUTH_GET_REQUEST_METADATA_DEPRECATED);\n if (callback) {\n this.getRequestMetadataAsync(url).then(r => callback(null, r.headers, r.res), callback);\n }\n else {\n return this.getRequestMetadataAsync();\n }\n }\n /**\n * The main authentication interface. It takes an optional url which when\n * present is the endpoint being accessed, and returns a Promise which\n * resolves with authorization header fields.\n *\n * In OAuth2Client, the result has the form:\n * { Authorization: 'Bearer ' }\n * @param url The optional url being authorized\n */\n async getRequestHeaders(url) {\n const headers = (await this.getRequestMetadataAsync(url)).headers;\n return headers;\n }\n async getRequestMetadataAsync(url) {\n const thisCreds = this.credentials;\n if (!thisCreds.access_token && !thisCreds.refresh_token && !this.apiKey) {\n throw new Error('No access, refresh token or API key is set.');\n }\n if (thisCreds.access_token && !this.isTokenExpiring()) {\n thisCreds.token_type = thisCreds.token_type || 'Bearer';\n const headers = {\n Authorization: thisCreds.token_type + ' ' + thisCreds.access_token,\n };\n return { headers };\n }\n if (this.apiKey) {\n return { headers: { 'X-Goog-Api-Key': this.apiKey } };\n }\n let r = null;\n let tokens = null;\n try {\n r = await this.refreshToken(thisCreds.refresh_token);\n tokens = r.tokens;\n }\n catch (err) {\n const e = err;\n if (e.response &&\n (e.response.status === 403 || e.response.status === 404)) {\n e.message = `Could not refresh access token: ${e.message}`;\n }\n throw e;\n }\n const credentials = this.credentials;\n credentials.token_type = credentials.token_type || 'Bearer';\n tokens.refresh_token = credentials.refresh_token;\n this.credentials = tokens;\n const headers = {\n Authorization: credentials.token_type + ' ' + tokens.access_token,\n };\n return { headers: this.addSharedMetadataHeaders(headers), res: r.res };\n }\n /**\n * Generates an URL to revoke the given token.\n * @param token The existing token to be revoked.\n */\n static getRevokeTokenUrl(token) {\n const parameters = querystring.stringify({ token });\n return `${OAuth2Client.GOOGLE_OAUTH2_REVOKE_URL_}?${parameters}`;\n }\n revokeToken(token, callback) {\n const opts = {\n url: OAuth2Client.getRevokeTokenUrl(token),\n method: 'POST',\n };\n if (callback) {\n this.transporter\n .request(opts)\n .then(r => callback(null, r), callback);\n }\n else {\n return this.transporter.request(opts);\n }\n }\n revokeCredentials(callback) {\n if (callback) {\n this.revokeCredentialsAsync().then(res => callback(null, res), callback);\n }\n else {\n return this.revokeCredentialsAsync();\n }\n }\n async revokeCredentialsAsync() {\n const token = this.credentials.access_token;\n this.credentials = {};\n if (token) {\n return this.revokeToken(token);\n }\n else {\n throw new Error('No access token to revoke.');\n }\n }\n request(opts, callback) {\n if (callback) {\n this.requestAsync(opts).then(r => callback(null, r), e => {\n return callback(e, e.response);\n });\n }\n else {\n return this.requestAsync(opts);\n }\n }\n async requestAsync(opts, retry = false) {\n let r2;\n try {\n const r = await this.getRequestMetadataAsync(opts.url);\n opts.headers = opts.headers || {};\n if (r.headers && r.headers['x-goog-user-project']) {\n opts.headers['x-goog-user-project'] = r.headers['x-goog-user-project'];\n }\n if (r.headers && r.headers.Authorization) {\n opts.headers.Authorization = r.headers.Authorization;\n }\n if (this.apiKey) {\n opts.headers['X-Goog-Api-Key'] = this.apiKey;\n }\n r2 = await this.transporter.request(opts);\n }\n catch (e) {\n const res = e.response;\n if (res) {\n const statusCode = res.status;\n // Retry the request for metadata if the following criteria are true:\n // - We haven't already retried. It only makes sense to retry once.\n // - The response was a 401 or a 403\n // - The request didn't send a readableStream\n // - An access_token and refresh_token were available, but either no\n // expiry_date was available or the forceRefreshOnFailure flag is set.\n // The absent expiry_date case can happen when developers stash the\n // access_token and refresh_token for later use, but the access_token\n // fails on the first try because it's expired. Some developers may\n // choose to enable forceRefreshOnFailure to mitigate time-related\n // errors.\n const mayRequireRefresh = this.credentials &&\n this.credentials.access_token &&\n this.credentials.refresh_token &&\n (!this.credentials.expiry_date || this.forceRefreshOnFailure);\n const isReadableStream = res.config.data instanceof stream.Readable;\n const isAuthErr = statusCode === 401 || statusCode === 403;\n if (!retry && isAuthErr && !isReadableStream && mayRequireRefresh) {\n await this.refreshAccessTokenAsync();\n return this.requestAsync(opts, true);\n }\n }\n throw e;\n }\n return r2;\n }\n verifyIdToken(options, callback) {\n // This function used to accept two arguments instead of an options object.\n // Check the types to help users upgrade with less pain.\n // This check can be removed after a 2.0 release.\n if (callback && typeof callback !== 'function') {\n throw new Error('This method accepts an options object as the first parameter, which includes the idToken, audience, and maxExpiry.');\n }\n if (callback) {\n this.verifyIdTokenAsync(options).then(r => callback(null, r), callback);\n }\n else {\n return this.verifyIdTokenAsync(options);\n }\n }\n async verifyIdTokenAsync(options) {\n if (!options.idToken) {\n throw new Error('The verifyIdToken method requires an ID Token');\n }\n const response = await this.getFederatedSignonCertsAsync();\n const login = await this.verifySignedJwtWithCertsAsync(options.idToken, response.certs, options.audience, OAuth2Client.ISSUERS_, options.maxExpiry);\n return login;\n }\n /**\n * Obtains information about the provisioned access token. Especially useful\n * if you want to check the scopes that were provisioned to a given token.\n *\n * @param accessToken Required. The Access Token for which you want to get\n * user info.\n */\n async getTokenInfo(accessToken) {\n const { data } = await this.transporter.request({\n method: 'GET',\n url: OAuth2Client.GOOGLE_TOKEN_INFO_URL,\n params: { access_token: accessToken },\n });\n const info = Object.assign({\n expiry_date: new Date().getTime() + data.expires_in * 1000,\n scopes: data.scope.split(' '),\n }, data);\n delete info.expires_in;\n delete info.scope;\n return info;\n }\n getFederatedSignonCerts(callback) {\n if (callback) {\n this.getFederatedSignonCertsAsync().then(r => callback(null, r.certs, r.res), callback);\n }\n else {\n return this.getFederatedSignonCertsAsync();\n }\n }\n async getFederatedSignonCertsAsync() {\n const nowTime = new Date().getTime();\n const format = crypto_1.hasBrowserCrypto()\n ? CertificateFormat.JWK\n : CertificateFormat.PEM;\n if (this.certificateExpiry &&\n nowTime < this.certificateExpiry.getTime() &&\n this.certificateCacheFormat === format) {\n return { certs: this.certificateCache, format };\n }\n let res;\n let url;\n switch (format) {\n case CertificateFormat.PEM:\n url = OAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_;\n break;\n case CertificateFormat.JWK:\n url = OAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_;\n break;\n default:\n throw new Error(`Unsupported certificate format ${format}`);\n }\n try {\n res = await this.transporter.request({ url });\n }\n catch (e) {\n e.message = `Failed to retrieve verification certificates: ${e.message}`;\n throw e;\n }\n const cacheControl = res ? res.headers['cache-control'] : undefined;\n let cacheAge = -1;\n if (cacheControl) {\n const pattern = new RegExp('max-age=([0-9]*)');\n const regexResult = pattern.exec(cacheControl);\n if (regexResult && regexResult.length === 2) {\n // Cache results with max-age (in seconds)\n cacheAge = Number(regexResult[1]) * 1000; // milliseconds\n }\n }\n let certificates = {};\n switch (format) {\n case CertificateFormat.PEM:\n certificates = res.data;\n break;\n case CertificateFormat.JWK:\n for (const key of res.data.keys) {\n certificates[key.kid] = key;\n }\n break;\n default:\n throw new Error(`Unsupported certificate format ${format}`);\n }\n const now = new Date();\n this.certificateExpiry =\n cacheAge === -1 ? null : new Date(now.getTime() + cacheAge);\n this.certificateCache = certificates;\n this.certificateCacheFormat = format;\n return { certs: certificates, format, res };\n }\n getIapPublicKeys(callback) {\n if (callback) {\n this.getIapPublicKeysAsync().then(r => callback(null, r.pubkeys, r.res), callback);\n }\n else {\n return this.getIapPublicKeysAsync();\n }\n }\n async getIapPublicKeysAsync() {\n const nowTime = new Date().getTime();\n let res;\n const url = OAuth2Client.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_;\n try {\n res = await this.transporter.request({ url });\n }\n catch (e) {\n e.message = `Failed to retrieve verification certificates: ${e.message}`;\n throw e;\n }\n return { pubkeys: res.data, res };\n }\n verifySignedJwtWithCerts() {\n // To make the code compatible with browser SubtleCrypto we need to make\n // this method async.\n throw new Error('verifySignedJwtWithCerts is removed, please use verifySignedJwtWithCertsAsync instead.');\n }\n /**\n * Verify the id token is signed with the correct certificate\n * and is from the correct audience.\n * @param jwt The jwt to verify (The ID Token in this case).\n * @param certs The array of certs to test the jwt against.\n * @param requiredAudience The audience to test the jwt against.\n * @param issuers The allowed issuers of the jwt (Optional).\n * @param maxExpiry The max expiry the certificate can be (Optional).\n * @return Returns a promise resolving to LoginTicket on verification.\n */\n async verifySignedJwtWithCertsAsync(jwt, certs, requiredAudience, issuers, maxExpiry) {\n const crypto = crypto_1.createCrypto();\n if (!maxExpiry) {\n maxExpiry = OAuth2Client.MAX_TOKEN_LIFETIME_SECS_;\n }\n const segments = jwt.split('.');\n if (segments.length !== 3) {\n throw new Error('Wrong number of segments in token: ' + jwt);\n }\n const signed = segments[0] + '.' + segments[1];\n let signature = segments[2];\n let envelope;\n let payload;\n try {\n envelope = JSON.parse(crypto.decodeBase64StringUtf8(segments[0]));\n }\n catch (err) {\n err.message = `Can't parse token envelope: ${segments[0]}': ${err.message}`;\n throw err;\n }\n if (!envelope) {\n throw new Error(\"Can't parse token envelope: \" + segments[0]);\n }\n try {\n payload = JSON.parse(crypto.decodeBase64StringUtf8(segments[1]));\n }\n catch (err) {\n err.message = `Can't parse token payload '${segments[0]}`;\n throw err;\n }\n if (!payload) {\n throw new Error(\"Can't parse token payload: \" + segments[1]);\n }\n if (!certs.hasOwnProperty(envelope.kid)) {\n // If this is not present, then there's no reason to attempt verification\n throw new Error('No pem found for envelope: ' + JSON.stringify(envelope));\n }\n const cert = certs[envelope.kid];\n if (envelope.alg === 'ES256') {\n signature = formatEcdsa.joseToDer(signature, 'ES256').toString('base64');\n }\n const verified = await crypto.verify(cert, signed, signature);\n if (!verified) {\n throw new Error('Invalid token signature: ' + jwt);\n }\n if (!payload.iat) {\n throw new Error('No issue time in token: ' + JSON.stringify(payload));\n }\n if (!payload.exp) {\n throw new Error('No expiration time in token: ' + JSON.stringify(payload));\n }\n const iat = Number(payload.iat);\n if (isNaN(iat))\n throw new Error('iat field using invalid format');\n const exp = Number(payload.exp);\n if (isNaN(exp))\n throw new Error('exp field using invalid format');\n const now = new Date().getTime() / 1000;\n if (exp >= now + maxExpiry) {\n throw new Error('Expiration time too far in future: ' + JSON.stringify(payload));\n }\n const earliest = iat - OAuth2Client.CLOCK_SKEW_SECS_;\n const latest = exp + OAuth2Client.CLOCK_SKEW_SECS_;\n if (now < earliest) {\n throw new Error('Token used too early, ' +\n now +\n ' < ' +\n earliest +\n ': ' +\n JSON.stringify(payload));\n }\n if (now > latest) {\n throw new Error('Token used too late, ' +\n now +\n ' > ' +\n latest +\n ': ' +\n JSON.stringify(payload));\n }\n if (issuers && issuers.indexOf(payload.iss) < 0) {\n throw new Error('Invalid issuer, expected one of [' +\n issuers +\n '], but got ' +\n payload.iss);\n }\n // Check the audience matches if we have one\n if (typeof requiredAudience !== 'undefined' && requiredAudience !== null) {\n const aud = payload.aud;\n let audVerified = false;\n // If the requiredAudience is an array, check if it contains token\n // audience\n if (requiredAudience.constructor === Array) {\n audVerified = requiredAudience.indexOf(aud) > -1;\n }\n else {\n audVerified = aud === requiredAudience;\n }\n if (!audVerified) {\n throw new Error('Wrong recipient, payload audience != requiredAudience');\n }\n }\n return new loginticket_1.LoginTicket(envelope, payload);\n }\n /**\n * Returns true if a token is expired or will expire within\n * eagerRefreshThresholdMillismilliseconds.\n * If there is no expiry time, assumes the token is not expired or expiring.\n */\n isTokenExpiring() {\n const expiryDate = this.credentials.expiry_date;\n return expiryDate\n ? expiryDate <= new Date().getTime() + this.eagerRefreshThresholdMillis\n : false;\n }\n}\nexports.OAuth2Client = OAuth2Client;\nOAuth2Client.GOOGLE_TOKEN_INFO_URL = 'https://oauth2.googleapis.com/tokeninfo';\n/**\n * The base URL for auth endpoints.\n */\nOAuth2Client.GOOGLE_OAUTH2_AUTH_BASE_URL_ = 'https://accounts.google.com/o/oauth2/v2/auth';\n/**\n * The base endpoint for token retrieval.\n */\nOAuth2Client.GOOGLE_OAUTH2_TOKEN_URL_ = 'https://oauth2.googleapis.com/token';\n/**\n * The base endpoint to revoke tokens.\n */\nOAuth2Client.GOOGLE_OAUTH2_REVOKE_URL_ = 'https://oauth2.googleapis.com/revoke';\n/**\n * Google Sign on certificates in PEM format.\n */\nOAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_PEM_CERTS_URL_ = 'https://www.googleapis.com/oauth2/v1/certs';\n/**\n * Google Sign on certificates in JWK format.\n */\nOAuth2Client.GOOGLE_OAUTH2_FEDERATED_SIGNON_JWK_CERTS_URL_ = 'https://www.googleapis.com/oauth2/v3/certs';\n/**\n * Google Sign on certificates in JWK format.\n */\nOAuth2Client.GOOGLE_OAUTH2_IAP_PUBLIC_KEY_URL_ = 'https://www.gstatic.com/iap/verify/public_key';\n/**\n * Clock skew - five minutes in seconds\n */\nOAuth2Client.CLOCK_SKEW_SECS_ = 300;\n/**\n * Max Token Lifetime is one day in seconds\n */\nOAuth2Client.MAX_TOKEN_LIFETIME_SECS_ = 86400;\n/**\n * The allowed oauth token issuers.\n */\nOAuth2Client.ISSUERS_ = [\n 'accounts.google.com',\n 'https://accounts.google.com',\n];\n//# sourceMappingURL=oauth2client.js.map","\"use strict\";\n// Copyright 2015 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst oauth2client_1 = require(\"./oauth2client\");\nclass UserRefreshClient extends oauth2client_1.OAuth2Client {\n constructor(optionsOrClientId, clientSecret, refreshToken, eagerRefreshThresholdMillis, forceRefreshOnFailure) {\n const opts = optionsOrClientId && typeof optionsOrClientId === 'object'\n ? optionsOrClientId\n : {\n clientId: optionsOrClientId,\n clientSecret,\n refreshToken,\n eagerRefreshThresholdMillis,\n forceRefreshOnFailure,\n };\n super({\n clientId: opts.clientId,\n clientSecret: opts.clientSecret,\n eagerRefreshThresholdMillis: opts.eagerRefreshThresholdMillis,\n forceRefreshOnFailure: opts.forceRefreshOnFailure,\n });\n this._refreshToken = opts.refreshToken;\n this.credentials.refresh_token = opts.refreshToken;\n }\n /**\n * Refreshes the access token.\n * @param refreshToken An ignored refreshToken..\n * @param callback Optional callback.\n */\n async refreshTokenNoCache(refreshToken) {\n return super.refreshTokenNoCache(this._refreshToken);\n }\n /**\n * Create a UserRefreshClient credentials instance using the given input\n * options.\n * @param json The input object.\n */\n fromJSON(json) {\n if (!json) {\n throw new Error('Must pass in a JSON object containing the user refresh token');\n }\n if (json.type !== 'authorized_user') {\n throw new Error('The incoming JSON object does not have the \"authorized_user\" type');\n }\n if (!json.client_id) {\n throw new Error('The incoming JSON object does not contain a client_id field');\n }\n if (!json.client_secret) {\n throw new Error('The incoming JSON object does not contain a client_secret field');\n }\n if (!json.refresh_token) {\n throw new Error('The incoming JSON object does not contain a refresh_token field');\n }\n this._clientId = json.client_id;\n this._clientSecret = json.client_secret;\n this._refreshToken = json.refresh_token;\n this.credentials.refresh_token = json.refresh_token;\n this.quotaProjectId = json.quota_project_id;\n }\n fromStream(inputStream, callback) {\n if (callback) {\n this.fromStreamAsync(inputStream).then(r => callback(), callback);\n }\n else {\n return this.fromStreamAsync(inputStream);\n }\n }\n async fromStreamAsync(inputStream) {\n return new Promise((resolve, reject) => {\n if (!inputStream) {\n return reject(new Error('Must pass in a stream containing the user refresh token.'));\n }\n let s = '';\n inputStream\n .setEncoding('utf8')\n .on('error', reject)\n .on('data', chunk => (s += chunk))\n .on('end', () => {\n try {\n const data = JSON.parse(s);\n this.fromJSON(data);\n return resolve();\n }\n catch (err) {\n return reject(err);\n }\n });\n });\n }\n}\nexports.UserRefreshClient = UserRefreshClient;\n//# sourceMappingURL=refreshclient.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// This file implements crypto functions we need using in-browser\n// SubtleCrypto interface `window.crypto.subtle`.\nconst base64js = require(\"base64-js\");\n// Not all browsers support `TextEncoder`. The following `require` will\n// provide a fast UTF8-only replacement for those browsers that don't support\n// text encoding natively.\nif (typeof process === 'undefined' && typeof TextEncoder === 'undefined') {\n require('fast-text-encoding');\n}\nclass BrowserCrypto {\n constructor() {\n if (typeof window === 'undefined' ||\n window.crypto === undefined ||\n window.crypto.subtle === undefined) {\n throw new Error(\"SubtleCrypto not found. Make sure it's an https:// website.\");\n }\n }\n async sha256DigestBase64(str) {\n // SubtleCrypto digest() method is async, so we must make\n // this method async as well.\n // To calculate SHA256 digest using SubtleCrypto, we first\n // need to convert an input string to an ArrayBuffer:\n const inputBuffer = new TextEncoder().encode(str);\n // Result is ArrayBuffer as well.\n const outputBuffer = await window.crypto.subtle.digest('SHA-256', inputBuffer);\n return base64js.fromByteArray(new Uint8Array(outputBuffer));\n }\n randomBytesBase64(count) {\n const array = new Uint8Array(count);\n window.crypto.getRandomValues(array);\n return base64js.fromByteArray(array);\n }\n static padBase64(base64) {\n // base64js requires padding, so let's add some '='\n while (base64.length % 4 !== 0) {\n base64 += '=';\n }\n return base64;\n }\n async verify(pubkey, data, signature) {\n const algo = {\n name: 'RSASSA-PKCS1-v1_5',\n hash: { name: 'SHA-256' },\n };\n const dataArray = new TextEncoder().encode(data);\n const signatureArray = base64js.toByteArray(BrowserCrypto.padBase64(signature));\n const cryptoKey = await window.crypto.subtle.importKey('jwk', pubkey, algo, true, ['verify']);\n // SubtleCrypto's verify method is async so we must make\n // this method async as well.\n const result = await window.crypto.subtle.verify(algo, cryptoKey, signatureArray, dataArray);\n return result;\n }\n async sign(privateKey, data) {\n const algo = {\n name: 'RSASSA-PKCS1-v1_5',\n hash: { name: 'SHA-256' },\n };\n const dataArray = new TextEncoder().encode(data);\n const cryptoKey = await window.crypto.subtle.importKey('jwk', privateKey, algo, true, ['sign']);\n // SubtleCrypto's sign method is async so we must make\n // this method async as well.\n const result = await window.crypto.subtle.sign(algo, cryptoKey, dataArray);\n return base64js.fromByteArray(new Uint8Array(result));\n }\n decodeBase64StringUtf8(base64) {\n const uint8array = base64js.toByteArray(BrowserCrypto.padBase64(base64));\n const result = new TextDecoder().decode(uint8array);\n return result;\n }\n encodeBase64StringUtf8(text) {\n const uint8array = new TextEncoder().encode(text);\n const result = base64js.fromByteArray(uint8array);\n return result;\n }\n}\nexports.BrowserCrypto = BrowserCrypto;\n//# sourceMappingURL=crypto.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst crypto_1 = require(\"./browser/crypto\");\nconst crypto_2 = require(\"./node/crypto\");\nfunction createCrypto() {\n if (hasBrowserCrypto()) {\n return new crypto_1.BrowserCrypto();\n }\n return new crypto_2.NodeCrypto();\n}\nexports.createCrypto = createCrypto;\nfunction hasBrowserCrypto() {\n return (typeof window !== 'undefined' &&\n typeof window.crypto !== 'undefined' &&\n typeof window.crypto.subtle !== 'undefined');\n}\nexports.hasBrowserCrypto = hasBrowserCrypto;\n//# sourceMappingURL=crypto.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst crypto = require(\"crypto\");\nclass NodeCrypto {\n async sha256DigestBase64(str) {\n return crypto\n .createHash('sha256')\n .update(str)\n .digest('base64');\n }\n randomBytesBase64(count) {\n return crypto.randomBytes(count).toString('base64');\n }\n async verify(pubkey, data, signature) {\n const verifier = crypto.createVerify('sha256');\n verifier.update(data);\n verifier.end();\n return verifier.verify(pubkey, signature, 'base64');\n }\n async sign(privateKey, data) {\n const signer = crypto.createSign('RSA-SHA256');\n signer.update(data);\n signer.end();\n return signer.sign(privateKey, 'base64');\n }\n decodeBase64StringUtf8(base64) {\n return Buffer.from(base64, 'base64').toString('utf-8');\n }\n encodeBase64StringUtf8(text) {\n return Buffer.from(text, 'utf-8').toString('base64');\n }\n}\nexports.NodeCrypto = NodeCrypto;\n//# sourceMappingURL=crypto.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Copyright 2017 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nconst googleauth_1 = require(\"./auth/googleauth\");\nexports.GoogleAuth = googleauth_1.GoogleAuth;\nvar computeclient_1 = require(\"./auth/computeclient\");\nexports.Compute = computeclient_1.Compute;\nvar envDetect_1 = require(\"./auth/envDetect\");\nexports.GCPEnv = envDetect_1.GCPEnv;\nvar iam_1 = require(\"./auth/iam\");\nexports.IAMAuth = iam_1.IAMAuth;\nvar idtokenclient_1 = require(\"./auth/idtokenclient\");\nexports.IdTokenClient = idtokenclient_1.IdTokenClient;\nvar jwtaccess_1 = require(\"./auth/jwtaccess\");\nexports.JWTAccess = jwtaccess_1.JWTAccess;\nvar jwtclient_1 = require(\"./auth/jwtclient\");\nexports.JWT = jwtclient_1.JWT;\nvar oauth2client_1 = require(\"./auth/oauth2client\");\nexports.CodeChallengeMethod = oauth2client_1.CodeChallengeMethod;\nexports.OAuth2Client = oauth2client_1.OAuth2Client;\nvar loginticket_1 = require(\"./auth/loginticket\");\nexports.LoginTicket = loginticket_1.LoginTicket;\nvar refreshclient_1 = require(\"./auth/refreshclient\");\nexports.UserRefreshClient = refreshclient_1.UserRefreshClient;\nvar transporters_1 = require(\"./transporters\");\nexports.DefaultTransporter = transporters_1.DefaultTransporter;\nconst auth = new googleauth_1.GoogleAuth();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2018 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar WarningTypes;\n(function (WarningTypes) {\n WarningTypes[\"WARNING\"] = \"Warning\";\n WarningTypes[\"DEPRECATION\"] = \"DeprecationWarning\";\n})(WarningTypes = exports.WarningTypes || (exports.WarningTypes = {}));\nfunction warn(warning) {\n // Only show a given warning once\n if (warning.warned) {\n return;\n }\n warning.warned = true;\n if (typeof process !== 'undefined' && process.emitWarning) {\n // @types/node doesn't recognize the emitWarning syntax which\n // accepts a config object, so `as any` it is\n // https://nodejs.org/docs/latest-v8.x/api/process.html#process_process_emitwarning_warning_options\n // tslint:disable-next-line no-any\n process.emitWarning(warning.message, warning);\n }\n else {\n console.warn(warning.message);\n }\n}\nexports.warn = warn;\nexports.PROBLEMATIC_CREDENTIALS_WARNING = {\n code: 'google-auth-library:00001',\n type: WarningTypes.WARNING,\n message: [\n 'Your application has authenticated using end user credentials from Google',\n 'Cloud SDK. We recommend that most server applications use service accounts',\n 'instead. If your application continues to use end user credentials from',\n 'Cloud SDK, you might receive a \"quota exceeded\" or \"API not enabled\" error.',\n 'For more information about service accounts, see',\n 'https://cloud.google.com/docs/authentication/.',\n ].join(' '),\n};\nexports.DEFAULT_PROJECT_ID_DEPRECATED = {\n code: 'google-auth-library:DEP002',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `getDefaultProjectId` method has been deprecated, and will be removed',\n 'in the 3.0 release of google-auth-library. Please use the `getProjectId`',\n 'method instead.',\n ].join(' '),\n};\nexports.COMPUTE_CREATE_SCOPED_DEPRECATED = {\n code: 'google-auth-library:DEP003',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `createScopedRequired` method on the `Compute` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library.',\n ].join(' '),\n};\nexports.JWT_CREATE_SCOPED_DEPRECATED = {\n code: 'google-auth-library:DEP004',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `createScopedRequired` method on the `JWT` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library.',\n ].join(' '),\n};\nexports.IAM_CREATE_SCOPED_DEPRECATED = {\n code: 'google-auth-library:DEP005',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `createScopedRequired` method on the `IAM` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library.',\n ].join(' '),\n};\nexports.JWT_ACCESS_CREATE_SCOPED_DEPRECATED = {\n code: 'google-auth-library:DEP006',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `createScopedRequired` method on the `JWTAccess` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library.',\n ].join(' '),\n};\nexports.OAUTH_GET_REQUEST_METADATA_DEPRECATED = {\n code: 'google-auth-library:DEP004',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `getRequestMetadata` method on the `OAuth2` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library. Please use',\n 'the `getRequestHeaders` method instead.',\n ].join(' '),\n};\nexports.IAM_GET_REQUEST_METADATA_DEPRECATED = {\n code: 'google-auth-library:DEP005',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `getRequestMetadata` method on the `IAM` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library. Please use',\n 'the `getRequestHeaders` method instead.',\n ].join(' '),\n};\nexports.JWT_ACCESS_GET_REQUEST_METADATA_DEPRECATED = {\n code: 'google-auth-library:DEP006',\n type: WarningTypes.DEPRECATION,\n message: [\n 'The `getRequestMetadata` method on the `JWTAccess` class has been deprecated,',\n 'and will be removed in the 3.0 release of google-auth-library. Please use',\n 'the `getRequestHeaders` method instead.',\n ].join(' '),\n};\n//# sourceMappingURL=messages.js.map","\"use strict\";\n// Copyright 2017 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Accepts an options object passed from the user to the API. In the\n// previous version of the API, it referred to a `Request` options object.\n// Now it refers to an Axiox Request Config object. This is here to help\n// ensure users don't pass invalid options when they upgrade from 0.x to 1.x.\n// tslint:disable-next-line no-any\nfunction validate(options) {\n const vpairs = [\n { invalid: 'uri', expected: 'url' },\n { invalid: 'json', expected: 'data' },\n { invalid: 'qs', expected: 'params' },\n ];\n for (const pair of vpairs) {\n if (options[pair.invalid]) {\n const e = `'${pair.invalid}' is not a valid configuration option. Please use '${pair.expected}' instead. This library is using Axios for requests. Please see https://github.com/axios/axios to learn more about the valid request options.`;\n throw new Error(e);\n }\n }\n}\nexports.validate = validate;\n//# sourceMappingURL=options.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst gaxios_1 = require(\"gaxios\");\nconst options_1 = require(\"./options\");\n// tslint:disable-next-line no-var-requires\nconst pkg = require('../../package.json');\nconst PRODUCT_NAME = 'google-api-nodejs-client';\nclass DefaultTransporter {\n /**\n * Configures request options before making a request.\n * @param opts GaxiosOptions options.\n * @return Configured options.\n */\n configure(opts = {}) {\n opts.headers = opts.headers || {};\n if (typeof window === 'undefined') {\n // set transporter user agent if not in browser\n const uaValue = opts.headers['User-Agent'];\n if (!uaValue) {\n opts.headers['User-Agent'] = DefaultTransporter.USER_AGENT;\n }\n else if (!uaValue.includes(`${PRODUCT_NAME}/`)) {\n opts.headers['User-Agent'] = `${uaValue} ${DefaultTransporter.USER_AGENT}`;\n }\n // track google-auth-library-nodejs version:\n const authVersion = `auth/${pkg.version}`;\n if (opts.headers['x-goog-api-client'] &&\n !opts.headers['x-goog-api-client'].includes(authVersion)) {\n opts.headers['x-goog-api-client'] = `${opts.headers['x-goog-api-client']} ${authVersion}`;\n }\n else if (!opts.headers['x-goog-api-client']) {\n const nodeVersion = process.version.replace(/^v/, '');\n opts.headers['x-goog-api-client'] = `gl-node/${nodeVersion} ${authVersion}`;\n }\n }\n return opts;\n }\n request(opts, callback) {\n // ensure the user isn't passing in request-style options\n opts = this.configure(opts);\n try {\n options_1.validate(opts);\n }\n catch (e) {\n if (callback) {\n return callback(e);\n }\n else {\n throw e;\n }\n }\n if (callback) {\n gaxios_1.request(opts).then(r => {\n callback(null, r);\n }, e => {\n callback(this.processError(e));\n });\n }\n else {\n return gaxios_1.request(opts).catch(e => {\n throw this.processError(e);\n });\n }\n }\n /**\n * Changes the error to include details from the body.\n */\n processError(e) {\n const res = e.response;\n const err = e;\n const body = res ? res.data : null;\n if (res && body && body.error && res.status !== 200) {\n if (typeof body.error === 'string') {\n err.message = body.error;\n err.code = res.status.toString();\n }\n else if (Array.isArray(body.error.errors)) {\n err.message = body.error.errors\n .map((err2) => err2.message)\n .join('\\n');\n err.code = body.error.code;\n err.errors = body.error.errors;\n }\n else {\n err.message = body.error.message;\n err.code = body.error.code || res.status;\n }\n }\n else if (res && res.status >= 400) {\n // Consider all 4xx and 5xx responses errors.\n err.message = body;\n err.code = res.status.toString();\n }\n return err;\n }\n}\nexports.DefaultTransporter = DefaultTransporter;\n/**\n * Default user agent.\n */\nDefaultTransporter.USER_AGENT = `${PRODUCT_NAME}/${pkg.version}`;\n//# sourceMappingURL=transporters.js.map","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount /*, ...nodes */) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 2; i < arguments.length; i++) {\n walker = insert(this, walker, arguments[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","\"use strict\";\n/**\n * Copyright 2018 Google LLC\n *\n * Distributed under MIT license.\n * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fs = require(\"fs\");\nconst forge = require(\"node-forge\");\nconst util_1 = require(\"util\");\nconst readFile = util_1.promisify(fs.readFile);\nfunction getPem(filename, callback) {\n if (callback) {\n getPemAsync(filename)\n .then(pem => callback(null, pem))\n .catch(err => callback(err, null));\n }\n else {\n return getPemAsync(filename);\n }\n}\nexports.getPem = getPem;\nfunction getPemAsync(filename) {\n return readFile(filename, { encoding: 'base64' }).then(keyp12 => {\n return convertToPem(keyp12);\n });\n}\n/**\n * Converts a P12 in base64 encoding to a pem.\n * @param p12base64 String containing base64 encoded p12.\n * @returns a string containing the pem.\n */\nfunction convertToPem(p12base64) {\n const p12Der = forge.util.decode64(p12base64);\n const p12Asn1 = forge.asn1.fromDer(p12Der);\n const p12 = forge.pkcs12.pkcs12FromAsn1(p12Asn1, 'notasecret');\n const bags = p12.getBags({ friendlyName: 'privatekey' });\n if (bags.friendlyName) {\n const privateKey = bags.friendlyName[0].key;\n const pem = forge.pki.privateKeyToPem(privateKey);\n return pem.replace(/\\r\\n/g, '\\n');\n }\n else {\n throw new Error('Unable to get friendly name.');\n }\n}\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2018, Google, LLC.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getAPI(api, options, \n// tslint:disable-next-line no-any\nversions, context) {\n let version;\n if (typeof options === 'string') {\n version = options;\n options = {};\n }\n else if (typeof options === 'object') {\n version = options.version;\n delete options.version;\n }\n else {\n throw new Error('Argument error: Accepts only string or object');\n }\n try {\n const ctr = versions[version];\n const ep = new ctr(options, context);\n return Object.freeze(ep);\n }\n catch (e) {\n throw new Error(`Unable to load endpoint ${api}(\"${version}\"): ${e.message}`);\n }\n}\nexports.getAPI = getAPI;\n//# sourceMappingURL=apiIndex.js.map","\"use strict\";\n// Copyright 2016 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst google_auth_library_1 = require(\"google-auth-library\");\nconst qs = require(\"qs\");\nconst stream = require(\"stream\");\nconst urlTemplate = require(\"url-template\");\nconst uuid = require(\"uuid\");\nconst extend = require(\"extend\");\nconst isbrowser_1 = require(\"./isbrowser\");\nconst url_1 = require(\"url\");\n// tslint:disable-next-line no-var-requires\nconst pkg = require('../../package.json');\nfunction isReadableStream(obj) {\n return obj instanceof stream.Readable && typeof obj._read === 'function';\n}\nfunction getMissingParams(params, required) {\n const missing = new Array();\n required.forEach(param => {\n // Is the required param in the params object?\n if (params[param] === undefined) {\n missing.push(param);\n }\n });\n // If there are any required params missing, return their names in array,\n // otherwise return null\n return missing.length > 0 ? missing : null;\n}\nfunction createAPIRequest(parameters, callback) {\n if (callback) {\n createAPIRequestAsync(parameters).then(r => callback(null, r), callback);\n }\n else {\n return createAPIRequestAsync(parameters);\n }\n}\nexports.createAPIRequest = createAPIRequest;\nasync function createAPIRequestAsync(parameters) {\n const options = Object.assign({}, parameters.options);\n // Create a new params object so it can no longer be modified from outside\n // code Also support global and per-client params, but allow them to be\n // overriden per-request\n const globalParams = parameters.context.google &&\n parameters.context.google._options &&\n parameters.context.google._options.params\n ? parameters.context.google._options.params\n : {};\n const clientParams = parameters.context &&\n parameters.context._options &&\n parameters.context._options.params\n ? parameters.context._options.params\n : {};\n const params = Object.assign({}, // New base object\n globalParams, // Global params\n clientParams, // Per-client params\n parameters.params // API call params\n );\n // Check for user specified user agents at all levels of config\n const userAgentGlobal = parameters.context.google &&\n parameters.context.google._options &&\n parameters.context.google._options.userAgentDirectives\n ? parameters.context.google._options.userAgentDirectives\n : [];\n const userAgentClient = parameters.context &&\n parameters.context._options &&\n parameters.context._options.userAgentDirectives\n ? parameters.context._options.userAgentDirectives\n : [];\n const userAgentDirectives = Object.assign([], userAgentGlobal, userAgentClient, parameters.options.userAgentDirectives) || [];\n const media = params.media || {};\n /**\n * In a previous version of this API, the request body was stuffed in a field\n * named `resource`. This caused lots of problems, because it's not uncommon\n * to have an actual named parameter required which is also named `resource`.\n * This meant that users would have to use `resource_` in those cases, which\n * pretty much nobody figures out on their own. The request body is now\n * documented as being in the `requestBody` property, but we also need to keep\n * using `resource` for reasons of back-compat. Cases that need to be covered\n * here:\n * - user provides just a `resource` with a request body\n * - user provides both a `resource` and a `resource_`\n * - user provides just a `requestBody`\n * - user provides both a `requestBody` and a `resource`\n */\n let resource = params.requestBody;\n if (!params.requestBody &&\n params.resource &&\n (!parameters.requiredParams.includes('resource') ||\n typeof params.resource !== 'string')) {\n resource = params.resource;\n delete params.resource;\n }\n delete params.requestBody;\n let authClient = params.auth ||\n parameters.context._options.auth ||\n (parameters.context.google\n ? parameters.context.google._options.auth\n : null);\n const defaultMime = typeof media.body === 'string' ? 'text/plain' : 'application/octet-stream';\n delete params.media;\n delete params.auth;\n // Grab headers from user provided options\n const headers = params.headers || {};\n populateAPIHeader(headers);\n delete params.headers;\n // Un-alias parameters that were modified due to conflicts with reserved names\n Object.keys(params).forEach(key => {\n if (key.slice(-1) === '_') {\n const newKey = key.slice(0, -1);\n params[newKey] = params[key];\n delete params[key];\n }\n });\n // Check for missing required parameters in the API request\n const missingParams = getMissingParams(params, parameters.requiredParams);\n if (missingParams) {\n // Some params are missing - stop further operations and inform the\n // developer which required params are not included in the request\n throw new Error('Missing required parameters: ' + missingParams.join(', '));\n }\n // Parse urls\n if (options.url) {\n options.url = urlTemplate.parse(options.url).expand(params);\n }\n if (parameters.mediaUrl) {\n parameters.mediaUrl = urlTemplate.parse(parameters.mediaUrl).expand(params);\n }\n // Rewrite url if rootUrl is globally set\n if (parameters.context._options.rootUrl !== undefined &&\n options.url !== undefined) {\n const path = options.url.slice(parameters.context._options.rootUrl.length);\n options.url = url_1.resolve(parameters.context._options.rootUrl, path);\n }\n // When forming the querystring, override the serializer so that array\n // values are serialized like this:\n // myParams: ['one', 'two'] ---> 'myParams=one&myParams=two'\n // This serializer also encodes spaces in the querystring as `%20`,\n // whereas the default serializer in gaxios encodes to a `+`.\n options.paramsSerializer = params => {\n return qs.stringify(params, { arrayFormat: 'repeat' });\n };\n // delete path parameters from the params object so they do not end up in\n // query\n parameters.pathParams.forEach(param => {\n delete params[param];\n if (parameters.context &&\n parameters.context._options &&\n parameters.context._options.params) {\n delete parameters.context._options.params[param];\n }\n });\n // if authClient is actually a string, use it as an API KEY\n if (typeof authClient === 'string') {\n params.key = params.key || authClient;\n authClient = undefined;\n }\n if (parameters.mediaUrl && media.body) {\n options.url = parameters.mediaUrl;\n if (resource) {\n // gaxios doesn't support multipart/related uploads, so it has to\n // be implemented here.\n params.uploadType = 'multipart';\n const multipart = [\n { 'Content-Type': 'application/json', body: JSON.stringify(resource) },\n {\n 'Content-Type': media.mimeType || (resource && resource.mimeType) || defaultMime,\n body: media.body,\n },\n ];\n const boundary = uuid.v4();\n const finale = `--${boundary}--`;\n const rStream = new stream.PassThrough({\n flush(callback) {\n this.push('\\r\\n');\n this.push(finale);\n callback();\n },\n });\n const pStream = new ProgressStream();\n const isStream = isReadableStream(multipart[1].body);\n headers['Content-Type'] = `multipart/related; boundary=${boundary}`;\n for (const part of multipart) {\n const preamble = `--${boundary}\\r\\nContent-Type: ${part['Content-Type']}\\r\\n\\r\\n`;\n rStream.push(preamble);\n if (typeof part.body === 'string') {\n rStream.push(part.body);\n rStream.push('\\r\\n');\n }\n else {\n // Gaxios does not natively support onUploadProgress in node.js.\n // Pipe through the pStream first to read the number of bytes read\n // for the purpose of tracking progress.\n pStream.on('progress', bytesRead => {\n if (options.onUploadProgress) {\n options.onUploadProgress({ bytesRead });\n }\n });\n part.body.pipe(pStream).pipe(rStream);\n }\n }\n if (!isStream) {\n rStream.push(finale);\n rStream.push(null);\n }\n options.data = rStream;\n }\n else {\n params.uploadType = 'media';\n Object.assign(headers, { 'Content-Type': media.mimeType || defaultMime });\n options.data = media.body;\n }\n }\n else {\n options.data = resource || undefined;\n }\n options.headers = extend(true, options.headers || {}, headers);\n options.params = params;\n if (!isbrowser_1.isBrowser()) {\n options.headers['Accept-Encoding'] = 'gzip';\n userAgentDirectives.push({\n product: 'google-api-nodejs-client',\n version: pkg.version,\n comment: 'gzip',\n });\n const userAgent = userAgentDirectives\n .map(d => {\n let line = `${d.product}/${d.version}`;\n if (d.comment) {\n line += ` (${d.comment})`;\n }\n return line;\n })\n .join(' ');\n options.headers['User-Agent'] = userAgent;\n }\n // By default gaxios treats any 2xx as valid, and all non 2xx status\n // codes as errors. This is a problem for HTTP 304s when used along\n // with an eTag.\n if (!options.validateStatus) {\n options.validateStatus = status => {\n return (status >= 200 && status < 300) || status === 304;\n };\n }\n // Retry by default\n options.retry = options.retry === undefined ? true : options.retry;\n // Combine the GaxiosOptions options passed with this specific\n // API call witht the global options configured at the API Context\n // level, or at the global level.\n const mergedOptions = extend(true, {}, parameters.context.google ? parameters.context.google._options : {}, parameters.context._options, options);\n delete mergedOptions.auth; // is overridden by our auth code\n // Perform the HTTP request. NOTE: this function used to return a\n // mikeal/request object. Since the transition to Axios, the method is\n // now void. This may be a source of confusion for users upgrading from\n // version 24.0 -> 25.0 or up.\n if (authClient && typeof authClient === 'object') {\n return authClient.request(mergedOptions);\n }\n else {\n return new google_auth_library_1.DefaultTransporter().request(mergedOptions);\n }\n}\n/**\n * Basic Passthrough Stream that records the number of bytes read\n * every time the cursor is moved.\n */\nclass ProgressStream extends stream.Transform {\n constructor() {\n super(...arguments);\n this.bytesRead = 0;\n }\n // tslint:disable-next-line: no-any\n _transform(chunk, encoding, callback) {\n this.bytesRead += chunk.length;\n this.emit('progress', this.bytesRead);\n this.push(chunk);\n callback();\n }\n}\nfunction populateAPIHeader(headers) {\n // TODO: we should eventually think about adding browser support for this\n // populating the gl-web header (web support should also be added to\n // google-auth-library-nodejs).\n if (!isbrowser_1.isBrowser()) {\n headers['x-goog-api-client'] = `gdcl/${pkg.version} gl-node/${process.versions.node}`;\n }\n}\n//# sourceMappingURL=apirequest.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst google_auth_library_1 = require(\"google-auth-library\");\nclass AuthPlus extends google_auth_library_1.GoogleAuth {\n constructor() {\n super(...arguments);\n // tslint:disable-next-line: variable-name\n this.JWT = google_auth_library_1.JWT;\n // tslint:disable-next-line: variable-name\n this.Compute = google_auth_library_1.Compute;\n // tslint:disable-next-line: variable-name\n this.OAuth2 = google_auth_library_1.OAuth2Client;\n // tslint:disable-next-line: variable-name\n this.GoogleAuth = google_auth_library_1.GoogleAuth;\n }\n /**\n * Override getClient(), memoizing an instance of auth for\n * subsequent calls to getProjectId().\n */\n async getClient(options) {\n this._cachedAuth = new google_auth_library_1.GoogleAuth(options);\n return this._cachedAuth.getClient();\n }\n getProjectId(callback) {\n if (callback) {\n return this._cachedAuth\n ? this._cachedAuth.getProjectId(callback)\n : super.getProjectId(callback);\n }\n else {\n return this._cachedAuth\n ? this._cachedAuth.getProjectId()\n : super.getProjectId();\n }\n }\n}\nexports.AuthPlus = AuthPlus;\n//# sourceMappingURL=authplus.js.map","\"use strict\";\n// Copyright 2014-2016, Google, Inc.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fs = require(\"fs\");\nconst google_auth_library_1 = require(\"google-auth-library\");\nconst url = require(\"url\");\nconst util = require(\"util\");\nconst apirequest_1 = require(\"./apirequest\");\nconst endpoint_1 = require(\"./endpoint\");\nconst readFile = util.promisify(fs.readFile);\nclass Discovery {\n /**\n * Discovery for discovering API endpoints\n *\n * @param options Options for discovery\n */\n constructor(options) {\n this.transporter = new google_auth_library_1.DefaultTransporter();\n this.options = options || {};\n }\n /**\n * Generate and Endpoint from an endpoint schema object.\n *\n * @param schema The schema from which to generate the Endpoint.\n * @return A function that creates an endpoint.\n */\n makeEndpoint(schema) {\n return (options) => {\n const ep = new endpoint_1.Endpoint(options);\n ep.applySchema(ep, schema, schema, ep);\n return ep;\n };\n }\n /**\n * Log output of generator. Works just like console.log\n */\n log(...args) {\n if (this.options && this.options.debug) {\n console.log(...args);\n }\n }\n /**\n * Generate all APIs and return as in-memory object.\n * @param discoveryUrl\n */\n async discoverAllAPIs(discoveryUrl) {\n const headers = this.options.includePrivate\n ? {}\n : { 'X-User-Ip': '0.0.0.0' };\n const res = await this.transporter.request({\n url: discoveryUrl,\n headers,\n });\n const items = res.data.items;\n const apis = await Promise.all(items.map(async (api) => {\n const endpointCreator = await this.discoverAPI(api.discoveryRestUrl);\n return { api, endpointCreator };\n }));\n const versionIndex = {};\n // tslint:disable-next-line no-any\n const apisIndex = {};\n for (const set of apis) {\n if (!apisIndex[set.api.name]) {\n versionIndex[set.api.name] = {};\n apisIndex[set.api.name] = (options) => {\n const type = typeof options;\n let version;\n if (type === 'string') {\n version = options;\n options = {};\n }\n else if (type === 'object') {\n version = options.version;\n delete options.version;\n }\n else {\n throw new Error('Argument error: Accepts only string or object');\n }\n try {\n const ep = \n // tslint:disable-next-line: no-any\n set.endpointCreator(options, this);\n return Object.freeze(ep); // create new & freeze\n }\n catch (e) {\n throw new Error(util.format('Unable to load endpoint %s(\"%s\"): %s', set.api.name, version, e.message));\n }\n };\n }\n versionIndex[set.api.name][set.api.version] = set.endpointCreator;\n }\n return apisIndex;\n }\n /**\n * Generate API file given discovery URL\n *\n * @param apiDiscoveryUrl URL or filename of discovery doc for API\n * @returns A promise that resolves with a function that creates the endpoint\n */\n async discoverAPI(apiDiscoveryUrl) {\n if (typeof apiDiscoveryUrl === 'string') {\n const parts = url.parse(apiDiscoveryUrl);\n if (apiDiscoveryUrl && !parts.protocol) {\n this.log('Reading from file ' + apiDiscoveryUrl);\n const file = await readFile(apiDiscoveryUrl, { encoding: 'utf8' });\n return this.makeEndpoint(JSON.parse(file));\n }\n else {\n this.log('Requesting ' + apiDiscoveryUrl);\n const res = await this.transporter.request({\n url: apiDiscoveryUrl,\n });\n return this.makeEndpoint(res.data);\n }\n }\n else {\n const options = apiDiscoveryUrl;\n this.log('Requesting ' + options.url);\n const url = options.url;\n delete options.url;\n const parameters = {\n options: { url, method: 'GET' },\n requiredParams: [],\n pathParams: [],\n params: options,\n context: { google: { _options: {} }, _options: {} },\n };\n const res = await apirequest_1.createAPIRequest(parameters);\n return this.makeEndpoint(res.data);\n }\n }\n}\nexports.Discovery = Discovery;\n//# sourceMappingURL=discovery.js.map","\"use strict\";\n// Copyright 2018, Google, LLC.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst apirequest_1 = require(\"./apirequest\");\nclass Endpoint {\n constructor(options) {\n this._options = options || {};\n }\n /**\n * Given a schema, add methods and resources to a target.\n *\n * @param {object} target The target to which to apply the schema.\n * @param {object} rootSchema The top-level schema, so we don't lose track of it\n * during recursion.\n * @param {object} schema The current schema from which to extract methods and\n * resources.\n * @param {object} context The context to add to each method.\n */\n applySchema(target, rootSchema, schema, context) {\n this.applyMethodsFromSchema(target, rootSchema, schema, context);\n if (schema.resources) {\n for (const resourceName in schema.resources) {\n if (schema.resources.hasOwnProperty(resourceName)) {\n const resource = schema.resources[resourceName];\n if (!target[resourceName]) {\n target[resourceName] = {};\n }\n this.applySchema(target[resourceName], rootSchema, resource, context);\n }\n }\n }\n }\n /**\n * Given a schema, add methods to a target.\n *\n * @param {object} target The target to which to apply the methods.\n * @param {object} rootSchema The top-level schema, so we don't lose track of it\n * during recursion.\n * @param {object} schema The current schema from which to extract methods.\n * @param {object} context The context to add to each method.\n */\n applyMethodsFromSchema(target, rootSchema, schema, context) {\n if (schema.methods) {\n for (const name in schema.methods) {\n if (schema.methods.hasOwnProperty(name)) {\n const method = schema.methods[name];\n target[name] = this.makeMethod(rootSchema, method, context);\n }\n }\n }\n }\n /**\n * Given a method schema, add a method to a target.\n *\n * @param target The target to which to add the method.\n * @param schema The top-level schema that contains the rootUrl, etc.\n * @param method The method schema from which to generate the method.\n * @param context The context to add to the method.\n */\n makeMethod(schema, method, context) {\n return (paramsOrCallback, callback) => {\n const params = typeof paramsOrCallback === 'function' ? {} : paramsOrCallback;\n callback =\n typeof paramsOrCallback === 'function'\n ? paramsOrCallback\n : callback;\n const schemaUrl = buildurl(schema.rootUrl + schema.servicePath + method.path);\n const parameters = {\n options: {\n url: schemaUrl.substring(1, schemaUrl.length - 1),\n method: method.httpMethod,\n },\n params,\n requiredParams: method.parameterOrder || [],\n pathParams: this.getPathParams(method.parameters),\n context,\n };\n if (method.mediaUpload &&\n method.mediaUpload.protocols &&\n method.mediaUpload.protocols.simple &&\n method.mediaUpload.protocols.simple.path) {\n const mediaUrl = buildurl(schema.rootUrl + method.mediaUpload.protocols.simple.path);\n parameters.mediaUrl = mediaUrl.substring(1, mediaUrl.length - 1);\n }\n if (!callback) {\n return apirequest_1.createAPIRequest(parameters);\n }\n apirequest_1.createAPIRequest(parameters, callback);\n return;\n };\n }\n getPathParams(params) {\n const pathParams = new Array();\n if (typeof params !== 'object') {\n params = {};\n }\n Object.keys(params).forEach(key => {\n if (params[key].location === 'path') {\n pathParams.push(key);\n }\n });\n return pathParams;\n }\n}\nexports.Endpoint = Endpoint;\n/**\n * Build a string used to create a URL from the discovery doc provided URL.\n * replace double slashes with single slash (except in https://)\n * @private\n * @param input URL to build from\n * @return Resulting built URL\n */\nfunction buildurl(input) {\n return input ? `'${input}'`.replace(/([^:]\\/)\\/+/g, '$1') : '';\n}\n//# sourceMappingURL=endpoint.js.map","\"use strict\";\n// Copyright 2018, Google, LLC.\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar google_auth_library_1 = require(\"google-auth-library\");\nexports.OAuth2Client = google_auth_library_1.OAuth2Client;\nvar apiIndex_1 = require(\"./apiIndex\");\nexports.getAPI = apiIndex_1.getAPI;\nvar apirequest_1 = require(\"./apirequest\");\nexports.createAPIRequest = apirequest_1.createAPIRequest;\nvar authplus_1 = require(\"./authplus\");\nexports.AuthPlus = authplus_1.AuthPlus;\nvar discovery_1 = require(\"./discovery\");\nexports.Discovery = discovery_1.Discovery;\nvar endpoint_1 = require(\"./endpoint\");\nexports.Endpoint = endpoint_1.Endpoint;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction isBrowser() {\n return typeof window !== 'undefined';\n}\nexports.isBrowser = isBrowser;\n//# sourceMappingURL=isbrowser.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\n\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n\n return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join('');\n}\n\nvar _default = bytesToUuid;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction rng() {\n return _crypto.default.randomBytes(16);\n}\n\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _bytesToUuid = _interopRequireDefault(require(\"./bytesToUuid.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nvar _nodeId;\n\nvar _clockseq; // Previous uuid creation time\n\n\nvar _lastMSecs = 0;\nvar _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n var i = buf && offset || 0;\n var b = buf || [];\n options = options || {};\n var node = options.node || _nodeId;\n var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n var seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (var n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf ? buf : (0, _bytesToUuid.default)(b);\n}\n\nvar _default = v1;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\nexports.URL = exports.DNS = void 0;\n\nvar _bytesToUuid = _interopRequireDefault(require(\"./bytesToUuid.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction uuidToBytes(uuid) {\n // Note: We assume we're being passed a valid uuid string\n var bytes = [];\n uuid.replace(/[a-fA-F0-9]{2}/g, function (hex) {\n bytes.push(parseInt(hex, 16));\n });\n return bytes;\n}\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n var bytes = new Array(str.length);\n\n for (var i = 0; i < str.length; i++) {\n bytes[i] = str.charCodeAt(i);\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction _default(name, version, hashfunc) {\n var generateUUID = function (value, namespace, buf, offset) {\n var off = buf && offset || 0;\n if (typeof value == 'string') value = stringToBytes(value);\n if (typeof namespace == 'string') namespace = uuidToBytes(namespace);\n if (!Array.isArray(value)) throw TypeError('value must be an array of bytes');\n if (!Array.isArray(namespace) || namespace.length !== 16) throw TypeError('namespace must be uuid string or an Array of 16 byte values'); // Per 4.3\n\n var bytes = hashfunc(namespace.concat(value));\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n for (var idx = 0; idx < 16; ++idx) {\n buf[off + idx] = bytes[idx];\n }\n }\n\n return buf || (0, _bytesToUuid.default)(bytes);\n }; // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name;\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _bytesToUuid = _interopRequireDefault(require(\"./bytesToUuid.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof options == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n\n options = options || {};\n\n var rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || (0, _bytesToUuid.default)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;\nmodule.exports = exports.default;","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.abusiveexperiencereport_v1.Abusiveexperiencereport,\n};\nfunction abusiveexperiencereport(versionOrOptions) {\n return googleapis_common_1.getAPI('abusiveexperiencereport', versionOrOptions, exports.VERSIONS, this);\n}\nexports.abusiveexperiencereport = abusiveexperiencereport;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar abusiveexperiencereport_v1;\n(function (abusiveexperiencereport_v1) {\n /**\n * Abusive Experience Report API\n *\n * Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.\n *\n * @example\n * const {google} = require('googleapis');\n * const abusiveexperiencereport = google.abusiveexperiencereport('v1');\n *\n * @namespace abusiveexperiencereport\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Abusiveexperiencereport\n */\n class Abusiveexperiencereport {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.sites = new Resource$Sites(this.context);\n this.violatingSites = new Resource$Violatingsites(this.context);\n }\n }\n abusiveexperiencereport_v1.Abusiveexperiencereport = Abusiveexperiencereport;\n class Resource$Sites {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://abusiveexperiencereport.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n abusiveexperiencereport_v1.Resource$Sites = Resource$Sites;\n class Resource$Violatingsites {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://abusiveexperiencereport.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/violatingSites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n abusiveexperiencereport_v1.Resource$Violatingsites = Resource$Violatingsites;\n})(abusiveexperiencereport_v1 = exports.abusiveexperiencereport_v1 || (exports.abusiveexperiencereport_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.acceleratedmobilepageurl_v1.Acceleratedmobilepageurl,\n};\nfunction acceleratedmobilepageurl(versionOrOptions) {\n return googleapis_common_1.getAPI('acceleratedmobilepageurl', versionOrOptions, exports.VERSIONS, this);\n}\nexports.acceleratedmobilepageurl = acceleratedmobilepageurl;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar acceleratedmobilepageurl_v1;\n(function (acceleratedmobilepageurl_v1) {\n /**\n * Accelerated Mobile Pages (AMP) URL API\n *\n * Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s).\n *\n * @example\n * const {google} = require('googleapis');\n * const acceleratedmobilepageurl = google.acceleratedmobilepageurl('v1');\n *\n * @namespace acceleratedmobilepageurl\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Acceleratedmobilepageurl\n */\n class Acceleratedmobilepageurl {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.ampUrls = new Resource$Ampurls(this.context);\n }\n }\n acceleratedmobilepageurl_v1.Acceleratedmobilepageurl = Acceleratedmobilepageurl;\n class Resource$Ampurls {\n constructor(context) {\n this.context = context;\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://acceleratedmobilepageurl.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/ampUrls:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n acceleratedmobilepageurl_v1.Resource$Ampurls = Resource$Ampurls;\n})(acceleratedmobilepageurl_v1 = exports.acceleratedmobilepageurl_v1 || (exports.acceleratedmobilepageurl_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.accessapproval_v1beta1.Accessapproval,\n};\nfunction accessapproval(versionOrOptions) {\n return googleapis_common_1.getAPI('accessapproval', versionOrOptions, exports.VERSIONS, this);\n}\nexports.accessapproval = accessapproval;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar accessapproval_v1beta1;\n(function (accessapproval_v1beta1) {\n /**\n * Access Approval API\n *\n * An API for controlling access to data by Google personnel.\n *\n * @example\n * const {google} = require('googleapis');\n * const accessapproval = google.accessapproval('v1beta1');\n *\n * @namespace accessapproval\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Accessapproval\n */\n class Accessapproval {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.folders = new Resource$Folders(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n accessapproval_v1beta1.Accessapproval = Accessapproval;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n this.approvalRequests = new Resource$Folders$Approvalrequests(this.context);\n }\n deleteAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accessapproval_v1beta1.Resource$Folders = Resource$Folders;\n class Resource$Folders$Approvalrequests {\n constructor(context) {\n this.context = context;\n }\n approve(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:approve').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dismiss(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:dismiss').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/approvalRequests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accessapproval_v1beta1.Resource$Folders$Approvalrequests = Resource$Folders$Approvalrequests;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.approvalRequests = new Resource$Organizations$Approvalrequests(this.context);\n }\n deleteAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accessapproval_v1beta1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Approvalrequests {\n constructor(context) {\n this.context = context;\n }\n approve(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:approve').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dismiss(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:dismiss').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/approvalRequests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accessapproval_v1beta1.Resource$Organizations$Approvalrequests = Resource$Organizations$Approvalrequests;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.approvalRequests = new Resource$Projects$Approvalrequests(this.context);\n }\n deleteAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAccessApprovalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accessapproval_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Approvalrequests {\n constructor(context) {\n this.context = context;\n }\n approve(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:approve').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dismiss(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:dismiss').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accessapproval.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/approvalRequests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accessapproval_v1beta1.Resource$Projects$Approvalrequests = Resource$Projects$Approvalrequests;\n})(accessapproval_v1beta1 = exports.accessapproval_v1beta1 || (exports.accessapproval_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta_1 = require(\"./v1beta\");\nexports.VERSIONS = {\n v1: v1_1.accesscontextmanager_v1.Accesscontextmanager,\n v1beta: v1beta_1.accesscontextmanager_v1beta.Accesscontextmanager,\n};\nfunction accesscontextmanager(versionOrOptions) {\n return googleapis_common_1.getAPI('accesscontextmanager', versionOrOptions, exports.VERSIONS, this);\n}\nexports.accesscontextmanager = accesscontextmanager;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar accesscontextmanager_v1;\n(function (accesscontextmanager_v1) {\n /**\n * Access Context Manager API\n *\n * An API for setting attribute based access control to requests to GCP services.\n *\n * @example\n * const {google} = require('googleapis');\n * const accesscontextmanager = google.accesscontextmanager('v1');\n *\n * @namespace accesscontextmanager\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Accesscontextmanager\n */\n class Accesscontextmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accessPolicies = new Resource$Accesspolicies(this.context);\n this.operations = new Resource$Operations(this.context);\n }\n }\n accesscontextmanager_v1.Accesscontextmanager = Accesscontextmanager;\n class Resource$Accesspolicies {\n constructor(context) {\n this.context = context;\n this.accessLevels = new Resource$Accesspolicies$Accesslevels(this.context);\n this.servicePerimeters = new Resource$Accesspolicies$Serviceperimeters(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/accessPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/accessPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1.Resource$Accesspolicies = Resource$Accesspolicies;\n class Resource$Accesspolicies$Accesslevels {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/accessLevels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/accessLevels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1.Resource$Accesspolicies$Accesslevels = Resource$Accesspolicies$Accesslevels;\n class Resource$Accesspolicies$Serviceperimeters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/servicePerimeters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/servicePerimeters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1.Resource$Accesspolicies$Serviceperimeters = Resource$Accesspolicies$Serviceperimeters;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1.Resource$Operations = Resource$Operations;\n})(accesscontextmanager_v1 = exports.accesscontextmanager_v1 || (exports.accesscontextmanager_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar accesscontextmanager_v1beta;\n(function (accesscontextmanager_v1beta) {\n /**\n * Access Context Manager API\n *\n * An API for setting attribute based access control to requests to GCP services.\n *\n * @example\n * const {google} = require('googleapis');\n * const accesscontextmanager = google.accesscontextmanager('v1beta');\n *\n * @namespace accesscontextmanager\n * @type {Function}\n * @version v1beta\n * @variation v1beta\n * @param {object=} options Options for Accesscontextmanager\n */\n class Accesscontextmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accessPolicies = new Resource$Accesspolicies(this.context);\n this.operations = new Resource$Operations(this.context);\n }\n }\n accesscontextmanager_v1beta.Accesscontextmanager = Accesscontextmanager;\n class Resource$Accesspolicies {\n constructor(context) {\n this.context = context;\n this.accessLevels = new Resource$Accesspolicies$Accesslevels(this.context);\n this.servicePerimeters = new Resource$Accesspolicies$Serviceperimeters(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/accessPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/accessPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1beta.Resource$Accesspolicies = Resource$Accesspolicies;\n class Resource$Accesspolicies$Accesslevels {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/accessLevels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/accessLevels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1beta.Resource$Accesspolicies$Accesslevels = Resource$Accesspolicies$Accesslevels;\n class Resource$Accesspolicies$Serviceperimeters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/servicePerimeters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/servicePerimeters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1beta.Resource$Accesspolicies$Serviceperimeters = Resource$Accesspolicies$Serviceperimeters;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://accesscontextmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n accesscontextmanager_v1beta.Resource$Operations = Resource$Operations;\n})(accesscontextmanager_v1beta = exports.accesscontextmanager_v1beta || (exports.accesscontextmanager_v1beta = {}));\n//# sourceMappingURL=v1beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_2_1 = require(\"./v1.2\");\nconst v1_3_1 = require(\"./v1.3\");\nconst v1_4_1 = require(\"./v1.4\");\nexports.VERSIONS = {\n 'v1.2': v1_2_1.adexchangebuyer_v1_2.Adexchangebuyer,\n 'v1.3': v1_3_1.adexchangebuyer_v1_3.Adexchangebuyer,\n 'v1.4': v1_4_1.adexchangebuyer_v1_4.Adexchangebuyer,\n};\nfunction adexchangebuyer(versionOrOptions) {\n return googleapis_common_1.getAPI('adexchangebuyer', versionOrOptions, exports.VERSIONS, this);\n}\nexports.adexchangebuyer = adexchangebuyer;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adexchangebuyer_v1_2;\n(function (adexchangebuyer_v1_2) {\n /**\n * Ad Exchange Buyer API\n *\n * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.\n *\n * @example\n * const {google} = require('googleapis');\n * const adexchangebuyer = google.adexchangebuyer('v1.2');\n *\n * @namespace adexchangebuyer\n * @type {Function}\n * @version v1.2\n * @variation v1.2\n * @param {object=} options Options for Adexchangebuyer\n */\n class Adexchangebuyer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.creatives = new Resource$Creatives(this.context);\n }\n }\n adexchangebuyer_v1_2.Adexchangebuyer = Adexchangebuyer;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.2/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.2/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.2/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.2/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_2.Resource$Accounts = Resource$Accounts;\n class Resource$Creatives {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.2/creatives/{accountId}/{buyerCreativeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'buyerCreativeId'],\n pathParams: ['accountId', 'buyerCreativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.2/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.2/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_2.Resource$Creatives = Resource$Creatives;\n})(adexchangebuyer_v1_2 = exports.adexchangebuyer_v1_2 || (exports.adexchangebuyer_v1_2 = {}));\n//# sourceMappingURL=v1.2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adexchangebuyer_v1_3;\n(function (adexchangebuyer_v1_3) {\n /**\n * Ad Exchange Buyer API\n *\n * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.\n *\n * @example\n * const {google} = require('googleapis');\n * const adexchangebuyer = google.adexchangebuyer('v1.3');\n *\n * @namespace adexchangebuyer\n * @type {Function}\n * @version v1.3\n * @variation v1.3\n * @param {object=} options Options for Adexchangebuyer\n */\n class Adexchangebuyer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.billingInfo = new Resource$Billinginfo(this.context);\n this.budget = new Resource$Budget(this.context);\n this.creatives = new Resource$Creatives(this.context);\n this.directDeals = new Resource$Directdeals(this.context);\n this.performanceReport = new Resource$Performancereport(this.context);\n this.pretargetingConfig = new Resource$Pretargetingconfig(this.context);\n }\n }\n adexchangebuyer_v1_3.Adexchangebuyer = Adexchangebuyer;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Accounts = Resource$Accounts;\n class Resource$Billinginfo {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/billinginfo/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/billinginfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Billinginfo = Resource$Billinginfo;\n class Resource$Budget {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'billingId'],\n pathParams: ['accountId', 'billingId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'billingId'],\n pathParams: ['accountId', 'billingId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/billinginfo/{accountId}/{billingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'billingId'],\n pathParams: ['accountId', 'billingId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Budget = Resource$Budget;\n class Resource$Creatives {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/creatives/{accountId}/{buyerCreativeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'buyerCreativeId'],\n pathParams: ['accountId', 'buyerCreativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Creatives = Resource$Creatives;\n class Resource$Directdeals {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/directdeals/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/directdeals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Directdeals = Resource$Directdeals;\n class Resource$Performancereport {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/performancereport').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'endDateTime', 'startDateTime'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Performancereport = Resource$Performancereport;\n class Resource$Pretargetingconfig {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.3/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_3.Resource$Pretargetingconfig = Resource$Pretargetingconfig;\n})(adexchangebuyer_v1_3 = exports.adexchangebuyer_v1_3 || (exports.adexchangebuyer_v1_3 = {}));\n//# sourceMappingURL=v1.3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adexchangebuyer_v1_4;\n(function (adexchangebuyer_v1_4) {\n /**\n * Ad Exchange Buyer API\n *\n * Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.\n *\n * @example\n * const {google} = require('googleapis');\n * const adexchangebuyer = google.adexchangebuyer('v1.4');\n *\n * @namespace adexchangebuyer\n * @type {Function}\n * @version v1.4\n * @variation v1.4\n * @param {object=} options Options for Adexchangebuyer\n */\n class Adexchangebuyer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.billingInfo = new Resource$Billinginfo(this.context);\n this.budget = new Resource$Budget(this.context);\n this.creatives = new Resource$Creatives(this.context);\n this.marketplacedeals = new Resource$Marketplacedeals(this.context);\n this.marketplacenotes = new Resource$Marketplacenotes(this.context);\n this.marketplaceprivateauction = new Resource$Marketplaceprivateauction(this.context);\n this.performanceReport = new Resource$Performancereport(this.context);\n this.pretargetingConfig = new Resource$Pretargetingconfig(this.context);\n this.products = new Resource$Products(this.context);\n this.proposals = new Resource$Proposals(this.context);\n this.pubprofiles = new Resource$Pubprofiles(this.context);\n }\n }\n adexchangebuyer_v1_4.Adexchangebuyer = Adexchangebuyer;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Accounts = Resource$Accounts;\n class Resource$Billinginfo {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/billinginfo/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/billinginfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Billinginfo = Resource$Billinginfo;\n class Resource$Budget {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/billinginfo/{accountId}/{billingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'billingId'],\n pathParams: ['accountId', 'billingId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/billinginfo/{accountId}/{billingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'billingId'],\n pathParams: ['accountId', 'billingId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/billinginfo/{accountId}/{billingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'billingId'],\n pathParams: ['accountId', 'billingId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Budget = Resource$Budget;\n class Resource$Creatives {\n constructor(context) {\n this.context = context;\n }\n addDeal(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'buyerCreativeId', 'dealId'],\n pathParams: ['accountId', 'buyerCreativeId', 'dealId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'buyerCreativeId'],\n pathParams: ['accountId', 'buyerCreativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listDeals(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}/listDeals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'buyerCreativeId'],\n pathParams: ['accountId', 'buyerCreativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeDeal(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'buyerCreativeId', 'dealId'],\n pathParams: ['accountId', 'buyerCreativeId', 'dealId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Creatives = Resource$Creatives;\n class Resource$Marketplacedeals {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/deals/delete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/deals/insert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/proposals/{proposalId}/deals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/deals/update').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Marketplacedeals = Resource$Marketplacedeals;\n class Resource$Marketplacenotes {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/notes/insert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/proposals/{proposalId}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Marketplacenotes = Resource$Marketplacenotes;\n class Resource$Marketplaceprivateauction {\n constructor(context) {\n this.context = context;\n }\n updateproposal(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/privateauction/{privateAuctionId}/updateproposal').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['privateAuctionId'],\n pathParams: ['privateAuctionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Marketplaceprivateauction = Resource$Marketplaceprivateauction;\n class Resource$Performancereport {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/performancereport').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'endDateTime', 'startDateTime'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Performancereport = Resource$Performancereport;\n class Resource$Pretargetingconfig {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/pretargetingconfigs/{accountId}/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'configId'],\n pathParams: ['accountId', 'configId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Pretargetingconfig = Resource$Pretargetingconfig;\n class Resource$Products {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['productId'],\n pathParams: ['productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/products/search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Products = Resource$Products;\n class Resource$Proposals {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/proposals/{proposalId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/proposals/insert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/{revisionNumber}/{updateAction}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['proposalId', 'revisionNumber', 'updateAction'],\n pathParams: ['proposalId', 'revisionNumber', 'updateAction'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/proposals/search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setupcomplete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/setupcomplete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['proposalId'],\n pathParams: ['proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adexchangebuyer/v1.4/proposals/{proposalId}/{revisionNumber}/{updateAction}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['proposalId', 'revisionNumber', 'updateAction'],\n pathParams: ['proposalId', 'revisionNumber', 'updateAction'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Proposals = Resource$Proposals;\n class Resource$Pubprofiles {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adexchangebuyer/v1.4/publisher/{accountId}/profiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer_v1_4.Resource$Pubprofiles = Resource$Pubprofiles;\n})(adexchangebuyer_v1_4 = exports.adexchangebuyer_v1_4 || (exports.adexchangebuyer_v1_4 = {}));\n//# sourceMappingURL=v1.4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2beta1_1 = require(\"./v2beta1\");\nexports.VERSIONS = {\n v2beta1: v2beta1_1.adexchangebuyer2_v2beta1.Adexchangebuyer2,\n};\nfunction adexchangebuyer2(versionOrOptions) {\n return googleapis_common_1.getAPI('adexchangebuyer2', versionOrOptions, exports.VERSIONS, this);\n}\nexports.adexchangebuyer2 = adexchangebuyer2;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adexchangebuyer2_v2beta1;\n(function (adexchangebuyer2_v2beta1) {\n /**\n * Ad Exchange Buyer API II\n *\n * Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.\n *\n * @example\n * const {google} = require('googleapis');\n * const adexchangebuyer2 = google.adexchangebuyer2('v2beta1');\n *\n * @namespace adexchangebuyer2\n * @type {Function}\n * @version v2beta1\n * @variation v2beta1\n * @param {object=} options Options for Adexchangebuyer2\n */\n class Adexchangebuyer2 {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.bidders = new Resource$Bidders(this.context);\n }\n }\n adexchangebuyer2_v2beta1.Adexchangebuyer2 = Adexchangebuyer2;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.clients = new Resource$Accounts$Clients(this.context);\n this.creatives = new Resource$Accounts$Creatives(this.context);\n this.finalizedProposals = new Resource$Accounts$Finalizedproposals(this.context);\n this.products = new Resource$Accounts$Products(this.context);\n this.proposals = new Resource$Accounts$Proposals(this.context);\n this.publisherProfiles = new Resource$Accounts$Publisherprofiles(this.context);\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Clients {\n constructor(context) {\n this.context = context;\n this.invitations = new Resource$Accounts$Clients$Invitations(this.context);\n this.users = new Resource$Accounts$Clients$Users(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/clients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId'],\n pathParams: ['accountId', 'clientAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/clients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId'],\n pathParams: ['accountId', 'clientAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Clients = Resource$Accounts$Clients;\n class Resource$Accounts$Clients$Invitations {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId'],\n pathParams: ['accountId', 'clientAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId', 'invitationId'],\n pathParams: ['accountId', 'clientAccountId', 'invitationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId'],\n pathParams: ['accountId', 'clientAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Clients$Invitations = Resource$Accounts$Clients$Invitations;\n class Resource$Accounts$Clients$Users {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId', 'userId'],\n pathParams: ['accountId', 'clientAccountId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId'],\n pathParams: ['accountId', 'clientAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'clientAccountId', 'userId'],\n pathParams: ['accountId', 'clientAccountId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Clients$Users = Resource$Accounts$Clients$Users;\n class Resource$Accounts$Creatives {\n constructor(context) {\n this.context = context;\n this.dealAssociations = new Resource$Accounts$Creatives$Dealassociations(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives/{creativeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stopWatching(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/creatives/{creativeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/creatives/{creativeId}:watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Creatives = Resource$Accounts$Creatives;\n class Resource$Accounts$Creatives$Dealassociations {\n constructor(context) {\n this.context = context;\n }\n add(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n remove(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'creativeId'],\n pathParams: ['accountId', 'creativeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Creatives$Dealassociations = Resource$Accounts$Creatives$Dealassociations;\n class Resource$Accounts$Finalizedproposals {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/finalizedProposals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Finalizedproposals = Resource$Accounts$Finalizedproposals;\n class Resource$Accounts$Products {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'productId'],\n pathParams: ['accountId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Products = Resource$Accounts$Products;\n class Resource$Accounts$Proposals {\n constructor(context) {\n this.context = context;\n }\n accept(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/proposals/{proposalId}:accept').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addNote(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancelNegotiation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n completeSetup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals/{proposalId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/proposals/{proposalId}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/proposals/{proposalId}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/proposals/{proposalId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'proposalId'],\n pathParams: ['accountId', 'proposalId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Proposals = Resource$Accounts$Proposals;\n class Resource$Accounts$Publisherprofiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'publisherProfileId'],\n pathParams: ['accountId', 'publisherProfileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/accounts/{accountId}/publisherProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Accounts$Publisherprofiles = Resource$Accounts$Publisherprofiles;\n class Resource$Bidders {\n constructor(context) {\n this.context = context;\n this.accounts = new Resource$Bidders$Accounts(this.context);\n this.filterSets = new Resource$Bidders$Filtersets(this.context);\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders = Resource$Bidders;\n class Resource$Bidders$Accounts {\n constructor(context) {\n this.context = context;\n this.filterSets = new Resource$Bidders$Accounts$Filtersets(this.context);\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts = Resource$Bidders$Accounts;\n class Resource$Bidders$Accounts$Filtersets {\n constructor(context) {\n this.context = context;\n this.bidMetrics = new Resource$Bidders$Accounts$Filtersets$Bidmetrics(this.context);\n this.bidResponseErrors = new Resource$Bidders$Accounts$Filtersets$Bidresponseerrors(this.context);\n this.bidResponsesWithoutBids = new Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids(this.context);\n this.filteredBidRequests = new Resource$Bidders$Accounts$Filtersets$Filteredbidrequests(this.context);\n this.filteredBids = new Resource$Bidders$Accounts$Filtersets$Filteredbids(this.context);\n this.impressionMetrics = new Resource$Bidders$Accounts$Filtersets$Impressionmetrics(this.context);\n this.losingBids = new Resource$Bidders$Accounts$Filtersets$Losingbids(this.context);\n this.nonBillableWinningBids = new Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['ownerName'],\n pathParams: ['ownerName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ownerName'],\n pathParams: ['ownerName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets = Resource$Bidders$Accounts$Filtersets;\n class Resource$Bidders$Accounts$Filtersets$Bidmetrics {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/bidMetrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Bidmetrics = Resource$Bidders$Accounts$Filtersets$Bidmetrics;\n class Resource$Bidders$Accounts$Filtersets$Bidresponseerrors {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponseErrors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Bidresponseerrors = Resource$Bidders$Accounts$Filtersets$Bidresponseerrors;\n class Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponsesWithoutBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids = Resource$Bidders$Accounts$Filtersets$Bidresponseswithoutbids;\n class Resource$Bidders$Accounts$Filtersets$Filteredbidrequests {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBidRequests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbidrequests = Resource$Bidders$Accounts$Filtersets$Filteredbidrequests;\n class Resource$Bidders$Accounts$Filtersets$Filteredbids {\n constructor(context) {\n this.context = context;\n this.creatives = new Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives(this.context);\n this.details = new Resource$Bidders$Accounts$Filtersets$Filteredbids$Details(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbids = Resource$Bidders$Accounts$Filtersets$Filteredbids;\n class Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName', 'creativeStatusId'],\n pathParams: ['creativeStatusId', 'filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives = Resource$Bidders$Accounts$Filtersets$Filteredbids$Creatives;\n class Resource$Bidders$Accounts$Filtersets$Filteredbids$Details {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName', 'creativeStatusId'],\n pathParams: ['creativeStatusId', 'filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Filteredbids$Details = Resource$Bidders$Accounts$Filtersets$Filteredbids$Details;\n class Resource$Bidders$Accounts$Filtersets$Impressionmetrics {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/impressionMetrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Impressionmetrics = Resource$Bidders$Accounts$Filtersets$Impressionmetrics;\n class Resource$Bidders$Accounts$Filtersets$Losingbids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/losingBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Losingbids = Resource$Bidders$Accounts$Filtersets$Losingbids;\n class Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/nonBillableWinningBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids = Resource$Bidders$Accounts$Filtersets$Nonbillablewinningbids;\n class Resource$Bidders$Filtersets {\n constructor(context) {\n this.context = context;\n this.bidMetrics = new Resource$Bidders$Filtersets$Bidmetrics(this.context);\n this.bidResponseErrors = new Resource$Bidders$Filtersets$Bidresponseerrors(this.context);\n this.bidResponsesWithoutBids = new Resource$Bidders$Filtersets$Bidresponseswithoutbids(this.context);\n this.filteredBidRequests = new Resource$Bidders$Filtersets$Filteredbidrequests(this.context);\n this.filteredBids = new Resource$Bidders$Filtersets$Filteredbids(this.context);\n this.impressionMetrics = new Resource$Bidders$Filtersets$Impressionmetrics(this.context);\n this.losingBids = new Resource$Bidders$Filtersets$Losingbids(this.context);\n this.nonBillableWinningBids = new Resource$Bidders$Filtersets$Nonbillablewinningbids(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['ownerName'],\n pathParams: ['ownerName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+ownerName}/filterSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ownerName'],\n pathParams: ['ownerName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets = Resource$Bidders$Filtersets;\n class Resource$Bidders$Filtersets$Bidmetrics {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/bidMetrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Bidmetrics = Resource$Bidders$Filtersets$Bidmetrics;\n class Resource$Bidders$Filtersets$Bidresponseerrors {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponseErrors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Bidresponseerrors = Resource$Bidders$Filtersets$Bidresponseerrors;\n class Resource$Bidders$Filtersets$Bidresponseswithoutbids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/bidResponsesWithoutBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Bidresponseswithoutbids = Resource$Bidders$Filtersets$Bidresponseswithoutbids;\n class Resource$Bidders$Filtersets$Filteredbidrequests {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBidRequests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbidrequests = Resource$Bidders$Filtersets$Filteredbidrequests;\n class Resource$Bidders$Filtersets$Filteredbids {\n constructor(context) {\n this.context = context;\n this.creatives = new Resource$Bidders$Filtersets$Filteredbids$Creatives(this.context);\n this.details = new Resource$Bidders$Filtersets$Filteredbids$Details(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/filteredBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbids = Resource$Bidders$Filtersets$Filteredbids;\n class Resource$Bidders$Filtersets$Filteredbids$Creatives {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName', 'creativeStatusId'],\n pathParams: ['creativeStatusId', 'filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbids$Creatives = Resource$Bidders$Filtersets$Filteredbids$Creatives;\n class Resource$Bidders$Filtersets$Filteredbids$Details {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2beta1/{+filterSetName}/filteredBids/{creativeStatusId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName', 'creativeStatusId'],\n pathParams: ['creativeStatusId', 'filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Filteredbids$Details = Resource$Bidders$Filtersets$Filteredbids$Details;\n class Resource$Bidders$Filtersets$Impressionmetrics {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/impressionMetrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Impressionmetrics = Resource$Bidders$Filtersets$Impressionmetrics;\n class Resource$Bidders$Filtersets$Losingbids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/losingBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Losingbids = Resource$Bidders$Filtersets$Losingbids;\n class Resource$Bidders$Filtersets$Nonbillablewinningbids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexchangebuyer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+filterSetName}/nonBillableWinningBids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterSetName'],\n pathParams: ['filterSetName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexchangebuyer2_v2beta1.Resource$Bidders$Filtersets$Nonbillablewinningbids = Resource$Bidders$Filtersets$Nonbillablewinningbids;\n})(adexchangebuyer2_v2beta1 = exports.adexchangebuyer2_v2beta1 || (exports.adexchangebuyer2_v2beta1 = {}));\n//# sourceMappingURL=v2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.adexperiencereport_v1.Adexperiencereport,\n};\nfunction adexperiencereport(versionOrOptions) {\n return googleapis_common_1.getAPI('adexperiencereport', versionOrOptions, exports.VERSIONS, this);\n}\nexports.adexperiencereport = adexperiencereport;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adexperiencereport_v1;\n(function (adexperiencereport_v1) {\n /**\n * Ad Experience Report API\n *\n * Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.\n *\n * @example\n * const {google} = require('googleapis');\n * const adexperiencereport = google.adexperiencereport('v1');\n *\n * @namespace adexperiencereport\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Adexperiencereport\n */\n class Adexperiencereport {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.sites = new Resource$Sites(this.context);\n this.violatingSites = new Resource$Violatingsites(this.context);\n }\n }\n adexperiencereport_v1.Adexperiencereport = Adexperiencereport;\n class Resource$Sites {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexperiencereport.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexperiencereport_v1.Resource$Sites = Resource$Sites;\n class Resource$Violatingsites {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://adexperiencereport.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/violatingSites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adexperiencereport_v1.Resource$Violatingsites = Resource$Violatingsites;\n})(adexperiencereport_v1 = exports.adexperiencereport_v1 || (exports.adexperiencereport_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar admin_datatransfer_v1;\n(function (admin_datatransfer_v1) {\n /**\n * Admin Data Transfer API\n *\n * Transfers user data from one user to another.\n *\n * @example\n * const {google} = require('googleapis');\n * const admin = google.admin('datatransfer_v1');\n *\n * @namespace admin\n * @type {Function}\n * @version datatransfer_v1\n * @variation datatransfer_v1\n * @param {object=} options Options for Admin\n */\n class Admin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.applications = new Resource$Applications(this.context);\n this.transfers = new Resource$Transfers(this.context);\n }\n }\n admin_datatransfer_v1.Admin = Admin;\n class Resource$Applications {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/datatransfer/v1/applications/{applicationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/datatransfer/v1/applications').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_datatransfer_v1.Resource$Applications = Resource$Applications;\n class Resource$Transfers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/datatransfer/v1/transfers/{dataTransferId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['dataTransferId'],\n pathParams: ['dataTransferId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/datatransfer/v1/transfers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/datatransfer/v1/transfers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_datatransfer_v1.Resource$Transfers = Resource$Transfers;\n})(admin_datatransfer_v1 = exports.admin_datatransfer_v1 || (exports.admin_datatransfer_v1 = {}));\n//# sourceMappingURL=datatransfer_v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar admin_directory_v1;\n(function (admin_directory_v1) {\n /**\n * Admin Directory API\n *\n * Manages enterprise resources such as users and groups, administrative notifications, security features, and more.\n *\n * @example\n * const {google} = require('googleapis');\n * const admin = google.admin('directory_v1');\n *\n * @namespace admin\n * @type {Function}\n * @version directory_v1\n * @variation directory_v1\n * @param {object=} options Options for Admin\n */\n class Admin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.asps = new Resource$Asps(this.context);\n this.channels = new Resource$Channels(this.context);\n this.chromeosdevices = new Resource$Chromeosdevices(this.context);\n this.customers = new Resource$Customers(this.context);\n this.domainAliases = new Resource$Domainaliases(this.context);\n this.domains = new Resource$Domains(this.context);\n this.groups = new Resource$Groups(this.context);\n this.members = new Resource$Members(this.context);\n this.mobiledevices = new Resource$Mobiledevices(this.context);\n this.notifications = new Resource$Notifications(this.context);\n this.orgunits = new Resource$Orgunits(this.context);\n this.privileges = new Resource$Privileges(this.context);\n this.resolvedAppAccessSettings = new Resource$Resolvedappaccesssettings(this.context);\n this.resources = new Resource$Resources(this.context);\n this.roleAssignments = new Resource$Roleassignments(this.context);\n this.roles = new Resource$Roles(this.context);\n this.schemas = new Resource$Schemas(this.context);\n this.tokens = new Resource$Tokens(this.context);\n this.users = new Resource$Users(this.context);\n this.verificationCodes = new Resource$Verificationcodes(this.context);\n }\n }\n admin_directory_v1.Admin = Admin;\n class Resource$Asps {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/asps/{codeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userKey', 'codeId'],\n pathParams: ['codeId', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/asps/{codeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey', 'codeId'],\n pathParams: ['codeId', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/asps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Asps = Resource$Asps;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/admin/directory_v1/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Channels = Resource$Channels;\n class Resource$Chromeosdevices {\n constructor(context) {\n this.context = context;\n }\n action(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'resourceId'],\n pathParams: ['customerId', 'resourceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId', 'deviceId'],\n pathParams: ['customerId', 'deviceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/chromeos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveDevicesToOu(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'orgUnitPath'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customerId', 'deviceId'],\n pathParams: ['customerId', 'deviceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customerId', 'deviceId'],\n pathParams: ['customerId', 'deviceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Chromeosdevices = Resource$Chromeosdevices;\n class Resource$Customers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customers/{customerKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerKey'],\n pathParams: ['customerKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customers/{customerKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customerKey'],\n pathParams: ['customerKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customers/{customerKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customerKey'],\n pathParams: ['customerKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Customers = Resource$Customers;\n class Resource$Domainaliases {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'domainAliasName'],\n pathParams: ['customer', 'domainAliasName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'domainAliasName'],\n pathParams: ['customer', 'domainAliasName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/domainaliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/domainaliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Domainaliases = Resource$Domainaliases;\n class Resource$Domains {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/domains/{domainName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'domainName'],\n pathParams: ['customer', 'domainName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/domains/{domainName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'domainName'],\n pathParams: ['customer', 'domainName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/domains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/domains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Domains = Resource$Domains;\n class Resource$Groups {\n constructor(context) {\n this.context = context;\n this.aliases = new Resource$Groups$Aliases(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Groups = Resource$Groups;\n class Resource$Groups$Aliases {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/aliases/{alias}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['groupKey', 'alias'],\n pathParams: ['alias', 'groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/aliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/aliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Groups$Aliases = Resource$Groups$Aliases;\n class Resource$Members {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['groupKey', 'memberKey'],\n pathParams: ['groupKey', 'memberKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupKey', 'memberKey'],\n pathParams: ['groupKey', 'memberKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n hasMember(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/groups/{groupKey}/hasMember/{memberKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupKey', 'memberKey'],\n pathParams: ['groupKey', 'memberKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/members').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/groups/{groupKey}/members').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupKey'],\n pathParams: ['groupKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['groupKey', 'memberKey'],\n pathParams: ['groupKey', 'memberKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/groups/{groupKey}/members/{memberKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['groupKey', 'memberKey'],\n pathParams: ['groupKey', 'memberKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Members = Resource$Members;\n class Resource$Mobiledevices {\n constructor(context) {\n this.context = context;\n }\n action(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}/action').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'resourceId'],\n pathParams: ['customerId', 'resourceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customerId', 'resourceId'],\n pathParams: ['customerId', 'resourceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId', 'resourceId'],\n pathParams: ['customerId', 'resourceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/devices/mobile').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Mobiledevices = Resource$Mobiledevices;\n class Resource$Notifications {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'notificationId'],\n pathParams: ['customer', 'notificationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'notificationId'],\n pathParams: ['customer', 'notificationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/notifications').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customer', 'notificationId'],\n pathParams: ['customer', 'notificationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/notifications/{notificationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customer', 'notificationId'],\n pathParams: ['customer', 'notificationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Notifications = Resource$Notifications;\n class Resource$Orgunits {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customerId', 'orgUnitPath'],\n pathParams: ['customerId', 'orgUnitPath'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId', 'orgUnitPath'],\n pathParams: ['customerId', 'orgUnitPath'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customerId}/orgunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customerId}/orgunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customerId', 'orgUnitPath'],\n pathParams: ['customerId', 'orgUnitPath'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/orgunits{/orgUnitPath*}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customerId', 'orgUnitPath'],\n pathParams: ['customerId', 'orgUnitPath'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Orgunits = Resource$Orgunits;\n class Resource$Privileges {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/roles/ALL/privileges').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Privileges = Resource$Privileges;\n class Resource$Resolvedappaccesssettings {\n constructor(context) {\n this.context = context;\n }\n GetSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/resolvedappaccesssettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n ListTrustedApps(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/trustedapps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Resolvedappaccesssettings = Resource$Resolvedappaccesssettings;\n class Resource$Resources {\n constructor(context) {\n this.context = context;\n this.buildings = new Resource$Resources$Buildings(this.context);\n this.calendars = new Resource$Resources$Calendars(this.context);\n this.features = new Resource$Resources$Features(this.context);\n }\n }\n admin_directory_v1.Resource$Resources = Resource$Resources;\n class Resource$Resources$Buildings {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'buildingId'],\n pathParams: ['buildingId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'buildingId'],\n pathParams: ['buildingId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/buildings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/buildings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customer', 'buildingId'],\n pathParams: ['buildingId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customer', 'buildingId'],\n pathParams: ['buildingId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Resources$Buildings = Resource$Resources$Buildings;\n class Resource$Resources$Calendars {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'calendarResourceId'],\n pathParams: ['calendarResourceId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'calendarResourceId'],\n pathParams: ['calendarResourceId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/calendars').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/calendars').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customer', 'calendarResourceId'],\n pathParams: ['calendarResourceId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customer', 'calendarResourceId'],\n pathParams: ['calendarResourceId', 'customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Resources$Calendars = Resource$Resources$Calendars;\n class Resource$Resources$Features {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'featureKey'],\n pathParams: ['customer', 'featureKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'featureKey'],\n pathParams: ['customer', 'featureKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customer', 'featureKey'],\n pathParams: ['customer', 'featureKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rename(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer', 'oldName'],\n pathParams: ['customer', 'oldName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/resources/features/{featureKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customer', 'featureKey'],\n pathParams: ['customer', 'featureKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Resources$Features = Resource$Resources$Features;\n class Resource$Roleassignments {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'roleAssignmentId'],\n pathParams: ['customer', 'roleAssignmentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'roleAssignmentId'],\n pathParams: ['customer', 'roleAssignmentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/roleassignments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customer}/roleassignments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Roleassignments = Resource$Roleassignments;\n class Resource$Roles {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customer', 'roleId'],\n pathParams: ['customer', 'roleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer', 'roleId'],\n pathParams: ['customer', 'roleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customer'],\n pathParams: ['customer'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customer', 'roleId'],\n pathParams: ['customer', 'roleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customer}/roles/{roleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customer', 'roleId'],\n pathParams: ['customer', 'roleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Roles = Resource$Roles;\n class Resource$Schemas {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customerId', 'schemaKey'],\n pathParams: ['customerId', 'schemaKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId', 'schemaKey'],\n pathParams: ['customerId', 'schemaKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customerId}/schemas').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/customer/{customerId}/schemas').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customerId', 'schemaKey'],\n pathParams: ['customerId', 'schemaKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/customer/{customerId}/schemas/{schemaKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customerId', 'schemaKey'],\n pathParams: ['customerId', 'schemaKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Schemas = Resource$Schemas;\n class Resource$Tokens {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/tokens/{clientId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userKey', 'clientId'],\n pathParams: ['clientId', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/tokens/{clientId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey', 'clientId'],\n pathParams: ['clientId', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/tokens').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Tokens = Resource$Tokens;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.aliases = new Resource$Users$Aliases(this.context);\n this.photos = new Resource$Users$Photos(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n makeAdmin(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/makeAdmin').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Users = Resource$Users;\n class Resource$Users$Aliases {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases/{alias}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userKey', 'alias'],\n pathParams: ['alias', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/aliases/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Users$Aliases = Resource$Users$Aliases;\n class Resource$Users$Photos {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/photos/thumbnail').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Users$Photos = Resource$Users$Photos;\n class Resource$Verificationcodes {\n constructor(context) {\n this.context = context;\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/users/{userKey}/verificationCodes/generate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n invalidate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/directory/v1/users/{userKey}/verificationCodes/invalidate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/directory/v1/users/{userKey}/verificationCodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey'],\n pathParams: ['userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_directory_v1.Resource$Verificationcodes = Resource$Verificationcodes;\n})(admin_directory_v1 = exports.admin_directory_v1 || (exports.admin_directory_v1 = {}));\n//# sourceMappingURL=directory_v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst datatransfer_v1_1 = require(\"./datatransfer_v1\");\nconst directory_v1_1 = require(\"./directory_v1\");\nconst reports_v1_1 = require(\"./reports_v1\");\nexports.VERSIONS = {\n datatransfer_v1: datatransfer_v1_1.admin_datatransfer_v1.Admin,\n directory_v1: directory_v1_1.admin_directory_v1.Admin,\n reports_v1: reports_v1_1.admin_reports_v1.Admin,\n};\nfunction admin(versionOrOptions) {\n return googleapis_common_1.getAPI('admin', versionOrOptions, exports.VERSIONS, this);\n}\nexports.admin = admin;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar admin_reports_v1;\n(function (admin_reports_v1) {\n /**\n * Admin Reports API\n *\n * Fetches reports for the administrators of G Suite customers about the usage, collaboration, security, and risk for their users.\n *\n * @example\n * const {google} = require('googleapis');\n * const admin = google.admin('reports_v1');\n *\n * @namespace admin\n * @type {Function}\n * @version reports_v1\n * @variation reports_v1\n * @param {object=} options Options for Admin\n */\n class Admin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.activities = new Resource$Activities(this.context);\n this.channels = new Resource$Channels(this.context);\n this.customerUsageReports = new Resource$Customerusagereports(this.context);\n this.entityUsageReports = new Resource$Entityusagereports(this.context);\n this.userUsageReport = new Resource$Userusagereport(this.context);\n }\n }\n admin_reports_v1.Admin = Admin;\n class Resource$Activities {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/reports/v1/activity/users/{userKey}/applications/{applicationName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey', 'applicationName'],\n pathParams: ['applicationName', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userKey', 'applicationName'],\n pathParams: ['applicationName', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_reports_v1.Resource$Activities = Resource$Activities;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/reports/v1/admin/reports_v1/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_reports_v1.Resource$Channels = Resource$Channels;\n class Resource$Customerusagereports {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/reports/v1/usage/dates/{date}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['date'],\n pathParams: ['date'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_reports_v1.Resource$Customerusagereports = Resource$Customerusagereports;\n class Resource$Entityusagereports {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/admin/reports/v1/usage/{entityType}/{entityKey}/dates/{date}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['entityType', 'entityKey', 'date'],\n pathParams: ['date', 'entityKey', 'entityType'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_reports_v1.Resource$Entityusagereports = Resource$Entityusagereports;\n class Resource$Userusagereport {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/admin/reports/v1/usage/users/{userKey}/dates/{date}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userKey', 'date'],\n pathParams: ['date', 'userKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n admin_reports_v1.Resource$Userusagereport = Resource$Userusagereport;\n})(admin_reports_v1 = exports.admin_reports_v1 || (exports.admin_reports_v1 = {}));\n//# sourceMappingURL=reports_v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_4_1 = require(\"./v1.4\");\nexports.VERSIONS = {\n 'v1.4': v1_4_1.adsense_v1_4.Adsense,\n};\nfunction adsense(versionOrOptions) {\n return googleapis_common_1.getAPI('adsense', versionOrOptions, exports.VERSIONS, this);\n}\nexports.adsense = adsense;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adsense_v1_4;\n(function (adsense_v1_4) {\n /**\n * AdSense Management API\n *\n * Accesses AdSense publishers' inventory and generates performance reports.\n *\n * @example\n * const {google} = require('googleapis');\n * const adsense = google.adsense('v1.4');\n *\n * @namespace adsense\n * @type {Function}\n * @version v1.4\n * @variation v1.4\n * @param {object=} options Options for Adsense\n */\n class Adsense {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.adclients = new Resource$Adclients(this.context);\n this.adunits = new Resource$Adunits(this.context);\n this.alerts = new Resource$Alerts(this.context);\n this.customchannels = new Resource$Customchannels(this.context);\n this.metadata = new Resource$Metadata(this.context);\n this.payments = new Resource$Payments(this.context);\n this.reports = new Resource$Reports(this.context);\n this.savedadstyles = new Resource$Savedadstyles(this.context);\n this.urlchannels = new Resource$Urlchannels(this.context);\n }\n }\n adsense_v1_4.Adsense = Adsense;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.adclients = new Resource$Accounts$Adclients(this.context);\n this.adunits = new Resource$Accounts$Adunits(this.context);\n this.alerts = new Resource$Accounts$Alerts(this.context);\n this.customchannels = new Resource$Accounts$Customchannels(this.context);\n this.payments = new Resource$Accounts$Payments(this.context);\n this.reports = new Resource$Accounts$Reports(this.context);\n this.savedadstyles = new Resource$Accounts$Savedadstyles(this.context);\n this.urlchannels = new Resource$Accounts$Urlchannels(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Adclients {\n constructor(context) {\n this.context = context;\n }\n getAdCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adcode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/adclients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Adclients = Resource$Accounts$Adclients;\n class Resource$Accounts$Adunits {\n constructor(context) {\n this.context = context;\n this.customchannels = new Resource$Accounts$Adunits$Customchannels(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAdCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Adunits = Resource$Accounts$Adunits;\n class Resource$Accounts$Adunits$Customchannels {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Adunits$Customchannels = Resource$Accounts$Adunits$Customchannels;\n class Resource$Accounts$Alerts {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/alerts/{alertId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'alertId'],\n pathParams: ['accountId', 'alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/alerts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Alerts = Resource$Accounts$Alerts;\n class Resource$Accounts$Customchannels {\n constructor(context) {\n this.context = context;\n this.adunits = new Resource$Accounts$Customchannels$Adunits(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'customChannelId'],\n pathParams: ['accountId', 'adClientId', 'customChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Customchannels = Resource$Accounts$Customchannels;\n class Resource$Accounts$Customchannels$Adunits {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/customchannels/{customChannelId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'customChannelId'],\n pathParams: ['accountId', 'adClientId', 'customChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Customchannels$Adunits = Resource$Accounts$Customchannels$Adunits;\n class Resource$Accounts$Payments {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/payments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Payments = Resource$Accounts$Payments;\n class Resource$Accounts$Reports {\n constructor(context) {\n this.context = context;\n this.saved = new Resource$Accounts$Reports$Saved(this.context);\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'startDate', 'endDate'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Reports = Resource$Accounts$Reports;\n class Resource$Accounts$Reports$Saved {\n constructor(context) {\n this.context = context;\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/reports/{savedReportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'savedReportId'],\n pathParams: ['accountId', 'savedReportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/reports/saved').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Reports$Saved = Resource$Accounts$Reports$Saved;\n class Resource$Accounts$Savedadstyles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/savedadstyles/{savedAdStyleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'savedAdStyleId'],\n pathParams: ['accountId', 'savedAdStyleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/accounts/{accountId}/savedadstyles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Savedadstyles = Resource$Accounts$Savedadstyles;\n class Resource$Accounts$Urlchannels {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/accounts/{accountId}/adclients/{adClientId}/urlchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Accounts$Urlchannels = Resource$Accounts$Urlchannels;\n class Resource$Adclients {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/adclients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Adclients = Resource$Adclients;\n class Resource$Adunits {\n constructor(context) {\n this.context = context;\n this.customchannels = new Resource$Adunits$Customchannels(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId', 'adUnitId'],\n pathParams: ['adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAdCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/adclients/{adClientId}/adunits/{adUnitId}/adcode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId', 'adUnitId'],\n pathParams: ['adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/adclients/{adClientId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Adunits = Resource$Adunits;\n class Resource$Adunits$Customchannels {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/adclients/{adClientId}/adunits/{adUnitId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId', 'adUnitId'],\n pathParams: ['adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Adunits$Customchannels = Resource$Adunits$Customchannels;\n class Resource$Alerts {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/alerts/{alertId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/alerts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Alerts = Resource$Alerts;\n class Resource$Customchannels {\n constructor(context) {\n this.context = context;\n this.adunits = new Resource$Customchannels$Adunits(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId', 'customChannelId'],\n pathParams: ['adClientId', 'customChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/adclients/{adClientId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Customchannels = Resource$Customchannels;\n class Resource$Customchannels$Adunits {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsense/v1.4/adclients/{adClientId}/customchannels/{customChannelId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId', 'customChannelId'],\n pathParams: ['adClientId', 'customChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Customchannels$Adunits = Resource$Customchannels$Adunits;\n class Resource$Metadata {\n constructor(context) {\n this.context = context;\n this.dimensions = new Resource$Metadata$Dimensions(this.context);\n this.metrics = new Resource$Metadata$Metrics(this.context);\n }\n }\n adsense_v1_4.Resource$Metadata = Resource$Metadata;\n class Resource$Metadata$Dimensions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/metadata/dimensions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Metadata$Dimensions = Resource$Metadata$Dimensions;\n class Resource$Metadata$Metrics {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/metadata/metrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Metadata$Metrics = Resource$Metadata$Metrics;\n class Resource$Payments {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/payments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Payments = Resource$Payments;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n this.saved = new Resource$Reports$Saved(this.context);\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['startDate', 'endDate'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Reports = Resource$Reports;\n class Resource$Reports$Saved {\n constructor(context) {\n this.context = context;\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/reports/{savedReportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['savedReportId'],\n pathParams: ['savedReportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/reports/saved').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Reports$Saved = Resource$Reports$Saved;\n class Resource$Savedadstyles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/savedadstyles/{savedAdStyleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['savedAdStyleId'],\n pathParams: ['savedAdStyleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/savedadstyles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Savedadstyles = Resource$Savedadstyles;\n class Resource$Urlchannels {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsense/v1.4/adclients/{adClientId}/urlchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsense_v1_4.Resource$Urlchannels = Resource$Urlchannels;\n})(adsense_v1_4 = exports.adsense_v1_4 || (exports.adsense_v1_4 = {}));\n//# sourceMappingURL=v1.4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v4_1_1 = require(\"./v4.1\");\nexports.VERSIONS = {\n 'v4.1': v4_1_1.adsensehost_v4_1.Adsensehost,\n};\nfunction adsensehost(versionOrOptions) {\n return googleapis_common_1.getAPI('adsensehost', versionOrOptions, exports.VERSIONS, this);\n}\nexports.adsensehost = adsensehost;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar adsensehost_v4_1;\n(function (adsensehost_v4_1) {\n /**\n * AdSense Host API\n *\n * Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.\n *\n * @example\n * const {google} = require('googleapis');\n * const adsensehost = google.adsensehost('v4.1');\n *\n * @namespace adsensehost\n * @type {Function}\n * @version v4.1\n * @variation v4.1\n * @param {object=} options Options for Adsensehost\n */\n class Adsensehost {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.adclients = new Resource$Adclients(this.context);\n this.associationsessions = new Resource$Associationsessions(this.context);\n this.customchannels = new Resource$Customchannels(this.context);\n this.reports = new Resource$Reports(this.context);\n this.urlchannels = new Resource$Urlchannels(this.context);\n }\n }\n adsensehost_v4_1.Adsensehost = Adsensehost;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.adclients = new Resource$Accounts$Adclients(this.context);\n this.adunits = new Resource$Accounts$Adunits(this.context);\n this.reports = new Resource$Accounts$Reports(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['filterAdClientId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Adclients {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/accounts/{accountId}/adclients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Accounts$Adclients = Resource$Accounts$Adclients;\n class Resource$Accounts$Adunits {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAdCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits/{adUnitId}/adcode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId', 'adUnitId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId', 'adUnitId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/accounts/{accountId}/adclients/{adClientId}/adunits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'adClientId'],\n pathParams: ['accountId', 'adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Accounts$Adunits = Resource$Accounts$Adunits;\n class Resource$Accounts$Reports {\n constructor(context) {\n this.context = context;\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/accounts/{accountId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'startDate', 'endDate'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Accounts$Reports = Resource$Accounts$Reports;\n class Resource$Adclients {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/adclients/{adClientId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/adclients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Adclients = Resource$Adclients;\n class Resource$Associationsessions {\n constructor(context) {\n this.context = context;\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/associationsessions/start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['productCode', 'websiteUrl'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/associationsessions/verify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['token'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Associationsessions = Resource$Associationsessions;\n class Resource$Customchannels {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['adClientId', 'customChannelId'],\n pathParams: ['adClientId', 'customChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/customchannels/{customChannelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId', 'customChannelId'],\n pathParams: ['adClientId', 'customChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['adClientId', 'customChannelId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/customchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Customchannels = Resource$Customchannels;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['startDate', 'endDate'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Reports = Resource$Reports;\n class Resource$Urlchannels {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/adsensehost/v4.1/adclients/{adClientId}/urlchannels/{urlChannelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['adClientId', 'urlChannelId'],\n pathParams: ['adClientId', 'urlChannelId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/adclients/{adClientId}/urlchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/adsensehost/v4.1/adclients/{adClientId}/urlchannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['adClientId'],\n pathParams: ['adClientId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n adsensehost_v4_1.Resource$Urlchannels = Resource$Urlchannels;\n})(adsensehost_v4_1 = exports.adsensehost_v4_1 || (exports.adsensehost_v4_1 = {}));\n//# sourceMappingURL=v4.1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.alertcenter_v1beta1.Alertcenter,\n};\nfunction alertcenter(versionOrOptions) {\n return googleapis_common_1.getAPI('alertcenter', versionOrOptions, exports.VERSIONS, this);\n}\nexports.alertcenter = alertcenter;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar alertcenter_v1beta1;\n(function (alertcenter_v1beta1) {\n /**\n * G Suite Alert Center API\n *\n * Manages alerts on issues affecting your domain.\n *\n * @example\n * const {google} = require('googleapis');\n * const alertcenter = google.alertcenter('v1beta1');\n *\n * @namespace alertcenter\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Alertcenter\n */\n class Alertcenter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.alerts = new Resource$Alerts(this.context);\n this.v1beta1 = new Resource$V1beta1(this.context);\n }\n }\n alertcenter_v1beta1.Alertcenter = Alertcenter;\n class Resource$Alerts {\n constructor(context) {\n this.context = context;\n this.feedback = new Resource$Alerts$Feedback(this.context);\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUndelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts:batchUndelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts/{alertId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts/{alertId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts/{alertId}/metadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts/{alertId}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n alertcenter_v1beta1.Resource$Alerts = Resource$Alerts;\n class Resource$Alerts$Feedback {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts/{alertId}/feedback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/alerts/{alertId}/feedback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['alertId'],\n pathParams: ['alertId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n alertcenter_v1beta1.Resource$Alerts$Feedback = Resource$Alerts$Feedback;\n class Resource$V1beta1 {\n constructor(context) {\n this.context = context;\n }\n getSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/settings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://alertcenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/settings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n alertcenter_v1beta1.Resource$V1beta1 = Resource$V1beta1;\n})(alertcenter_v1beta1 = exports.alertcenter_v1beta1 || (exports.alertcenter_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_4_1 = require(\"./v2.4\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n 'v2.4': v2_4_1.analytics_v2_4.Analytics,\n v3: v3_1.analytics_v3.Analytics,\n};\nfunction analytics(versionOrOptions) {\n return googleapis_common_1.getAPI('analytics', versionOrOptions, exports.VERSIONS, this);\n}\nexports.analytics = analytics;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar analytics_v2_4;\n(function (analytics_v2_4) {\n /**\n * Google Analytics API\n *\n * Views and manages your Google Analytics data.\n *\n * @example\n * const {google} = require('googleapis');\n * const analytics = google.analytics('v2.4');\n *\n * @namespace analytics\n * @type {Function}\n * @version v2.4\n * @variation v2.4\n * @param {object=} options Options for Analytics\n */\n class Analytics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.data = new Resource$Data(this.context);\n this.management = new Resource$Management(this.context);\n }\n }\n analytics_v2_4.Analytics = Analytics;\n class Resource$Data {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v2.4/data').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ids', 'start-date', 'end-date', 'metrics'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v2_4.Resource$Data = Resource$Data;\n class Resource$Management {\n constructor(context) {\n this.context = context;\n this.accounts = new Resource$Management$Accounts(this.context);\n this.goals = new Resource$Management$Goals(this.context);\n this.profiles = new Resource$Management$Profiles(this.context);\n this.segments = new Resource$Management$Segments(this.context);\n this.webproperties = new Resource$Management$Webproperties(this.context);\n }\n }\n analytics_v2_4.Resource$Management = Resource$Management;\n class Resource$Management$Accounts {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v2.4/management/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v2_4.Resource$Management$Accounts = Resource$Management$Accounts;\n class Resource$Management$Goals {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v2.4/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v2_4.Resource$Management$Goals = Resource$Management$Goals;\n class Resource$Management$Profiles {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v2.4/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v2_4.Resource$Management$Profiles = Resource$Management$Profiles;\n class Resource$Management$Segments {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v2.4/management/segments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v2_4.Resource$Management$Segments = Resource$Management$Segments;\n class Resource$Management$Webproperties {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v2.4/management/accounts/{accountId}/webproperties').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v2_4.Resource$Management$Webproperties = Resource$Management$Webproperties;\n})(analytics_v2_4 = exports.analytics_v2_4 || (exports.analytics_v2_4 = {}));\n//# sourceMappingURL=v2.4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar analytics_v3;\n(function (analytics_v3) {\n /**\n * Google Analytics API\n *\n * Views and manages your Google Analytics data.\n *\n * @example\n * const {google} = require('googleapis');\n * const analytics = google.analytics('v3');\n *\n * @namespace analytics\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Analytics\n */\n class Analytics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.data = new Resource$Data(this.context);\n this.management = new Resource$Management(this.context);\n this.metadata = new Resource$Metadata(this.context);\n this.provisioning = new Resource$Provisioning(this.context);\n this.userDeletion = new Resource$Userdeletion(this.context);\n }\n }\n analytics_v3.Analytics = Analytics;\n class Resource$Data {\n constructor(context) {\n this.context = context;\n this.ga = new Resource$Data$Ga(this.context);\n this.mcf = new Resource$Data$Mcf(this.context);\n this.realtime = new Resource$Data$Realtime(this.context);\n }\n }\n analytics_v3.Resource$Data = Resource$Data;\n class Resource$Data$Ga {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/data/ga').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ids', 'start-date', 'end-date', 'metrics'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Data$Ga = Resource$Data$Ga;\n class Resource$Data$Mcf {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/data/mcf').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ids', 'start-date', 'end-date', 'metrics'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Data$Mcf = Resource$Data$Mcf;\n class Resource$Data$Realtime {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/data/realtime').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ids', 'metrics'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Data$Realtime = Resource$Data$Realtime;\n class Resource$Management {\n constructor(context) {\n this.context = context;\n this.accounts = new Resource$Management$Accounts(this.context);\n this.accountSummaries = new Resource$Management$Accountsummaries(this.context);\n this.accountUserLinks = new Resource$Management$Accountuserlinks(this.context);\n this.clientId = new Resource$Management$Clientid(this.context);\n this.customDataSources = new Resource$Management$Customdatasources(this.context);\n this.customDimensions = new Resource$Management$Customdimensions(this.context);\n this.customMetrics = new Resource$Management$Custommetrics(this.context);\n this.experiments = new Resource$Management$Experiments(this.context);\n this.filters = new Resource$Management$Filters(this.context);\n this.goals = new Resource$Management$Goals(this.context);\n this.profileFilterLinks = new Resource$Management$Profilefilterlinks(this.context);\n this.profiles = new Resource$Management$Profiles(this.context);\n this.profileUserLinks = new Resource$Management$Profileuserlinks(this.context);\n this.remarketingAudience = new Resource$Management$Remarketingaudience(this.context);\n this.segments = new Resource$Management$Segments(this.context);\n this.unsampledReports = new Resource$Management$Unsampledreports(this.context);\n this.uploads = new Resource$Management$Uploads(this.context);\n this.webproperties = new Resource$Management$Webproperties(this.context);\n this.webPropertyAdWordsLinks = new Resource$Management$Webpropertyadwordslinks(this.context);\n this.webpropertyUserLinks = new Resource$Management$Webpropertyuserlinks(this.context);\n }\n }\n analytics_v3.Resource$Management = Resource$Management;\n class Resource$Management$Accounts {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/management/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Accounts = Resource$Management$Accounts;\n class Resource$Management$Accountsummaries {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/management/accountSummaries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Accountsummaries = Resource$Management$Accountsummaries;\n class Resource$Management$Accountuserlinks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/entityUserLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'linkId'],\n pathParams: ['accountId', 'linkId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/entityUserLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/entityUserLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/entityUserLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'linkId'],\n pathParams: ['accountId', 'linkId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Accountuserlinks = Resource$Management$Accountuserlinks;\n class Resource$Management$Clientid {\n constructor(context) {\n this.context = context;\n }\n hashClientId(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/management/clientId:hashClientId').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Clientid = Resource$Management$Clientid;\n class Resource$Management$Customdatasources {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Customdatasources = Resource$Management$Customdatasources;\n class Resource$Management$Customdimensions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customDimensionId'],\n pathParams: ['accountId', 'customDimensionId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customDimensionId'],\n pathParams: ['accountId', 'customDimensionId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDimensions/{customDimensionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customDimensionId'],\n pathParams: ['accountId', 'customDimensionId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Customdimensions = Resource$Management$Customdimensions;\n class Resource$Management$Custommetrics {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customMetricId'],\n pathParams: ['accountId', 'customMetricId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customMetricId'],\n pathParams: ['accountId', 'customMetricId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customMetrics/{customMetricId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customMetricId'],\n pathParams: ['accountId', 'customMetricId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Custommetrics = Resource$Management$Custommetrics;\n class Resource$Management$Experiments {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'profileId',\n 'experimentId',\n ],\n pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'profileId',\n 'experimentId',\n ],\n pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'profileId',\n 'experimentId',\n ],\n pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'profileId',\n 'experimentId',\n ],\n pathParams: ['accountId', 'experimentId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Experiments = Resource$Management$Experiments;\n class Resource$Management$Filters {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'filterId'],\n pathParams: ['accountId', 'filterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'filterId'],\n pathParams: ['accountId', 'filterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/management/accounts/{accountId}/filters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/management/accounts/{accountId}/filters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'filterId'],\n pathParams: ['accountId', 'filterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/filters/{filterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'filterId'],\n pathParams: ['accountId', 'filterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Filters = Resource$Management$Filters;\n class Resource$Management$Goals {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'goalId'],\n pathParams: ['accountId', 'goalId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'goalId'],\n pathParams: ['accountId', 'goalId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals/{goalId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'goalId'],\n pathParams: ['accountId', 'goalId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Goals = Resource$Management$Goals;\n class Resource$Management$Profilefilterlinks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Profilefilterlinks = Resource$Management$Profilefilterlinks;\n class Resource$Management$Profiles {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Profiles = Resource$Management$Profiles;\n class Resource$Management$Profileuserlinks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Profileuserlinks = Resource$Management$Profileuserlinks;\n class Resource$Management$Remarketingaudience {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'],\n pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'],\n pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'],\n pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/remarketingAudiences/{remarketingAudienceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'remarketingAudienceId'],\n pathParams: ['accountId', 'remarketingAudienceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Remarketingaudience = Resource$Management$Remarketingaudience;\n class Resource$Management$Segments {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/management/segments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Segments = Resource$Management$Segments;\n class Resource$Management$Unsampledreports {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'profileId',\n 'unsampledReportId',\n ],\n pathParams: [\n 'accountId',\n 'profileId',\n 'unsampledReportId',\n 'webPropertyId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'profileId',\n 'unsampledReportId',\n ],\n pathParams: [\n 'accountId',\n 'profileId',\n 'unsampledReportId',\n 'webPropertyId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/unsampledReports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'profileId'],\n pathParams: ['accountId', 'profileId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Unsampledreports = Resource$Management$Unsampledreports;\n class Resource$Management$Uploads {\n constructor(context) {\n this.context = context;\n }\n deleteUploadData(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customDataSourceId'],\n pathParams: ['accountId', 'customDataSourceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'customDataSourceId',\n 'uploadId',\n ],\n pathParams: [\n 'accountId',\n 'customDataSourceId',\n 'uploadId',\n 'webPropertyId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'customDataSourceId'],\n pathParams: ['accountId', 'customDataSourceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n uploadData(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['accountId', 'webPropertyId', 'customDataSourceId'],\n pathParams: ['accountId', 'customDataSourceId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Uploads = Resource$Management$Uploads;\n class Resource$Management$Webproperties {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Webproperties = Resource$Management$Webproperties;\n class Resource$Management$Webpropertyadwordslinks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'webPropertyAdWordsLinkId',\n ],\n pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'webPropertyAdWordsLinkId',\n ],\n pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'webPropertyAdWordsLinkId',\n ],\n pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [\n 'accountId',\n 'webPropertyId',\n 'webPropertyAdWordsLinkId',\n ],\n pathParams: ['accountId', 'webPropertyAdWordsLinkId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Webpropertyadwordslinks = Resource$Management$Webpropertyadwordslinks;\n class Resource$Management$Webpropertyuserlinks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId'],\n pathParams: ['accountId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/entityUserLinks/{linkId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'webPropertyId', 'linkId'],\n pathParams: ['accountId', 'linkId', 'webPropertyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Management$Webpropertyuserlinks = Resource$Management$Webpropertyuserlinks;\n class Resource$Metadata {\n constructor(context) {\n this.context = context;\n this.columns = new Resource$Metadata$Columns(this.context);\n }\n }\n analytics_v3.Resource$Metadata = Resource$Metadata;\n class Resource$Metadata$Columns {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/metadata/{reportType}/columns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['reportType'],\n pathParams: ['reportType'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Metadata$Columns = Resource$Metadata$Columns;\n class Resource$Provisioning {\n constructor(context) {\n this.context = context;\n }\n createAccountTicket(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/provisioning/createAccountTicket').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createAccountTree(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/provisioning/createAccountTree').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Provisioning = Resource$Provisioning;\n class Resource$Userdeletion {\n constructor(context) {\n this.context = context;\n this.userDeletionRequest = new Resource$Userdeletion$Userdeletionrequest(this.context);\n }\n }\n analytics_v3.Resource$Userdeletion = Resource$Userdeletion;\n class Resource$Userdeletion$Userdeletionrequest {\n constructor(context) {\n this.context = context;\n }\n upsert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/analytics/v3/userDeletion/userDeletionRequests:upsert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analytics_v3.Resource$Userdeletion$Userdeletionrequest = Resource$Userdeletion$Userdeletionrequest;\n})(analytics_v3 = exports.analytics_v3 || (exports.analytics_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v4_1 = require(\"./v4\");\nexports.VERSIONS = {\n v4: v4_1.analyticsreporting_v4.Analyticsreporting,\n};\nfunction analyticsreporting(versionOrOptions) {\n return googleapis_common_1.getAPI('analyticsreporting', versionOrOptions, exports.VERSIONS, this);\n}\nexports.analyticsreporting = analyticsreporting;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar analyticsreporting_v4;\n(function (analyticsreporting_v4) {\n /**\n * Analytics Reporting API\n *\n * Accesses Analytics report data.\n *\n * @example\n * const {google} = require('googleapis');\n * const analyticsreporting = google.analyticsreporting('v4');\n *\n * @namespace analyticsreporting\n * @type {Function}\n * @version v4\n * @variation v4\n * @param {object=} options Options for Analyticsreporting\n */\n class Analyticsreporting {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.reports = new Resource$Reports(this.context);\n this.userActivity = new Resource$Useractivity(this.context);\n }\n }\n analyticsreporting_v4.Analyticsreporting = Analyticsreporting;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://analyticsreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/reports:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analyticsreporting_v4.Resource$Reports = Resource$Reports;\n class Resource$Useractivity {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://analyticsreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/userActivity:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n analyticsreporting_v4.Resource$Useractivity = Resource$Useractivity;\n})(analyticsreporting_v4 = exports.analyticsreporting_v4 || (exports.analyticsreporting_v4 = {}));\n//# sourceMappingURL=v4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.androiddeviceprovisioning_v1.Androiddeviceprovisioning,\n};\nfunction androiddeviceprovisioning(versionOrOptions) {\n return googleapis_common_1.getAPI('androiddeviceprovisioning', versionOrOptions, exports.VERSIONS, this);\n}\nexports.androiddeviceprovisioning = androiddeviceprovisioning;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androiddeviceprovisioning_v1;\n(function (androiddeviceprovisioning_v1) {\n /**\n * Android Device Provisioning Partner API\n *\n * Automates Android zero-touch enrollment for device resellers, customers, and EMMs.\n *\n * @example\n * const {google} = require('googleapis');\n * const androiddeviceprovisioning = google.androiddeviceprovisioning('v1');\n *\n * @namespace androiddeviceprovisioning\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Androiddeviceprovisioning\n */\n class Androiddeviceprovisioning {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.customers = new Resource$Customers(this.context);\n this.operations = new Resource$Operations(this.context);\n this.partners = new Resource$Partners(this.context);\n }\n }\n androiddeviceprovisioning_v1.Androiddeviceprovisioning = Androiddeviceprovisioning;\n class Resource$Customers {\n constructor(context) {\n this.context = context;\n this.configurations = new Resource$Customers$Configurations(this.context);\n this.devices = new Resource$Customers$Devices(this.context);\n this.dpcs = new Resource$Customers$Dpcs(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Customers = Resource$Customers;\n class Resource$Customers$Configurations {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/configurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/configurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Customers$Configurations = Resource$Customers$Configurations;\n class Resource$Customers$Devices {\n constructor(context) {\n this.context = context;\n }\n applyConfiguration(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices:applyConfiguration').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeConfiguration(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices:removeConfiguration').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unclaim(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices:unclaim').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Customers$Devices = Resource$Customers$Devices;\n class Resource$Customers$Dpcs {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/dpcs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Customers$Dpcs = Resource$Customers$Dpcs;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Operations = Resource$Operations;\n class Resource$Partners {\n constructor(context) {\n this.context = context;\n this.customers = new Resource$Partners$Customers(this.context);\n this.devices = new Resource$Partners$Devices(this.context);\n this.vendors = new Resource$Partners$Vendors(this.context);\n }\n }\n androiddeviceprovisioning_v1.Resource$Partners = Resource$Partners;\n class Resource$Partners$Customers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Partners$Customers = Resource$Partners$Customers;\n class Resource$Partners$Devices {\n constructor(context) {\n this.context = context;\n }\n claim(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:claim').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n claimAsync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:claimAsync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n findByIdentifier(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:findByIdentifier').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n findByOwner(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:findByOwner').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n metadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/partners/{+metadataOwnerId}/devices/{+deviceId}/metadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['metadataOwnerId', 'deviceId'],\n pathParams: ['deviceId', 'metadataOwnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unclaim(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:unclaim').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unclaimAsync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:unclaimAsync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateMetadataAsync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/partners/{+partnerId}/devices:updateMetadataAsync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['partnerId'],\n pathParams: ['partnerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Partners$Devices = Resource$Partners$Devices;\n class Resource$Partners$Vendors {\n constructor(context) {\n this.context = context;\n this.customers = new Resource$Partners$Vendors$Customers(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/vendors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Partners$Vendors = Resource$Partners$Vendors;\n class Resource$Partners$Vendors$Customers {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androiddeviceprovisioning.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androiddeviceprovisioning_v1.Resource$Partners$Vendors$Customers = Resource$Partners$Vendors$Customers;\n})(androiddeviceprovisioning_v1 = exports.androiddeviceprovisioning_v1 || (exports.androiddeviceprovisioning_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.androidenterprise_v1.Androidenterprise,\n};\nfunction androidenterprise(versionOrOptions) {\n return googleapis_common_1.getAPI('androidenterprise', versionOrOptions, exports.VERSIONS, this);\n}\nexports.androidenterprise = androidenterprise;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androidenterprise_v1;\n(function (androidenterprise_v1) {\n /**\n * Google Play EMM API\n *\n * Manages the deployment of apps to Android for Work users.\n *\n * @example\n * const {google} = require('googleapis');\n * const androidenterprise = google.androidenterprise('v1');\n *\n * @namespace androidenterprise\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Androidenterprise\n */\n class Androidenterprise {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.devices = new Resource$Devices(this.context);\n this.enterprises = new Resource$Enterprises(this.context);\n this.entitlements = new Resource$Entitlements(this.context);\n this.grouplicenses = new Resource$Grouplicenses(this.context);\n this.grouplicenseusers = new Resource$Grouplicenseusers(this.context);\n this.installs = new Resource$Installs(this.context);\n this.managedconfigurationsfordevice = new Resource$Managedconfigurationsfordevice(this.context);\n this.managedconfigurationsforuser = new Resource$Managedconfigurationsforuser(this.context);\n this.managedconfigurationssettings = new Resource$Managedconfigurationssettings(this.context);\n this.permissions = new Resource$Permissions(this.context);\n this.products = new Resource$Products(this.context);\n this.serviceaccountkeys = new Resource$Serviceaccountkeys(this.context);\n this.storelayoutclusters = new Resource$Storelayoutclusters(this.context);\n this.storelayoutpages = new Resource$Storelayoutpages(this.context);\n this.users = new Resource$Users(this.context);\n this.webapps = new Resource$Webapps(this.context);\n }\n }\n androidenterprise_v1.Androidenterprise = Androidenterprise;\n class Resource$Devices {\n constructor(context) {\n this.context = context;\n }\n forceReportUpload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/forceReportUpload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getState(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setState(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Devices = Resource$Devices;\n class Resource$Enterprises {\n constructor(context) {\n this.context = context;\n }\n acknowledgeNotificationSet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/acknowledgeNotificationSet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n completeSignup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/completeSignup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createWebToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/createWebToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enroll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/enroll').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['token'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateSignupUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/signupUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/{enterpriseId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getServiceAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getStoreLayout(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['domain'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pullNotificationSet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/pullNotificationSet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sendTestPushNotification(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/sendTestPushNotification').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/account').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setStoreLayout(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unenroll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/unenroll').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Enterprises = Resource$Enterprises;\n class Resource$Entitlements {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'entitlementId'],\n pathParams: ['enterpriseId', 'entitlementId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'entitlementId'],\n pathParams: ['enterpriseId', 'entitlementId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'entitlementId'],\n pathParams: ['enterpriseId', 'entitlementId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'entitlementId'],\n pathParams: ['enterpriseId', 'entitlementId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Entitlements = Resource$Entitlements;\n class Resource$Grouplicenses {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'groupLicenseId'],\n pathParams: ['enterpriseId', 'groupLicenseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Grouplicenses = Resource$Grouplicenses;\n class Resource$Grouplicenseusers {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'groupLicenseId'],\n pathParams: ['enterpriseId', 'groupLicenseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Grouplicenseusers = Resource$Grouplicenseusers;\n class Resource$Installs {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'],\n pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'],\n pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'],\n pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId', 'installId'],\n pathParams: ['deviceId', 'enterpriseId', 'installId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Installs = Resource$Installs;\n class Resource$Managedconfigurationsfordevice {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'deviceId',\n 'managedConfigurationForDeviceId',\n ],\n pathParams: [\n 'deviceId',\n 'enterpriseId',\n 'managedConfigurationForDeviceId',\n 'userId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'deviceId',\n 'managedConfigurationForDeviceId',\n ],\n pathParams: [\n 'deviceId',\n 'enterpriseId',\n 'managedConfigurationForDeviceId',\n 'userId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId', 'deviceId'],\n pathParams: ['deviceId', 'enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'deviceId',\n 'managedConfigurationForDeviceId',\n ],\n pathParams: [\n 'deviceId',\n 'enterpriseId',\n 'managedConfigurationForDeviceId',\n 'userId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/managedConfigurationsForDevice/{managedConfigurationForDeviceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'deviceId',\n 'managedConfigurationForDeviceId',\n ],\n pathParams: [\n 'deviceId',\n 'enterpriseId',\n 'managedConfigurationForDeviceId',\n 'userId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Managedconfigurationsfordevice = Resource$Managedconfigurationsfordevice;\n class Resource$Managedconfigurationsforuser {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'managedConfigurationForUserId',\n ],\n pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'managedConfigurationForUserId',\n ],\n pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'managedConfigurationForUserId',\n ],\n pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/managedConfigurationsForUser/{managedConfigurationForUserId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [\n 'enterpriseId',\n 'userId',\n 'managedConfigurationForUserId',\n ],\n pathParams: ['enterpriseId', 'managedConfigurationForUserId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Managedconfigurationsforuser = Resource$Managedconfigurationsforuser;\n class Resource$Managedconfigurationssettings {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/managedConfigurationsSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Managedconfigurationssettings = Resource$Managedconfigurationssettings;\n class Resource$Permissions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['permissionId'],\n pathParams: ['permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Permissions = Resource$Permissions;\n class Resource$Products {\n constructor(context) {\n this.context = context;\n }\n approve(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/approve').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateApprovalUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/generateApprovalUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAppRestrictionsSchema(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unapprove(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/products/{productId}/unapprove').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'productId'],\n pathParams: ['enterpriseId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Products = Resource$Products;\n class Resource$Serviceaccountkeys {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys/{keyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'keyId'],\n pathParams: ['enterpriseId', 'keyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/serviceAccountKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Serviceaccountkeys = Resource$Serviceaccountkeys;\n class Resource$Storelayoutclusters {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId', 'clusterId'],\n pathParams: ['clusterId', 'enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId', 'clusterId'],\n pathParams: ['clusterId', 'enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId'],\n pathParams: ['enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId'],\n pathParams: ['enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId', 'clusterId'],\n pathParams: ['clusterId', 'enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId', 'clusterId'],\n pathParams: ['clusterId', 'enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Storelayoutclusters = Resource$Storelayoutclusters;\n class Resource$Storelayoutpages {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId'],\n pathParams: ['enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId'],\n pathParams: ['enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId'],\n pathParams: ['enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/storeLayout/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'pageId'],\n pathParams: ['enterpriseId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Storelayoutpages = Resource$Storelayoutpages;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateAuthenticationToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/authenticationToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/token').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAvailableProductSet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/{enterpriseId}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidenterprise/v1/enterprises/{enterpriseId}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'email'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revokeDeviceAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/deviceAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revokeToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/token').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAvailableProductSet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}/availableProductSet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'userId'],\n pathParams: ['enterpriseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Users = Resource$Users;\n class Resource$Webapps {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'webAppId'],\n pathParams: ['enterpriseId', 'webAppId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'webAppId'],\n pathParams: ['enterpriseId', 'webAppId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/webApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/webApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['enterpriseId'],\n pathParams: ['enterpriseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'webAppId'],\n pathParams: ['enterpriseId', 'webAppId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidenterprise/v1/enterprises/{enterpriseId}/webApps/{webAppId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['enterpriseId', 'webAppId'],\n pathParams: ['enterpriseId', 'webAppId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidenterprise_v1.Resource$Webapps = Resource$Webapps;\n})(androidenterprise_v1 = exports.androidenterprise_v1 || (exports.androidenterprise_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.androidmanagement_v1.Androidmanagement,\n};\nfunction androidmanagement(versionOrOptions) {\n return googleapis_common_1.getAPI('androidmanagement', versionOrOptions, exports.VERSIONS, this);\n}\nexports.androidmanagement = androidmanagement;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androidmanagement_v1;\n(function (androidmanagement_v1) {\n /**\n * Android Management API\n *\n * The Android Management API provides remote enterprise management of Android devices and apps.\n *\n * @example\n * const {google} = require('googleapis');\n * const androidmanagement = google.androidmanagement('v1');\n *\n * @namespace androidmanagement\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Androidmanagement\n */\n class Androidmanagement {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.enterprises = new Resource$Enterprises(this.context);\n this.signupUrls = new Resource$Signupurls(this.context);\n }\n }\n androidmanagement_v1.Androidmanagement = Androidmanagement;\n class Resource$Enterprises {\n constructor(context) {\n this.context = context;\n this.applications = new Resource$Enterprises$Applications(this.context);\n this.devices = new Resource$Enterprises$Devices(this.context);\n this.enrollmentTokens = new Resource$Enterprises$Enrollmenttokens(this.context);\n this.policies = new Resource$Enterprises$Policies(this.context);\n this.webApps = new Resource$Enterprises$Webapps(this.context);\n this.webTokens = new Resource$Enterprises$Webtokens(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/enterprises').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises = Resource$Enterprises;\n class Resource$Enterprises$Applications {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Applications = Resource$Enterprises$Applications;\n class Resource$Enterprises$Devices {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Enterprises$Devices$Operations(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n issueCommand(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:issueCommand').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Devices = Resource$Enterprises$Devices;\n class Resource$Enterprises$Devices$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Devices$Operations = Resource$Enterprises$Devices$Operations;\n class Resource$Enterprises$Enrollmenttokens {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/enrollmentTokens').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Enrollmenttokens = Resource$Enterprises$Enrollmenttokens;\n class Resource$Enterprises$Policies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Policies = Resource$Enterprises$Policies;\n class Resource$Enterprises$Webapps {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/webApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/webApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Webapps = Resource$Enterprises$Webapps;\n class Resource$Enterprises$Webtokens {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/webTokens').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Enterprises$Webtokens = Resource$Enterprises$Webtokens;\n class Resource$Signupurls {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://androidmanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/signupUrls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidmanagement_v1.Resource$Signupurls = Resource$Signupurls;\n})(androidmanagement_v1 = exports.androidmanagement_v1 || (exports.androidmanagement_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1_1 = require(\"./v1.1\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n 'v1.1': v1_1_1.androidpublisher_v1_1.Androidpublisher,\n v1: v1_1.androidpublisher_v1.Androidpublisher,\n v2: v2_1.androidpublisher_v2.Androidpublisher,\n v3: v3_1.androidpublisher_v3.Androidpublisher,\n};\nfunction androidpublisher(versionOrOptions) {\n return googleapis_common_1.getAPI('androidpublisher', versionOrOptions, exports.VERSIONS, this);\n}\nexports.androidpublisher = androidpublisher;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androidpublisher_v1_1;\n(function (androidpublisher_v1_1) {\n /**\n * Google Play Developer API\n *\n * Accesses Android application developers' Google Play accounts.\n *\n * @example\n * const {google} = require('googleapis');\n * const androidpublisher = google.androidpublisher('v1.1');\n *\n * @namespace androidpublisher\n * @type {Function}\n * @version v1.1\n * @variation v1.1\n * @param {object=} options Options for Androidpublisher\n */\n class Androidpublisher {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.inapppurchases = new Resource$Inapppurchases(this.context);\n this.purchases = new Resource$Purchases(this.context);\n }\n }\n androidpublisher_v1_1.Androidpublisher = Androidpublisher;\n class Resource$Inapppurchases {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v1.1/applications/{packageName}/inapp/{productId}/purchases/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'productId', 'token'],\n pathParams: ['packageName', 'productId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v1_1.Resource$Inapppurchases = Resource$Inapppurchases;\n class Resource$Purchases {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v1.1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v1.1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v1_1.Resource$Purchases = Resource$Purchases;\n})(androidpublisher_v1_1 = exports.androidpublisher_v1_1 || (exports.androidpublisher_v1_1 = {}));\n//# sourceMappingURL=v1.1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androidpublisher_v1;\n(function (androidpublisher_v1) {\n /**\n * Google Play Developer API\n *\n * Accesses Android application developers' Google Play accounts.\n *\n * @example\n * const {google} = require('googleapis');\n * const androidpublisher = google.androidpublisher('v1');\n *\n * @namespace androidpublisher\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Androidpublisher\n */\n class Androidpublisher {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.purchases = new Resource$Purchases(this.context);\n }\n }\n androidpublisher_v1.Androidpublisher = Androidpublisher;\n class Resource$Purchases {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}/cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v1/applications/{packageName}/subscriptions/{subscriptionId}/purchases/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v1.Resource$Purchases = Resource$Purchases;\n})(androidpublisher_v1 = exports.androidpublisher_v1 || (exports.androidpublisher_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androidpublisher_v2;\n(function (androidpublisher_v2) {\n /**\n * Google Play Developer API\n *\n * Accesses Android application developers' Google Play accounts.\n *\n * @example\n * const {google} = require('googleapis');\n * const androidpublisher = google.androidpublisher('v2');\n *\n * @namespace androidpublisher\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Androidpublisher\n */\n class Androidpublisher {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.edits = new Resource$Edits(this.context);\n this.inappproducts = new Resource$Inappproducts(this.context);\n this.orders = new Resource$Orders(this.context);\n this.purchases = new Resource$Purchases(this.context);\n this.reviews = new Resource$Reviews(this.context);\n }\n }\n androidpublisher_v2.Androidpublisher = Androidpublisher;\n class Resource$Edits {\n constructor(context) {\n this.context = context;\n this.apklistings = new Resource$Edits$Apklistings(this.context);\n this.apks = new Resource$Edits$Apks(this.context);\n this.bundles = new Resource$Edits$Bundles(this.context);\n this.deobfuscationfiles = new Resource$Edits$Deobfuscationfiles(this.context);\n this.details = new Resource$Edits$Details(this.context);\n this.expansionfiles = new Resource$Edits$Expansionfiles(this.context);\n this.images = new Resource$Edits$Images(this.context);\n this.listings = new Resource$Edits$Listings(this.context);\n this.testers = new Resource$Edits$Testers(this.context);\n this.tracks = new Resource$Edits$Tracks(this.context);\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidpublisher/v2/applications/{packageName}/edits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}:validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits = Resource$Edits;\n class Resource$Edits$Apklistings {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'],\n pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteall(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'apkVersionCode'],\n pathParams: ['apkVersionCode', 'editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'],\n pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'apkVersionCode'],\n pathParams: ['apkVersionCode', 'editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'],\n pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'apkVersionCode', 'language'],\n pathParams: ['apkVersionCode', 'editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Apklistings = Resource$Edits$Apklistings;\n class Resource$Edits$Apks {\n constructor(context) {\n this.context = context;\n }\n addexternallyhosted(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/externallyHosted').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Apks = Resource$Edits$Apks;\n class Resource$Edits$Bundles {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Bundles = Resource$Edits$Bundles;\n class Resource$Edits$Deobfuscationfiles {\n constructor(context) {\n this.context = context;\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'deobfuscationFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'deobfuscationFileType',\n 'editId',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Deobfuscationfiles = Resource$Edits$Deobfuscationfiles;\n class Resource$Edits$Details {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Details = Resource$Edits$Details;\n class Resource$Edits$Expansionfiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Expansionfiles = Resource$Edits$Expansionfiles;\n class Resource$Edits$Images {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'language',\n 'imageType',\n 'imageId',\n ],\n pathParams: [\n 'editId',\n 'imageId',\n 'imageType',\n 'language',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteall(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language', 'imageType'],\n pathParams: ['editId', 'imageType', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language', 'imageType'],\n pathParams: ['editId', 'imageType', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName', 'editId', 'language', 'imageType'],\n pathParams: ['editId', 'imageType', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Images = Resource$Edits$Images;\n class Resource$Edits$Listings {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteall(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Listings = Resource$Edits$Listings;\n class Resource$Edits$Testers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Testers = Resource$Edits$Testers;\n class Resource$Edits$Tracks {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Edits$Tracks = Resource$Edits$Tracks;\n class Resource$Inappproducts {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/inappproducts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/inappproducts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Inappproducts = Resource$Inappproducts;\n class Resource$Orders {\n constructor(context) {\n this.context = context;\n }\n refund(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/orders/{orderId}:refund').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'orderId'],\n pathParams: ['orderId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Orders = Resource$Orders;\n class Resource$Purchases {\n constructor(context) {\n this.context = context;\n this.products = new Resource$Purchases$Products(this.context);\n this.subscriptions = new Resource$Purchases$Subscriptions(this.context);\n this.voidedpurchases = new Resource$Purchases$Voidedpurchases(this.context);\n }\n }\n androidpublisher_v2.Resource$Purchases = Resource$Purchases;\n class Resource$Purchases$Products {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/products/{productId}/tokens/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'productId', 'token'],\n pathParams: ['packageName', 'productId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Purchases$Products = Resource$Purchases$Products;\n class Resource$Purchases$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n defer(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n refund(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revoke(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Purchases$Subscriptions = Resource$Purchases$Subscriptions;\n class Resource$Purchases$Voidedpurchases {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/purchases/voidedpurchases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Purchases$Voidedpurchases = Resource$Purchases$Voidedpurchases;\n class Resource$Reviews {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/reviews/{reviewId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'reviewId'],\n pathParams: ['packageName', 'reviewId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/reviews').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reply(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v2/applications/{packageName}/reviews/{reviewId}:reply').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'reviewId'],\n pathParams: ['packageName', 'reviewId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v2.Resource$Reviews = Resource$Reviews;\n})(androidpublisher_v2 = exports.androidpublisher_v2 || (exports.androidpublisher_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar androidpublisher_v3;\n(function (androidpublisher_v3) {\n /**\n * Google Play Developer API\n *\n * Accesses Android application developers' Google Play accounts.\n *\n * @example\n * const {google} = require('googleapis');\n * const androidpublisher = google.androidpublisher('v3');\n *\n * @namespace androidpublisher\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Androidpublisher\n */\n class Androidpublisher {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.edits = new Resource$Edits(this.context);\n this.inappproducts = new Resource$Inappproducts(this.context);\n this.internalappsharingartifacts = new Resource$Internalappsharingartifacts(this.context);\n this.orders = new Resource$Orders(this.context);\n this.purchases = new Resource$Purchases(this.context);\n this.reviews = new Resource$Reviews(this.context);\n this.systemapks = new Resource$Systemapks(this.context);\n }\n }\n androidpublisher_v3.Androidpublisher = Androidpublisher;\n class Resource$Edits {\n constructor(context) {\n this.context = context;\n this.apks = new Resource$Edits$Apks(this.context);\n this.bundles = new Resource$Edits$Bundles(this.context);\n this.deobfuscationfiles = new Resource$Edits$Deobfuscationfiles(this.context);\n this.details = new Resource$Edits$Details(this.context);\n this.expansionfiles = new Resource$Edits$Expansionfiles(this.context);\n this.images = new Resource$Edits$Images(this.context);\n this.listings = new Resource$Edits$Listings(this.context);\n this.testers = new Resource$Edits$Testers(this.context);\n this.tracks = new Resource$Edits$Tracks(this.context);\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/androidpublisher/v3/applications/{packageName}/edits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}:validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits = Resource$Edits;\n class Resource$Edits$Apks {\n constructor(context) {\n this.context = context;\n }\n addexternallyhosted(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Apks = Resource$Edits$Apks;\n class Resource$Edits$Bundles {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Bundles = Resource$Edits$Bundles;\n class Resource$Edits$Deobfuscationfiles {\n constructor(context) {\n this.context = context;\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'deobfuscationFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'deobfuscationFileType',\n 'editId',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Deobfuscationfiles = Resource$Edits$Deobfuscationfiles;\n class Resource$Edits$Details {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/details').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Details = Resource$Edits$Details;\n class Resource$Edits$Expansionfiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [\n 'packageName',\n 'editId',\n 'apkVersionCode',\n 'expansionFileType',\n ],\n pathParams: [\n 'apkVersionCode',\n 'editId',\n 'expansionFileType',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Expansionfiles = Resource$Edits$Expansionfiles;\n class Resource$Edits$Images {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [\n 'packageName',\n 'editId',\n 'language',\n 'imageType',\n 'imageId',\n ],\n pathParams: [\n 'editId',\n 'imageId',\n 'imageType',\n 'language',\n 'packageName',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteall(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language', 'imageType'],\n pathParams: ['editId', 'imageType', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language', 'imageType'],\n pathParams: ['editId', 'imageType', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName', 'editId', 'language', 'imageType'],\n pathParams: ['editId', 'imageType', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Images = Resource$Edits$Images;\n class Resource$Edits$Listings {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteall(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'language'],\n pathParams: ['editId', 'language', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Listings = Resource$Edits$Listings;\n class Resource$Edits$Testers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Testers = Resource$Edits$Testers;\n class Resource$Edits$Tracks {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'editId'],\n pathParams: ['editId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'editId', 'track'],\n pathParams: ['editId', 'packageName', 'track'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Edits$Tracks = Resource$Edits$Tracks;\n class Resource$Inappproducts {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/inappproducts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/inappproducts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/inappproducts/{sku}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['packageName', 'sku'],\n pathParams: ['packageName', 'sku'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Inappproducts = Resource$Inappproducts;\n class Resource$Internalappsharingartifacts {\n constructor(context) {\n this.context = context;\n }\n uploadapk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n uploadbundle(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Internalappsharingartifacts = Resource$Internalappsharingartifacts;\n class Resource$Orders {\n constructor(context) {\n this.context = context;\n }\n refund(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'orderId'],\n pathParams: ['orderId', 'packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Orders = Resource$Orders;\n class Resource$Purchases {\n constructor(context) {\n this.context = context;\n this.products = new Resource$Purchases$Products(this.context);\n this.subscriptions = new Resource$Purchases$Subscriptions(this.context);\n this.voidedpurchases = new Resource$Purchases$Voidedpurchases(this.context);\n }\n }\n androidpublisher_v3.Resource$Purchases = Resource$Purchases;\n class Resource$Purchases$Products {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'productId', 'token'],\n pathParams: ['packageName', 'productId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'productId', 'token'],\n pathParams: ['packageName', 'productId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Purchases$Products = Resource$Purchases$Products;\n class Resource$Purchases$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n defer(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n refund(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revoke(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'subscriptionId', 'token'],\n pathParams: ['packageName', 'subscriptionId', 'token'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Purchases$Subscriptions = Resource$Purchases$Subscriptions;\n class Resource$Purchases$Voidedpurchases {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Purchases$Voidedpurchases = Resource$Purchases$Voidedpurchases;\n class Resource$Reviews {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'reviewId'],\n pathParams: ['packageName', 'reviewId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/reviews').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName'],\n pathParams: ['packageName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reply(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'reviewId'],\n pathParams: ['packageName', 'reviewId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Reviews = Resource$Reviews;\n class Resource$Systemapks {\n constructor(context) {\n this.context = context;\n this.variants = new Resource$Systemapks$Variants(this.context);\n }\n }\n androidpublisher_v3.Resource$Systemapks = Resource$Systemapks;\n class Resource$Systemapks$Variants {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['packageName', 'versionCode'],\n pathParams: ['packageName', 'versionCode'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n download(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'versionCode', 'variantId'],\n pathParams: ['packageName', 'variantId', 'versionCode'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'versionCode', 'variantId'],\n pathParams: ['packageName', 'variantId', 'versionCode'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['packageName', 'versionCode'],\n pathParams: ['packageName', 'versionCode'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n androidpublisher_v3.Resource$Systemapks$Variants = Resource$Systemapks$Variants;\n})(androidpublisher_v3 = exports.androidpublisher_v3 || (exports.androidpublisher_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha_1 = require(\"./v1alpha\");\nconst v1beta_1 = require(\"./v1beta\");\nexports.VERSIONS = {\n v1: v1_1.appengine_v1.Appengine,\n v1alpha: v1alpha_1.appengine_v1alpha.Appengine,\n v1beta: v1beta_1.appengine_v1beta.Appengine,\n};\nfunction appengine(versionOrOptions) {\n return googleapis_common_1.getAPI('appengine', versionOrOptions, exports.VERSIONS, this);\n}\nexports.appengine = appengine;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar appengine_v1;\n(function (appengine_v1) {\n /**\n * App Engine Admin API\n *\n * Provisions and manages developers' App Engine applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const appengine = google.appengine('v1');\n *\n * @namespace appengine\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Appengine\n */\n class Appengine {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.apps = new Resource$Apps(this.context);\n }\n }\n appengine_v1.Appengine = Appengine;\n class Resource$Apps {\n constructor(context) {\n this.context = context;\n this.authorizedCertificates = new Resource$Apps$Authorizedcertificates(this.context);\n this.authorizedDomains = new Resource$Apps$Authorizeddomains(this.context);\n this.domainMappings = new Resource$Apps$Domainmappings(this.context);\n this.firewall = new Resource$Apps$Firewall(this.context);\n this.locations = new Resource$Apps$Locations(this.context);\n this.operations = new Resource$Apps$Operations(this.context);\n this.services = new Resource$Apps$Services(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n repair(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}:repair').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps = Resource$Apps;\n class Resource$Apps$Authorizedcertificates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/authorizedCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/authorizedCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Authorizedcertificates = Resource$Apps$Authorizedcertificates;\n class Resource$Apps$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/authorizedDomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Authorizeddomains = Resource$Apps$Authorizeddomains;\n class Resource$Apps$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/domainMappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/domainMappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Domainmappings = Resource$Apps$Domainmappings;\n class Resource$Apps$Firewall {\n constructor(context) {\n this.context = context;\n this.ingressRules = new Resource$Apps$Firewall$Ingressrules(this.context);\n }\n }\n appengine_v1.Resource$Apps$Firewall = Resource$Apps$Firewall;\n class Resource$Apps$Firewall$Ingressrules {\n constructor(context) {\n this.context = context;\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/firewall/ingressRules:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/firewall/ingressRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'ingressRulesId'],\n pathParams: ['appsId', 'ingressRulesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'ingressRulesId'],\n pathParams: ['appsId', 'ingressRulesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/firewall/ingressRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'ingressRulesId'],\n pathParams: ['appsId', 'ingressRulesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Firewall$Ingressrules = Resource$Apps$Firewall$Ingressrules;\n class Resource$Apps$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/locations/{locationsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'locationsId'],\n pathParams: ['appsId', 'locationsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Locations = Resource$Apps$Locations;\n class Resource$Apps$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/operations/{operationsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'operationsId'],\n pathParams: ['appsId', 'operationsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Operations = Resource$Apps$Operations;\n class Resource$Apps$Services {\n constructor(context) {\n this.context = context;\n this.versions = new Resource$Apps$Services$Versions(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Services = Resource$Apps$Services;\n class Resource$Apps$Services$Versions {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Apps$Services$Versions$Instances(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Services$Versions = Resource$Apps$Services$Versions;\n class Resource$Apps$Services$Versions$Instances {\n constructor(context) {\n this.context = context;\n }\n debug(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'],\n pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'],\n pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'],\n pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1.Resource$Apps$Services$Versions$Instances = Resource$Apps$Services$Versions$Instances;\n})(appengine_v1 = exports.appengine_v1 || (exports.appengine_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar appengine_v1alpha;\n(function (appengine_v1alpha) {\n /**\n * App Engine Admin API\n *\n * Provisions and manages developers' App Engine applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const appengine = google.appengine('v1alpha');\n *\n * @namespace appengine\n * @type {Function}\n * @version v1alpha\n * @variation v1alpha\n * @param {object=} options Options for Appengine\n */\n class Appengine {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.apps = new Resource$Apps(this.context);\n }\n }\n appengine_v1alpha.Appengine = Appengine;\n class Resource$Apps {\n constructor(context) {\n this.context = context;\n this.authorizedCertificates = new Resource$Apps$Authorizedcertificates(this.context);\n this.authorizedDomains = new Resource$Apps$Authorizeddomains(this.context);\n this.domainMappings = new Resource$Apps$Domainmappings(this.context);\n this.locations = new Resource$Apps$Locations(this.context);\n this.operations = new Resource$Apps$Operations(this.context);\n }\n }\n appengine_v1alpha.Resource$Apps = Resource$Apps;\n class Resource$Apps$Authorizedcertificates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/authorizedCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/authorizedCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1alpha.Resource$Apps$Authorizedcertificates = Resource$Apps$Authorizedcertificates;\n class Resource$Apps$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/authorizedDomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1alpha.Resource$Apps$Authorizeddomains = Resource$Apps$Authorizeddomains;\n class Resource$Apps$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/domainMappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/domainMappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1alpha.Resource$Apps$Domainmappings = Resource$Apps$Domainmappings;\n class Resource$Apps$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/locations/{locationsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'locationsId'],\n pathParams: ['appsId', 'locationsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1alpha.Resource$Apps$Locations = Resource$Apps$Locations;\n class Resource$Apps$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/operations/{operationsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'operationsId'],\n pathParams: ['appsId', 'operationsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/apps/{appsId}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1alpha.Resource$Apps$Operations = Resource$Apps$Operations;\n})(appengine_v1alpha = exports.appengine_v1alpha || (exports.appengine_v1alpha = {}));\n//# sourceMappingURL=v1alpha.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar appengine_v1beta;\n(function (appengine_v1beta) {\n /**\n * App Engine Admin API\n *\n * Provisions and manages developers' App Engine applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const appengine = google.appengine('v1beta');\n *\n * @namespace appengine\n * @type {Function}\n * @version v1beta\n * @variation v1beta\n * @param {object=} options Options for Appengine\n */\n class Appengine {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.apps = new Resource$Apps(this.context);\n }\n }\n appengine_v1beta.Appengine = Appengine;\n class Resource$Apps {\n constructor(context) {\n this.context = context;\n this.authorizedCertificates = new Resource$Apps$Authorizedcertificates(this.context);\n this.authorizedDomains = new Resource$Apps$Authorizeddomains(this.context);\n this.domainMappings = new Resource$Apps$Domainmappings(this.context);\n this.firewall = new Resource$Apps$Firewall(this.context);\n this.locations = new Resource$Apps$Locations(this.context);\n this.operations = new Resource$Apps$Operations(this.context);\n this.services = new Resource$Apps$Services(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n repair(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}:repair').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps = Resource$Apps;\n class Resource$Apps$Authorizedcertificates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/authorizedCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/authorizedCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'authorizedCertificatesId'],\n pathParams: ['appsId', 'authorizedCertificatesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Authorizedcertificates = Resource$Apps$Authorizedcertificates;\n class Resource$Apps$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/authorizedDomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Authorizeddomains = Resource$Apps$Authorizeddomains;\n class Resource$Apps$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/domainMappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/domainMappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/domainMappings/{domainMappingsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'domainMappingsId'],\n pathParams: ['appsId', 'domainMappingsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Domainmappings = Resource$Apps$Domainmappings;\n class Resource$Apps$Firewall {\n constructor(context) {\n this.context = context;\n this.ingressRules = new Resource$Apps$Firewall$Ingressrules(this.context);\n }\n }\n appengine_v1beta.Resource$Apps$Firewall = Resource$Apps$Firewall;\n class Resource$Apps$Firewall$Ingressrules {\n constructor(context) {\n this.context = context;\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/firewall/ingressRules:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/firewall/ingressRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'ingressRulesId'],\n pathParams: ['appsId', 'ingressRulesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'ingressRulesId'],\n pathParams: ['appsId', 'ingressRulesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/firewall/ingressRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/firewall/ingressRules/{ingressRulesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'ingressRulesId'],\n pathParams: ['appsId', 'ingressRulesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Firewall$Ingressrules = Resource$Apps$Firewall$Ingressrules;\n class Resource$Apps$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/locations/{locationsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'locationsId'],\n pathParams: ['appsId', 'locationsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Locations = Resource$Apps$Locations;\n class Resource$Apps$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/operations/{operationsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'operationsId'],\n pathParams: ['appsId', 'operationsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Operations = Resource$Apps$Operations;\n class Resource$Apps$Services {\n constructor(context) {\n this.context = context;\n this.versions = new Resource$Apps$Services$Versions(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId'],\n pathParams: ['appsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Services = Resource$Apps$Services;\n class Resource$Apps$Services$Versions {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Apps$Services$Versions$Instances(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/apps/{appsId}/services/{servicesId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId'],\n pathParams: ['appsId', 'servicesId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Services$Versions = Resource$Apps$Services$Versions;\n class Resource$Apps$Services$Versions$Instances {\n constructor(context) {\n this.context = context;\n }\n debug(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'],\n pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'],\n pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId', 'instancesId'],\n pathParams: ['appsId', 'instancesId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://appengine.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appsId', 'servicesId', 'versionsId'],\n pathParams: ['appsId', 'servicesId', 'versionsId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appengine_v1beta.Resource$Apps$Services$Versions$Instances = Resource$Apps$Services$Versions$Instances;\n})(appengine_v1beta = exports.appengine_v1beta || (exports.appengine_v1beta = {}));\n//# sourceMappingURL=v1beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.appsactivity_v1.Appsactivity,\n};\nfunction appsactivity(versionOrOptions) {\n return googleapis_common_1.getAPI('appsactivity', versionOrOptions, exports.VERSIONS, this);\n}\nexports.appsactivity = appsactivity;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar appsactivity_v1;\n(function (appsactivity_v1) {\n /**\n * Drive Activity API\n *\n * Provides a historical view of activity.\n *\n * @example\n * const {google} = require('googleapis');\n * const appsactivity = google.appsactivity('v1');\n *\n * @namespace appsactivity\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Appsactivity\n */\n class Appsactivity {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.activities = new Resource$Activities(this.context);\n }\n }\n appsactivity_v1.Appsactivity = Appsactivity;\n class Resource$Activities {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/appsactivity/v1/activities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n appsactivity_v1.Resource$Activities = Resource$Activities;\n})(appsactivity_v1 = exports.appsactivity_v1 || (exports.appsactivity_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.bigquery_v2.Bigquery,\n};\nfunction bigquery(versionOrOptions) {\n return googleapis_common_1.getAPI('bigquery', versionOrOptions, exports.VERSIONS, this);\n}\nexports.bigquery = bigquery;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigquery_v2;\n(function (bigquery_v2) {\n /**\n * BigQuery API\n *\n * A data platform for customers to create, manage, share and query data.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigquery = google.bigquery('v2');\n *\n * @namespace bigquery\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Bigquery\n */\n class Bigquery {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.datasets = new Resource$Datasets(this.context);\n this.jobs = new Resource$Jobs(this.context);\n this.models = new Resource$Models(this.context);\n this.projects = new Resource$Projects(this.context);\n this.routines = new Resource$Routines(this.context);\n this.tabledata = new Resource$Tabledata(this.context);\n this.tables = new Resource$Tables(this.context);\n }\n }\n bigquery_v2.Bigquery = Bigquery;\n class Resource$Datasets {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Datasets = Resource$Datasets;\n class Resource$Jobs {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs/{jobId}/cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getQueryResults(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/queries/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/bigquery/v2/projects/{projectId}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/queries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Jobs = Resource$Jobs;\n class Resource$Models {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'modelId'],\n pathParams: ['datasetId', 'modelId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'modelId'],\n pathParams: ['datasetId', 'modelId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/models/{+modelId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'modelId'],\n pathParams: ['datasetId', 'modelId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Models = Resource$Models;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n getServiceAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects/{projectId}/serviceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/bigquery/v2/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Projects = Resource$Projects;\n class Resource$Routines {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'routineId'],\n pathParams: ['datasetId', 'projectId', 'routineId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'routineId'],\n pathParams: ['datasetId', 'projectId', 'routineId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{+projectId}/datasets/{+datasetId}/routines/{+routineId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'routineId'],\n pathParams: ['datasetId', 'projectId', 'routineId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Routines = Resource$Routines;\n class Resource$Tabledata {\n constructor(context) {\n this.context = context;\n }\n insertAll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/insertAll').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'tableId'],\n pathParams: ['datasetId', 'projectId', 'tableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}/data').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'tableId'],\n pathParams: ['datasetId', 'projectId', 'tableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Tabledata = Resource$Tabledata;\n class Resource$Tables {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'tableId'],\n pathParams: ['datasetId', 'projectId', 'tableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'tableId'],\n pathParams: ['datasetId', 'projectId', 'tableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId'],\n pathParams: ['datasetId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'tableId'],\n pathParams: ['datasetId', 'projectId', 'tableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquery.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/bigquery/v2/projects/{projectId}/datasets/{datasetId}/tables/{tableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'datasetId', 'tableId'],\n pathParams: ['datasetId', 'projectId', 'tableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquery_v2.Resource$Tables = Resource$Tables;\n})(bigquery_v2 = exports.bigquery_v2 || (exports.bigquery_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.bigqueryconnection_v1beta1.Bigqueryconnection,\n};\nfunction bigqueryconnection(versionOrOptions) {\n return googleapis_common_1.getAPI('bigqueryconnection', versionOrOptions, exports.VERSIONS, this);\n}\nexports.bigqueryconnection = bigqueryconnection;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigqueryconnection_v1beta1;\n(function (bigqueryconnection_v1beta1) {\n /**\n * BigQuery Connection API\n *\n * Allows users to manage BigQuery connections to external data sources.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigqueryconnection = google.bigqueryconnection('v1beta1');\n *\n * @namespace bigqueryconnection\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Bigqueryconnection\n */\n class Bigqueryconnection {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n bigqueryconnection_v1beta1.Bigqueryconnection = Bigqueryconnection;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n bigqueryconnection_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.connections = new Resource$Projects$Locations$Connections(this.context);\n }\n }\n bigqueryconnection_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Connections {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateCredential(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryconnection.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryconnection_v1beta1.Resource$Projects$Locations$Connections = Resource$Projects$Locations$Connections;\n})(bigqueryconnection_v1beta1 = exports.bigqueryconnection_v1beta1 || (exports.bigqueryconnection_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.bigquerydatatransfer_v1.Bigquerydatatransfer,\n};\nfunction bigquerydatatransfer(versionOrOptions) {\n return googleapis_common_1.getAPI('bigquerydatatransfer', versionOrOptions, exports.VERSIONS, this);\n}\nexports.bigquerydatatransfer = bigquerydatatransfer;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigquerydatatransfer_v1;\n(function (bigquerydatatransfer_v1) {\n /**\n * BigQuery Data Transfer API\n *\n * Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigquerydatatransfer = google.bigquerydatatransfer('v1');\n *\n * @namespace bigquerydatatransfer\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Bigquerydatatransfer\n */\n class Bigquerydatatransfer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n bigquerydatatransfer_v1.Bigquerydatatransfer = Bigquerydatatransfer;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.dataSources = new Resource$Projects$Datasources(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.transferConfigs = new Resource$Projects$Transferconfigs(this.context);\n }\n }\n bigquerydatatransfer_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Datasources {\n constructor(context) {\n this.context = context;\n }\n checkValidCreds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:checkValidCreds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/dataSources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Datasources = Resource$Projects$Datasources;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.dataSources = new Resource$Projects$Locations$Datasources(this.context);\n this.transferConfigs = new Resource$Projects$Locations$Transferconfigs(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Datasources {\n constructor(context) {\n this.context = context;\n }\n checkValidCreds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:checkValidCreds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/dataSources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Locations$Datasources = Resource$Projects$Locations$Datasources;\n class Resource$Projects$Locations$Transferconfigs {\n constructor(context) {\n this.context = context;\n this.runs = new Resource$Projects$Locations$Transferconfigs$Runs(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n scheduleRuns(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:scheduleRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startManualRuns(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:startManualRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Locations$Transferconfigs = Resource$Projects$Locations$Transferconfigs;\n class Resource$Projects$Locations$Transferconfigs$Runs {\n constructor(context) {\n this.context = context;\n this.transferLogs = new Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/runs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Locations$Transferconfigs$Runs = Resource$Projects$Locations$Transferconfigs$Runs;\n class Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/transferLogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs = Resource$Projects$Locations$Transferconfigs$Runs$Transferlogs;\n class Resource$Projects$Transferconfigs {\n constructor(context) {\n this.context = context;\n this.runs = new Resource$Projects$Transferconfigs$Runs(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/transferConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n scheduleRuns(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:scheduleRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startManualRuns(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:startManualRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Transferconfigs = Resource$Projects$Transferconfigs;\n class Resource$Projects$Transferconfigs$Runs {\n constructor(context) {\n this.context = context;\n this.transferLogs = new Resource$Projects$Transferconfigs$Runs$Transferlogs(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/runs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Transferconfigs$Runs = Resource$Projects$Transferconfigs$Runs;\n class Resource$Projects$Transferconfigs$Runs$Transferlogs {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigquerydatatransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/transferLogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigquerydatatransfer_v1.Resource$Projects$Transferconfigs$Runs$Transferlogs = Resource$Projects$Transferconfigs$Runs$Transferlogs;\n})(bigquerydatatransfer_v1 = exports.bigquerydatatransfer_v1 || (exports.bigquerydatatransfer_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha2_1 = require(\"./v1alpha2\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.bigqueryreservation_v1.Bigqueryreservation,\n v1alpha2: v1alpha2_1.bigqueryreservation_v1alpha2.Bigqueryreservation,\n v1beta1: v1beta1_1.bigqueryreservation_v1beta1.Bigqueryreservation,\n};\nfunction bigqueryreservation(versionOrOptions) {\n return googleapis_common_1.getAPI('bigqueryreservation', versionOrOptions, exports.VERSIONS, this);\n}\nexports.bigqueryreservation = bigqueryreservation;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigqueryreservation_v1;\n(function (bigqueryreservation_v1) {\n /**\n * BigQuery Reservation API\n *\n * A service to modify your BigQuery flat-rate reservations.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigqueryreservation = google.bigqueryreservation('v1');\n *\n * @namespace bigqueryreservation\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Bigqueryreservation\n */\n class Bigqueryreservation {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n }\n }\n bigqueryreservation_v1.Bigqueryreservation = Bigqueryreservation;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1.Resource$Operations = Resource$Operations;\n})(bigqueryreservation_v1 = exports.bigqueryreservation_v1 || (exports.bigqueryreservation_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigqueryreservation_v1alpha2;\n(function (bigqueryreservation_v1alpha2) {\n /**\n * BigQuery Reservation API\n *\n * A service to modify your BigQuery flat-rate reservations.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigqueryreservation = google.bigqueryreservation('v1alpha2');\n *\n * @namespace bigqueryreservation\n * @type {Function}\n * @version v1alpha2\n * @variation v1alpha2\n * @param {object=} options Options for Bigqueryreservation\n */\n class Bigqueryreservation {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n bigqueryreservation_v1alpha2.Bigqueryreservation = Bigqueryreservation;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n bigqueryreservation_v1alpha2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n this.reservationGrants = new Resource$Projects$Locations$Reservationgrants(this.context);\n this.reservations = new Resource$Projects$Locations$Reservations(this.context);\n }\n searchReservationGrants(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}:SearchReservationGrants').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1alpha2.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1alpha2.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Locations$Reservationgrants {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}/reservationGrants').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}/reservationGrants').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1alpha2.Resource$Projects$Locations$Reservationgrants = Resource$Projects$Locations$Reservationgrants;\n class Resource$Projects$Locations$Reservations {\n constructor(context) {\n this.context = context;\n this.slotPools = new Resource$Projects$Locations$Reservations$Slotpools(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createReservation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1alpha2.Resource$Projects$Locations$Reservations = Resource$Projects$Locations$Reservations;\n class Resource$Projects$Locations$Reservations$Slotpools {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+parent}/slotPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1alpha2.Resource$Projects$Locations$Reservations$Slotpools = Resource$Projects$Locations$Reservations$Slotpools;\n})(bigqueryreservation_v1alpha2 = exports.bigqueryreservation_v1alpha2 || (exports.bigqueryreservation_v1alpha2 = {}));\n//# sourceMappingURL=v1alpha2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigqueryreservation_v1beta1;\n(function (bigqueryreservation_v1beta1) {\n /**\n * BigQuery Reservation API\n *\n * A service to modify your BigQuery flat-rate reservations.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigqueryreservation = google.bigqueryreservation('v1beta1');\n *\n * @namespace bigqueryreservation\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Bigqueryreservation\n */\n class Bigqueryreservation {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n bigqueryreservation_v1beta1.Bigqueryreservation = Bigqueryreservation;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n bigqueryreservation_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.capacityCommitments = new Resource$Projects$Locations$Capacitycommitments(this.context);\n this.reservations = new Resource$Projects$Locations$Reservations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getBiReservation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchAssignments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:searchAssignments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateBiReservation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Capacitycommitments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/capacityCommitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/capacityCommitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1beta1.Resource$Projects$Locations$Capacitycommitments = Resource$Projects$Locations$Capacitycommitments;\n class Resource$Projects$Locations$Reservations {\n constructor(context) {\n this.context = context;\n this.assignments = new Resource$Projects$Locations$Reservations$Assignments(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1beta1.Resource$Projects$Locations$Reservations = Resource$Projects$Locations$Reservations;\n class Resource$Projects$Locations$Reservations$Assignments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/assignments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/assignments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigqueryreservation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigqueryreservation_v1beta1.Resource$Projects$Locations$Reservations$Assignments = Resource$Projects$Locations$Reservations$Assignments;\n})(bigqueryreservation_v1beta1 = exports.bigqueryreservation_v1beta1 || (exports.bigqueryreservation_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v1: v1_1.bigtableadmin_v1.Bigtableadmin,\n v2: v2_1.bigtableadmin_v2.Bigtableadmin,\n};\nfunction bigtableadmin(versionOrOptions) {\n return googleapis_common_1.getAPI('bigtableadmin', versionOrOptions, exports.VERSIONS, this);\n}\nexports.bigtableadmin = bigtableadmin;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigtableadmin_v1;\n(function (bigtableadmin_v1) {\n /**\n * Cloud Bigtable Admin API\n *\n * Administer your Cloud Bigtable tables and instances.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigtableadmin = google.bigtableadmin('v1');\n *\n * @namespace bigtableadmin\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Bigtableadmin\n */\n class Bigtableadmin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n }\n }\n bigtableadmin_v1.Bigtableadmin = Bigtableadmin;\n})(bigtableadmin_v1 = exports.bigtableadmin_v1 || (exports.bigtableadmin_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar bigtableadmin_v2;\n(function (bigtableadmin_v2) {\n /**\n * Cloud Bigtable Admin API\n *\n * Administer your Cloud Bigtable tables and instances.\n *\n * @example\n * const {google} = require('googleapis');\n * const bigtableadmin = google.bigtableadmin('v2');\n *\n * @namespace bigtableadmin\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Bigtableadmin\n */\n class Bigtableadmin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n bigtableadmin_v2.Bigtableadmin = Bigtableadmin;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Operations$Projects(this.context);\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Operations = Resource$Operations;\n class Resource$Operations$Projects {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Operations$Projects$Operations(this.context);\n }\n }\n bigtableadmin_v2.Resource$Operations$Projects = Resource$Operations$Projects;\n class Resource$Operations$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Operations$Projects$Operations = Resource$Operations$Projects$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Instances(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n bigtableadmin_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Instances {\n constructor(context) {\n this.context = context;\n this.appProfiles = new Resource$Projects$Instances$Appprofiles(this.context);\n this.clusters = new Resource$Projects$Instances$Clusters(this.context);\n this.tables = new Resource$Projects$Instances$Tables(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n partialUpdateInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Projects$Instances = Resource$Projects$Instances;\n class Resource$Projects$Instances$Appprofiles {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/appProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/appProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Projects$Instances$Appprofiles = Resource$Projects$Instances$Appprofiles;\n class Resource$Projects$Instances$Clusters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Projects$Instances$Clusters = Resource$Projects$Instances$Clusters;\n class Resource$Projects$Instances$Tables {\n constructor(context) {\n this.context = context;\n }\n checkConsistency(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:checkConsistency').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/tables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dropRowRange(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:dropRowRange').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateConsistencyToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:generateConsistencyToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/tables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyColumnFamilies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:modifyColumnFamilies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Projects$Instances$Tables = Resource$Projects$Instances$Tables;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://bigtableadmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n bigtableadmin_v2.Resource$Projects$Locations = Resource$Projects$Locations;\n})(bigtableadmin_v2 = exports.bigtableadmin_v2 || (exports.bigtableadmin_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.billingbudgets_v1beta1.Billingbudgets,\n};\nfunction billingbudgets(versionOrOptions) {\n return googleapis_common_1.getAPI('billingbudgets', versionOrOptions, exports.VERSIONS, this);\n}\nexports.billingbudgets = billingbudgets;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar billingbudgets_v1beta1;\n(function (billingbudgets_v1beta1) {\n /**\n * Cloud Billing Budget API\n *\n * The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.\n *\n * @example\n * const {google} = require('googleapis');\n * const billingbudgets = google.billingbudgets('v1beta1');\n *\n * @namespace billingbudgets\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Billingbudgets\n */\n class Billingbudgets {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.billingAccounts = new Resource$Billingaccounts(this.context);\n }\n }\n billingbudgets_v1beta1.Billingbudgets = Billingbudgets;\n class Resource$Billingaccounts {\n constructor(context) {\n this.context = context;\n this.budgets = new Resource$Billingaccounts$Budgets(this.context);\n }\n }\n billingbudgets_v1beta1.Resource$Billingaccounts = Resource$Billingaccounts;\n class Resource$Billingaccounts$Budgets {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/budgets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/budgets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://billingbudgets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n billingbudgets_v1beta1.Resource$Billingaccounts$Budgets = Resource$Billingaccounts$Budgets;\n})(billingbudgets_v1beta1 = exports.billingbudgets_v1beta1 || (exports.billingbudgets_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.binaryauthorization_v1.Binaryauthorization,\n v1beta1: v1beta1_1.binaryauthorization_v1beta1.Binaryauthorization,\n};\nfunction binaryauthorization(versionOrOptions) {\n return googleapis_common_1.getAPI('binaryauthorization', versionOrOptions, exports.VERSIONS, this);\n}\nexports.binaryauthorization = binaryauthorization;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar binaryauthorization_v1;\n(function (binaryauthorization_v1) {\n /**\n * Binary Authorization API\n *\n * The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters.\n *\n * @example\n * const {google} = require('googleapis');\n * const binaryauthorization = google.binaryauthorization('v1');\n *\n * @namespace binaryauthorization\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Binaryauthorization\n */\n class Binaryauthorization {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n binaryauthorization_v1.Binaryauthorization = Binaryauthorization;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.attestors = new Resource$Projects$Attestors(this.context);\n this.policy = new Resource$Projects$Policy(this.context);\n }\n getPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n binaryauthorization_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Attestors {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/attestors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/attestors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n binaryauthorization_v1.Resource$Projects$Attestors = Resource$Projects$Attestors;\n class Resource$Projects$Policy {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n binaryauthorization_v1.Resource$Projects$Policy = Resource$Projects$Policy;\n})(binaryauthorization_v1 = exports.binaryauthorization_v1 || (exports.binaryauthorization_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar binaryauthorization_v1beta1;\n(function (binaryauthorization_v1beta1) {\n /**\n * Binary Authorization API\n *\n * The management interface for Binary Authorization, a system providing policy control for images deployed to Kubernetes Engine clusters.\n *\n * @example\n * const {google} = require('googleapis');\n * const binaryauthorization = google.binaryauthorization('v1beta1');\n *\n * @namespace binaryauthorization\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Binaryauthorization\n */\n class Binaryauthorization {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n binaryauthorization_v1beta1.Binaryauthorization = Binaryauthorization;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.attestors = new Resource$Projects$Attestors(this.context);\n this.policy = new Resource$Projects$Policy(this.context);\n }\n getPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n binaryauthorization_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Attestors {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/attestors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/attestors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n binaryauthorization_v1beta1.Resource$Projects$Attestors = Resource$Projects$Attestors;\n class Resource$Projects$Policy {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://binaryauthorization.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n binaryauthorization_v1beta1.Resource$Projects$Policy = Resource$Projects$Policy;\n})(binaryauthorization_v1beta1 = exports.binaryauthorization_v1beta1 || (exports.binaryauthorization_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v2: v2_1.blogger_v2.Blogger,\n v3: v3_1.blogger_v3.Blogger,\n};\nfunction blogger(versionOrOptions) {\n return googleapis_common_1.getAPI('blogger', versionOrOptions, exports.VERSIONS, this);\n}\nexports.blogger = blogger;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar blogger_v2;\n(function (blogger_v2) {\n /**\n * Blogger API\n *\n * API for access to the data within Blogger.\n *\n * @example\n * const {google} = require('googleapis');\n * const blogger = google.blogger('v2');\n *\n * @namespace blogger\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Blogger\n */\n class Blogger {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.blogs = new Resource$Blogs(this.context);\n this.comments = new Resource$Comments(this.context);\n this.pages = new Resource$Pages(this.context);\n this.posts = new Resource$Posts(this.context);\n this.users = new Resource$Users(this.context);\n }\n }\n blogger_v2.Blogger = Blogger;\n class Resource$Blogs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/blogs/{blogId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v2.Resource$Blogs = Resource$Blogs;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v2/blogs/{blogId}/posts/{postId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'postId', 'commentId'],\n pathParams: ['blogId', 'commentId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/blogs/{blogId}/posts/{postId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v2.Resource$Comments = Resource$Comments;\n class Resource$Pages {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/blogs/{blogId}/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/blogs/{blogId}/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v2.Resource$Pages = Resource$Pages;\n class Resource$Posts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/blogs/{blogId}/posts/{postId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/blogs/{blogId}/posts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v2.Resource$Posts = Resource$Posts;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.blogs = new Resource$Users$Blogs(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v2.Resource$Users = Resource$Users;\n class Resource$Users$Blogs {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v2/users/{userId}/blogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v2.Resource$Users$Blogs = Resource$Users$Blogs;\n})(blogger_v2 = exports.blogger_v2 || (exports.blogger_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar blogger_v3;\n(function (blogger_v3) {\n /**\n * Blogger API\n *\n * API for access to the data within Blogger.\n *\n * @example\n * const {google} = require('googleapis');\n * const blogger = google.blogger('v3');\n *\n * @namespace blogger\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Blogger\n */\n class Blogger {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.blogs = new Resource$Blogs(this.context);\n this.blogUserInfos = new Resource$Bloguserinfos(this.context);\n this.comments = new Resource$Comments(this.context);\n this.pages = new Resource$Pages(this.context);\n this.pageViews = new Resource$Pageviews(this.context);\n this.posts = new Resource$Posts(this.context);\n this.postUserInfos = new Resource$Postuserinfos(this.context);\n this.users = new Resource$Users(this.context);\n }\n }\n blogger_v3.Blogger = Blogger;\n class Resource$Blogs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getByUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/byurl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['url'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listByUser(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/users/{userId}/blogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Blogs = Resource$Blogs;\n class Resource$Bloguserinfos {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/users/{userId}/blogs/{blogId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'blogId'],\n pathParams: ['blogId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Bloguserinfos = Resource$Bloguserinfos;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n approve(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/approve').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'postId', 'commentId'],\n pathParams: ['blogId', 'commentId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['blogId', 'postId', 'commentId'],\n pathParams: ['blogId', 'commentId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'postId', 'commentId'],\n pathParams: ['blogId', 'commentId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listByBlog(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n markAsSpam(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/spam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'postId', 'commentId'],\n pathParams: ['blogId', 'commentId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeContent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v3/blogs/{blogId}/posts/{postId}/comments/{commentId}/removecontent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'postId', 'commentId'],\n pathParams: ['blogId', 'commentId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Comments = Resource$Comments;\n class Resource$Pages {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}/publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}/revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pages/{pageId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['blogId', 'pageId'],\n pathParams: ['blogId', 'pageId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Pages = Resource$Pages;\n class Resource$Pageviews {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/pageviews').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Pageviews = Resource$Pageviews;\n class Resource$Posts {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getByPath(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/bypath').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'path'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}/publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}/revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['blogId', 'q'],\n pathParams: ['blogId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/blogs/{blogId}/posts/{postId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['blogId', 'postId'],\n pathParams: ['blogId', 'postId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Posts = Resource$Posts;\n class Resource$Postuserinfos {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/blogger/v3/users/{userId}/blogs/{blogId}/posts/{postId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'blogId', 'postId'],\n pathParams: ['blogId', 'postId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/users/{userId}/blogs/{blogId}/posts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'blogId'],\n pathParams: ['blogId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Postuserinfos = Resource$Postuserinfos;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/blogger/v3/users/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n blogger_v3.Resource$Users = Resource$Users;\n})(blogger_v3 = exports.blogger_v3 || (exports.blogger_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.books_v1.Books,\n};\nfunction books(versionOrOptions) {\n return googleapis_common_1.getAPI('books', versionOrOptions, exports.VERSIONS, this);\n}\nexports.books = books;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar books_v1;\n(function (books_v1) {\n /**\n * Books API\n *\n * Searches for books and manages your Google Books library.\n *\n * @example\n * const {google} = require('googleapis');\n * const books = google.books('v1');\n *\n * @namespace books\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Books\n */\n class Books {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.bookshelves = new Resource$Bookshelves(this.context);\n this.cloudloading = new Resource$Cloudloading(this.context);\n this.dictionary = new Resource$Dictionary(this.context);\n this.familysharing = new Resource$Familysharing(this.context);\n this.layers = new Resource$Layers(this.context);\n this.myconfig = new Resource$Myconfig(this.context);\n this.mylibrary = new Resource$Mylibrary(this.context);\n this.notification = new Resource$Notification(this.context);\n this.onboarding = new Resource$Onboarding(this.context);\n this.personalizedstream = new Resource$Personalizedstream(this.context);\n this.promooffer = new Resource$Promooffer(this.context);\n this.series = new Resource$Series(this.context);\n this.volumes = new Resource$Volumes(this.context);\n }\n }\n books_v1.Books = Books;\n class Resource$Bookshelves {\n constructor(context) {\n this.context = context;\n this.volumes = new Resource$Bookshelves$Volumes(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/users/{userId}/bookshelves/{shelf}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'shelf'],\n pathParams: ['shelf', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/users/{userId}/bookshelves').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Bookshelves = Resource$Bookshelves;\n class Resource$Bookshelves$Volumes {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/users/{userId}/bookshelves/{shelf}/volumes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'shelf'],\n pathParams: ['shelf', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Bookshelves$Volumes = Resource$Bookshelves$Volumes;\n class Resource$Cloudloading {\n constructor(context) {\n this.context = context;\n }\n addBook(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/cloudloading/addBook').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteBook(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/cloudloading/deleteBook').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['volumeId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateBook(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/cloudloading/updateBook').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Cloudloading = Resource$Cloudloading;\n class Resource$Dictionary {\n constructor(context) {\n this.context = context;\n }\n listOfflineMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/dictionary/listOfflineMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['cpksver'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Dictionary = Resource$Dictionary;\n class Resource$Familysharing {\n constructor(context) {\n this.context = context;\n }\n getFamilyInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/familysharing/getFamilyInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n share(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/familysharing/share').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unshare(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/familysharing/unshare').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Familysharing = Resource$Familysharing;\n class Resource$Layers {\n constructor(context) {\n this.context = context;\n this.annotationData = new Resource$Layers$Annotationdata(this.context);\n this.volumeAnnotations = new Resource$Layers$Volumeannotations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/{volumeId}/layersummary/{summaryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId', 'summaryId'],\n pathParams: ['summaryId', 'volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/{volumeId}/layersummary').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId'],\n pathParams: ['volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Layers = Resource$Layers;\n class Resource$Layers$Annotationdata {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/books/v1/volumes/{volumeId}/layers/{layerId}/data/{annotationDataId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'volumeId',\n 'layerId',\n 'annotationDataId',\n 'contentVersion',\n ],\n pathParams: ['annotationDataId', 'layerId', 'volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/{volumeId}/layers/{layerId}/data').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId', 'layerId', 'contentVersion'],\n pathParams: ['layerId', 'volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Layers$Annotationdata = Resource$Layers$Annotationdata;\n class Resource$Layers$Volumeannotations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/books/v1/volumes/{volumeId}/layers/{layerId}/annotations/{annotationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId', 'layerId', 'annotationId'],\n pathParams: ['annotationId', 'layerId', 'volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/{volumeId}/layers/{layerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId', 'layerId', 'contentVersion'],\n pathParams: ['layerId', 'volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Layers$Volumeannotations = Resource$Layers$Volumeannotations;\n class Resource$Myconfig {\n constructor(context) {\n this.context = context;\n }\n getUserSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/myconfig/getUserSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n releaseDownloadAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/myconfig/releaseDownloadAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['volumeIds', 'cpksver'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n requestAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/myconfig/requestAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['source', 'volumeId', 'nonce', 'cpksver'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n syncVolumeLicenses(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/myconfig/syncVolumeLicenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['source', 'nonce', 'cpksver'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateUserSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/myconfig/updateUserSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Myconfig = Resource$Myconfig;\n class Resource$Mylibrary {\n constructor(context) {\n this.context = context;\n this.annotations = new Resource$Mylibrary$Annotations(this.context);\n this.bookshelves = new Resource$Mylibrary$Bookshelves(this.context);\n this.readingpositions = new Resource$Mylibrary$Readingpositions(this.context);\n }\n }\n books_v1.Resource$Mylibrary = Resource$Mylibrary;\n class Resource$Mylibrary$Annotations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/annotations/{annotationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['annotationId'],\n pathParams: ['annotationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/annotations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/annotations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n summary(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/annotations/summary').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['layerIds', 'volumeId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/annotations/{annotationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['annotationId'],\n pathParams: ['annotationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Mylibrary$Annotations = Resource$Mylibrary$Annotations;\n class Resource$Mylibrary$Bookshelves {\n constructor(context) {\n this.context = context;\n this.volumes = new Resource$Mylibrary$Bookshelves$Volumes(this.context);\n }\n addVolume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/addVolume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['shelf', 'volumeId'],\n pathParams: ['shelf'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n clearVolumes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/clearVolumes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['shelf'],\n pathParams: ['shelf'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['shelf'],\n pathParams: ['shelf'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveVolume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/moveVolume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['shelf', 'volumeId', 'volumePosition'],\n pathParams: ['shelf'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeVolume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/removeVolume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['shelf', 'volumeId'],\n pathParams: ['shelf'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Mylibrary$Bookshelves = Resource$Mylibrary$Bookshelves;\n class Resource$Mylibrary$Bookshelves$Volumes {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/bookshelves/{shelf}/volumes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['shelf'],\n pathParams: ['shelf'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Mylibrary$Bookshelves$Volumes = Resource$Mylibrary$Bookshelves$Volumes;\n class Resource$Mylibrary$Readingpositions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/mylibrary/readingpositions/{volumeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId'],\n pathParams: ['volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setPosition(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/books/v1/mylibrary/readingpositions/{volumeId}/setPosition').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['volumeId', 'timestamp', 'position'],\n pathParams: ['volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Mylibrary$Readingpositions = Resource$Mylibrary$Readingpositions;\n class Resource$Notification {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/notification/get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['notification_id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Notification = Resource$Notification;\n class Resource$Onboarding {\n constructor(context) {\n this.context = context;\n }\n listCategories(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/onboarding/listCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listCategoryVolumes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/onboarding/listCategoryVolumes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Onboarding = Resource$Onboarding;\n class Resource$Personalizedstream {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/personalizedstream/get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Personalizedstream = Resource$Personalizedstream;\n class Resource$Promooffer {\n constructor(context) {\n this.context = context;\n }\n accept(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/promooffer/accept').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dismiss(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/promooffer/dismiss').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/promooffer/get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Promooffer = Resource$Promooffer;\n class Resource$Series {\n constructor(context) {\n this.context = context;\n this.membership = new Resource$Series$Membership(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/series/get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['series_id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Series = Resource$Series;\n class Resource$Series$Membership {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/series/membership/get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['series_id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Series$Membership = Resource$Series$Membership;\n class Resource$Volumes {\n constructor(context) {\n this.context = context;\n this.associated = new Resource$Volumes$Associated(this.context);\n this.mybooks = new Resource$Volumes$Mybooks(this.context);\n this.recommended = new Resource$Volumes$Recommended(this.context);\n this.useruploaded = new Resource$Volumes$Useruploaded(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/{volumeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId'],\n pathParams: ['volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['q'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Volumes = Resource$Volumes;\n class Resource$Volumes$Associated {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/{volumeId}/associated').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['volumeId'],\n pathParams: ['volumeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Volumes$Associated = Resource$Volumes$Associated;\n class Resource$Volumes$Mybooks {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/mybooks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Volumes$Mybooks = Resource$Volumes$Mybooks;\n class Resource$Volumes$Recommended {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/recommended').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/recommended/rate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['rating', 'volumeId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Volumes$Recommended = Resource$Volumes$Recommended;\n class Resource$Volumes$Useruploaded {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/books/v1/volumes/useruploaded').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n books_v1.Resource$Volumes$Useruploaded = Resource$Volumes$Useruploaded;\n})(books_v1 = exports.books_v1 || (exports.books_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v3: v3_1.calendar_v3.Calendar,\n};\nfunction calendar(versionOrOptions) {\n return googleapis_common_1.getAPI('calendar', versionOrOptions, exports.VERSIONS, this);\n}\nexports.calendar = calendar;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar calendar_v3;\n(function (calendar_v3) {\n /**\n * Calendar API\n *\n * Manipulates events and other calendar data.\n *\n * @example\n * const {google} = require('googleapis');\n * const calendar = google.calendar('v3');\n *\n * @namespace calendar\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Calendar\n */\n class Calendar {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.acl = new Resource$Acl(this.context);\n this.calendarList = new Resource$Calendarlist(this.context);\n this.calendars = new Resource$Calendars(this.context);\n this.channels = new Resource$Channels(this.context);\n this.colors = new Resource$Colors(this.context);\n this.events = new Resource$Events(this.context);\n this.freebusy = new Resource$Freebusy(this.context);\n this.settings = new Resource$Settings(this.context);\n }\n }\n calendar_v3.Calendar = Calendar;\n class Resource$Acl {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['calendarId', 'ruleId'],\n pathParams: ['calendarId', 'ruleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId', 'ruleId'],\n pathParams: ['calendarId', 'ruleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['calendarId', 'ruleId'],\n pathParams: ['calendarId', 'ruleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/{ruleId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['calendarId', 'ruleId'],\n pathParams: ['calendarId', 'ruleId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/acl/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Acl = Resource$Acl;\n class Resource$Calendarlist {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/calendarList/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Calendarlist = Resource$Calendarlist;\n class Resource$Calendars {\n constructor(context) {\n this.context = context;\n }\n clear(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/clear').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Calendars = Resource$Calendars;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Channels = Resource$Channels;\n class Resource$Colors {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/colors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Colors = Resource$Colors;\n class Resource$Events {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['calendarId', 'eventId'],\n pathParams: ['calendarId', 'eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId', 'eventId'],\n pathParams: ['calendarId', 'eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/calendar/v3/calendars/{calendarId}/events/{eventId}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId', 'eventId'],\n pathParams: ['calendarId', 'eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/calendar/v3/calendars/{calendarId}/events/{eventId}/move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId', 'eventId', 'destination'],\n pathParams: ['calendarId', 'eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['calendarId', 'eventId'],\n pathParams: ['calendarId', 'eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n quickAdd(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/quickAdd').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId', 'text'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/{eventId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['calendarId', 'eventId'],\n pathParams: ['calendarId', 'eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/calendars/{calendarId}/events/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['calendarId'],\n pathParams: ['calendarId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Events = Resource$Events;\n class Resource$Freebusy {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/freeBusy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Freebusy = Resource$Freebusy;\n class Resource$Settings {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/settings/{setting}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['setting'],\n pathParams: ['setting'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/settings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/calendar/v3/users/me/settings/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n calendar_v3.Resource$Settings = Resource$Settings;\n})(calendar_v3 = exports.calendar_v3 || (exports.calendar_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.chat_v1.Chat,\n};\nfunction chat(versionOrOptions) {\n return googleapis_common_1.getAPI('chat', versionOrOptions, exports.VERSIONS, this);\n}\nexports.chat = chat;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar chat_v1;\n(function (chat_v1) {\n /**\n * Hangouts Chat API\n *\n * Enables bots to fetch information and perform actions in Hangouts Chat.\n *\n * @example\n * const {google} = require('googleapis');\n * const chat = google.chat('v1');\n *\n * @namespace chat\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Chat\n */\n class Chat {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.spaces = new Resource$Spaces(this.context);\n }\n }\n chat_v1.Chat = Chat;\n class Resource$Spaces {\n constructor(context) {\n this.context = context;\n this.members = new Resource$Spaces$Members(this.context);\n this.messages = new Resource$Spaces$Messages(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/spaces').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n chat_v1.Resource$Spaces = Resource$Spaces;\n class Resource$Spaces$Members {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/members').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n chat_v1.Resource$Spaces$Members = Resource$Spaces$Members;\n class Resource$Spaces$Messages {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://chat.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n chat_v1.Resource$Spaces$Messages = Resource$Spaces$Messages;\n})(chat_v1 = exports.chat_v1 || (exports.chat_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.civicinfo_v2.Civicinfo,\n};\nfunction civicinfo(versionOrOptions) {\n return googleapis_common_1.getAPI('civicinfo', versionOrOptions, exports.VERSIONS, this);\n}\nexports.civicinfo = civicinfo;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar civicinfo_v2;\n(function (civicinfo_v2) {\n /**\n * Google Civic Information API\n *\n * Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses.\n *\n * @example\n * const {google} = require('googleapis');\n * const civicinfo = google.civicinfo('v2');\n *\n * @namespace civicinfo\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Civicinfo\n */\n class Civicinfo {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.divisions = new Resource$Divisions(this.context);\n this.elections = new Resource$Elections(this.context);\n this.representatives = new Resource$Representatives(this.context);\n }\n }\n civicinfo_v2.Civicinfo = Civicinfo;\n class Resource$Divisions {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/civicinfo/v2/divisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n civicinfo_v2.Resource$Divisions = Resource$Divisions;\n class Resource$Elections {\n constructor(context) {\n this.context = context;\n }\n electionQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/civicinfo/v2/elections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n voterInfoQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/civicinfo/v2/voterinfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['address'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n civicinfo_v2.Resource$Elections = Resource$Elections;\n class Resource$Representatives {\n constructor(context) {\n this.context = context;\n }\n representativeInfoByAddress(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/civicinfo/v2/representatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n representativeInfoByDivision(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/civicinfo/v2/representatives/{ocdId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ocdId'],\n pathParams: ['ocdId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n civicinfo_v2.Resource$Representatives = Resource$Representatives;\n})(civicinfo_v2 = exports.civicinfo_v2 || (exports.civicinfo_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.classroom_v1.Classroom,\n};\nfunction classroom(versionOrOptions) {\n return googleapis_common_1.getAPI('classroom', versionOrOptions, exports.VERSIONS, this);\n}\nexports.classroom = classroom;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar classroom_v1;\n(function (classroom_v1) {\n /**\n * Google Classroom API\n *\n * Manages classes, rosters, and invitations in Google Classroom.\n *\n * @example\n * const {google} = require('googleapis');\n * const classroom = google.classroom('v1');\n *\n * @namespace classroom\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Classroom\n */\n class Classroom {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.courses = new Resource$Courses(this.context);\n this.invitations = new Resource$Invitations(this.context);\n this.registrations = new Resource$Registrations(this.context);\n this.userProfiles = new Resource$Userprofiles(this.context);\n }\n }\n classroom_v1.Classroom = Classroom;\n class Resource$Courses {\n constructor(context) {\n this.context = context;\n this.aliases = new Resource$Courses$Aliases(this.context);\n this.announcements = new Resource$Courses$Announcements(this.context);\n this.courseWork = new Resource$Courses$Coursework(this.context);\n this.students = new Resource$Courses$Students(this.context);\n this.teachers = new Resource$Courses$Teachers(this.context);\n this.topics = new Resource$Courses$Topics(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses = Resource$Courses;\n class Resource$Courses$Aliases {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/aliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/aliases/{alias}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['courseId', 'alias'],\n pathParams: ['alias', 'courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/aliases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Aliases = Resource$Courses$Aliases;\n class Resource$Courses$Announcements {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/announcements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/announcements/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/announcements/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/announcements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyAssignees(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/announcements/{id}:modifyAssignees').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/announcements/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Announcements = Resource$Courses$Announcements;\n class Resource$Courses$Coursework {\n constructor(context) {\n this.context = context;\n this.studentSubmissions = new Resource$Courses$Coursework$Studentsubmissions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/courseWork').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/courseWork').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyAssignees(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}:modifyAssignees').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/courseWork/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Coursework = Resource$Courses$Coursework;\n class Resource$Courses$Coursework$Studentsubmissions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId', 'id'],\n pathParams: ['courseId', 'courseWorkId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId'],\n pathParams: ['courseId', 'courseWorkId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyAttachments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:modifyAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId', 'id'],\n pathParams: ['courseId', 'courseWorkId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId', 'id'],\n pathParams: ['courseId', 'courseWorkId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reclaim(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:reclaim').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId', 'id'],\n pathParams: ['courseId', 'courseWorkId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n return(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:return').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId', 'id'],\n pathParams: ['courseId', 'courseWorkId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n turnIn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/courses/{courseId}/courseWork/{courseWorkId}/studentSubmissions/{id}:turnIn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId', 'courseWorkId', 'id'],\n pathParams: ['courseId', 'courseWorkId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Coursework$Studentsubmissions = Resource$Courses$Coursework$Studentsubmissions;\n class Resource$Courses$Students {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/students').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/students/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['courseId', 'userId'],\n pathParams: ['courseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/students/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'userId'],\n pathParams: ['courseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/students').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Students = Resource$Courses$Students;\n class Resource$Courses$Teachers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/teachers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/teachers/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['courseId', 'userId'],\n pathParams: ['courseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/teachers/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'userId'],\n pathParams: ['courseId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/teachers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Teachers = Resource$Courses$Teachers;\n class Resource$Courses$Topics {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/topics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/topics/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/topics/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/topics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['courseId'],\n pathParams: ['courseId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/courses/{courseId}/topics/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['courseId', 'id'],\n pathParams: ['courseId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Courses$Topics = Resource$Courses$Topics;\n class Resource$Invitations {\n constructor(context) {\n this.context = context;\n }\n accept(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/invitations/{id}:accept').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/invitations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/invitations/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/invitations/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/invitations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Invitations = Resource$Invitations;\n class Resource$Registrations {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/registrations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/registrations/{registrationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['registrationId'],\n pathParams: ['registrationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Registrations = Resource$Registrations;\n class Resource$Userprofiles {\n constructor(context) {\n this.context = context;\n this.guardianInvitations = new Resource$Userprofiles$Guardianinvitations(this.context);\n this.guardians = new Resource$Userprofiles$Guardians(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/userProfiles/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Userprofiles = Resource$Userprofiles;\n class Resource$Userprofiles$Guardianinvitations {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/userProfiles/{studentId}/guardianInvitations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['studentId'],\n pathParams: ['studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['studentId', 'invitationId'],\n pathParams: ['invitationId', 'studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/userProfiles/{studentId}/guardianInvitations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['studentId'],\n pathParams: ['studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/userProfiles/{studentId}/guardianInvitations/{invitationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['studentId', 'invitationId'],\n pathParams: ['invitationId', 'studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Userprofiles$Guardianinvitations = Resource$Userprofiles$Guardianinvitations;\n class Resource$Userprofiles$Guardians {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/userProfiles/{studentId}/guardians/{guardianId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['studentId', 'guardianId'],\n pathParams: ['guardianId', 'studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/userProfiles/{studentId}/guardians/{guardianId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['studentId', 'guardianId'],\n pathParams: ['guardianId', 'studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://classroom.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/userProfiles/{studentId}/guardians').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['studentId'],\n pathParams: ['studentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n classroom_v1.Resource$Userprofiles$Guardians = Resource$Userprofiles$Guardians;\n})(classroom_v1 = exports.classroom_v1 || (exports.classroom_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.cloudasset_v1.Cloudasset,\n v1beta1: v1beta1_1.cloudasset_v1beta1.Cloudasset,\n};\nfunction cloudasset(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudasset', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudasset = cloudasset;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudasset_v1;\n(function (cloudasset_v1) {\n /**\n * Cloud Asset API\n *\n * The cloud asset API manages the history and inventory of cloud resources.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudasset = google.cloudasset('v1');\n *\n * @namespace cloudasset\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudasset\n */\n class Cloudasset {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.feeds = new Resource$Feeds(this.context);\n this.operations = new Resource$Operations(this.context);\n this.v1 = new Resource$V1(this.context);\n }\n }\n cloudasset_v1.Cloudasset = Cloudasset;\n class Resource$Feeds {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/feeds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/feeds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1.Resource$Feeds = Resource$Feeds;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1.Resource$Operations = Resource$Operations;\n class Resource$V1 {\n constructor(context) {\n this.context = context;\n }\n batchGetAssetsHistory(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:batchGetAssetsHistory').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n exportAssets(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:exportAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1.Resource$V1 = Resource$V1;\n})(cloudasset_v1 = exports.cloudasset_v1 || (exports.cloudasset_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudasset_v1beta1;\n(function (cloudasset_v1beta1) {\n /**\n * Cloud Asset API\n *\n * The cloud asset API manages the history and inventory of cloud resources.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudasset = google.cloudasset('v1beta1');\n *\n * @namespace cloudasset\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Cloudasset\n */\n class Cloudasset {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.folders = new Resource$Folders(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudasset_v1beta1.Cloudasset = Cloudasset;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Folders$Operations(this.context);\n }\n exportAssets(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:exportAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1beta1.Resource$Folders = Resource$Folders;\n class Resource$Folders$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1beta1.Resource$Folders$Operations = Resource$Folders$Operations;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Organizations$Operations(this.context);\n }\n batchGetAssetsHistory(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:batchGetAssetsHistory').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n exportAssets(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:exportAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1beta1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1beta1.Resource$Organizations$Operations = Resource$Organizations$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Operations(this.context);\n }\n batchGetAssetsHistory(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:batchGetAssetsHistory').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n exportAssets(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:exportAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudasset.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudasset_v1beta1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(cloudasset_v1beta1 = exports.cloudasset_v1beta1 || (exports.cloudasset_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.cloudbilling_v1.Cloudbilling,\n};\nfunction cloudbilling(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudbilling', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudbilling = cloudbilling;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudbilling_v1;\n(function (cloudbilling_v1) {\n /**\n * Cloud Billing API\n *\n * Allows developers to manage billing for their Google Cloud Platform projects programmatically.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudbilling = google.cloudbilling('v1');\n *\n * @namespace cloudbilling\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudbilling\n */\n class Cloudbilling {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.billingAccounts = new Resource$Billingaccounts(this.context);\n this.projects = new Resource$Projects(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n cloudbilling_v1.Cloudbilling = Cloudbilling;\n class Resource$Billingaccounts {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Billingaccounts$Projects(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/billingAccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/billingAccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbilling_v1.Resource$Billingaccounts = Resource$Billingaccounts;\n class Resource$Billingaccounts$Projects {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbilling_v1.Resource$Billingaccounts$Projects = Resource$Billingaccounts$Projects;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n getBillingInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/billingInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateBillingInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/billingInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbilling_v1.Resource$Projects = Resource$Projects;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n this.skus = new Resource$Services$Skus(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbilling_v1.Resource$Services = Resource$Services;\n class Resource$Services$Skus {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbilling.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/skus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbilling_v1.Resource$Services$Skus = Resource$Services$Skus;\n})(cloudbilling_v1 = exports.cloudbilling_v1 || (exports.cloudbilling_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1: v1_1.cloudbuild_v1.Cloudbuild,\n v1alpha1: v1alpha1_1.cloudbuild_v1alpha1.Cloudbuild,\n};\nfunction cloudbuild(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudbuild', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudbuild = cloudbuild;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudbuild_v1;\n(function (cloudbuild_v1) {\n /**\n * Cloud Build API\n *\n * Creates and manages builds on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudbuild = google.cloudbuild('v1');\n *\n * @namespace cloudbuild\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudbuild\n */\n class Cloudbuild {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudbuild_v1.Cloudbuild = Cloudbuild;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbuild_v1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.builds = new Resource$Projects$Builds(this.context);\n this.triggers = new Resource$Projects$Triggers(this.context);\n }\n }\n cloudbuild_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Builds {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/builds/{id}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'id'],\n pathParams: ['id', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/builds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/builds/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'id'],\n pathParams: ['id', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/builds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retry(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/builds/{id}:retry').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'id'],\n pathParams: ['id', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbuild_v1.Resource$Projects$Builds = Resource$Projects$Builds;\n class Resource$Projects$Triggers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'triggerId'],\n pathParams: ['projectId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'triggerId'],\n pathParams: ['projectId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'triggerId'],\n pathParams: ['projectId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/triggers/{triggerId}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'triggerId'],\n pathParams: ['projectId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbuild_v1.Resource$Projects$Triggers = Resource$Projects$Triggers;\n})(cloudbuild_v1 = exports.cloudbuild_v1 || (exports.cloudbuild_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudbuild_v1alpha1;\n(function (cloudbuild_v1alpha1) {\n /**\n * Cloud Build API\n *\n * Creates and manages builds on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudbuild = google.cloudbuild('v1alpha1');\n *\n * @namespace cloudbuild\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Cloudbuild\n */\n class Cloudbuild {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudbuild_v1alpha1.Cloudbuild = Cloudbuild;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.workerPools = new Resource$Projects$Workerpools(this.context);\n }\n }\n cloudbuild_v1alpha1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Workerpools {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/workerPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/workerPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudbuild.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudbuild_v1alpha1.Resource$Projects$Workerpools = Resource$Projects$Workerpools;\n})(cloudbuild_v1alpha1 = exports.cloudbuild_v1alpha1 || (exports.cloudbuild_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.clouddebugger_v2.Clouddebugger,\n};\nfunction clouddebugger(versionOrOptions) {\n return googleapis_common_1.getAPI('clouddebugger', versionOrOptions, exports.VERSIONS, this);\n}\nexports.clouddebugger = clouddebugger;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar clouddebugger_v2;\n(function (clouddebugger_v2) {\n /**\n * Stackdriver Debugger API\n *\n * Examines the call stack and variables of a running application without stopping or slowing it down.\n *\n * @example\n * const {google} = require('googleapis');\n * const clouddebugger = google.clouddebugger('v2');\n *\n * @namespace clouddebugger\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Clouddebugger\n */\n class Clouddebugger {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.controller = new Resource$Controller(this.context);\n this.debugger = new Resource$Debugger(this.context);\n }\n }\n clouddebugger_v2.Clouddebugger = Clouddebugger;\n class Resource$Controller {\n constructor(context) {\n this.context = context;\n this.debuggees = new Resource$Controller$Debuggees(this.context);\n }\n }\n clouddebugger_v2.Resource$Controller = Resource$Controller;\n class Resource$Controller$Debuggees {\n constructor(context) {\n this.context = context;\n this.breakpoints = new Resource$Controller$Debuggees$Breakpoints(this.context);\n }\n register(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/controller/debuggees/register').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouddebugger_v2.Resource$Controller$Debuggees = Resource$Controller$Debuggees;\n class Resource$Controller$Debuggees$Breakpoints {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/controller/debuggees/{debuggeeId}/breakpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['debuggeeId'],\n pathParams: ['debuggeeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/controller/debuggees/{debuggeeId}/breakpoints/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['debuggeeId', 'id'],\n pathParams: ['debuggeeId', 'id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouddebugger_v2.Resource$Controller$Debuggees$Breakpoints = Resource$Controller$Debuggees$Breakpoints;\n class Resource$Debugger {\n constructor(context) {\n this.context = context;\n this.debuggees = new Resource$Debugger$Debuggees(this.context);\n }\n }\n clouddebugger_v2.Resource$Debugger = Resource$Debugger;\n class Resource$Debugger$Debuggees {\n constructor(context) {\n this.context = context;\n this.breakpoints = new Resource$Debugger$Debuggees$Breakpoints(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/debugger/debuggees').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouddebugger_v2.Resource$Debugger$Debuggees = Resource$Debugger$Debuggees;\n class Resource$Debugger$Debuggees$Breakpoints {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['debuggeeId', 'breakpointId'],\n pathParams: ['breakpointId', 'debuggeeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/debugger/debuggees/{debuggeeId}/breakpoints/{breakpointId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['debuggeeId', 'breakpointId'],\n pathParams: ['breakpointId', 'debuggeeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/debugger/debuggees/{debuggeeId}/breakpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['debuggeeId'],\n pathParams: ['debuggeeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n set(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouddebugger.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/debugger/debuggees/{debuggeeId}/breakpoints/set').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['debuggeeId'],\n pathParams: ['debuggeeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouddebugger_v2.Resource$Debugger$Debuggees$Breakpoints = Resource$Debugger$Debuggees$Breakpoints;\n})(clouddebugger_v2 = exports.clouddebugger_v2 || (exports.clouddebugger_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.clouderrorreporting_v1beta1.Clouderrorreporting,\n};\nfunction clouderrorreporting(versionOrOptions) {\n return googleapis_common_1.getAPI('clouderrorreporting', versionOrOptions, exports.VERSIONS, this);\n}\nexports.clouderrorreporting = clouderrorreporting;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar clouderrorreporting_v1beta1;\n(function (clouderrorreporting_v1beta1) {\n /**\n * Stackdriver Error Reporting API\n *\n * Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors.\n *\n * @example\n * const {google} = require('googleapis');\n * const clouderrorreporting = google.clouderrorreporting('v1beta1');\n *\n * @namespace clouderrorreporting\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Clouderrorreporting\n */\n class Clouderrorreporting {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n clouderrorreporting_v1beta1.Clouderrorreporting = Clouderrorreporting;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.events = new Resource$Projects$Events(this.context);\n this.groups = new Resource$Projects$Groups(this.context);\n this.groupStats = new Resource$Projects$Groupstats(this.context);\n }\n deleteEvents(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+projectName}/events').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectName'],\n pathParams: ['projectName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouderrorreporting_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Events {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+projectName}/events').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectName'],\n pathParams: ['projectName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n report(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+projectName}/events:report').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName'],\n pathParams: ['projectName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouderrorreporting_v1beta1.Resource$Projects$Events = Resource$Projects$Events;\n class Resource$Projects$Groups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+groupName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupName'],\n pathParams: ['groupName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouderrorreporting_v1beta1.Resource$Projects$Groups = Resource$Projects$Groups;\n class Resource$Projects$Groupstats {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://clouderrorreporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+projectName}/groupStats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectName'],\n pathParams: ['projectName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n clouderrorreporting_v1beta1.Resource$Projects$Groupstats = Resource$Projects$Groupstats;\n})(clouderrorreporting_v1beta1 = exports.clouderrorreporting_v1beta1 || (exports.clouderrorreporting_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nexports.VERSIONS = {\n v1: v1_1.cloudfunctions_v1.Cloudfunctions,\n v1beta2: v1beta2_1.cloudfunctions_v1beta2.Cloudfunctions,\n};\nfunction cloudfunctions(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudfunctions', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudfunctions = cloudfunctions;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudfunctions_v1;\n(function (cloudfunctions_v1) {\n /**\n * Cloud Functions API\n *\n * Manages lightweight user-provided functions executed in response to events.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudfunctions = google.cloudfunctions('v1');\n *\n * @namespace cloudfunctions\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudfunctions\n */\n class Cloudfunctions {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudfunctions_v1.Cloudfunctions = Cloudfunctions;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudfunctions_v1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudfunctions_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.functions = new Resource$Projects$Locations$Functions(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudfunctions_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Functions {\n constructor(context) {\n this.context = context;\n }\n call(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:call').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+location}/functions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['location'],\n pathParams: ['location'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateDownloadUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:generateDownloadUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateUploadUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/functions:generateUploadUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/functions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudfunctions_v1.Resource$Projects$Locations$Functions = Resource$Projects$Locations$Functions;\n})(cloudfunctions_v1 = exports.cloudfunctions_v1 || (exports.cloudfunctions_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudfunctions_v1beta2;\n(function (cloudfunctions_v1beta2) {\n /**\n * Cloud Functions API\n *\n * Manages lightweight user-provided functions executed in response to events.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudfunctions = google.cloudfunctions('v1beta2');\n *\n * @namespace cloudfunctions\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Cloudfunctions\n */\n class Cloudfunctions {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudfunctions_v1beta2.Cloudfunctions = Cloudfunctions;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudfunctions_v1beta2.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudfunctions_v1beta2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.functions = new Resource$Projects$Locations$Functions(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudfunctions_v1beta2.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Functions {\n constructor(context) {\n this.context = context;\n }\n call(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:call').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+location}/functions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['location'],\n pathParams: ['location'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateDownloadUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:generateDownloadUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateUploadUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/functions:generateUploadUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+location}/functions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['location'],\n pathParams: ['location'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudfunctions.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudfunctions_v1beta2.Resource$Projects$Locations$Functions = Resource$Projects$Locations$Functions;\n})(cloudfunctions_v1beta2 = exports.cloudfunctions_v1beta2 || (exports.cloudfunctions_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.cloudidentity_v1.Cloudidentity,\n v1beta1: v1beta1_1.cloudidentity_v1beta1.Cloudidentity,\n};\nfunction cloudidentity(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudidentity', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudidentity = cloudidentity;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudidentity_v1;\n(function (cloudidentity_v1) {\n /**\n * Cloud Identity API\n *\n * API for provisioning and managing identity resources.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudidentity = google.cloudidentity('v1');\n *\n * @namespace cloudidentity\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudidentity\n */\n class Cloudidentity {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.groups = new Resource$Groups(this.context);\n }\n }\n cloudidentity_v1.Cloudidentity = Cloudidentity;\n class Resource$Groups {\n constructor(context) {\n this.context = context;\n this.memberships = new Resource$Groups$Memberships(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/groups:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/groups:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudidentity_v1.Resource$Groups = Resource$Groups;\n class Resource$Groups$Memberships {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/memberships').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/memberships').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/memberships:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudidentity_v1.Resource$Groups$Memberships = Resource$Groups$Memberships;\n})(cloudidentity_v1 = exports.cloudidentity_v1 || (exports.cloudidentity_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudidentity_v1beta1;\n(function (cloudidentity_v1beta1) {\n /**\n * Cloud Identity API\n *\n * API for provisioning and managing identity resources.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudidentity = google.cloudidentity('v1beta1');\n *\n * @namespace cloudidentity\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Cloudidentity\n */\n class Cloudidentity {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.groups = new Resource$Groups(this.context);\n }\n }\n cloudidentity_v1beta1.Cloudidentity = Cloudidentity;\n class Resource$Groups {\n constructor(context) {\n this.context = context;\n this.memberships = new Resource$Groups$Memberships(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/groups:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/groups:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudidentity_v1beta1.Resource$Groups = Resource$Groups;\n class Resource$Groups$Memberships {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/memberships').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/memberships').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudidentity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/memberships:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudidentity_v1beta1.Resource$Groups$Memberships = Resource$Groups$Memberships;\n})(cloudidentity_v1beta1 = exports.cloudidentity_v1beta1 || (exports.cloudidentity_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.cloudiot_v1.Cloudiot,\n};\nfunction cloudiot(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudiot', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudiot = cloudiot;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudiot_v1;\n(function (cloudiot_v1) {\n /**\n * Cloud IoT API\n *\n * Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudiot = google.cloudiot('v1');\n *\n * @namespace cloudiot\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudiot\n */\n class Cloudiot {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudiot_v1.Cloudiot = Cloudiot;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudiot_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.registries = new Resource$Projects$Locations$Registries(this.context);\n }\n }\n cloudiot_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Registries {\n constructor(context) {\n this.context = context;\n this.devices = new Resource$Projects$Locations$Registries$Devices(this.context);\n this.groups = new Resource$Projects$Locations$Registries$Groups(this.context);\n }\n bindDeviceToGateway(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:bindDeviceToGateway').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/registries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/registries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unbindDeviceFromGateway(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:unbindDeviceFromGateway').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudiot_v1.Resource$Projects$Locations$Registries = Resource$Projects$Locations$Registries;\n class Resource$Projects$Locations$Registries$Devices {\n constructor(context) {\n this.context = context;\n this.configVersions = new Resource$Projects$Locations$Registries$Devices$Configversions(this.context);\n this.states = new Resource$Projects$Locations$Registries$Devices$States(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyCloudToDeviceConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:modifyCloudToDeviceConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sendCommandToDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:sendCommandToDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudiot_v1.Resource$Projects$Locations$Registries$Devices = Resource$Projects$Locations$Registries$Devices;\n class Resource$Projects$Locations$Registries$Devices$Configversions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/configVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudiot_v1.Resource$Projects$Locations$Registries$Devices$Configversions = Resource$Projects$Locations$Registries$Devices$Configversions;\n class Resource$Projects$Locations$Registries$Devices$States {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/states').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudiot_v1.Resource$Projects$Locations$Registries$Devices$States = Resource$Projects$Locations$Registries$Devices$States;\n class Resource$Projects$Locations$Registries$Groups {\n constructor(context) {\n this.context = context;\n this.devices = new Resource$Projects$Locations$Registries$Groups$Devices(this.context);\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudiot_v1.Resource$Projects$Locations$Registries$Groups = Resource$Projects$Locations$Registries$Groups;\n class Resource$Projects$Locations$Registries$Groups$Devices {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudiot_v1.Resource$Projects$Locations$Registries$Groups$Devices = Resource$Projects$Locations$Registries$Groups$Devices;\n})(cloudiot_v1 = exports.cloudiot_v1 || (exports.cloudiot_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.cloudkms_v1.Cloudkms,\n};\nfunction cloudkms(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudkms', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudkms = cloudkms;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudkms_v1;\n(function (cloudkms_v1) {\n /**\n * Cloud Key Management Service (KMS) API\n *\n * Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudkms = google.cloudkms('v1');\n *\n * @namespace cloudkms\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudkms\n */\n class Cloudkms {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudkms_v1.Cloudkms = Cloudkms;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudkms_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.keyRings = new Resource$Projects$Locations$Keyrings(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudkms_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Keyrings {\n constructor(context) {\n this.context = context;\n this.cryptoKeys = new Resource$Projects$Locations$Keyrings$Cryptokeys(this.context);\n this.importJobs = new Resource$Projects$Locations$Keyrings$Importjobs(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/keyRings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/keyRings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudkms_v1.Resource$Projects$Locations$Keyrings = Resource$Projects$Locations$Keyrings;\n class Resource$Projects$Locations$Keyrings$Cryptokeys {\n constructor(context) {\n this.context = context;\n this.cryptoKeyVersions = new Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/cryptoKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n decrypt(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:decrypt').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n encrypt(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:encrypt').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/cryptoKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePrimaryVersion(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:updatePrimaryVersion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudkms_v1.Resource$Projects$Locations$Keyrings$Cryptokeys = Resource$Projects$Locations$Keyrings$Cryptokeys;\n class Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions {\n constructor(context) {\n this.context = context;\n }\n asymmetricDecrypt(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:asymmetricDecrypt').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asymmetricSign(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:asymmetricSign').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/cryptoKeyVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n destroy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:destroy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getPublicKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/publicKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/cryptoKeyVersions:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/cryptoKeyVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restore(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:restore').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudkms_v1.Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions = Resource$Projects$Locations$Keyrings$Cryptokeys$Cryptokeyversions;\n class Resource$Projects$Locations$Keyrings$Importjobs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/importJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/importJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudkms.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudkms_v1.Resource$Projects$Locations$Keyrings$Importjobs = Resource$Projects$Locations$Keyrings$Importjobs;\n})(cloudkms_v1 = exports.cloudkms_v1 || (exports.cloudkms_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.cloudprivatecatalog_v1beta1.Cloudprivatecatalog,\n};\nfunction cloudprivatecatalog(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudprivatecatalog', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudprivatecatalog = cloudprivatecatalog;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudprivatecatalog_v1beta1;\n(function (cloudprivatecatalog_v1beta1) {\n /**\n * Cloud Private Catalog API\n *\n * Enable cloud users to discover enterprise catalogs and products in their organizations.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudprivatecatalog = google.cloudprivatecatalog('v1beta1');\n *\n * @namespace cloudprivatecatalog\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Cloudprivatecatalog\n */\n class Cloudprivatecatalog {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.folders = new Resource$Folders(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudprivatecatalog_v1beta1.Cloudprivatecatalog = Cloudprivatecatalog;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n this.catalogs = new Resource$Folders$Catalogs(this.context);\n this.products = new Resource$Folders$Products(this.context);\n this.versions = new Resource$Folders$Versions(this.context);\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Folders = Resource$Folders;\n class Resource$Folders$Catalogs {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/catalogs:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Folders$Catalogs = Resource$Folders$Catalogs;\n class Resource$Folders$Products {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/products:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Folders$Products = Resource$Folders$Products;\n class Resource$Folders$Versions {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/versions:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Folders$Versions = Resource$Folders$Versions;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.catalogs = new Resource$Organizations$Catalogs(this.context);\n this.products = new Resource$Organizations$Products(this.context);\n this.versions = new Resource$Organizations$Versions(this.context);\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Catalogs {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/catalogs:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Organizations$Catalogs = Resource$Organizations$Catalogs;\n class Resource$Organizations$Products {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/products:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Organizations$Products = Resource$Organizations$Products;\n class Resource$Organizations$Versions {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/versions:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Organizations$Versions = Resource$Organizations$Versions;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.catalogs = new Resource$Projects$Catalogs(this.context);\n this.products = new Resource$Projects$Products(this.context);\n this.versions = new Resource$Projects$Versions(this.context);\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Catalogs {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/catalogs:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Projects$Catalogs = Resource$Projects$Catalogs;\n class Resource$Projects$Products {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/products:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Projects$Products = Resource$Projects$Products;\n class Resource$Projects$Versions {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprivatecatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}/versions:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalog_v1beta1.Resource$Projects$Versions = Resource$Projects$Versions;\n})(cloudprivatecatalog_v1beta1 = exports.cloudprivatecatalog_v1beta1 || (exports.cloudprivatecatalog_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.cloudprivatecatalogproducer_v1beta1.Cloudprivatecatalogproducer,\n};\nfunction cloudprivatecatalogproducer(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudprivatecatalogproducer', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudprivatecatalogproducer = cloudprivatecatalogproducer;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudprivatecatalogproducer_v1beta1;\n(function (cloudprivatecatalogproducer_v1beta1) {\n /**\n * Cloud Private Catalog Producer API\n *\n * Enables cloud users to manage and share enterprise catalogs intheir organizations.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudprivatecatalogproducer = google.cloudprivatecatalogproducer('v1beta1');\n *\n * @namespace cloudprivatecatalogproducer\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Cloudprivatecatalogproducer\n */\n class Cloudprivatecatalogproducer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.catalogs = new Resource$Catalogs(this.context);\n this.operations = new Resource$Operations(this.context);\n }\n }\n cloudprivatecatalogproducer_v1beta1.Cloudprivatecatalogproducer = Cloudprivatecatalogproducer;\n class Resource$Catalogs {\n constructor(context) {\n this.context = context;\n this.associations = new Resource$Catalogs$Associations(this.context);\n this.products = new Resource$Catalogs$Products(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/catalogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/catalogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalogproducer_v1beta1.Resource$Catalogs = Resource$Catalogs;\n class Resource$Catalogs$Associations {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/associations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/associations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Associations = Resource$Catalogs$Associations;\n class Resource$Catalogs$Products {\n constructor(context) {\n this.context = context;\n this.icons = new Resource$Catalogs$Products$Icons(this.context);\n this.versions = new Resource$Catalogs$Products$Versions(this.context);\n }\n copy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:copy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Products = Resource$Catalogs$Products;\n class Resource$Catalogs$Products$Icons {\n constructor(context) {\n this.context = context;\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+product}/icons:upload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['product'],\n pathParams: ['product'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Products$Icons = Resource$Catalogs$Products$Icons;\n class Resource$Catalogs$Products$Versions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalogproducer_v1beta1.Resource$Catalogs$Products$Versions = Resource$Catalogs$Products$Versions;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl ||\n 'https://cloudprivatecatalogproducer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprivatecatalogproducer_v1beta1.Resource$Operations = Resource$Operations;\n})(cloudprivatecatalogproducer_v1beta1 = exports.cloudprivatecatalogproducer_v1beta1 || (exports.cloudprivatecatalogproducer_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.cloudprofiler_v2.Cloudprofiler,\n};\nfunction cloudprofiler(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudprofiler', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudprofiler = cloudprofiler;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudprofiler_v2;\n(function (cloudprofiler_v2) {\n /**\n * Stackdriver Profiler API\n *\n * Manages continuous profiling information.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudprofiler = google.cloudprofiler('v2');\n *\n * @namespace cloudprofiler\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Cloudprofiler\n */\n class Cloudprofiler {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudprofiler_v2.Cloudprofiler = Cloudprofiler;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.profiles = new Resource$Projects$Profiles(this.context);\n }\n }\n cloudprofiler_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Profiles {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprofiler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/profiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createOffline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprofiler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/profiles:createOffline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudprofiler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudprofiler_v2.Resource$Projects$Profiles = Resource$Projects$Profiles;\n})(cloudprofiler_v2 = exports.cloudprofiler_v2 || (exports.cloudprofiler_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nconst v2_1 = require(\"./v2\");\nconst v2beta1_1 = require(\"./v2beta1\");\nexports.VERSIONS = {\n v1: v1_1.cloudresourcemanager_v1.Cloudresourcemanager,\n v1beta1: v1beta1_1.cloudresourcemanager_v1beta1.Cloudresourcemanager,\n v2: v2_1.cloudresourcemanager_v2.Cloudresourcemanager,\n v2beta1: v2beta1_1.cloudresourcemanager_v2beta1.Cloudresourcemanager,\n};\nfunction cloudresourcemanager(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudresourcemanager', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudresourcemanager = cloudresourcemanager;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudresourcemanager_v1;\n(function (cloudresourcemanager_v1) {\n /**\n * Cloud Resource Manager API\n *\n * Creates, reads, and updates metadata for Google Cloud Platform resource containers.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudresourcemanager = google.cloudresourcemanager('v1');\n *\n * @namespace cloudresourcemanager\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudresourcemanager\n */\n class Cloudresourcemanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.folders = new Resource$Folders(this.context);\n this.liens = new Resource$Liens(this.context);\n this.operations = new Resource$Operations(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudresourcemanager_v1.Cloudresourcemanager = Cloudresourcemanager;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n }\n clearOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:clearOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getEffectiveOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getEffectiveOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAvailableOrgPolicyConstraints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:listAvailableOrgPolicyConstraints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listOrgPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:listOrgPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1.Resource$Folders = Resource$Folders;\n class Resource$Liens {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/liens').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/liens').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1.Resource$Liens = Resource$Liens;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1.Resource$Operations = Resource$Operations;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n }\n clearOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:clearOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getEffectiveOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getEffectiveOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAvailableOrgPolicyConstraints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:listAvailableOrgPolicyConstraints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listOrgPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:listOrgPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/organizations:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1.Resource$Organizations = Resource$Organizations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n clearOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:clearOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAncestry(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:getAncestry').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getEffectiveOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getEffectiveOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAvailableOrgPolicyConstraints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:listAvailableOrgPolicyConstraints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listOrgPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:listOrgPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setOrgPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setOrgPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1.Resource$Projects = Resource$Projects;\n})(cloudresourcemanager_v1 = exports.cloudresourcemanager_v1 || (exports.cloudresourcemanager_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudresourcemanager_v1beta1;\n(function (cloudresourcemanager_v1beta1) {\n /**\n * Cloud Resource Manager API\n *\n * Creates, reads, and updates metadata for Google Cloud Platform resource containers.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudresourcemanager = google.cloudresourcemanager('v1beta1');\n *\n * @namespace cloudresourcemanager\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Cloudresourcemanager\n */\n class Cloudresourcemanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudresourcemanager_v1beta1.Cloudresourcemanager = Cloudresourcemanager;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/organizations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1beta1.Resource$Organizations = Resource$Organizations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAncestry(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}:getAncestry').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v1beta1.Resource$Projects = Resource$Projects;\n})(cloudresourcemanager_v1beta1 = exports.cloudresourcemanager_v1beta1 || (exports.cloudresourcemanager_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudresourcemanager_v2;\n(function (cloudresourcemanager_v2) {\n /**\n * Cloud Resource Manager API\n *\n * Creates, reads, and updates metadata for Google Cloud Platform resource containers.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudresourcemanager = google.cloudresourcemanager('v2');\n *\n * @namespace cloudresourcemanager\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Cloudresourcemanager\n */\n class Cloudresourcemanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.folders = new Resource$Folders(this.context);\n this.operations = new Resource$Operations(this.context);\n }\n }\n cloudresourcemanager_v2.Cloudresourcemanager = Cloudresourcemanager;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/folders:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v2.Resource$Folders = Resource$Folders;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v2.Resource$Operations = Resource$Operations;\n})(cloudresourcemanager_v2 = exports.cloudresourcemanager_v2 || (exports.cloudresourcemanager_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudresourcemanager_v2beta1;\n(function (cloudresourcemanager_v2beta1) {\n /**\n * Cloud Resource Manager API\n *\n * Creates, reads, and updates metadata for Google Cloud Platform resource containers.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudresourcemanager = google.cloudresourcemanager('v2beta1');\n *\n * @namespace cloudresourcemanager\n * @type {Function}\n * @version v2beta1\n * @variation v2beta1\n * @param {object=} options Options for Cloudresourcemanager\n */\n class Cloudresourcemanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.folders = new Resource$Folders(this.context);\n this.operations = new Resource$Operations(this.context);\n }\n }\n cloudresourcemanager_v2beta1.Cloudresourcemanager = Cloudresourcemanager;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/folders:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v2beta1.Resource$Folders = Resource$Folders;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudresourcemanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudresourcemanager_v2beta1.Resource$Operations = Resource$Operations;\n})(cloudresourcemanager_v2beta1 = exports.cloudresourcemanager_v2beta1 || (exports.cloudresourcemanager_v2beta1 = {}));\n//# sourceMappingURL=v2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.cloudscheduler_v1.Cloudscheduler,\n v1beta1: v1beta1_1.cloudscheduler_v1beta1.Cloudscheduler,\n};\nfunction cloudscheduler(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudscheduler', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudscheduler = cloudscheduler;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudscheduler_v1;\n(function (cloudscheduler_v1) {\n /**\n * Cloud Scheduler API\n *\n * Creates and manages jobs run on a regular recurring schedule.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudscheduler = google.cloudscheduler('v1');\n *\n * @namespace cloudscheduler\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudscheduler\n */\n class Cloudscheduler {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudscheduler_v1.Cloudscheduler = Cloudscheduler;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudscheduler_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.jobs = new Resource$Projects$Locations$Jobs(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudscheduler_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Jobs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudscheduler_v1.Resource$Projects$Locations$Jobs = Resource$Projects$Locations$Jobs;\n})(cloudscheduler_v1 = exports.cloudscheduler_v1 || (exports.cloudscheduler_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudscheduler_v1beta1;\n(function (cloudscheduler_v1beta1) {\n /**\n * Cloud Scheduler API\n *\n * Creates and manages jobs run on a regular recurring schedule.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudscheduler = google.cloudscheduler('v1beta1');\n *\n * @namespace cloudscheduler\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Cloudscheduler\n */\n class Cloudscheduler {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudscheduler_v1beta1.Cloudscheduler = Cloudscheduler;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudscheduler_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.jobs = new Resource$Projects$Locations$Jobs(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudscheduler_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Jobs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudscheduler.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudscheduler_v1beta1.Resource$Projects$Locations$Jobs = Resource$Projects$Locations$Jobs;\n})(cloudscheduler_v1beta1 = exports.cloudscheduler_v1beta1 || (exports.cloudscheduler_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.cloudsearch_v1.Cloudsearch,\n};\nfunction cloudsearch(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudsearch', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudsearch = cloudsearch;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudsearch_v1;\n(function (cloudsearch_v1) {\n /**\n * Cloud Search API\n *\n * Cloud Search provides cloud-based search capabilities over G Suite data. The Cloud Search API allows indexing of non-G Suite data into Cloud Search.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudsearch = google.cloudsearch('v1');\n *\n * @namespace cloudsearch\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudsearch\n */\n class Cloudsearch {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.debug = new Resource$Debug(this.context);\n this.indexing = new Resource$Indexing(this.context);\n this.media = new Resource$Media(this.context);\n this.operations = new Resource$Operations(this.context);\n this.query = new Resource$Query(this.context);\n this.settings = new Resource$Settings(this.context);\n this.stats = new Resource$Stats(this.context);\n }\n }\n cloudsearch_v1.Cloudsearch = Cloudsearch;\n class Resource$Debug {\n constructor(context) {\n this.context = context;\n this.datasources = new Resource$Debug$Datasources(this.context);\n this.identitysources = new Resource$Debug$Identitysources(this.context);\n }\n }\n cloudsearch_v1.Resource$Debug = Resource$Debug;\n class Resource$Debug$Datasources {\n constructor(context) {\n this.context = context;\n this.items = new Resource$Debug$Datasources$Items(this.context);\n }\n }\n cloudsearch_v1.Resource$Debug$Datasources = Resource$Debug$Datasources;\n class Resource$Debug$Datasources$Items {\n constructor(context) {\n this.context = context;\n this.unmappedids = new Resource$Debug$Datasources$Items$Unmappedids(this.context);\n }\n checkAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/debug/{+name}:checkAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchByViewUrl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/debug/{+name}/items:searchByViewUrl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Debug$Datasources$Items = Resource$Debug$Datasources$Items;\n class Resource$Debug$Datasources$Items$Unmappedids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/debug/{+parent}/unmappedids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Debug$Datasources$Items$Unmappedids = Resource$Debug$Datasources$Items$Unmappedids;\n class Resource$Debug$Identitysources {\n constructor(context) {\n this.context = context;\n this.items = new Resource$Debug$Identitysources$Items(this.context);\n this.unmappedids = new Resource$Debug$Identitysources$Unmappedids(this.context);\n }\n }\n cloudsearch_v1.Resource$Debug$Identitysources = Resource$Debug$Identitysources;\n class Resource$Debug$Identitysources$Items {\n constructor(context) {\n this.context = context;\n }\n listForunmappedidentity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/debug/{+parent}/items:forunmappedidentity').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Debug$Identitysources$Items = Resource$Debug$Identitysources$Items;\n class Resource$Debug$Identitysources$Unmappedids {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/debug/{+parent}/unmappedids').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Debug$Identitysources$Unmappedids = Resource$Debug$Identitysources$Unmappedids;\n class Resource$Indexing {\n constructor(context) {\n this.context = context;\n this.datasources = new Resource$Indexing$Datasources(this.context);\n }\n }\n cloudsearch_v1.Resource$Indexing = Resource$Indexing;\n class Resource$Indexing$Datasources {\n constructor(context) {\n this.context = context;\n this.items = new Resource$Indexing$Datasources$Items(this.context);\n }\n deleteSchema(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/schema').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSchema(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/schema').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSchema(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/schema').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Indexing$Datasources = Resource$Indexing$Datasources;\n class Resource$Indexing$Datasources$Items {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteQueueItems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/items:deleteQueueItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n index(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}:index').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/items').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n poll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/items:poll').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n push(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}:push').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unreserve(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}/items:unreserve').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/indexing/{+name}:upload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Indexing$Datasources$Items = Resource$Indexing$Datasources$Items;\n class Resource$Media {\n constructor(context) {\n this.context = context;\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/v1/media/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Media = Resource$Media;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Operations = Resource$Operations;\n class Resource$Query {\n constructor(context) {\n this.context = context;\n this.sources = new Resource$Query$Sources(this.context);\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/query/search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n suggest(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/query/suggest').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Query = Resource$Query;\n class Resource$Query$Sources {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/query/sources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Query$Sources = Resource$Query$Sources;\n class Resource$Settings {\n constructor(context) {\n this.context = context;\n this.datasources = new Resource$Settings$Datasources(this.context);\n this.searchapplications = new Resource$Settings$Searchapplications(this.context);\n }\n }\n cloudsearch_v1.Resource$Settings = Resource$Settings;\n class Resource$Settings$Datasources {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/datasources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/datasources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Settings$Datasources = Resource$Settings$Datasources;\n class Resource$Settings$Searchapplications {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/searchapplications').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/searchapplications').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}:reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/settings/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Settings$Searchapplications = Resource$Settings$Searchapplications;\n class Resource$Stats {\n constructor(context) {\n this.context = context;\n this.index = new Resource$Stats$Index(this.context);\n this.query = new Resource$Stats$Query(this.context);\n this.session = new Resource$Stats$Session(this.context);\n this.user = new Resource$Stats$User(this.context);\n }\n getIndex(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/index').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSession(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/session').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getUser(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/user').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Stats = Resource$Stats;\n class Resource$Stats$Index {\n constructor(context) {\n this.context = context;\n this.datasources = new Resource$Stats$Index$Datasources(this.context);\n }\n }\n cloudsearch_v1.Resource$Stats$Index = Resource$Stats$Index;\n class Resource$Stats$Index$Datasources {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/index/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Stats$Index$Datasources = Resource$Stats$Index$Datasources;\n class Resource$Stats$Query {\n constructor(context) {\n this.context = context;\n this.searchapplications = new Resource$Stats$Query$Searchapplications(this.context);\n }\n }\n cloudsearch_v1.Resource$Stats$Query = Resource$Stats$Query;\n class Resource$Stats$Query$Searchapplications {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/query/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Stats$Query$Searchapplications = Resource$Stats$Query$Searchapplications;\n class Resource$Stats$Session {\n constructor(context) {\n this.context = context;\n this.searchapplications = new Resource$Stats$Session$Searchapplications(this.context);\n }\n }\n cloudsearch_v1.Resource$Stats$Session = Resource$Stats$Session;\n class Resource$Stats$Session$Searchapplications {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/session/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Stats$Session$Searchapplications = Resource$Stats$Session$Searchapplications;\n class Resource$Stats$User {\n constructor(context) {\n this.context = context;\n this.searchapplications = new Resource$Stats$User$Searchapplications(this.context);\n }\n }\n cloudsearch_v1.Resource$Stats$User = Resource$Stats$User;\n class Resource$Stats$User$Searchapplications {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/stats/user/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudsearch_v1.Resource$Stats$User$Searchapplications = Resource$Stats$User$Searchapplications;\n})(cloudsearch_v1 = exports.cloudsearch_v1 || (exports.cloudsearch_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1: v1_1.cloudshell_v1.Cloudshell,\n v1alpha1: v1alpha1_1.cloudshell_v1alpha1.Cloudshell,\n};\nfunction cloudshell(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudshell', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudshell = cloudshell;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudshell_v1;\n(function (cloudshell_v1) {\n /**\n * Cloud Shell API\n *\n * Allows users to start, configure, and connect to interactive shell sessions running in the cloud.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudshell = google.cloudshell('v1');\n *\n * @namespace cloudshell\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudshell\n */\n class Cloudshell {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n }\n }\n cloudshell_v1.Cloudshell = Cloudshell;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudshell_v1.Resource$Operations = Resource$Operations;\n})(cloudshell_v1 = exports.cloudshell_v1 || (exports.cloudshell_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudshell_v1alpha1;\n(function (cloudshell_v1alpha1) {\n /**\n * Cloud Shell API\n *\n * Allows users to start, configure, and connect to interactive shell sessions running in the cloud.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudshell = google.cloudshell('v1alpha1');\n *\n * @namespace cloudshell\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Cloudshell\n */\n class Cloudshell {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.users = new Resource$Users(this.context);\n }\n }\n cloudshell_v1alpha1.Cloudshell = Cloudshell;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.environments = new Resource$Users$Environments(this.context);\n }\n }\n cloudshell_v1alpha1.Resource$Users = Resource$Users;\n class Resource$Users$Environments {\n constructor(context) {\n this.context = context;\n this.publicKeys = new Resource$Users$Environments$Publickeys(this.context);\n }\n authorize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:authorize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudshell_v1alpha1.Resource$Users$Environments = Resource$Users$Environments;\n class Resource$Users$Environments$Publickeys {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/publicKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudshell.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudshell_v1alpha1.Resource$Users$Environments$Publickeys = Resource$Users$Environments$Publickeys;\n})(cloudshell_v1alpha1 = exports.cloudshell_v1alpha1 || (exports.cloudshell_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nconst v2beta2_1 = require(\"./v2beta2\");\nconst v2beta3_1 = require(\"./v2beta3\");\nexports.VERSIONS = {\n v2: v2_1.cloudtasks_v2.Cloudtasks,\n v2beta2: v2beta2_1.cloudtasks_v2beta2.Cloudtasks,\n v2beta3: v2beta3_1.cloudtasks_v2beta3.Cloudtasks,\n};\nfunction cloudtasks(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudtasks', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudtasks = cloudtasks;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudtasks_v2;\n(function (cloudtasks_v2) {\n /**\n * Cloud Tasks API\n *\n * Manages the execution of large numbers of distributed requests.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudtasks = google.cloudtasks('v2');\n *\n * @namespace cloudtasks\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Cloudtasks\n */\n class Cloudtasks {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudtasks_v2.Cloudtasks = Cloudtasks;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudtasks_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.queues = new Resource$Projects$Locations$Queues(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Queues {\n constructor(context) {\n this.context = context;\n this.tasks = new Resource$Projects$Locations$Queues$Tasks(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/queues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/queues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n purge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:purge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2.Resource$Projects$Locations$Queues = Resource$Projects$Locations$Queues;\n class Resource$Projects$Locations$Queues$Tasks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2.Resource$Projects$Locations$Queues$Tasks = Resource$Projects$Locations$Queues$Tasks;\n})(cloudtasks_v2 = exports.cloudtasks_v2 || (exports.cloudtasks_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudtasks_v2beta2;\n(function (cloudtasks_v2beta2) {\n /**\n * Cloud Tasks API\n *\n * Manages the execution of large numbers of distributed requests.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudtasks = google.cloudtasks('v2beta2');\n *\n * @namespace cloudtasks\n * @type {Function}\n * @version v2beta2\n * @variation v2beta2\n * @param {object=} options Options for Cloudtasks\n */\n class Cloudtasks {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudtasks_v2beta2.Cloudtasks = Cloudtasks;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudtasks_v2beta2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.queues = new Resource$Projects$Locations$Queues(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2beta2.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Queues {\n constructor(context) {\n this.context = context;\n this.tasks = new Resource$Projects$Locations$Queues$Tasks(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+parent}/queues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+parent}/queues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n purge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:purge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2beta2.Resource$Projects$Locations$Queues = Resource$Projects$Locations$Queues;\n class Resource$Projects$Locations$Queues$Tasks {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancelLease(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:cancelLease').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+parent}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lease(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+parent}/tasks:lease').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+parent}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n renewLease(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:renewLease').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta2/{+name}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2beta2.Resource$Projects$Locations$Queues$Tasks = Resource$Projects$Locations$Queues$Tasks;\n})(cloudtasks_v2beta2 = exports.cloudtasks_v2beta2 || (exports.cloudtasks_v2beta2 = {}));\n//# sourceMappingURL=v2beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudtasks_v2beta3;\n(function (cloudtasks_v2beta3) {\n /**\n * Cloud Tasks API\n *\n * Manages the execution of large numbers of distributed requests.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudtasks = google.cloudtasks('v2beta3');\n *\n * @namespace cloudtasks\n * @type {Function}\n * @version v2beta3\n * @variation v2beta3\n * @param {object=} options Options for Cloudtasks\n */\n class Cloudtasks {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudtasks_v2beta3.Cloudtasks = Cloudtasks;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n cloudtasks_v2beta3.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.queues = new Resource$Projects$Locations$Queues(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2beta3.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Queues {\n constructor(context) {\n this.context = context;\n this.tasks = new Resource$Projects$Locations$Queues$Tasks(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+parent}/queues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+parent}/queues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n purge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}:purge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2beta3.Resource$Projects$Locations$Queues = Resource$Projects$Locations$Queues;\n class Resource$Projects$Locations$Queues$Tasks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+parent}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+parent}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtasks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta3/{+name}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtasks_v2beta3.Resource$Projects$Locations$Queues$Tasks = Resource$Projects$Locations$Queues$Tasks;\n})(cloudtasks_v2beta3 = exports.cloudtasks_v2beta3 || (exports.cloudtasks_v2beta3 = {}));\n//# sourceMappingURL=v2beta3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v1: v1_1.cloudtrace_v1.Cloudtrace,\n v2: v2_1.cloudtrace_v2.Cloudtrace,\n};\nfunction cloudtrace(versionOrOptions) {\n return googleapis_common_1.getAPI('cloudtrace', versionOrOptions, exports.VERSIONS, this);\n}\nexports.cloudtrace = cloudtrace;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudtrace_v1;\n(function (cloudtrace_v1) {\n /**\n * Stackdriver Trace API\n *\n * Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudtrace = google.cloudtrace('v1');\n *\n * @namespace cloudtrace\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Cloudtrace\n */\n class Cloudtrace {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudtrace_v1.Cloudtrace = Cloudtrace;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.traces = new Resource$Projects$Traces(this.context);\n }\n patchTraces(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/traces').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtrace_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Traces {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/traces/{traceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'traceId'],\n pathParams: ['projectId', 'traceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/traces').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtrace_v1.Resource$Projects$Traces = Resource$Projects$Traces;\n})(cloudtrace_v1 = exports.cloudtrace_v1 || (exports.cloudtrace_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar cloudtrace_v2;\n(function (cloudtrace_v2) {\n /**\n * Stackdriver Trace API\n *\n * Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Trace API directly. If you are looking to instrument your application for Stackdriver Trace, we recommend using OpenCensus.\n *\n * @example\n * const {google} = require('googleapis');\n * const cloudtrace = google.cloudtrace('v2');\n *\n * @namespace cloudtrace\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Cloudtrace\n */\n class Cloudtrace {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n cloudtrace_v2.Cloudtrace = Cloudtrace;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.traces = new Resource$Projects$Traces(this.context);\n }\n }\n cloudtrace_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Traces {\n constructor(context) {\n this.context = context;\n this.spans = new Resource$Projects$Traces$Spans(this.context);\n }\n batchWrite(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}/traces:batchWrite').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtrace_v2.Resource$Projects$Traces = Resource$Projects$Traces;\n class Resource$Projects$Traces$Spans {\n constructor(context) {\n this.context = context;\n }\n createSpan(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://cloudtrace.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n cloudtrace_v2.Resource$Projects$Traces$Spans = Resource$Projects$Traces$Spans;\n})(cloudtrace_v2 = exports.cloudtrace_v2 || (exports.cloudtrace_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1alpha1: v1alpha1_1.commentanalyzer_v1alpha1.Commentanalyzer,\n};\nfunction commentanalyzer(versionOrOptions) {\n return googleapis_common_1.getAPI('commentanalyzer', versionOrOptions, exports.VERSIONS, this);\n}\nexports.commentanalyzer = commentanalyzer;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar commentanalyzer_v1alpha1;\n(function (commentanalyzer_v1alpha1) {\n /**\n * Perspective Comment Analyzer API\n *\n * The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.\n *\n * @example\n * const {google} = require('googleapis');\n * const commentanalyzer = google.commentanalyzer('v1alpha1');\n *\n * @namespace commentanalyzer\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Commentanalyzer\n */\n class Commentanalyzer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.comments = new Resource$Comments(this.context);\n }\n }\n commentanalyzer_v1alpha1.Commentanalyzer = Commentanalyzer;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n analyze(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://commentanalyzer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/comments:analyze').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n suggestscore(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://commentanalyzer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/comments:suggestscore').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n commentanalyzer_v1alpha1.Resource$Comments = Resource$Comments;\n})(commentanalyzer_v1alpha1 = exports.commentanalyzer_v1alpha1 || (exports.commentanalyzer_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.composer_v1.Composer,\n v1beta1: v1beta1_1.composer_v1beta1.Composer,\n};\nfunction composer(versionOrOptions) {\n return googleapis_common_1.getAPI('composer', versionOrOptions, exports.VERSIONS, this);\n}\nexports.composer = composer;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar composer_v1;\n(function (composer_v1) {\n /**\n * Cloud Composer API\n *\n * Manages Apache Airflow environments on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const composer = google.composer('v1');\n *\n * @namespace composer\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Composer\n */\n class Composer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n composer_v1.Composer = Composer;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n composer_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.environments = new Resource$Projects$Locations$Environments(this.context);\n this.imageVersions = new Resource$Projects$Locations$Imageversions(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n }\n composer_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Environments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n composer_v1.Resource$Projects$Locations$Environments = Resource$Projects$Locations$Environments;\n class Resource$Projects$Locations$Imageversions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/imageVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n composer_v1.Resource$Projects$Locations$Imageversions = Resource$Projects$Locations$Imageversions;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n composer_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(composer_v1 = exports.composer_v1 || (exports.composer_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar composer_v1beta1;\n(function (composer_v1beta1) {\n /**\n * Cloud Composer API\n *\n * Manages Apache Airflow environments on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const composer = google.composer('v1beta1');\n *\n * @namespace composer\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Composer\n */\n class Composer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n composer_v1beta1.Composer = Composer;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n composer_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.environments = new Resource$Projects$Locations$Environments(this.context);\n this.imageVersions = new Resource$Projects$Locations$Imageversions(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n }\n composer_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Environments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n composer_v1beta1.Resource$Projects$Locations$Environments = Resource$Projects$Locations$Environments;\n class Resource$Projects$Locations$Imageversions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/imageVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n composer_v1beta1.Resource$Projects$Locations$Imageversions = Resource$Projects$Locations$Imageversions;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://composer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n composer_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(composer_v1beta1 = exports.composer_v1beta1 || (exports.composer_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar compute_alpha;\n(function (compute_alpha) {\n /**\n * Compute Engine API\n *\n * Creates and runs virtual machines on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const compute = google.compute('alpha');\n *\n * @namespace compute\n * @type {Function}\n * @version alpha\n * @variation alpha\n * @param {object=} options Options for Compute\n */\n class Compute {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.acceleratorTypes = new Resource$Acceleratortypes(this.context);\n this.addresses = new Resource$Addresses(this.context);\n this.autoscalers = new Resource$Autoscalers(this.context);\n this.backendBuckets = new Resource$Backendbuckets(this.context);\n this.backendServices = new Resource$Backendservices(this.context);\n this.disks = new Resource$Disks(this.context);\n this.diskTypes = new Resource$Disktypes(this.context);\n this.externalVpnGateways = new Resource$Externalvpngateways(this.context);\n this.firewalls = new Resource$Firewalls(this.context);\n this.forwardingRules = new Resource$Forwardingrules(this.context);\n this.globalAddresses = new Resource$Globaladdresses(this.context);\n this.globalForwardingRules = new Resource$Globalforwardingrules(this.context);\n this.globalNetworkEndpointGroups = new Resource$Globalnetworkendpointgroups(this.context);\n this.globalOperations = new Resource$Globaloperations(this.context);\n this.globalOrganizationOperations = new Resource$Globalorganizationoperations(this.context);\n this.globalPublicDelegatedPrefixes = new Resource$Globalpublicdelegatedprefixes(this.context);\n this.healthChecks = new Resource$Healthchecks(this.context);\n this.httpHealthChecks = new Resource$Httphealthchecks(this.context);\n this.httpsHealthChecks = new Resource$Httpshealthchecks(this.context);\n this.images = new Resource$Images(this.context);\n this.instanceGroupManagers = new Resource$Instancegroupmanagers(this.context);\n this.instanceGroups = new Resource$Instancegroups(this.context);\n this.instances = new Resource$Instances(this.context);\n this.instanceTemplates = new Resource$Instancetemplates(this.context);\n this.interconnectAttachments = new Resource$Interconnectattachments(this.context);\n this.interconnectLocations = new Resource$Interconnectlocations(this.context);\n this.interconnects = new Resource$Interconnects(this.context);\n this.licenseCodes = new Resource$Licensecodes(this.context);\n this.licenses = new Resource$Licenses(this.context);\n this.machineImages = new Resource$Machineimages(this.context);\n this.machineTypes = new Resource$Machinetypes(this.context);\n this.networkEndpointGroups = new Resource$Networkendpointgroups(this.context);\n this.networks = new Resource$Networks(this.context);\n this.nodeGroups = new Resource$Nodegroups(this.context);\n this.nodeTemplates = new Resource$Nodetemplates(this.context);\n this.nodeTypes = new Resource$Nodetypes(this.context);\n this.organizationSecurityPolicies = new Resource$Organizationsecuritypolicies(this.context);\n this.packetMirrorings = new Resource$Packetmirrorings(this.context);\n this.projects = new Resource$Projects(this.context);\n this.publicAdvertisedPrefixes = new Resource$Publicadvertisedprefixes(this.context);\n this.publicDelegatedPrefixes = new Resource$Publicdelegatedprefixes(this.context);\n this.regionAutoscalers = new Resource$Regionautoscalers(this.context);\n this.regionBackendServices = new Resource$Regionbackendservices(this.context);\n this.regionCommitments = new Resource$Regioncommitments(this.context);\n this.regionDisks = new Resource$Regiondisks(this.context);\n this.regionDiskTypes = new Resource$Regiondisktypes(this.context);\n this.regionHealthChecks = new Resource$Regionhealthchecks(this.context);\n this.regionHealthCheckServices = new Resource$Regionhealthcheckservices(this.context);\n this.regionInstanceGroupManagers = new Resource$Regioninstancegroupmanagers(this.context);\n this.regionInstanceGroups = new Resource$Regioninstancegroups(this.context);\n this.regionNetworkEndpointGroups = new Resource$Regionnetworkendpointgroups(this.context);\n this.regionNotificationEndpoints = new Resource$Regionnotificationendpoints(this.context);\n this.regionOperations = new Resource$Regionoperations(this.context);\n this.regions = new Resource$Regions(this.context);\n this.regionSslCertificates = new Resource$Regionsslcertificates(this.context);\n this.regionTargetHttpProxies = new Resource$Regiontargethttpproxies(this.context);\n this.regionTargetHttpsProxies = new Resource$Regiontargethttpsproxies(this.context);\n this.regionUrlMaps = new Resource$Regionurlmaps(this.context);\n this.reservations = new Resource$Reservations(this.context);\n this.resourcePolicies = new Resource$Resourcepolicies(this.context);\n this.routers = new Resource$Routers(this.context);\n this.routes = new Resource$Routes(this.context);\n this.securityPolicies = new Resource$Securitypolicies(this.context);\n this.snapshots = new Resource$Snapshots(this.context);\n this.sslCertificates = new Resource$Sslcertificates(this.context);\n this.sslPolicies = new Resource$Sslpolicies(this.context);\n this.subnetworks = new Resource$Subnetworks(this.context);\n this.targetHttpProxies = new Resource$Targethttpproxies(this.context);\n this.targetHttpsProxies = new Resource$Targethttpsproxies(this.context);\n this.targetInstances = new Resource$Targetinstances(this.context);\n this.targetPools = new Resource$Targetpools(this.context);\n this.targetSslProxies = new Resource$Targetsslproxies(this.context);\n this.targetTcpProxies = new Resource$Targettcpproxies(this.context);\n this.targetVpnGateways = new Resource$Targetvpngateways(this.context);\n this.urlMaps = new Resource$Urlmaps(this.context);\n this.vpnGateways = new Resource$Vpngateways(this.context);\n this.vpnTunnels = new Resource$Vpntunnels(this.context);\n this.zoneOperations = new Resource$Zoneoperations(this.context);\n this.zones = new Resource$Zones(this.context);\n }\n }\n compute_alpha.Compute = Compute;\n class Resource$Acceleratortypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'acceleratorType'],\n pathParams: ['acceleratorType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Acceleratortypes = Resource$Acceleratortypes;\n class Resource$Addresses {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'address'],\n pathParams: ['address', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'address'],\n pathParams: ['address', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/addresses/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Addresses = Resource$Addresses;\n class Resource$Autoscalers {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Autoscalers = Resource$Autoscalers;\n class Resource$Backendbuckets {\n constructor(context) {\n this.context = context;\n }\n addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket', 'keyName'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Backendbuckets = Resource$Backendbuckets;\n class Resource$Backendservices {\n constructor(context) {\n this.context = context;\n }\n addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}/addSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService', 'keyName'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSecurityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}/setSecurityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Backendservices = Resource$Backendservices;\n class Resource$Disks {\n constructor(context) {\n this.context = context;\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSnapshot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/zones/{zone}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/zones/{zone}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{disk}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Disks = Resource$Disks;\n class Resource$Disktypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/diskTypes/{diskType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'diskType'],\n pathParams: ['diskType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Disktypes = Resource$Disktypes;\n class Resource$Externalvpngateways {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'externalVpnGateway'],\n pathParams: ['externalVpnGateway', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'externalVpnGateway'],\n pathParams: ['externalVpnGateway', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/externalVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/externalVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/externalVpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Externalvpngateways = Resource$Externalvpngateways;\n class Resource$Firewalls {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/firewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/firewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/firewalls/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Firewalls = Resource$Firewalls;\n class Resource$Forwardingrules {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTarget(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Forwardingrules = Resource$Forwardingrules;\n class Resource$Globaladdresses {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'address'],\n pathParams: ['address', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'address'],\n pathParams: ['address', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/addresses/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/addresses/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Globaladdresses = Resource$Globaladdresses;\n class Resource$Globalforwardingrules {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTarget(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Globalforwardingrules = Resource$Globalforwardingrules;\n class Resource$Globalnetworkendpointgroups {\n constructor(context) {\n this.context = context;\n }\n attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Globalnetworkendpointgroups = Resource$Globalnetworkendpointgroups;\n class Resource$Globaloperations {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Globaloperations = Resource$Globaloperations;\n class Resource$Globalorganizationoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['operation'],\n pathParams: ['operation'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['operation'],\n pathParams: ['operation'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/locations/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['operation'],\n pathParams: ['operation'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Globalorganizationoperations = Resource$Globalorganizationoperations;\n class Resource$Globalpublicdelegatedprefixes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'publicDelegatedPrefix'],\n pathParams: ['project', 'publicDelegatedPrefix'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'publicDelegatedPrefix'],\n pathParams: ['project', 'publicDelegatedPrefix'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'publicDelegatedPrefix'],\n pathParams: ['project', 'publicDelegatedPrefix'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Globalpublicdelegatedprefixes = Resource$Globalpublicdelegatedprefixes;\n class Resource$Healthchecks {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/healthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Healthchecks = Resource$Healthchecks;\n class Resource$Httphealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Httphealthchecks = Resource$Httphealthchecks;\n class Resource$Httpshealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Httpshealthchecks = Resource$Httpshealthchecks;\n class Resource$Images {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{image}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deprecate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{image}/deprecate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{image}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getFromFamily(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/family/{family}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'family'],\n pathParams: ['family', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/images').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/images').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/images/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Images = Resource$Images;\n class Resource$Instancegroupmanagers {\n constructor(context) {\n this.context = context;\n }\n abandonInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listErrors(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listManagedInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recreateInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resizeAdvanced(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTargetPools(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Instancegroupmanagers = Resource$Instancegroupmanagers;\n class Resource$Instancegroups {\n constructor(context) {\n this.context = context;\n }\n addInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNamedPorts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Instancegroups = Resource$Instancegroups;\n class Resource$Instances {\n constructor(context) {\n this.context = context;\n }\n addAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/attachDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'project',\n 'zone',\n 'instance',\n 'accessConfig',\n 'networkInterface',\n ],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/detachDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'deviceName'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getEffectiveFirewalls(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getGuestAttributes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSerialPortOutput(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/serialPort').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getShieldedInstanceIdentity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getShieldedVmIdentity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listReferrers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/referrers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDeletionProtection(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDiskAutoDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'project',\n 'zone',\n 'instance',\n 'autoDelete',\n 'deviceName',\n ],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMachineResources(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMachineType(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMachineType').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMinCpuPlatform(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setName(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setName').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setScheduling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setScheduling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setServiceAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setShieldedInstanceIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setShieldedVmIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTags(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/setTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n simulateMaintenanceEvent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startWithEncryptionKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n suspend(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/suspend').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateDisplayDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateNetworkInterface(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateShieldedInstanceConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateShieldedVmConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Instances = Resource$Instances;\n class Resource$Instancetemplates {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instanceTemplate'],\n pathParams: ['instanceTemplate', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instanceTemplate'],\n pathParams: ['instanceTemplate', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/instanceTemplates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Instancetemplates = Resource$Instancetemplates;\n class Resource$Interconnectattachments {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Interconnectattachments = Resource$Interconnectattachments;\n class Resource$Interconnectlocations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnectLocations/{interconnectLocation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnectLocation'],\n pathParams: ['interconnectLocation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnectLocations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnectLocations/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Interconnectlocations = Resource$Interconnectlocations;\n class Resource$Interconnects {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getDiagnostics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{interconnect}/getDiagnostics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/interconnects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/interconnects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/interconnects/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Interconnects = Resource$Interconnects;\n class Resource$Licensecodes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenseCodes/{licenseCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'licenseCode'],\n pathParams: ['licenseCode', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenseCodes/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenseCodes/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenseCodes/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Licensecodes = Resource$Licensecodes;\n class Resource$Licenses {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenses/{license}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'license'],\n pathParams: ['license', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenses/{license}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'license'],\n pathParams: ['license', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenses/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/licenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/licenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenses/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/licenses/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Licenses = Resource$Licenses;\n class Resource$Machineimages {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'machineImage'],\n pathParams: ['machineImage', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'machineImage'],\n pathParams: ['machineImage', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/machineImages/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/machineImages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/machineImages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/machineImages/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/machineImages/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Machineimages = Resource$Machineimages;\n class Resource$Machinetypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/machineTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/machineTypes/{machineType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'machineType'],\n pathParams: ['machineType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/machineTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Machinetypes = Resource$Machinetypes;\n class Resource$Networkendpointgroups {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Networkendpointgroups = Resource$Networkendpointgroups;\n class Resource$Networks {\n constructor(context) {\n this.context = context;\n }\n addPeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/addPeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getEffectiveFirewalls(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/getEffectiveFirewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/networks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/networks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listIpAddresses(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/listIpAddresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listIpOwners(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/listIpOwners').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPeeringRoutes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/listPeeringRoutes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removePeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/removePeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n switchToCustomMode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/switchToCustomMode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/networks/{network}/updatePeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Networks = Resource$Networks;\n class Resource$Nodegroups {\n constructor(context) {\n this.context = context;\n }\n addNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'initialNodeCount'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoscalingPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setAutoscalingPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNodeTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Nodegroups = Resource$Nodegroups;\n class Resource$Nodetemplates {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'nodeTemplate'],\n pathParams: ['nodeTemplate', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'nodeTemplate'],\n pathParams: ['nodeTemplate', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Nodetemplates = Resource$Nodetemplates;\n class Resource$Nodetypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/nodeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeTypes/{nodeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeType'],\n pathParams: ['nodeType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/nodeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Nodetypes = Resource$Nodetypes;\n class Resource$Organizationsecuritypolicies {\n constructor(context) {\n this.context = context;\n }\n addAssociation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/addAssociation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n copyRules(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/copyRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAssociation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/getAssociation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAssociations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/listAssociations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeAssociation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/removeAssociation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/locations/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['securityPolicy'],\n pathParams: ['securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Organizationsecuritypolicies = Resource$Organizationsecuritypolicies;\n class Resource$Packetmirrorings {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/packetMirrorings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'packetMirroring'],\n pathParams: ['packetMirroring', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'packetMirroring'],\n pathParams: ['packetMirroring', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'packetMirroring'],\n pathParams: ['packetMirroring', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Packetmirrorings = Resource$Packetmirrorings;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n disableXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/disableXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disableXpnResource(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/disableXpnResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/enableXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableXpnResource(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/enableXpnResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/getXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getXpnResources(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/getXpnResources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listXpnHosts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/listXpnHosts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/moveDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/moveInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setCommonInstanceMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/setCommonInstanceMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDefaultNetworkTier(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/setDefaultNetworkTier').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDefaultServiceAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/setDefaultServiceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUsageExportBucket(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/setUsageExportBucket').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Projects = Resource$Projects;\n class Resource$Publicadvertisedprefixes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'publicAdvertisedPrefix'],\n pathParams: ['project', 'publicAdvertisedPrefix'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'publicAdvertisedPrefix'],\n pathParams: ['project', 'publicAdvertisedPrefix'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'publicAdvertisedPrefix'],\n pathParams: ['project', 'publicAdvertisedPrefix'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Publicadvertisedprefixes = Resource$Publicadvertisedprefixes;\n class Resource$Publicdelegatedprefixes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/publicDelegatedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'publicDelegatedPrefix'],\n pathParams: ['project', 'publicDelegatedPrefix', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'publicDelegatedPrefix'],\n pathParams: ['project', 'publicDelegatedPrefix', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'publicDelegatedPrefix'],\n pathParams: ['project', 'publicDelegatedPrefix', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Publicdelegatedprefixes = Resource$Publicdelegatedprefixes;\n class Resource$Regionautoscalers {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionautoscalers = Resource$Regionautoscalers;\n class Resource$Regionbackendservices {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionbackendservices = Resource$Regionbackendservices;\n class Resource$Regioncommitments {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/commitments/{commitment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'commitment'],\n pathParams: ['commitment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/commitments/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateReservations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/commitments/{commitment}/updateReservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'commitment'],\n pathParams: ['commitment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regioncommitments = Resource$Regioncommitments;\n class Resource$Regiondisks {\n constructor(context) {\n this.context = context;\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSnapshot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/createSnapshot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{disk}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regiondisks = Resource$Regiondisks;\n class Resource$Regiondisktypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/diskTypes/{diskType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'diskType'],\n pathParams: ['diskType', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regiondisktypes = Resource$Regiondisktypes;\n class Resource$Regionhealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionhealthchecks = Resource$Regionhealthchecks;\n class Resource$Regionhealthcheckservices {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheckService'],\n pathParams: ['healthCheckService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheckService'],\n pathParams: ['healthCheckService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionhealthcheckservices = Resource$Regionhealthcheckservices;\n class Resource$Regioninstancegroupmanagers {\n constructor(context) {\n this.context = context;\n }\n abandonInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listErrors(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listManagedInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recreateInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager', 'size'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTargetPools(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regioninstancegroupmanagers = Resource$Regioninstancegroupmanagers;\n class Resource$Regioninstancegroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNamedPorts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regioninstancegroups = Resource$Regioninstancegroups;\n class Resource$Regionnetworkendpointgroups {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionnetworkendpointgroups = Resource$Regionnetworkendpointgroups;\n class Resource$Regionnotificationendpoints {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'notificationEndpoint'],\n pathParams: ['notificationEndpoint', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'notificationEndpoint'],\n pathParams: ['notificationEndpoint', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionnotificationendpoints = Resource$Regionnotificationendpoints;\n class Resource$Regionoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionoperations = Resource$Regionoperations;\n class Resource$Regions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/regions/{region}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/regions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regions = Resource$Regions;\n class Resource$Regionsslcertificates {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'sslCertificate'],\n pathParams: ['project', 'region', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'sslCertificate'],\n pathParams: ['project', 'region', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionsslcertificates = Resource$Regionsslcertificates;\n class Resource$Regiontargethttpproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regiontargethttpproxies = Resource$Regiontargethttpproxies;\n class Resource$Regiontargethttpsproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regiontargethttpsproxies = Resource$Regiontargethttpsproxies;\n class Resource$Regionurlmaps {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n invalidateCache(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/urlMaps/{urlMap}/validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Regionurlmaps = Resource$Regionurlmaps;\n class Resource$Reservations {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations/{reservation}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Reservations = Resource$Reservations;\n class Resource$Resourcepolicies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resourcePolicy'],\n pathParams: ['project', 'region', 'resourcePolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resourcePolicy'],\n pathParams: ['project', 'region', 'resourcePolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Resourcepolicies = Resource$Resourcepolicies;\n class Resource$Routers {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getNatMappingInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRouterStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}/getRouterStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n preview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}/preview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Routers = Resource$Routers;\n class Resource$Routes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/routes/{route}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'route'],\n pathParams: ['project', 'route'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/routes/{route}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'route'],\n pathParams: ['project', 'route'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/routes/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Routes = Resource$Routes;\n class Resource$Securitypolicies {\n constructor(context) {\n this.context = context;\n }\n addRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPreconfiguredExpressionSets(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/securityPolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Securitypolicies = Resource$Securitypolicies;\n class Resource$Snapshots {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'snapshot'],\n pathParams: ['project', 'snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'snapshot'],\n pathParams: ['project', 'snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/snapshots/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/snapshots').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/snapshots/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/snapshots/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/snapshots/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Snapshots = Resource$Snapshots;\n class Resource$Sslcertificates {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'sslCertificate'],\n pathParams: ['project', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'sslCertificate'],\n pathParams: ['project', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslCertificates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Sslcertificates = Resource$Sslcertificates;\n class Resource$Sslpolicies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/sslPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/sslPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAvailableFeatures(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslPolicies/listAvailableFeatures').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/sslPolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Sslpolicies = Resource$Sslpolicies;\n class Resource$Subnetworks {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n expandIpCidrRange(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listUsable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/subnetworks/listUsable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setPrivateIpGoogleAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Subnetworks = Resource$Subnetworks;\n class Resource$Targethttpproxies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targethttpproxies = Resource$Targethttpproxies;\n class Resource$Targethttpsproxies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setQuicOverride(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targethttpsproxies = Resource$Targethttpsproxies;\n class Resource$Targetinstances {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'targetInstance'],\n pathParams: ['project', 'targetInstance', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'targetInstance'],\n pathParams: ['project', 'targetInstance', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targetinstances = Resource$Targetinstances;\n class Resource$Targetpools {\n constructor(context) {\n this.context = context;\n }\n addHealthCheck(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeHealthCheck(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targetpools = Resource$Targetpools;\n class Resource$Targetsslproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackendService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProxyHeader(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetSslProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targetsslproxies = Resource$Targetsslproxies;\n class Resource$Targettcpproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackendService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProxyHeader(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targettcpproxies = Resource$Targettcpproxies;\n class Resource$Targetvpngateways {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetVpnGateway'],\n pathParams: ['project', 'region', 'targetVpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetVpnGateway'],\n pathParams: ['project', 'region', 'targetVpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Targetvpngateways = Resource$Targetvpngateways;\n class Resource$Urlmaps {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/aggregated/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n invalidateCache(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/global/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/global/urlMaps/{urlMap}/validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Urlmaps = Resource$Urlmaps;\n class Resource$Vpngateways {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Vpngateways = Resource$Vpngateways;\n class Resource$Vpntunnels {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/aggregated/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnTunnel'],\n pathParams: ['project', 'region', 'vpnTunnel'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnTunnel'],\n pathParams: ['project', 'region', 'vpnTunnel'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Vpntunnels = Resource$Vpntunnels;\n class Resource$Zoneoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/alpha/projects/{project}/zones/{zone}/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Zoneoperations = Resource$Zoneoperations;\n class Resource$Zones {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/zones/{zone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/alpha/projects/{project}/zones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_alpha.Resource$Zones = Resource$Zones;\n})(compute_alpha = exports.compute_alpha || (exports.compute_alpha = {}));\n//# sourceMappingURL=alpha.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar compute_beta;\n(function (compute_beta) {\n /**\n * Compute Engine API\n *\n * Creates and runs virtual machines on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const compute = google.compute('beta');\n *\n * @namespace compute\n * @type {Function}\n * @version beta\n * @variation beta\n * @param {object=} options Options for Compute\n */\n class Compute {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.acceleratorTypes = new Resource$Acceleratortypes(this.context);\n this.addresses = new Resource$Addresses(this.context);\n this.autoscalers = new Resource$Autoscalers(this.context);\n this.backendBuckets = new Resource$Backendbuckets(this.context);\n this.backendServices = new Resource$Backendservices(this.context);\n this.disks = new Resource$Disks(this.context);\n this.diskTypes = new Resource$Disktypes(this.context);\n this.externalVpnGateways = new Resource$Externalvpngateways(this.context);\n this.firewalls = new Resource$Firewalls(this.context);\n this.forwardingRules = new Resource$Forwardingrules(this.context);\n this.globalAddresses = new Resource$Globaladdresses(this.context);\n this.globalForwardingRules = new Resource$Globalforwardingrules(this.context);\n this.globalOperations = new Resource$Globaloperations(this.context);\n this.healthChecks = new Resource$Healthchecks(this.context);\n this.httpHealthChecks = new Resource$Httphealthchecks(this.context);\n this.httpsHealthChecks = new Resource$Httpshealthchecks(this.context);\n this.images = new Resource$Images(this.context);\n this.instanceGroupManagers = new Resource$Instancegroupmanagers(this.context);\n this.instanceGroups = new Resource$Instancegroups(this.context);\n this.instances = new Resource$Instances(this.context);\n this.instanceTemplates = new Resource$Instancetemplates(this.context);\n this.interconnectAttachments = new Resource$Interconnectattachments(this.context);\n this.interconnectLocations = new Resource$Interconnectlocations(this.context);\n this.interconnects = new Resource$Interconnects(this.context);\n this.licenseCodes = new Resource$Licensecodes(this.context);\n this.licenses = new Resource$Licenses(this.context);\n this.machineImages = new Resource$Machineimages(this.context);\n this.machineTypes = new Resource$Machinetypes(this.context);\n this.networkEndpointGroups = new Resource$Networkendpointgroups(this.context);\n this.networks = new Resource$Networks(this.context);\n this.nodeGroups = new Resource$Nodegroups(this.context);\n this.nodeTemplates = new Resource$Nodetemplates(this.context);\n this.nodeTypes = new Resource$Nodetypes(this.context);\n this.packetMirrorings = new Resource$Packetmirrorings(this.context);\n this.projects = new Resource$Projects(this.context);\n this.regionAutoscalers = new Resource$Regionautoscalers(this.context);\n this.regionBackendServices = new Resource$Regionbackendservices(this.context);\n this.regionCommitments = new Resource$Regioncommitments(this.context);\n this.regionDisks = new Resource$Regiondisks(this.context);\n this.regionDiskTypes = new Resource$Regiondisktypes(this.context);\n this.regionHealthChecks = new Resource$Regionhealthchecks(this.context);\n this.regionInstanceGroupManagers = new Resource$Regioninstancegroupmanagers(this.context);\n this.regionInstanceGroups = new Resource$Regioninstancegroups(this.context);\n this.regionOperations = new Resource$Regionoperations(this.context);\n this.regions = new Resource$Regions(this.context);\n this.regionSslCertificates = new Resource$Regionsslcertificates(this.context);\n this.regionTargetHttpProxies = new Resource$Regiontargethttpproxies(this.context);\n this.regionTargetHttpsProxies = new Resource$Regiontargethttpsproxies(this.context);\n this.regionUrlMaps = new Resource$Regionurlmaps(this.context);\n this.reservations = new Resource$Reservations(this.context);\n this.resourcePolicies = new Resource$Resourcepolicies(this.context);\n this.routers = new Resource$Routers(this.context);\n this.routes = new Resource$Routes(this.context);\n this.securityPolicies = new Resource$Securitypolicies(this.context);\n this.snapshots = new Resource$Snapshots(this.context);\n this.sslCertificates = new Resource$Sslcertificates(this.context);\n this.sslPolicies = new Resource$Sslpolicies(this.context);\n this.subnetworks = new Resource$Subnetworks(this.context);\n this.targetHttpProxies = new Resource$Targethttpproxies(this.context);\n this.targetHttpsProxies = new Resource$Targethttpsproxies(this.context);\n this.targetInstances = new Resource$Targetinstances(this.context);\n this.targetPools = new Resource$Targetpools(this.context);\n this.targetSslProxies = new Resource$Targetsslproxies(this.context);\n this.targetTcpProxies = new Resource$Targettcpproxies(this.context);\n this.targetVpnGateways = new Resource$Targetvpngateways(this.context);\n this.urlMaps = new Resource$Urlmaps(this.context);\n this.vpnGateways = new Resource$Vpngateways(this.context);\n this.vpnTunnels = new Resource$Vpntunnels(this.context);\n this.zoneOperations = new Resource$Zoneoperations(this.context);\n this.zones = new Resource$Zones(this.context);\n }\n }\n compute_beta.Compute = Compute;\n class Resource$Acceleratortypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'acceleratorType'],\n pathParams: ['acceleratorType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Acceleratortypes = Resource$Acceleratortypes;\n class Resource$Addresses {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'address'],\n pathParams: ['address', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'address'],\n pathParams: ['address', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/addresses/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Addresses = Resource$Addresses;\n class Resource$Autoscalers {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Autoscalers = Resource$Autoscalers;\n class Resource$Backendbuckets {\n constructor(context) {\n this.context = context;\n }\n addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket', 'keyName'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/backendBuckets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/backendBuckets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Backendbuckets = Resource$Backendbuckets;\n class Resource$Backendservices {\n constructor(context) {\n this.context = context;\n }\n addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}/addSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService', 'keyName'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSecurityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}/setSecurityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Backendservices = Resource$Backendservices;\n class Resource$Disks {\n constructor(context) {\n this.context = context;\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSnapshot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/zones/{zone}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/zones/{zone}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{disk}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Disks = Resource$Disks;\n class Resource$Disktypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/diskTypes/{diskType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'diskType'],\n pathParams: ['diskType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Disktypes = Resource$Disktypes;\n class Resource$Externalvpngateways {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'externalVpnGateway'],\n pathParams: ['externalVpnGateway', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'externalVpnGateway'],\n pathParams: ['externalVpnGateway', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/externalVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/externalVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/externalVpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Externalvpngateways = Resource$Externalvpngateways;\n class Resource$Firewalls {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/firewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/firewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/firewalls/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Firewalls = Resource$Firewalls;\n class Resource$Forwardingrules {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTarget(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Forwardingrules = Resource$Forwardingrules;\n class Resource$Globaladdresses {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'address'],\n pathParams: ['address', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'address'],\n pathParams: ['address', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/addresses/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/addresses/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Globaladdresses = Resource$Globaladdresses;\n class Resource$Globalforwardingrules {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTarget(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/forwardingRules/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Globalforwardingrules = Resource$Globalforwardingrules;\n class Resource$Globaloperations {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Globaloperations = Resource$Globaloperations;\n class Resource$Healthchecks {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/healthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Healthchecks = Resource$Healthchecks;\n class Resource$Httphealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Httphealthchecks = Resource$Httphealthchecks;\n class Resource$Httpshealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Httpshealthchecks = Resource$Httpshealthchecks;\n class Resource$Images {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/images/{image}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deprecate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/images/{image}/deprecate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/images/{image}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getFromFamily(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/images/family/{family}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'family'],\n pathParams: ['family', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/images/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/images').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/images').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/images/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/images/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/images/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Images = Resource$Images;\n class Resource$Instancegroupmanagers {\n constructor(context) {\n this.context = context;\n }\n abandonInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listErrors(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listManagedInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recreateInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resizeAdvanced(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTargetPools(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Instancegroupmanagers = Resource$Instancegroupmanagers;\n class Resource$Instancegroups {\n constructor(context) {\n this.context = context;\n }\n addInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNamedPorts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Instancegroups = Resource$Instancegroups;\n class Resource$Instances {\n constructor(context) {\n this.context = context;\n }\n addAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/attachDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'project',\n 'zone',\n 'instance',\n 'accessConfig',\n 'networkInterface',\n ],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/detachDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'deviceName'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getGuestAttributes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSerialPortOutput(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/serialPort').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getShieldedInstanceIdentity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getShieldedVmIdentity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listReferrers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/referrers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDeletionProtection(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDiskAutoDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'project',\n 'zone',\n 'instance',\n 'autoDelete',\n 'deviceName',\n ],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMachineResources(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMachineType(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMachineType').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMinCpuPlatform(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setScheduling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setScheduling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setServiceAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setShieldedInstanceIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setShieldedVmIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTags(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/setTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n simulateMaintenanceEvent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startWithEncryptionKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n suspend(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/suspend').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateDisplayDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateNetworkInterface(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateShieldedInstanceConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateShieldedVmConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Instances = Resource$Instances;\n class Resource$Instancetemplates {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instanceTemplate'],\n pathParams: ['instanceTemplate', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instanceTemplate'],\n pathParams: ['instanceTemplate', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/instanceTemplates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Instancetemplates = Resource$Instancetemplates;\n class Resource$Interconnectattachments {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Interconnectattachments = Resource$Interconnectattachments;\n class Resource$Interconnectlocations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnectLocations/{interconnectLocation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnectLocation'],\n pathParams: ['interconnectLocation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnectLocations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Interconnectlocations = Resource$Interconnectlocations;\n class Resource$Interconnects {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getDiagnostics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnects/{interconnect}/getDiagnostics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/interconnects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/interconnects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnects/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/interconnects/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Interconnects = Resource$Interconnects;\n class Resource$Licensecodes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/licenseCodes/{licenseCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'licenseCode'],\n pathParams: ['licenseCode', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Licensecodes = Resource$Licensecodes;\n class Resource$Licenses {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/licenses/{license}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'license'],\n pathParams: ['license', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/licenses/{license}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'license'],\n pathParams: ['license', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/licenses/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/licenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/licenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/licenses/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Licenses = Resource$Licenses;\n class Resource$Machineimages {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'machineImage'],\n pathParams: ['machineImage', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/machineImages/{machineImage}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'machineImage'],\n pathParams: ['machineImage', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/machineImages/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/machineImages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/machineImages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/machineImages/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/machineImages/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Machineimages = Resource$Machineimages;\n class Resource$Machinetypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/machineTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/machineTypes/{machineType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'machineType'],\n pathParams: ['machineType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/machineTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Machinetypes = Resource$Machinetypes;\n class Resource$Networkendpointgroups {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Networkendpointgroups = Resource$Networkendpointgroups;\n class Resource$Networks {\n constructor(context) {\n this.context = context;\n }\n addPeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}/addPeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/networks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/networks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPeeringRoutes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}/listPeeringRoutes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removePeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}/removePeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n switchToCustomMode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}/switchToCustomMode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/networks/{network}/updatePeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Networks = Resource$Networks;\n class Resource$Nodegroups {\n constructor(context) {\n this.context = context;\n }\n addNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'initialNodeCount'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNodeTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Nodegroups = Resource$Nodegroups;\n class Resource$Nodetemplates {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'nodeTemplate'],\n pathParams: ['nodeTemplate', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'nodeTemplate'],\n pathParams: ['nodeTemplate', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Nodetemplates = Resource$Nodetemplates;\n class Resource$Nodetypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/nodeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeTypes/{nodeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeType'],\n pathParams: ['nodeType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/nodeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Nodetypes = Resource$Nodetypes;\n class Resource$Packetmirrorings {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/packetMirrorings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'packetMirroring'],\n pathParams: ['packetMirroring', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'packetMirroring'],\n pathParams: ['packetMirroring', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/packetMirrorings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'packetMirroring'],\n pathParams: ['packetMirroring', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Packetmirrorings = Resource$Packetmirrorings;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n disableXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/disableXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disableXpnResource(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/disableXpnResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/enableXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableXpnResource(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/enableXpnResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/getXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getXpnResources(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/getXpnResources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listXpnHosts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/listXpnHosts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/moveDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/moveInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setCommonInstanceMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/setCommonInstanceMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDefaultNetworkTier(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/setDefaultNetworkTier').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUsageExportBucket(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/setUsageExportBucket').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Projects = Resource$Projects;\n class Resource$Regionautoscalers {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regionautoscalers = Resource$Regionautoscalers;\n class Resource$Regionbackendservices {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regionbackendservices = Resource$Regionbackendservices;\n class Resource$Regioncommitments {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/commitments/{commitment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'commitment'],\n pathParams: ['commitment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateReservations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/commitments/{commitment}/updateReservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'commitment'],\n pathParams: ['commitment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regioncommitments = Resource$Regioncommitments;\n class Resource$Regiondisks {\n constructor(context) {\n this.context = context;\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSnapshot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/createSnapshot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{disk}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regiondisks = Resource$Regiondisks;\n class Resource$Regiondisktypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/diskTypes/{diskType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'diskType'],\n pathParams: ['diskType', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regiondisktypes = Resource$Regiondisktypes;\n class Resource$Regionhealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regionhealthchecks = Resource$Regionhealthchecks;\n class Resource$Regioninstancegroupmanagers {\n constructor(context) {\n this.context = context;\n }\n abandonInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n applyUpdatesToInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deletePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listErrors(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listManagedInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchPerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recreateInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager', 'size'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoHealingPolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTargetPools(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePerInstanceConfigs(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regioninstancegroupmanagers = Resource$Regioninstancegroupmanagers;\n class Resource$Regioninstancegroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNamedPorts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regioninstancegroups = Resource$Regioninstancegroups;\n class Resource$Regionoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regionoperations = Resource$Regionoperations;\n class Resource$Regions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/regions/{region}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/regions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regions = Resource$Regions;\n class Resource$Regionsslcertificates {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'sslCertificate'],\n pathParams: ['project', 'region', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'sslCertificate'],\n pathParams: ['project', 'region', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regionsslcertificates = Resource$Regionsslcertificates;\n class Resource$Regiontargethttpproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regiontargethttpproxies = Resource$Regiontargethttpproxies;\n class Resource$Regiontargethttpsproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regiontargethttpsproxies = Resource$Regiontargethttpsproxies;\n class Resource$Regionurlmaps {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n invalidateCache(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/urlMaps/{urlMap}/validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Regionurlmaps = Resource$Regionurlmaps;\n class Resource$Reservations {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations/{reservation}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Reservations = Resource$Reservations;\n class Resource$Resourcepolicies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resourcePolicy'],\n pathParams: ['project', 'region', 'resourcePolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resourcePolicy'],\n pathParams: ['project', 'region', 'resourcePolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Resourcepolicies = Resource$Resourcepolicies;\n class Resource$Routers {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getNatMappingInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRouterStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}/getRouterStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n preview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}/preview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Routers = Resource$Routers;\n class Resource$Routes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/routes/{route}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'route'],\n pathParams: ['project', 'route'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/routes/{route}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'route'],\n pathParams: ['project', 'route'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/routes/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Routes = Resource$Routes;\n class Resource$Securitypolicies {\n constructor(context) {\n this.context = context;\n }\n addRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPreconfiguredExpressionSets(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/securityPolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Securitypolicies = Resource$Securitypolicies;\n class Resource$Snapshots {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'snapshot'],\n pathParams: ['project', 'snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'snapshot'],\n pathParams: ['project', 'snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/snapshots/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/snapshots').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/snapshots/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/snapshots/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/snapshots/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Snapshots = Resource$Snapshots;\n class Resource$Sslcertificates {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'sslCertificate'],\n pathParams: ['project', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'sslCertificate'],\n pathParams: ['project', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslCertificates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Sslcertificates = Resource$Sslcertificates;\n class Resource$Sslpolicies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/sslPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/sslPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAvailableFeatures(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslPolicies/listAvailableFeatures').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/sslPolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Sslpolicies = Resource$Sslpolicies;\n class Resource$Subnetworks {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n expandIpCidrRange(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listUsable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/subnetworks/listUsable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setPrivateIpGoogleAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Subnetworks = Resource$Subnetworks;\n class Resource$Targethttpproxies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targethttpproxies = Resource$Targethttpproxies;\n class Resource$Targethttpsproxies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setQuicOverride(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targethttpsproxies = Resource$Targethttpsproxies;\n class Resource$Targetinstances {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'targetInstance'],\n pathParams: ['project', 'targetInstance', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'targetInstance'],\n pathParams: ['project', 'targetInstance', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targetinstances = Resource$Targetinstances;\n class Resource$Targetpools {\n constructor(context) {\n this.context = context;\n }\n addHealthCheck(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeHealthCheck(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targetpools = Resource$Targetpools;\n class Resource$Targetsslproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackendService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProxyHeader(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetSslProxies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targetsslproxies = Resource$Targetsslproxies;\n class Resource$Targettcpproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetTcpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetTcpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackendService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProxyHeader(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targettcpproxies = Resource$Targettcpproxies;\n class Resource$Targetvpngateways {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetVpnGateway'],\n pathParams: ['project', 'region', 'targetVpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetVpnGateway'],\n pathParams: ['project', 'region', 'targetVpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Targetvpngateways = Resource$Targetvpngateways;\n class Resource$Urlmaps {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n invalidateCache(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/global/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/global/urlMaps/{urlMap}/validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Urlmaps = Resource$Urlmaps;\n class Resource$Vpngateways {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/aggregated/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Vpngateways = Resource$Vpngateways;\n class Resource$Vpntunnels {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/aggregated/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnTunnel'],\n pathParams: ['project', 'region', 'vpnTunnel'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnTunnel'],\n pathParams: ['project', 'region', 'vpnTunnel'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Vpntunnels = Resource$Vpntunnels;\n class Resource$Zoneoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/beta/projects/{project}/zones/{zone}/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Zoneoperations = Resource$Zoneoperations;\n class Resource$Zones {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/zones/{zone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/beta/projects/{project}/zones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_beta.Resource$Zones = Resource$Zones;\n})(compute_beta = exports.compute_beta || (exports.compute_beta = {}));\n//# sourceMappingURL=beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst alpha_1 = require(\"./alpha\");\nconst beta_1 = require(\"./beta\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n alpha: alpha_1.compute_alpha.Compute,\n beta: beta_1.compute_beta.Compute,\n v1: v1_1.compute_v1.Compute,\n};\nfunction compute(versionOrOptions) {\n return googleapis_common_1.getAPI('compute', versionOrOptions, exports.VERSIONS, this);\n}\nexports.compute = compute;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar compute_v1;\n(function (compute_v1) {\n /**\n * Compute Engine API\n *\n * Creates and runs virtual machines on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const compute = google.compute('v1');\n *\n * @namespace compute\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Compute\n */\n class Compute {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.acceleratorTypes = new Resource$Acceleratortypes(this.context);\n this.addresses = new Resource$Addresses(this.context);\n this.autoscalers = new Resource$Autoscalers(this.context);\n this.backendBuckets = new Resource$Backendbuckets(this.context);\n this.backendServices = new Resource$Backendservices(this.context);\n this.disks = new Resource$Disks(this.context);\n this.diskTypes = new Resource$Disktypes(this.context);\n this.externalVpnGateways = new Resource$Externalvpngateways(this.context);\n this.firewalls = new Resource$Firewalls(this.context);\n this.forwardingRules = new Resource$Forwardingrules(this.context);\n this.globalAddresses = new Resource$Globaladdresses(this.context);\n this.globalForwardingRules = new Resource$Globalforwardingrules(this.context);\n this.globalOperations = new Resource$Globaloperations(this.context);\n this.healthChecks = new Resource$Healthchecks(this.context);\n this.httpHealthChecks = new Resource$Httphealthchecks(this.context);\n this.httpsHealthChecks = new Resource$Httpshealthchecks(this.context);\n this.images = new Resource$Images(this.context);\n this.instanceGroupManagers = new Resource$Instancegroupmanagers(this.context);\n this.instanceGroups = new Resource$Instancegroups(this.context);\n this.instances = new Resource$Instances(this.context);\n this.instanceTemplates = new Resource$Instancetemplates(this.context);\n this.interconnectAttachments = new Resource$Interconnectattachments(this.context);\n this.interconnectLocations = new Resource$Interconnectlocations(this.context);\n this.interconnects = new Resource$Interconnects(this.context);\n this.licenseCodes = new Resource$Licensecodes(this.context);\n this.licenses = new Resource$Licenses(this.context);\n this.machineTypes = new Resource$Machinetypes(this.context);\n this.networkEndpointGroups = new Resource$Networkendpointgroups(this.context);\n this.networks = new Resource$Networks(this.context);\n this.nodeGroups = new Resource$Nodegroups(this.context);\n this.nodeTemplates = new Resource$Nodetemplates(this.context);\n this.nodeTypes = new Resource$Nodetypes(this.context);\n this.projects = new Resource$Projects(this.context);\n this.regionAutoscalers = new Resource$Regionautoscalers(this.context);\n this.regionBackendServices = new Resource$Regionbackendservices(this.context);\n this.regionCommitments = new Resource$Regioncommitments(this.context);\n this.regionDisks = new Resource$Regiondisks(this.context);\n this.regionDiskTypes = new Resource$Regiondisktypes(this.context);\n this.regionHealthChecks = new Resource$Regionhealthchecks(this.context);\n this.regionInstanceGroupManagers = new Resource$Regioninstancegroupmanagers(this.context);\n this.regionInstanceGroups = new Resource$Regioninstancegroups(this.context);\n this.regionOperations = new Resource$Regionoperations(this.context);\n this.regions = new Resource$Regions(this.context);\n this.regionSslCertificates = new Resource$Regionsslcertificates(this.context);\n this.regionTargetHttpProxies = new Resource$Regiontargethttpproxies(this.context);\n this.regionTargetHttpsProxies = new Resource$Regiontargethttpsproxies(this.context);\n this.regionUrlMaps = new Resource$Regionurlmaps(this.context);\n this.reservations = new Resource$Reservations(this.context);\n this.resourcePolicies = new Resource$Resourcepolicies(this.context);\n this.routers = new Resource$Routers(this.context);\n this.routes = new Resource$Routes(this.context);\n this.securityPolicies = new Resource$Securitypolicies(this.context);\n this.snapshots = new Resource$Snapshots(this.context);\n this.sslCertificates = new Resource$Sslcertificates(this.context);\n this.sslPolicies = new Resource$Sslpolicies(this.context);\n this.subnetworks = new Resource$Subnetworks(this.context);\n this.targetHttpProxies = new Resource$Targethttpproxies(this.context);\n this.targetHttpsProxies = new Resource$Targethttpsproxies(this.context);\n this.targetInstances = new Resource$Targetinstances(this.context);\n this.targetPools = new Resource$Targetpools(this.context);\n this.targetSslProxies = new Resource$Targetsslproxies(this.context);\n this.targetTcpProxies = new Resource$Targettcpproxies(this.context);\n this.targetVpnGateways = new Resource$Targetvpngateways(this.context);\n this.urlMaps = new Resource$Urlmaps(this.context);\n this.vpnGateways = new Resource$Vpngateways(this.context);\n this.vpnTunnels = new Resource$Vpntunnels(this.context);\n this.zoneOperations = new Resource$Zoneoperations(this.context);\n this.zones = new Resource$Zones(this.context);\n }\n }\n compute_v1.Compute = Compute;\n class Resource$Acceleratortypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'acceleratorType'],\n pathParams: ['acceleratorType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Acceleratortypes = Resource$Acceleratortypes;\n class Resource$Addresses {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'address'],\n pathParams: ['address', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'address'],\n pathParams: ['address', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Addresses = Resource$Addresses;\n class Resource$Autoscalers {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Autoscalers = Resource$Autoscalers;\n class Resource$Backendbuckets {\n constructor(context) {\n this.context = context;\n }\n addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket', 'keyName'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/backendBuckets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/backendBuckets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendBuckets/{backendBucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'backendBucket'],\n pathParams: ['backendBucket', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Backendbuckets = Resource$Backendbuckets;\n class Resource$Backendservices {\n constructor(context) {\n this.context = context;\n }\n addSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}/addSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteSignedUrlKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService', 'keyName'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSecurityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}/setSecurityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'backendService'],\n pathParams: ['backendService', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Backendservices = Resource$Backendservices;\n class Resource$Disks {\n constructor(context) {\n this.context = context;\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSnapshot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/createSnapshot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{disk}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'disk'],\n pathParams: ['disk', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Disks = Resource$Disks;\n class Resource$Disktypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/diskTypes/{diskType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'diskType'],\n pathParams: ['diskType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Disktypes = Resource$Disktypes;\n class Resource$Externalvpngateways {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'externalVpnGateway'],\n pathParams: ['externalVpnGateway', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/externalVpnGateways/{externalVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'externalVpnGateway'],\n pathParams: ['externalVpnGateway', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/externalVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/externalVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/externalVpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Externalvpngateways = Resource$Externalvpngateways;\n class Resource$Firewalls {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/firewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/firewalls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/firewalls/{firewall}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'firewall'],\n pathParams: ['firewall', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Firewalls = Resource$Firewalls;\n class Resource$Forwardingrules {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTarget(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Forwardingrules = Resource$Forwardingrules;\n class Resource$Globaladdresses {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'address'],\n pathParams: ['address', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/addresses/{address}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'address'],\n pathParams: ['address', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/addresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Globaladdresses = Resource$Globaladdresses;\n class Resource$Globalforwardingrules {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/forwardingRules/{forwardingRule}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/forwardingRules').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTarget(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/forwardingRules/{forwardingRule}/setTarget').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'forwardingRule'],\n pathParams: ['forwardingRule', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Globalforwardingrules = Resource$Globalforwardingrules;\n class Resource$Globaloperations {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Globaloperations = Resource$Globaloperations;\n class Resource$Healthchecks {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'healthCheck'],\n pathParams: ['healthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Healthchecks = Resource$Healthchecks;\n class Resource$Httphealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/httpHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/httpHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpHealthChecks/{httpHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'httpHealthCheck'],\n pathParams: ['httpHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Httphealthchecks = Resource$Httphealthchecks;\n class Resource$Httpshealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpsHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpsHealthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'httpsHealthCheck'],\n pathParams: ['httpsHealthCheck', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Httpshealthchecks = Resource$Httpshealthchecks;\n class Resource$Images {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/images/{image}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deprecate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/images/{image}/deprecate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/images/{image}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'image'],\n pathParams: ['image', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getFromFamily(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/images/family/{family}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'family'],\n pathParams: ['family', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/images/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/images').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/images').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/images/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/images/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/images/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Images = Resource$Images;\n class Resource$Instancegroupmanagers {\n constructor(context) {\n this.context = context;\n }\n abandonInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listManagedInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recreateInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTargetPools(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Instancegroupmanagers = Resource$Instancegroupmanagers;\n class Resource$Instancegroups {\n constructor(context) {\n this.context = context;\n }\n addInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNamedPorts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Instancegroups = Resource$Instancegroups;\n class Resource$Instances {\n constructor(context) {\n this.context = context;\n }\n addAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/attachDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'project',\n 'zone',\n 'instance',\n 'accessConfig',\n 'networkInterface',\n ],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/detachDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'deviceName'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getGuestAttributes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSerialPortOutput(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/serialPort').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getShieldedInstanceIdentity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listReferrers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/referrers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDeletionProtection(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDiskAutoDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'project',\n 'zone',\n 'instance',\n 'autoDelete',\n 'deviceName',\n ],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMachineResources(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMachineResources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMachineType(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMachineType').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMinCpuPlatform(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setScheduling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setScheduling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setServiceAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setShieldedInstanceIntegrityPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTags(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/setTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n simulateMaintenanceEvent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startWithEncryptionKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAccessConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateDisplayDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateNetworkInterface(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance', 'networkInterface'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateShieldedInstanceConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'instance'],\n pathParams: ['instance', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Instances = Resource$Instances;\n class Resource$Instancetemplates {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instanceTemplate'],\n pathParams: ['instanceTemplate', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates/{instanceTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instanceTemplate'],\n pathParams: ['instanceTemplate', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/instanceTemplates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Instancetemplates = Resource$Instancetemplates;\n class Resource$Interconnectattachments {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'interconnectAttachment'],\n pathParams: ['interconnectAttachment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Interconnectattachments = Resource$Interconnectattachments;\n class Resource$Interconnectlocations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/interconnectLocations/{interconnectLocation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnectLocation'],\n pathParams: ['interconnectLocation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/interconnectLocations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Interconnectlocations = Resource$Interconnectlocations;\n class Resource$Interconnects {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getDiagnostics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/interconnects/{interconnect}/getDiagnostics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/interconnects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/interconnects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/interconnects/{interconnect}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'interconnect'],\n pathParams: ['interconnect', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Interconnects = Resource$Interconnects;\n class Resource$Licensecodes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenseCodes/{licenseCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'licenseCode'],\n pathParams: ['licenseCode', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenseCodes/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Licensecodes = Resource$Licensecodes;\n class Resource$Licenses {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenses/{license}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'license'],\n pathParams: ['license', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenses/{license}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'license'],\n pathParams: ['license', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenses/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/licenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/licenses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenses/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/licenses/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Licenses = Resource$Licenses;\n class Resource$Machinetypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/machineTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/machineTypes/{machineType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'machineType'],\n pathParams: ['machineType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/machineTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Machinetypes = Resource$Machinetypes;\n class Resource$Networkendpointgroups {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detachNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNetworkEndpoints(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'networkEndpointGroup'],\n pathParams: ['networkEndpointGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Networkendpointgroups = Resource$Networkendpointgroups;\n class Resource$Networks {\n constructor(context) {\n this.context = context;\n }\n addPeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}/addPeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/networks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/networks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listPeeringRoutes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}/listPeeringRoutes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removePeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}/removePeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n switchToCustomMode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}/switchToCustomMode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePeering(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/networks/{network}/updatePeering').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'network'],\n pathParams: ['network', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Networks = Resource$Networks;\n class Resource$Nodegroups {\n constructor(context) {\n this.context = context;\n }\n addNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'initialNodeCount'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/nodeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listNodes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNodeTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeGroup'],\n pathParams: ['nodeGroup', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Nodegroups = Resource$Nodegroups;\n class Resource$Nodetemplates {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'nodeTemplate'],\n pathParams: ['nodeTemplate', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'nodeTemplate'],\n pathParams: ['nodeTemplate', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Nodetemplates = Resource$Nodetemplates;\n class Resource$Nodetypes {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/nodeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/nodeTypes/{nodeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'nodeType'],\n pathParams: ['nodeType', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/nodeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Nodetypes = Resource$Nodetypes;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n disableXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/disableXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disableXpnResource(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/disableXpnResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/enableXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableXpnResource(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/enableXpnResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getXpnHost(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/getXpnHost').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getXpnResources(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/getXpnResources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listXpnHosts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/listXpnHosts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveDisk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/moveDisk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n moveInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/moveInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setCommonInstanceMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/setCommonInstanceMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDefaultNetworkTier(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/setDefaultNetworkTier').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUsageExportBucket(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/setUsageExportBucket').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Projects = Resource$Projects;\n class Resource$Regionautoscalers {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/autoscalers/{autoscaler}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'autoscaler'],\n pathParams: ['autoscaler', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/autoscalers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regionautoscalers = Resource$Regionautoscalers;\n class Resource$Regionbackendservices {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/backendServices/{backendService}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'backendService'],\n pathParams: ['backendService', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regionbackendservices = Resource$Regionbackendservices;\n class Resource$Regioncommitments {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/commitments/{commitment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'commitment'],\n pathParams: ['commitment', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/commitments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regioncommitments = Resource$Regioncommitments;\n class Resource$Regiondisks {\n constructor(context) {\n this.context = context;\n }\n addResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSnapshot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/createSnapshot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{disk}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/regions/{region}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/regions/{region}/disks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeResourcePolicies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{disk}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'disk'],\n pathParams: ['disk', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/disks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regiondisks = Resource$Regiondisks;\n class Resource$Regiondisktypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/diskTypes/{diskType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'diskType'],\n pathParams: ['diskType', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/diskTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regiondisktypes = Resource$Regiondisktypes;\n class Resource$Regionhealthchecks {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/healthChecks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/healthChecks/{healthCheck}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'healthCheck'],\n pathParams: ['healthCheck', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regionhealthchecks = Resource$Regionhealthchecks;\n class Resource$Regioninstancegroupmanagers {\n constructor(context) {\n this.context = context;\n }\n abandonInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listManagedInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recreateInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager', 'size'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setInstanceTemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setTargetPools(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroupManager'],\n pathParams: ['instanceGroupManager', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regioninstancegroupmanagers = Resource$Regioninstancegroupmanagers;\n class Resource$Regioninstancegroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNamedPorts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'instanceGroup'],\n pathParams: ['instanceGroup', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regioninstancegroups = Resource$Regioninstancegroups;\n class Resource$Regionoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'operation'],\n pathParams: ['operation', 'project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regionoperations = Resource$Regionoperations;\n class Resource$Regions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/regions/{region}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/regions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regions = Resource$Regions;\n class Resource$Regionsslcertificates {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'sslCertificate'],\n pathParams: ['project', 'region', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'sslCertificate'],\n pathParams: ['project', 'region', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regionsslcertificates = Resource$Regionsslcertificates;\n class Resource$Regiontargethttpproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpProxy'],\n pathParams: ['project', 'region', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regiontargethttpproxies = Resource$Regiontargethttpproxies;\n class Resource$Regiontargethttpsproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetHttpsProxy'],\n pathParams: ['project', 'region', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regiontargethttpsproxies = Resource$Regiontargethttpsproxies;\n class Resource$Regionurlmaps {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/urlMaps/{urlMap}/validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'urlMap'],\n pathParams: ['project', 'region', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Regionurlmaps = Resource$Regionurlmaps;\n class Resource$Reservations {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations/{reservation}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'reservation'],\n pathParams: ['project', 'reservation', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'resource'],\n pathParams: ['project', 'resource', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Reservations = Resource$Reservations;\n class Resource$Resourcepolicies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resourcePolicy'],\n pathParams: ['project', 'region', 'resourcePolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resourcePolicy'],\n pathParams: ['project', 'region', 'resourcePolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Resourcepolicies = Resource$Resourcepolicies;\n class Resource$Routers {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getNatMappingInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRouterStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}/getRouterStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n preview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}/preview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/routers/{router}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'region', 'router'],\n pathParams: ['project', 'region', 'router'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Routers = Resource$Routers;\n class Resource$Routes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/routes/{route}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'route'],\n pathParams: ['project', 'route'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/routes/{route}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'route'],\n pathParams: ['project', 'route'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Routes = Resource$Routes;\n class Resource$Securitypolicies {\n constructor(context) {\n this.context = context;\n }\n addRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/addRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/getRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/securityPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patchRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/patchRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeRule(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/securityPolicies/{securityPolicy}/removeRule').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'securityPolicy'],\n pathParams: ['project', 'securityPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Securitypolicies = Resource$Securitypolicies;\n class Resource$Snapshots {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'snapshot'],\n pathParams: ['project', 'snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/snapshots/{snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'snapshot'],\n pathParams: ['project', 'snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/snapshots/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/snapshots').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/snapshots/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/snapshots/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/snapshots/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Snapshots = Resource$Snapshots;\n class Resource$Sslcertificates {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'sslCertificate'],\n pathParams: ['project', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/sslCertificates/{sslCertificate}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'sslCertificate'],\n pathParams: ['project', 'sslCertificate'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/sslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Sslcertificates = Resource$Sslcertificates;\n class Resource$Sslpolicies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/sslPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/sslPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listAvailableFeatures(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/sslPolicies/listAvailableFeatures').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/sslPolicies/{sslPolicy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'sslPolicy'],\n pathParams: ['project', 'sslPolicy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Sslpolicies = Resource$Sslpolicies;\n class Resource$Subnetworks {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n expandIpCidrRange(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listUsable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/subnetworks/listUsable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setPrivateIpGoogleAccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'subnetwork'],\n pathParams: ['project', 'region', 'subnetwork'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Subnetworks = Resource$Subnetworks;\n class Resource$Targethttpproxies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpProxies/{targetHttpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpProxy'],\n pathParams: ['project', 'targetHttpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targethttpproxies = Resource$Targethttpproxies;\n class Resource$Targethttpsproxies {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpsProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setQuicOverride(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setUrlMap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetHttpsProxy'],\n pathParams: ['project', 'targetHttpsProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targethttpsproxies = Resource$Targethttpsproxies;\n class Resource$Targetinstances {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'targetInstance'],\n pathParams: ['project', 'targetInstance', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/targetInstances/{targetInstance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'targetInstance'],\n pathParams: ['project', 'targetInstance', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/targetInstances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targetinstances = Resource$Targetinstances;\n class Resource$Targetpools {\n constructor(context) {\n this.context = context;\n }\n addHealthCheck(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHealth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeHealthCheck(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetPool'],\n pathParams: ['project', 'region', 'targetPool'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targetpools = Resource$Targetpools;\n class Resource$Targetsslproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/targetSslProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/targetSslProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackendService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProxyHeader(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslCertificates(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSslPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetSslProxy'],\n pathParams: ['project', 'targetSslProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targetsslproxies = Resource$Targetsslproxies;\n class Resource$Targettcpproxies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/targetTcpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/targetTcpProxies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setBackendService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProxyHeader(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'targetTcpProxy'],\n pathParams: ['project', 'targetTcpProxy'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targettcpproxies = Resource$Targettcpproxies;\n class Resource$Targetvpngateways {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/aggregated/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetVpnGateway'],\n pathParams: ['project', 'region', 'targetVpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'targetVpnGateway'],\n pathParams: ['project', 'region', 'targetVpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/targetVpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Targetvpngateways = Resource$Targetvpngateways;\n class Resource$Urlmaps {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n invalidateCache(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/urlMaps/{urlMap}/invalidateCache').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/global/urlMaps/{urlMap}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/global/urlMaps/{urlMap}/validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'urlMap'],\n pathParams: ['project', 'urlMap'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Urlmaps = Resource$Urlmaps;\n class Resource$Vpngateways {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnGateway'],\n pathParams: ['project', 'region', 'vpnGateway'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region', 'resource'],\n pathParams: ['project', 'region', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Vpngateways = Resource$Vpngateways;\n class Resource$Vpntunnels {\n constructor(context) {\n this.context = context;\n }\n aggregatedList(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/aggregated/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnTunnel'],\n pathParams: ['project', 'region', 'vpnTunnel'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region', 'vpnTunnel'],\n pathParams: ['project', 'region', 'vpnTunnel'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/regions/{region}/vpnTunnels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'region'],\n pathParams: ['project', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Vpntunnels = Resource$Vpntunnels;\n class Resource$Zoneoperations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/compute/v1/projects/{project}/zones/{zone}/operations/{operation}/wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'zone', 'operation'],\n pathParams: ['operation', 'project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Zoneoperations = Resource$Zoneoperations;\n class Resource$Zones {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones/{zone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'zone'],\n pathParams: ['project', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://compute.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/compute/v1/projects/{project}/zones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n compute_v1.Resource$Zones = Resource$Zones;\n})(compute_v1 = exports.compute_v1 || (exports.compute_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.container_v1.Container,\n v1beta1: v1beta1_1.container_v1beta1.Container,\n};\nfunction container(versionOrOptions) {\n return googleapis_common_1.getAPI('container', versionOrOptions, exports.VERSIONS, this);\n}\nexports.container = container;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar container_v1;\n(function (container_v1) {\n /**\n * Kubernetes Engine API\n *\n * Builds and manages container-based applications, powered by the open source Kubernetes technology.\n *\n * @example\n * const {google} = require('googleapis');\n * const container = google.container('v1');\n *\n * @namespace container\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Container\n */\n class Container {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n container_v1.Container = Container;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.aggregated = new Resource$Projects$Aggregated(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.zones = new Resource$Projects$Zones(this.context);\n }\n }\n container_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Aggregated {\n constructor(context) {\n this.context = context;\n this.usableSubnetworks = new Resource$Projects$Aggregated$Usablesubnetworks(this.context);\n }\n }\n container_v1.Resource$Projects$Aggregated = Resource$Projects$Aggregated;\n class Resource$Projects$Aggregated$Usablesubnetworks {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/aggregated/usableSubnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Aggregated$Usablesubnetworks = Resource$Projects$Aggregated$Usablesubnetworks;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.clusters = new Resource$Projects$Locations$Clusters(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n getServerConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/serverConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Clusters {\n constructor(context) {\n this.context = context;\n this.nodePools = new Resource$Projects$Locations$Clusters$Nodepools(this.context);\n this.wellKnown = new Resource$Projects$Locations$Clusters$WellKnown(this.context);\n }\n completeIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:completeIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getJwks(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/jwks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAddons(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setAddons').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLegacyAbac(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setLegacyAbac').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLocations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setLocations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLogging(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setLogging').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setMaintenancePolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMasterAuth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setMasterAuth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMonitoring(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setMonitoring').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setNetworkPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setResourceLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setResourceLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:startIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateMaster(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:updateMaster').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters;\n class Resource$Projects$Locations$Clusters$Nodepools {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoscaling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setAutoscaling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setManagement(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setManagement').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setSize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Locations$Clusters$Nodepools = Resource$Projects$Locations$Clusters$Nodepools;\n class Resource$Projects$Locations$Clusters$WellKnown {\n constructor(context) {\n this.context = context;\n }\n getOpenidConfiguration(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/.well-known/openid-configuration').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Locations$Clusters$WellKnown = Resource$Projects$Locations$Clusters$WellKnown;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Zones {\n constructor(context) {\n this.context = context;\n this.clusters = new Resource$Projects$Zones$Clusters(this.context);\n this.operations = new Resource$Projects$Zones$Operations(this.context);\n }\n getServerconfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/serverconfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Zones = Resource$Projects$Zones;\n class Resource$Projects$Zones$Clusters {\n constructor(context) {\n this.context = context;\n this.nodePools = new Resource$Projects$Zones$Clusters$Nodepools(this.context);\n }\n addons(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n completeIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n legacyAbac(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n locations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n logging(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n master(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n monitoring(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resourceLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMasterAuth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Zones$Clusters = Resource$Projects$Zones$Clusters;\n class Resource$Projects$Zones$Clusters$Nodepools {\n constructor(context) {\n this.context = context;\n }\n autoscaling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setManagement(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Zones$Clusters$Nodepools = Resource$Projects$Zones$Clusters$Nodepools;\n class Resource$Projects$Zones$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'operationId'],\n pathParams: ['operationId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/zones/{zone}/operations/{operationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'operationId'],\n pathParams: ['operationId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/zones/{zone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1.Resource$Projects$Zones$Operations = Resource$Projects$Zones$Operations;\n})(container_v1 = exports.container_v1 || (exports.container_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar container_v1beta1;\n(function (container_v1beta1) {\n /**\n * Kubernetes Engine API\n *\n * Builds and manages container-based applications, powered by the open source Kubernetes technology.\n *\n * @example\n * const {google} = require('googleapis');\n * const container = google.container('v1beta1');\n *\n * @namespace container\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Container\n */\n class Container {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n container_v1beta1.Container = Container;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.aggregated = new Resource$Projects$Aggregated(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.zones = new Resource$Projects$Zones(this.context);\n }\n }\n container_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Aggregated {\n constructor(context) {\n this.context = context;\n this.usableSubnetworks = new Resource$Projects$Aggregated$Usablesubnetworks(this.context);\n }\n }\n container_v1beta1.Resource$Projects$Aggregated = Resource$Projects$Aggregated;\n class Resource$Projects$Aggregated$Usablesubnetworks {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/aggregated/usableSubnetworks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Aggregated$Usablesubnetworks = Resource$Projects$Aggregated$Usablesubnetworks;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.clusters = new Resource$Projects$Locations$Clusters(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n getServerConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/serverConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Clusters {\n constructor(context) {\n this.context = context;\n this.nodePools = new Resource$Projects$Locations$Clusters$Nodepools(this.context);\n this.wellKnown = new Resource$Projects$Locations$Clusters$WellKnown(this.context);\n }\n completeIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:completeIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getJwks(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/jwks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAddons(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setAddons').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLegacyAbac(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setLegacyAbac').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLocations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setLocations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setLogging(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setLogging').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setMaintenancePolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMasterAuth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setMasterAuth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMonitoring(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setMonitoring').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setNetworkPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setResourceLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setResourceLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:startIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateMaster(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:updateMaster').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Locations$Clusters = Resource$Projects$Locations$Clusters;\n class Resource$Projects$Locations$Clusters$Nodepools {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAutoscaling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setAutoscaling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setManagement(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setManagement').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setSize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Locations$Clusters$Nodepools = Resource$Projects$Locations$Clusters$Nodepools;\n class Resource$Projects$Locations$Clusters$WellKnown {\n constructor(context) {\n this.context = context;\n }\n getOpenidConfiguration(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/.well-known/openid-configuration').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Locations$Clusters$WellKnown = Resource$Projects$Locations$Clusters$WellKnown;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Zones {\n constructor(context) {\n this.context = context;\n this.clusters = new Resource$Projects$Zones$Clusters(this.context);\n this.operations = new Resource$Projects$Zones$Operations(this.context);\n }\n getServerconfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/serverconfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Zones = Resource$Projects$Zones;\n class Resource$Projects$Zones$Clusters {\n constructor(context) {\n this.context = context;\n this.nodePools = new Resource$Projects$Zones$Clusters$Nodepools(this.context);\n }\n addons(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n completeIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n legacyAbac(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}/zones/{zone}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n locations(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n logging(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n master(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n monitoring(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resourceLabels(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMaintenancePolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setMasterAuth(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setNetworkPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startIpRotation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Zones$Clusters = Resource$Projects$Zones$Clusters;\n class Resource$Projects$Zones$Clusters$Nodepools {\n constructor(context) {\n this.context = context;\n }\n autoscaling(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId'],\n pathParams: ['clusterId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setManagement(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setSize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'clusterId', 'nodePoolId'],\n pathParams: ['clusterId', 'nodePoolId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Zones$Clusters$Nodepools = Resource$Projects$Zones$Clusters$Nodepools;\n class Resource$Projects$Zones$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'operationId'],\n pathParams: ['operationId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone', 'operationId'],\n pathParams: ['operationId', 'projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://container.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}/zones/{zone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'zone'],\n pathParams: ['projectId', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n container_v1beta1.Resource$Projects$Zones$Operations = Resource$Projects$Zones$Operations;\n})(container_v1beta1 = exports.container_v1beta1 || (exports.container_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1alpha1: v1alpha1_1.containeranalysis_v1alpha1.Containeranalysis,\n v1beta1: v1beta1_1.containeranalysis_v1beta1.Containeranalysis,\n};\nfunction containeranalysis(versionOrOptions) {\n return googleapis_common_1.getAPI('containeranalysis', versionOrOptions, exports.VERSIONS, this);\n}\nexports.containeranalysis = containeranalysis;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar containeranalysis_v1alpha1;\n(function (containeranalysis_v1alpha1) {\n /**\n * Container Analysis API\n *\n * An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.\n *\n * @example\n * const {google} = require('googleapis');\n * const containeranalysis = google.containeranalysis('v1alpha1');\n *\n * @namespace containeranalysis\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Containeranalysis\n */\n class Containeranalysis {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n this.providers = new Resource$Providers(this.context);\n }\n }\n containeranalysis_v1alpha1.Containeranalysis = Containeranalysis;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.notes = new Resource$Projects$Notes(this.context);\n this.occurrences = new Resource$Projects$Occurrences(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n this.scanConfigs = new Resource$Projects$Scanconfigs(this.context);\n }\n }\n containeranalysis_v1alpha1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Notes {\n constructor(context) {\n this.context = context;\n this.occurrences = new Resource$Projects$Notes$Occurrences(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Projects$Notes = Resource$Projects$Notes;\n class Resource$Projects$Notes$Occurrences {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Projects$Notes$Occurrences = Resource$Projects$Notes$Occurrences;\n class Resource$Projects$Occurrences {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getNotes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getVulnerabilitySummary(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/occurrences:vulnerabilitySummary').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Projects$Occurrences = Resource$Projects$Occurrences;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Projects$Operations = Resource$Projects$Operations;\n class Resource$Projects$Scanconfigs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs;\n class Resource$Providers {\n constructor(context) {\n this.context = context;\n this.notes = new Resource$Providers$Notes(this.context);\n }\n }\n containeranalysis_v1alpha1.Resource$Providers = Resource$Providers;\n class Resource$Providers$Notes {\n constructor(context) {\n this.context = context;\n this.occurrences = new Resource$Providers$Notes$Occurrences(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Providers$Notes = Resource$Providers$Notes;\n class Resource$Providers$Notes$Occurrences {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1alpha1.Resource$Providers$Notes$Occurrences = Resource$Providers$Notes$Occurrences;\n})(containeranalysis_v1alpha1 = exports.containeranalysis_v1alpha1 || (exports.containeranalysis_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar containeranalysis_v1beta1;\n(function (containeranalysis_v1beta1) {\n /**\n * Container Analysis API\n *\n * An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.\n *\n * @example\n * const {google} = require('googleapis');\n * const containeranalysis = google.containeranalysis('v1beta1');\n *\n * @namespace containeranalysis\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Containeranalysis\n */\n class Containeranalysis {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n containeranalysis_v1beta1.Containeranalysis = Containeranalysis;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.notes = new Resource$Projects$Notes(this.context);\n this.occurrences = new Resource$Projects$Occurrences(this.context);\n this.scanConfigs = new Resource$Projects$Scanconfigs(this.context);\n }\n }\n containeranalysis_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Notes {\n constructor(context) {\n this.context = context;\n this.occurrences = new Resource$Projects$Notes$Occurrences(this.context);\n }\n batchCreate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/notes:batchCreate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1beta1.Resource$Projects$Notes = Resource$Projects$Notes;\n class Resource$Projects$Notes$Occurrences {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1beta1.Resource$Projects$Notes$Occurrences = Resource$Projects$Notes$Occurrences;\n class Resource$Projects$Occurrences {\n constructor(context) {\n this.context = context;\n }\n batchCreate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/occurrences:batchCreate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getNotes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/notes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getVulnerabilitySummary(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/occurrences:vulnerabilitySummary').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/occurrences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1beta1.Resource$Projects$Occurrences = Resource$Projects$Occurrences;\n class Resource$Projects$Scanconfigs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://containeranalysis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n containeranalysis_v1beta1.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs;\n})(containeranalysis_v1beta1 = exports.containeranalysis_v1beta1 || (exports.containeranalysis_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1_1 = require(\"./v2.1\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n 'v2.1': v2_1_1.content_v2_1.Content,\n v2: v2_1.content_v2.Content,\n};\nfunction content(versionOrOptions) {\n return googleapis_common_1.getAPI('content', versionOrOptions, exports.VERSIONS, this);\n}\nexports.content = content;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar content_v2_1;\n(function (content_v2_1) {\n /**\n * Content API for Shopping\n *\n * Manages product items, inventory, and Merchant Center accounts for Google Shopping.\n *\n * @example\n * const {google} = require('googleapis');\n * const content = google.content('v2.1');\n *\n * @namespace content\n * @type {Function}\n * @version v2.1\n * @variation v2.1\n * @param {object=} options Options for Content\n */\n class Content {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.accountstatuses = new Resource$Accountstatuses(this.context);\n this.accounttax = new Resource$Accounttax(this.context);\n this.datafeeds = new Resource$Datafeeds(this.context);\n this.datafeedstatuses = new Resource$Datafeedstatuses(this.context);\n this.liasettings = new Resource$Liasettings(this.context);\n this.orderinvoices = new Resource$Orderinvoices(this.context);\n this.orderreports = new Resource$Orderreports(this.context);\n this.orderreturns = new Resource$Orderreturns(this.context);\n this.orders = new Resource$Orders(this.context);\n this.pos = new Resource$Pos(this.context);\n this.products = new Resource$Products(this.context);\n this.productstatuses = new Resource$Productstatuses(this.context);\n this.regionalinventory = new Resource$Regionalinventory(this.context);\n this.returnaddress = new Resource$Returnaddress(this.context);\n this.returnpolicy = new Resource$Returnpolicy(this.context);\n this.shippingsettings = new Resource$Shippingsettings(this.context);\n }\n }\n content_v2_1.Content = Content;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n authinfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/accounts/authinfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n claimwebsite(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/accounts/{accountId}/claimwebsite').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/accounts/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n link(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}/link').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Accounts = Resource$Accounts;\n class Resource$Accountstatuses {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/accountstatuses/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accountstatuses/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accountstatuses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Accountstatuses = Resource$Accountstatuses;\n class Resource$Accounttax {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/accounttax/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounttax/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounttax').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/accounttax/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Accounttax = Resource$Accounttax;\n class Resource$Datafeeds {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/datafeeds/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n fetchnow(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/datafeeds/{datafeedId}/fetchNow').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Datafeeds = Resource$Datafeeds;\n class Resource$Datafeedstatuses {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/datafeedstatuses/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/datafeedstatuses/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/datafeedstatuses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Datafeedstatuses = Resource$Datafeedstatuses;\n class Resource$Liasettings {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/liasettings/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/liasettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getaccessiblegmbaccounts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/liasettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listposdataproviders(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/liasettings/posdataproviders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n requestgmbaccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/liasettings/{accountId}/requestgmbaccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId', 'gmbEmail'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n requestinventoryverification(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId', 'country'],\n pathParams: ['accountId', 'country', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setinventoryverificationcontact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'merchantId',\n 'accountId',\n 'contactEmail',\n 'contactName',\n 'country',\n 'language',\n ],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setposdataprovider(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/liasettings/{accountId}/setposdataprovider').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId', 'country'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/liasettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Liasettings = Resource$Liasettings;\n class Resource$Orderinvoices {\n constructor(context) {\n this.context = context;\n }\n createchargeinvoice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orderinvoices/{orderId}/createChargeInvoice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createrefundinvoice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orderinvoices/{orderId}/createRefundInvoice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Orderinvoices = Resource$Orderinvoices;\n class Resource$Orderreports {\n constructor(context) {\n this.context = context;\n }\n listdisbursements(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orderreports/disbursements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'disbursementStartDate'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listtransactions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orderreports/disbursements/{disbursementId}/transactions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'merchantId',\n 'disbursementId',\n 'transactionStartDate',\n ],\n pathParams: ['disbursementId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Orderreports = Resource$Orderreports;\n class Resource$Orderreturns {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orderreturns/{returnId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'returnId'],\n pathParams: ['merchantId', 'returnId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orderreturns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Orderreturns = Resource$Orderreturns;\n class Resource$Orders {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n advancetestorder(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/testorders/{orderId}/advance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orders/{orderId}/cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancellineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/cancelLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n canceltestorderbycustomer(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/testorders/{orderId}/cancelByCustomer').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createtestorder(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/testorders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createtestreturn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orders/{orderId}/testreturn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orders/{orderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getbymerchantorderid(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/ordersbymerchantid/{merchantOrderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'merchantOrderId'],\n pathParams: ['merchantId', 'merchantOrderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n gettestordertemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/testordertemplates/{templateName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'templateName'],\n pathParams: ['merchantId', 'templateName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instorerefundlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/inStoreRefundLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/orders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rejectreturnlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/rejectReturnLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n returnrefundlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/returnRefundLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setlineitemmetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/setLineItemMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n shiplineitems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/shipLineItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatelineitemshippingdetails(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/updateLineItemShippingDetails').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatemerchantorderid(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/updateMerchantOrderId').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateshipment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/orders/{orderId}/updateShipment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Orders = Resource$Orders;\n class Resource$Pos {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/pos/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'],\n pathParams: ['merchantId', 'storeCode', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'],\n pathParams: ['merchantId', 'storeCode', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n inventory(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/pos/{targetMerchantId}/inventory').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sale(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/pos/{targetMerchantId}/sale').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Pos = Resource$Pos;\n class Resource$Products {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/products/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Products = Resource$Products;\n class Resource$Productstatuses {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/productstatuses/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/productstatuses/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/productstatuses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Productstatuses = Resource$Productstatuses;\n class Resource$Regionalinventory {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/regionalinventory/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/products/{productId}/regionalinventory').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Regionalinventory = Resource$Regionalinventory;\n class Resource$Returnaddress {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/returnaddress/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/returnaddress/{returnAddressId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'returnAddressId'],\n pathParams: ['merchantId', 'returnAddressId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/returnaddress/{returnAddressId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'returnAddressId'],\n pathParams: ['merchantId', 'returnAddressId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/returnaddress').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/returnaddress').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Returnaddress = Resource$Returnaddress;\n class Resource$Returnpolicy {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/returnpolicy/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'returnPolicyId'],\n pathParams: ['merchantId', 'returnPolicyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/returnpolicy/{returnPolicyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'returnPolicyId'],\n pathParams: ['merchantId', 'returnPolicyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/returnpolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/returnpolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Returnpolicy = Resource$Returnpolicy;\n class Resource$Shippingsettings {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/shippingsettings/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getsupportedcarriers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/supportedCarriers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getsupportedholidays(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/supportedHolidays').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2.1/{merchantId}/shippingsettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2.1/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2_1.Resource$Shippingsettings = Resource$Shippingsettings;\n})(content_v2_1 = exports.content_v2_1 || (exports.content_v2_1 = {}));\n//# sourceMappingURL=v2.1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar content_v2;\n(function (content_v2) {\n /**\n * Content API for Shopping\n *\n * Manages product items, inventory, and Merchant Center accounts for Google Shopping.\n *\n * @example\n * const {google} = require('googleapis');\n * const content = google.content('v2');\n *\n * @namespace content\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Content\n */\n class Content {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.accountstatuses = new Resource$Accountstatuses(this.context);\n this.accounttax = new Resource$Accounttax(this.context);\n this.datafeeds = new Resource$Datafeeds(this.context);\n this.datafeedstatuses = new Resource$Datafeedstatuses(this.context);\n this.inventory = new Resource$Inventory(this.context);\n this.liasettings = new Resource$Liasettings(this.context);\n this.orderinvoices = new Resource$Orderinvoices(this.context);\n this.orderreports = new Resource$Orderreports(this.context);\n this.orderreturns = new Resource$Orderreturns(this.context);\n this.orders = new Resource$Orders(this.context);\n this.pos = new Resource$Pos(this.context);\n this.products = new Resource$Products(this.context);\n this.productstatuses = new Resource$Productstatuses(this.context);\n this.shippingsettings = new Resource$Shippingsettings(this.context);\n }\n }\n content_v2.Content = Content;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n authinfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/accounts/authinfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n claimwebsite(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/accounts/{accountId}/claimwebsite').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/accounts/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n link(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}/link').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Accounts = Resource$Accounts;\n class Resource$Accountstatuses {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/accountstatuses/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accountstatuses/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accountstatuses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Accountstatuses = Resource$Accountstatuses;\n class Resource$Accounttax {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/accounttax/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounttax/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounttax').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/accounttax/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Accounttax = Resource$Accounttax;\n class Resource$Datafeeds {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/datafeeds/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n fetchnow(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/datafeeds/{datafeedId}/fetchNow').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeeds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeeds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeeds/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Datafeeds = Resource$Datafeeds;\n class Resource$Datafeedstatuses {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/datafeedstatuses/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeedstatuses/{datafeedId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'datafeedId'],\n pathParams: ['datafeedId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/datafeedstatuses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Datafeedstatuses = Resource$Datafeedstatuses;\n class Resource$Inventory {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/inventory/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n set(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/inventory/{storeCode}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'storeCode', 'productId'],\n pathParams: ['merchantId', 'productId', 'storeCode'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Inventory = Resource$Inventory;\n class Resource$Liasettings {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/liasettings/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/liasettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getaccessiblegmbaccounts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/liasettings/{accountId}/accessiblegmbaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/liasettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listposdataproviders(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/liasettings/posdataproviders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n requestgmbaccess(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/liasettings/{accountId}/requestgmbaccess').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId', 'gmbEmail'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n requestinventoryverification(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId', 'country'],\n pathParams: ['accountId', 'country', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setinventoryverificationcontact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/liasettings/{accountId}/setinventoryverificationcontact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'merchantId',\n 'accountId',\n 'contactEmail',\n 'contactName',\n 'country',\n 'language',\n ],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setposdataprovider(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId', 'country'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/liasettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Liasettings = Resource$Liasettings;\n class Resource$Orderinvoices {\n constructor(context) {\n this.context = context;\n }\n createchargeinvoice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orderinvoices/{orderId}/createChargeInvoice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createrefundinvoice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orderinvoices/{orderId}/createRefundInvoice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Orderinvoices = Resource$Orderinvoices;\n class Resource$Orderreports {\n constructor(context) {\n this.context = context;\n }\n listdisbursements(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orderreports/disbursements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'disbursementStartDate'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listtransactions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orderreports/disbursements/{disbursementId}/transactions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'merchantId',\n 'disbursementId',\n 'transactionStartDate',\n ],\n pathParams: ['disbursementId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Orderreports = Resource$Orderreports;\n class Resource$Orderreturns {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orderreturns/{returnId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'returnId'],\n pathParams: ['merchantId', 'returnId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orderreturns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Orderreturns = Resource$Orderreturns;\n class Resource$Orders {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n advancetestorder(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/testorders/{orderId}/advance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n cancellineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/cancelLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n canceltestorderbycustomer(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/testorders/{orderId}/cancelByCustomer').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createtestorder(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/testorders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createtestreturn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/testreturn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/orders/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getbymerchantorderid(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/ordersbymerchantid/{merchantOrderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'merchantOrderId'],\n pathParams: ['merchantId', 'merchantOrderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n gettestordertemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/testordertemplates/{templateName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'templateName'],\n pathParams: ['merchantId', 'templateName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instorerefundlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/inStoreRefundLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n refund(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/orders/{orderId}/refund').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rejectreturnlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/rejectReturnLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n returnlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/returnLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n returnrefundlineitem(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/returnRefundLineItem').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setlineitemmetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/setLineItemMetadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n shiplineitems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/shipLineItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatelineitemshippingdetails(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/updateLineItemShippingDetails').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatemerchantorderid(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/updateMerchantOrderId').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateshipment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/orders/{orderId}/updateShipment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'orderId'],\n pathParams: ['merchantId', 'orderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Orders = Resource$Orders;\n class Resource$Pos {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/pos/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'],\n pathParams: ['merchantId', 'storeCode', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/pos/{targetMerchantId}/store/{storeCode}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId', 'storeCode'],\n pathParams: ['merchantId', 'storeCode', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n inventory(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/content/v2/{merchantId}/pos/{targetMerchantId}/inventory').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/pos/{targetMerchantId}/store').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sale(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/pos/{targetMerchantId}/sale').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId', 'targetMerchantId'],\n pathParams: ['merchantId', 'targetMerchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Pos = Resource$Pos;\n class Resource$Products {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/products/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/products/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Products = Resource$Products;\n class Resource$Productstatuses {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/productstatuses/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/productstatuses/{productId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'productId'],\n pathParams: ['merchantId', 'productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/productstatuses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Productstatuses = Resource$Productstatuses;\n class Resource$Shippingsettings {\n constructor(context) {\n this.context = context;\n }\n custombatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/shippingsettings/batch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getsupportedcarriers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/supportedCarriers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getsupportedholidays(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/supportedHolidays').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/shippingsettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['merchantId'],\n pathParams: ['merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/content/v2/{merchantId}/shippingsettings/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['merchantId', 'accountId'],\n pathParams: ['accountId', 'merchantId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n content_v2.Resource$Shippingsettings = Resource$Shippingsettings;\n})(content_v2 = exports.content_v2 || (exports.content_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.customsearch_v1.Customsearch,\n};\nfunction customsearch(versionOrOptions) {\n return googleapis_common_1.getAPI('customsearch', versionOrOptions, exports.VERSIONS, this);\n}\nexports.customsearch = customsearch;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar customsearch_v1;\n(function (customsearch_v1) {\n /**\n * CustomSearch API\n *\n * Searches over a website or collection of websites\n *\n * @example\n * const {google} = require('googleapis');\n * const customsearch = google.customsearch('v1');\n *\n * @namespace customsearch\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Customsearch\n */\n class Customsearch {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.cse = new Resource$Cse(this.context);\n }\n }\n customsearch_v1.Customsearch = Customsearch;\n class Resource$Cse {\n constructor(context) {\n this.context = context;\n this.siterestrict = new Resource$Cse$Siterestrict(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/customsearch/v1').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['q'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n customsearch_v1.Resource$Cse = Resource$Cse;\n class Resource$Cse$Siterestrict {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/customsearch/v1/siterestrict').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['q'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n customsearch_v1.Resource$Cse$Siterestrict = Resource$Cse$Siterestrict;\n})(customsearch_v1 = exports.customsearch_v1 || (exports.customsearch_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.datacatalog_v1beta1.Datacatalog,\n};\nfunction datacatalog(versionOrOptions) {\n return googleapis_common_1.getAPI('datacatalog', versionOrOptions, exports.VERSIONS, this);\n}\nexports.datacatalog = datacatalog;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar datacatalog_v1beta1;\n(function (datacatalog_v1beta1) {\n /**\n * Google Cloud Data Catalog API\n *\n * A fully managed and highly scalable data discovery and metadata management service.\n *\n * @example\n * const {google} = require('googleapis');\n * const datacatalog = google.datacatalog('v1beta1');\n *\n * @namespace datacatalog\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Datacatalog\n */\n class Datacatalog {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.catalog = new Resource$Catalog(this.context);\n this.entries = new Resource$Entries(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n datacatalog_v1beta1.Datacatalog = Datacatalog;\n class Resource$Catalog {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/catalog:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Catalog = Resource$Catalog;\n class Resource$Entries {\n constructor(context) {\n this.context = context;\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/entries:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Entries = Resource$Entries;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n datacatalog_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.entryGroups = new Resource$Projects$Locations$Entrygroups(this.context);\n this.tagTemplates = new Resource$Projects$Locations$Tagtemplates(this.context);\n this.taxonomies = new Resource$Projects$Locations$Taxonomies(this.context);\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Entrygroups {\n constructor(context) {\n this.context = context;\n this.entries = new Resource$Projects$Locations$Entrygroups$Entries(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/entryGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Entrygroups = Resource$Projects$Locations$Entrygroups;\n class Resource$Projects$Locations$Entrygroups$Entries {\n constructor(context) {\n this.context = context;\n this.tags = new Resource$Projects$Locations$Entrygroups$Entries$Tags(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/entries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Entrygroups$Entries = Resource$Projects$Locations$Entrygroups$Entries;\n class Resource$Projects$Locations$Entrygroups$Entries$Tags {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/tags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/tags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Entrygroups$Entries$Tags = Resource$Projects$Locations$Entrygroups$Entries$Tags;\n class Resource$Projects$Locations$Tagtemplates {\n constructor(context) {\n this.context = context;\n this.fields = new Resource$Projects$Locations$Tagtemplates$Fields(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/tagTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Tagtemplates = Resource$Projects$Locations$Tagtemplates;\n class Resource$Projects$Locations$Tagtemplates$Fields {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rename(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:rename').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Tagtemplates$Fields = Resource$Projects$Locations$Tagtemplates$Fields;\n class Resource$Projects$Locations$Taxonomies {\n constructor(context) {\n this.context = context;\n this.policyTags = new Resource$Projects$Locations$Taxonomies$Policytags(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/taxonomies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/taxonomies:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/taxonomies:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/taxonomies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Taxonomies = Resource$Projects$Locations$Taxonomies;\n class Resource$Projects$Locations$Taxonomies$Policytags {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/policyTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/policyTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datacatalog.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datacatalog_v1beta1.Resource$Projects$Locations$Taxonomies$Policytags = Resource$Projects$Locations$Taxonomies$Policytags;\n})(datacatalog_v1beta1 = exports.datacatalog_v1beta1 || (exports.datacatalog_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1b3_1 = require(\"./v1b3\");\nexports.VERSIONS = {\n v1b3: v1b3_1.dataflow_v1b3.Dataflow,\n};\nfunction dataflow(versionOrOptions) {\n return googleapis_common_1.getAPI('dataflow', versionOrOptions, exports.VERSIONS, this);\n}\nexports.dataflow = dataflow;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dataflow_v1b3;\n(function (dataflow_v1b3) {\n /**\n * Dataflow API\n *\n * Manages Google Cloud Dataflow projects on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const dataflow = google.dataflow('v1b3');\n *\n * @namespace dataflow\n * @type {Function}\n * @version v1b3\n * @variation v1b3\n * @param {object=} options Options for Dataflow\n */\n class Dataflow {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n dataflow_v1b3.Dataflow = Dataflow;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.jobs = new Resource$Projects$Jobs(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.templates = new Resource$Projects$Templates(this.context);\n }\n workerMessages(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/WorkerMessages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects = Resource$Projects;\n class Resource$Projects$Jobs {\n constructor(context) {\n this.context = context;\n this.debug = new Resource$Projects$Jobs$Debug(this.context);\n this.messages = new Resource$Projects$Jobs$Messages(this.context);\n this.workItems = new Resource$Projects$Jobs$Workitems(this.context);\n }\n aggregated(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs:aggregated').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getMetrics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}/metrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Jobs = Resource$Projects$Jobs;\n class Resource$Projects$Jobs$Debug {\n constructor(context) {\n this.context = context;\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/jobs/{jobId}/debug/getConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sendCapture(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Jobs$Debug = Resource$Projects$Jobs$Debug;\n class Resource$Projects$Jobs$Messages {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/jobs/{jobId}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Jobs$Messages = Resource$Projects$Jobs$Messages;\n class Resource$Projects$Jobs$Workitems {\n constructor(context) {\n this.context = context;\n }\n lease(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/jobs/{jobId}/workItems:lease').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reportStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/jobs/{jobId}/workItems:reportStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'jobId'],\n pathParams: ['jobId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Jobs$Workitems = Resource$Projects$Jobs$Workitems;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.jobs = new Resource$Projects$Locations$Jobs(this.context);\n this.sql = new Resource$Projects$Locations$Sql(this.context);\n this.templates = new Resource$Projects$Locations$Templates(this.context);\n }\n workerMessages(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/WorkerMessages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Jobs {\n constructor(context) {\n this.context = context;\n this.debug = new Resource$Projects$Locations$Jobs$Debug(this.context);\n this.messages = new Resource$Projects$Locations$Jobs$Messages(this.context);\n this.workItems = new Resource$Projects$Locations$Jobs$Workitems(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/locations/{location}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getMetrics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/metrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/locations/{location}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations$Jobs = Resource$Projects$Locations$Jobs;\n class Resource$Projects$Locations$Jobs$Debug {\n constructor(context) {\n this.context = context;\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/getConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sendCapture(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/debug/sendCapture').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations$Jobs$Debug = Resource$Projects$Locations$Jobs$Debug;\n class Resource$Projects$Locations$Jobs$Messages {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations$Jobs$Messages = Resource$Projects$Locations$Jobs$Messages;\n class Resource$Projects$Locations$Jobs$Workitems {\n constructor(context) {\n this.context = context;\n }\n lease(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:lease').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reportStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/jobs/{jobId}/workItems:reportStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location', 'jobId'],\n pathParams: ['jobId', 'location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations$Jobs$Workitems = Resource$Projects$Locations$Jobs$Workitems;\n class Resource$Projects$Locations$Sql {\n constructor(context) {\n this.context = context;\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/sql:validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations$Sql = Resource$Projects$Locations$Sql;\n class Resource$Projects$Locations$Templates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/templates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/templates:get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n launch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1b3/projects/{projectId}/locations/{location}/templates:launch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'location'],\n pathParams: ['location', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Locations$Templates = Resource$Projects$Locations$Templates;\n class Resource$Projects$Templates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/templates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/templates:get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n launch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1b3/projects/{projectId}/templates:launch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataflow_v1b3.Resource$Projects$Templates = Resource$Projects$Templates;\n})(dataflow_v1b3 = exports.dataflow_v1b3 || (exports.dataflow_v1b3 = {}));\n//# sourceMappingURL=v1b3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.datafusion_v1beta1.Datafusion,\n};\nfunction datafusion(versionOrOptions) {\n return googleapis_common_1.getAPI('datafusion', versionOrOptions, exports.VERSIONS, this);\n}\nexports.datafusion = datafusion;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar datafusion_v1beta1;\n(function (datafusion_v1beta1) {\n /**\n * Cloud Data Fusion API\n *\n * Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.\n *\n * @example\n * const {google} = require('googleapis');\n * const datafusion = google.datafusion('v1beta1');\n *\n * @namespace datafusion\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Datafusion\n */\n class Datafusion {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n datafusion_v1beta1.Datafusion = Datafusion;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n datafusion_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Instances(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datafusion_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Instances {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restart(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:restart').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upgrade(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:upgrade').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datafusion_v1beta1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datafusion.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datafusion_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(datafusion_v1beta1 = exports.datafusion_v1beta1 || (exports.datafusion_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nexports.VERSIONS = {\n v1: v1_1.dataproc_v1.Dataproc,\n v1beta2: v1beta2_1.dataproc_v1beta2.Dataproc,\n};\nfunction dataproc(versionOrOptions) {\n return googleapis_common_1.getAPI('dataproc', versionOrOptions, exports.VERSIONS, this);\n}\nexports.dataproc = dataproc;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dataproc_v1;\n(function (dataproc_v1) {\n /**\n * Cloud Dataproc API\n *\n * Manages Hadoop-based clusters and jobs on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const dataproc = google.dataproc('v1');\n *\n * @namespace dataproc\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Dataproc\n */\n class Dataproc {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n dataproc_v1.Dataproc = Dataproc;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n this.regions = new Resource$Projects$Regions(this.context);\n }\n }\n dataproc_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.autoscalingPolicies = new Resource$Projects$Locations$Autoscalingpolicies(this.context);\n this.workflowTemplates = new Resource$Projects$Locations$Workflowtemplates(this.context);\n }\n }\n dataproc_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Autoscalingpolicies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Locations$Autoscalingpolicies = Resource$Projects$Locations$Autoscalingpolicies;\n class Resource$Projects$Locations$Workflowtemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:instantiate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiateInline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Locations$Workflowtemplates = Resource$Projects$Locations$Workflowtemplates;\n class Resource$Projects$Regions {\n constructor(context) {\n this.context = context;\n this.autoscalingPolicies = new Resource$Projects$Regions$Autoscalingpolicies(this.context);\n this.clusters = new Resource$Projects$Regions$Clusters(this.context);\n this.jobs = new Resource$Projects$Regions$Jobs(this.context);\n this.operations = new Resource$Projects$Regions$Operations(this.context);\n this.workflowTemplates = new Resource$Projects$Regions$Workflowtemplates(this.context);\n }\n }\n dataproc_v1.Resource$Projects$Regions = Resource$Projects$Regions;\n class Resource$Projects$Regions$Autoscalingpolicies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Regions$Autoscalingpolicies = Resource$Projects$Regions$Autoscalingpolicies;\n class Resource$Projects$Regions$Clusters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n diagnose(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Regions$Clusters = Resource$Projects$Regions$Clusters;\n class Resource$Projects$Regions$Jobs {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n submit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/regions/{region}/jobs:submit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Regions$Jobs = Resource$Projects$Regions$Jobs;\n class Resource$Projects$Regions$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Regions$Operations = Resource$Projects$Regions$Operations;\n class Resource$Projects$Regions$Workflowtemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:instantiate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiateInline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1.Resource$Projects$Regions$Workflowtemplates = Resource$Projects$Regions$Workflowtemplates;\n})(dataproc_v1 = exports.dataproc_v1 || (exports.dataproc_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dataproc_v1beta2;\n(function (dataproc_v1beta2) {\n /**\n * Cloud Dataproc API\n *\n * Manages Hadoop-based clusters and jobs on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const dataproc = google.dataproc('v1beta2');\n *\n * @namespace dataproc\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Dataproc\n */\n class Dataproc {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n dataproc_v1beta2.Dataproc = Dataproc;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n this.regions = new Resource$Projects$Regions(this.context);\n }\n }\n dataproc_v1beta2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.autoscalingPolicies = new Resource$Projects$Locations$Autoscalingpolicies(this.context);\n this.workflowTemplates = new Resource$Projects$Locations$Workflowtemplates(this.context);\n }\n }\n dataproc_v1beta2.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Autoscalingpolicies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Locations$Autoscalingpolicies = Resource$Projects$Locations$Autoscalingpolicies;\n class Resource$Projects$Locations$Workflowtemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:instantiate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiateInline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Locations$Workflowtemplates = Resource$Projects$Locations$Workflowtemplates;\n class Resource$Projects$Regions {\n constructor(context) {\n this.context = context;\n this.autoscalingPolicies = new Resource$Projects$Regions$Autoscalingpolicies(this.context);\n this.clusters = new Resource$Projects$Regions$Clusters(this.context);\n this.jobs = new Resource$Projects$Regions$Jobs(this.context);\n this.operations = new Resource$Projects$Regions$Operations(this.context);\n this.workflowTemplates = new Resource$Projects$Regions$Workflowtemplates(this.context);\n }\n }\n dataproc_v1beta2.Resource$Projects$Regions = Resource$Projects$Regions;\n class Resource$Projects$Regions$Autoscalingpolicies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/autoscalingPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Regions$Autoscalingpolicies = Resource$Projects$Regions$Autoscalingpolicies;\n class Resource$Projects$Regions$Clusters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n diagnose(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:diagnose').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'clusterName'],\n pathParams: ['clusterName', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Regions$Clusters = Resource$Projects$Regions$Clusters;\n class Resource$Projects$Regions$Jobs {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/projects/{projectId}/regions/{region}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'region', 'jobId'],\n pathParams: ['jobId', 'projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n submit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1beta2/projects/{projectId}/regions/{region}/jobs:submit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'region'],\n pathParams: ['projectId', 'region'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Regions$Jobs = Resource$Projects$Regions$Jobs;\n class Resource$Projects$Regions$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Regions$Operations = Resource$Projects$Regions$Operations;\n class Resource$Projects$Regions$Workflowtemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:instantiate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n instantiateInline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates:instantiateInline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/workflowTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dataproc.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dataproc_v1beta2.Resource$Projects$Regions$Workflowtemplates = Resource$Projects$Regions$Workflowtemplates;\n})(dataproc_v1beta2 = exports.dataproc_v1beta2 || (exports.dataproc_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nconst v1beta3_1 = require(\"./v1beta3\");\nexports.VERSIONS = {\n v1: v1_1.datastore_v1.Datastore,\n v1beta1: v1beta1_1.datastore_v1beta1.Datastore,\n v1beta3: v1beta3_1.datastore_v1beta3.Datastore,\n};\nfunction datastore(versionOrOptions) {\n return googleapis_common_1.getAPI('datastore', versionOrOptions, exports.VERSIONS, this);\n}\nexports.datastore = datastore;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar datastore_v1;\n(function (datastore_v1) {\n /**\n * Cloud Datastore API\n *\n * Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n *\n * @example\n * const {google} = require('googleapis');\n * const datastore = google.datastore('v1');\n *\n * @namespace datastore\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Datastore\n */\n class Datastore {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n datastore_v1.Datastore = Datastore;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.indexes = new Resource$Projects$Indexes(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n allocateIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:allocateIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n beginTransaction(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:beginTransaction').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reserveIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:reserveIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}:runQuery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datastore_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Indexes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/indexes/{indexId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'indexId'],\n pathParams: ['indexId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/indexes/{indexId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'indexId'],\n pathParams: ['indexId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datastore_v1.Resource$Projects$Indexes = Resource$Projects$Indexes;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datastore_v1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(datastore_v1 = exports.datastore_v1 || (exports.datastore_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar datastore_v1beta1;\n(function (datastore_v1beta1) {\n /**\n * Cloud Datastore API\n *\n * Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n *\n * @example\n * const {google} = require('googleapis');\n * const datastore = google.datastore('v1beta1');\n *\n * @namespace datastore\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Datastore\n */\n class Datastore {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n datastore_v1beta1.Datastore = Datastore;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects/{projectId}:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datastore_v1beta1.Resource$Projects = Resource$Projects;\n})(datastore_v1beta1 = exports.datastore_v1beta1 || (exports.datastore_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar datastore_v1beta3;\n(function (datastore_v1beta3) {\n /**\n * Cloud Datastore API\n *\n * Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.\n *\n * @example\n * const {google} = require('googleapis');\n * const datastore = google.datastore('v1beta3');\n *\n * @namespace datastore\n * @type {Function}\n * @version v1beta3\n * @variation v1beta3\n * @param {object=} options Options for Datastore\n */\n class Datastore {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n datastore_v1beta3.Datastore = Datastore;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n allocateIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:allocateIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n beginTransaction(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:beginTransaction').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lookup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:lookup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reserveIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:reserveIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://datastore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta3/projects/{projectId}:runQuery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n datastore_v1beta3.Resource$Projects = Resource$Projects;\n})(datastore_v1beta3 = exports.datastore_v1beta3 || (exports.datastore_v1beta3 = {}));\n//# sourceMappingURL=v1beta3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar deploymentmanager_alpha;\n(function (deploymentmanager_alpha) {\n /**\n * Google Cloud Deployment Manager Alpha API\n *\n * The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const deploymentmanager = google.deploymentmanager('alpha');\n *\n * @namespace deploymentmanager\n * @type {Function}\n * @version alpha\n * @variation alpha\n * @param {object=} options Options for Deploymentmanager\n */\n class Deploymentmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.compositeTypes = new Resource$Compositetypes(this.context);\n this.deployments = new Resource$Deployments(this.context);\n this.manifests = new Resource$Manifests(this.context);\n this.operations = new Resource$Operations(this.context);\n this.resources = new Resource$Resources(this.context);\n this.typeProviders = new Resource$Typeproviders(this.context);\n this.types = new Resource$Types(this.context);\n }\n }\n deploymentmanager_alpha.Deploymentmanager = Deploymentmanager;\n class Resource$Compositetypes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/compositeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/compositeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Compositetypes = Resource$Compositetypes;\n class Resource$Deployments {\n constructor(context) {\n this.context = context;\n }\n cancelPreview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/cancelPreview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Deployments = Resource$Deployments;\n class Resource$Manifests {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests/{manifest}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment', 'manifest'],\n pathParams: ['deployment', 'manifest', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/manifests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Manifests = Resource$Manifests;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Operations = Resource$Operations;\n class Resource$Resources {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources/{resource}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment', 'resource'],\n pathParams: ['deployment', 'project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/deployments/{deployment}/resources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Resources = Resource$Resources;\n class Resource$Typeproviders {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getType(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types/{type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider', 'type'],\n pathParams: ['project', 'type', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listTypes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}/types').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Typeproviders = Resource$Typeproviders;\n class Resource$Types {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'type'],\n pathParams: ['project', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'type'],\n pathParams: ['project', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/types').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/types').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'type'],\n pathParams: ['project', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/alpha/projects/{project}/global/types/{type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'type'],\n pathParams: ['project', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_alpha.Resource$Types = Resource$Types;\n})(deploymentmanager_alpha = exports.deploymentmanager_alpha || (exports.deploymentmanager_alpha = {}));\n//# sourceMappingURL=alpha.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst alpha_1 = require(\"./alpha\");\nconst v2_1 = require(\"./v2\");\nconst v2beta_1 = require(\"./v2beta\");\nexports.VERSIONS = {\n alpha: alpha_1.deploymentmanager_alpha.Deploymentmanager,\n v2: v2_1.deploymentmanager_v2.Deploymentmanager,\n v2beta: v2beta_1.deploymentmanager_v2beta.Deploymentmanager,\n};\nfunction deploymentmanager(versionOrOptions) {\n return googleapis_common_1.getAPI('deploymentmanager', versionOrOptions, exports.VERSIONS, this);\n}\nexports.deploymentmanager = deploymentmanager;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar deploymentmanager_v2;\n(function (deploymentmanager_v2) {\n /**\n * Google Cloud Deployment Manager API\n *\n * Declares, configures, and deploys complex solutions on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const deploymentmanager = google.deploymentmanager('v2');\n *\n * @namespace deploymentmanager\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Deploymentmanager\n */\n class Deploymentmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.deployments = new Resource$Deployments(this.context);\n this.manifests = new Resource$Manifests(this.context);\n this.operations = new Resource$Operations(this.context);\n this.resources = new Resource$Resources(this.context);\n this.types = new Resource$Types(this.context);\n }\n }\n deploymentmanager_v2.Deploymentmanager = Deploymentmanager;\n class Resource$Deployments {\n constructor(context) {\n this.context = context;\n }\n cancelPreview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2.Resource$Deployments = Resource$Deployments;\n class Resource$Manifests {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests/{manifest}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment', 'manifest'],\n pathParams: ['deployment', 'manifest', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2.Resource$Manifests = Resource$Manifests;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2.Resource$Operations = Resource$Operations;\n class Resource$Resources {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment', 'resource'],\n pathParams: ['deployment', 'project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2.Resource$Resources = Resource$Resources;\n class Resource$Types {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/deploymentmanager/v2/projects/{project}/global/types').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2.Resource$Types = Resource$Types;\n})(deploymentmanager_v2 = exports.deploymentmanager_v2 || (exports.deploymentmanager_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar deploymentmanager_v2beta;\n(function (deploymentmanager_v2beta) {\n /**\n * Google Cloud Deployment Manager API V2Beta Methods\n *\n * The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const deploymentmanager = google.deploymentmanager('v2beta');\n *\n * @namespace deploymentmanager\n * @type {Function}\n * @version v2beta\n * @variation v2beta\n * @param {object=} options Options for Deploymentmanager\n */\n class Deploymentmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.compositeTypes = new Resource$Compositetypes(this.context);\n this.deployments = new Resource$Deployments(this.context);\n this.manifests = new Resource$Manifests(this.context);\n this.operations = new Resource$Operations(this.context);\n this.resources = new Resource$Resources(this.context);\n this.typeProviders = new Resource$Typeproviders(this.context);\n this.types = new Resource$Types(this.context);\n }\n }\n deploymentmanager_v2beta.Deploymentmanager = Deploymentmanager;\n class Resource$Compositetypes {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/compositeTypes/{compositeType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'compositeType'],\n pathParams: ['compositeType', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Compositetypes = Resource$Compositetypes;\n class Resource$Deployments {\n constructor(context) {\n this.context = context;\n }\n cancelPreview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/cancelPreview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{resource}/testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'resource'],\n pathParams: ['project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Deployments = Resource$Deployments;\n class Resource$Manifests {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests/{manifest}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment', 'manifest'],\n pathParams: ['deployment', 'manifest', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/manifests').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Manifests = Resource$Manifests;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Operations = Resource$Operations;\n class Resource$Resources {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources/{resource}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment', 'resource'],\n pathParams: ['deployment', 'project', 'resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/deployments/{deployment}/resources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'deployment'],\n pathParams: ['deployment', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Resources = Resource$Resources;\n class Resource$Typeproviders {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getType(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types/{type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider', 'type'],\n pathParams: ['project', 'type', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listTypes(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}/types').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/typeProviders/{typeProvider}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'typeProvider'],\n pathParams: ['project', 'typeProvider'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Typeproviders = Resource$Typeproviders;\n class Resource$Types {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/deploymentmanager/v2beta/projects/{project}/global/types').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n deploymentmanager_v2beta.Resource$Types = Resource$Types;\n})(deploymentmanager_v2beta = exports.deploymentmanager_v2beta || (exports.deploymentmanager_v2beta = {}));\n//# sourceMappingURL=v2beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v3_3_1 = require(\"./v3.3\");\nconst v3_4_1 = require(\"./v3.4\");\nexports.VERSIONS = {\n 'v3.3': v3_3_1.dfareporting_v3_3.Dfareporting,\n 'v3.4': v3_4_1.dfareporting_v3_4.Dfareporting,\n};\nfunction dfareporting(versionOrOptions) {\n return googleapis_common_1.getAPI('dfareporting', versionOrOptions, exports.VERSIONS, this);\n}\nexports.dfareporting = dfareporting;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dfareporting_v3_3;\n(function (dfareporting_v3_3) {\n /**\n * DCM/DFA Reporting And Trafficking API\n *\n * Manages your DoubleClick Campaign Manager ad campaigns and reports.\n *\n * @example\n * const {google} = require('googleapis');\n * const dfareporting = google.dfareporting('v3.3');\n *\n * @namespace dfareporting\n * @type {Function}\n * @version v3.3\n * @variation v3.3\n * @param {object=} options Options for Dfareporting\n */\n class Dfareporting {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accountActiveAdSummaries = new Resource$Accountactiveadsummaries(this.context);\n this.accountPermissionGroups = new Resource$Accountpermissiongroups(this.context);\n this.accountPermissions = new Resource$Accountpermissions(this.context);\n this.accounts = new Resource$Accounts(this.context);\n this.accountUserProfiles = new Resource$Accountuserprofiles(this.context);\n this.ads = new Resource$Ads(this.context);\n this.advertiserGroups = new Resource$Advertisergroups(this.context);\n this.advertiserLandingPages = new Resource$Advertiserlandingpages(this.context);\n this.advertisers = new Resource$Advertisers(this.context);\n this.browsers = new Resource$Browsers(this.context);\n this.campaignCreativeAssociations = new Resource$Campaigncreativeassociations(this.context);\n this.campaigns = new Resource$Campaigns(this.context);\n this.changeLogs = new Resource$Changelogs(this.context);\n this.cities = new Resource$Cities(this.context);\n this.connectionTypes = new Resource$Connectiontypes(this.context);\n this.contentCategories = new Resource$Contentcategories(this.context);\n this.conversions = new Resource$Conversions(this.context);\n this.countries = new Resource$Countries(this.context);\n this.creativeAssets = new Resource$Creativeassets(this.context);\n this.creativeFields = new Resource$Creativefields(this.context);\n this.creativeFieldValues = new Resource$Creativefieldvalues(this.context);\n this.creativeGroups = new Resource$Creativegroups(this.context);\n this.creatives = new Resource$Creatives(this.context);\n this.dimensionValues = new Resource$Dimensionvalues(this.context);\n this.directorySites = new Resource$Directorysites(this.context);\n this.dynamicTargetingKeys = new Resource$Dynamictargetingkeys(this.context);\n this.eventTags = new Resource$Eventtags(this.context);\n this.files = new Resource$Files(this.context);\n this.floodlightActivities = new Resource$Floodlightactivities(this.context);\n this.floodlightActivityGroups = new Resource$Floodlightactivitygroups(this.context);\n this.floodlightConfigurations = new Resource$Floodlightconfigurations(this.context);\n this.inventoryItems = new Resource$Inventoryitems(this.context);\n this.languages = new Resource$Languages(this.context);\n this.metros = new Resource$Metros(this.context);\n this.mobileApps = new Resource$Mobileapps(this.context);\n this.mobileCarriers = new Resource$Mobilecarriers(this.context);\n this.operatingSystems = new Resource$Operatingsystems(this.context);\n this.operatingSystemVersions = new Resource$Operatingsystemversions(this.context);\n this.orderDocuments = new Resource$Orderdocuments(this.context);\n this.orders = new Resource$Orders(this.context);\n this.placementGroups = new Resource$Placementgroups(this.context);\n this.placements = new Resource$Placements(this.context);\n this.placementStrategies = new Resource$Placementstrategies(this.context);\n this.platformTypes = new Resource$Platformtypes(this.context);\n this.postalCodes = new Resource$Postalcodes(this.context);\n this.projects = new Resource$Projects(this.context);\n this.regions = new Resource$Regions(this.context);\n this.remarketingLists = new Resource$Remarketinglists(this.context);\n this.remarketingListShares = new Resource$Remarketinglistshares(this.context);\n this.reports = new Resource$Reports(this.context);\n this.sites = new Resource$Sites(this.context);\n this.sizes = new Resource$Sizes(this.context);\n this.subaccounts = new Resource$Subaccounts(this.context);\n this.targetableRemarketingLists = new Resource$Targetableremarketinglists(this.context);\n this.targetingTemplates = new Resource$Targetingtemplates(this.context);\n this.userProfiles = new Resource$Userprofiles(this.context);\n this.userRolePermissionGroups = new Resource$Userrolepermissiongroups(this.context);\n this.userRolePermissions = new Resource$Userrolepermissions(this.context);\n this.userRoles = new Resource$Userroles(this.context);\n this.videoFormats = new Resource$Videoformats(this.context);\n }\n }\n dfareporting_v3_3.Dfareporting = Dfareporting;\n class Resource$Accountactiveadsummaries {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'summaryAccountId'],\n pathParams: ['profileId', 'summaryAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Accountactiveadsummaries = Resource$Accountactiveadsummaries;\n class Resource$Accountpermissiongroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissionGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissionGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Accountpermissiongroups = Resource$Accountpermissiongroups;\n class Resource$Accountpermissions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Accountpermissions = Resource$Accountpermissions;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Accounts = Resource$Accounts;\n class Resource$Accountuserprofiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Accountuserprofiles = Resource$Accountuserprofiles;\n class Resource$Ads {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Ads = Resource$Ads;\n class Resource$Advertisergroups {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Advertisergroups = Resource$Advertisergroups;\n class Resource$Advertiserlandingpages {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Advertiserlandingpages = Resource$Advertiserlandingpages;\n class Resource$Advertisers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertisers/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Advertisers = Resource$Advertisers;\n class Resource$Browsers {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/browsers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Browsers = Resource$Browsers;\n class Resource$Campaigncreativeassociations {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId', 'campaignId'],\n pathParams: ['campaignId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'campaignId'],\n pathParams: ['campaignId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Campaigncreativeassociations = Resource$Campaigncreativeassociations;\n class Resource$Campaigns {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/campaigns/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Campaigns = Resource$Campaigns;\n class Resource$Changelogs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/changeLogs/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/changeLogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Changelogs = Resource$Changelogs;\n class Resource$Cities {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/cities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Cities = Resource$Cities;\n class Resource$Connectiontypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/connectionTypes/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/connectionTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Connectiontypes = Resource$Connectiontypes;\n class Resource$Contentcategories {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Contentcategories = Resource$Contentcategories;\n class Resource$Conversions {\n constructor(context) {\n this.context = context;\n }\n batchinsert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/conversions/batchinsert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchupdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/conversions/batchupdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Conversions = Resource$Conversions;\n class Resource$Countries {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/countries/{dartId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'dartId'],\n pathParams: ['dartId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/countries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Countries = Resource$Countries;\n class Resource$Creativeassets {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/dfareporting/v3.3/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['profileId', 'advertiserId'],\n pathParams: ['advertiserId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Creativeassets = Resource$Creativeassets;\n class Resource$Creativefields {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Creativefields = Resource$Creativefields;\n class Resource$Creativefieldvalues {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId', 'id'],\n pathParams: ['creativeFieldId', 'id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId', 'id'],\n pathParams: ['creativeFieldId', 'id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId', 'id'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Creativefieldvalues = Resource$Creativefieldvalues;\n class Resource$Creativegroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Creativegroups = Resource$Creativegroups;\n class Resource$Creatives {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/creatives/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Creatives = Resource$Creatives;\n class Resource$Dimensionvalues {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/dimensionvalues/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Dimensionvalues = Resource$Dimensionvalues;\n class Resource$Directorysites {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/directorySites/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/directorySites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/directorySites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Directorysites = Resource$Directorysites;\n class Resource$Dynamictargetingkeys {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'objectId', 'name', 'objectType'],\n pathParams: ['objectId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Dynamictargetingkeys = Resource$Dynamictargetingkeys;\n class Resource$Eventtags {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Eventtags = Resource$Eventtags;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/reports/{reportId}/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['reportId', 'fileId'],\n pathParams: ['fileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Files = Resource$Files;\n class Resource$Floodlightactivities {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generatetag(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities/generatetag').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Floodlightactivities = Resource$Floodlightactivities;\n class Resource$Floodlightactivitygroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Floodlightactivitygroups = Resource$Floodlightactivitygroups;\n class Resource$Floodlightconfigurations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Floodlightconfigurations = Resource$Floodlightconfigurations;\n class Resource$Inventoryitems {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId', 'id'],\n pathParams: ['id', 'profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/inventoryItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId'],\n pathParams: ['profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Inventoryitems = Resource$Inventoryitems;\n class Resource$Languages {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/languages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Languages = Resource$Languages;\n class Resource$Metros {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/metros').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Metros = Resource$Metros;\n class Resource$Mobileapps {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/mobileApps/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/mobileApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Mobileapps = Resource$Mobileapps;\n class Resource$Mobilecarriers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/mobileCarriers/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/mobileCarriers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Mobilecarriers = Resource$Mobilecarriers;\n class Resource$Operatingsystems {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystems/{dartId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'dartId'],\n pathParams: ['dartId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Operatingsystems = Resource$Operatingsystems;\n class Resource$Operatingsystemversions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystemVersions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/operatingSystemVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Operatingsystemversions = Resource$Operatingsystemversions;\n class Resource$Orderdocuments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId', 'id'],\n pathParams: ['id', 'profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orderDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId'],\n pathParams: ['profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Orderdocuments = Resource$Orderdocuments;\n class Resource$Orders {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orders/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId', 'id'],\n pathParams: ['id', 'profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{projectId}/orders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId'],\n pathParams: ['profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Orders = Resource$Orders;\n class Resource$Placementgroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Placementgroups = Resource$Placementgroups;\n class Resource$Placements {\n constructor(context) {\n this.context = context;\n }\n generatetags(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placements/generatetags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placements/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Placements = Resource$Placements;\n class Resource$Placementstrategies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Placementstrategies = Resource$Placementstrategies;\n class Resource$Platformtypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/platformTypes/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/platformTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Platformtypes = Resource$Platformtypes;\n class Resource$Postalcodes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/postalCodes/{code}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'code'],\n pathParams: ['code', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/postalCodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Postalcodes = Resource$Postalcodes;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/projects/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Projects = Resource$Projects;\n class Resource$Regions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/regions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Regions = Resource$Regions;\n class Resource$Remarketinglists {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'advertiserId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Remarketinglists = Resource$Remarketinglists;\n class Resource$Remarketinglistshares {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingListShares/{remarketingListId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'remarketingListId'],\n pathParams: ['profileId', 'remarketingListId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'remarketingListId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Remarketinglistshares = Resource$Remarketinglistshares;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n this.compatibleFields = new Resource$Reports$Compatiblefields(this.context);\n this.files = new Resource$Reports$Files(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}/run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Reports = Resource$Reports;\n class Resource$Reports$Compatiblefields {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/compatiblefields/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Reports$Compatiblefields = Resource$Reports$Compatiblefields;\n class Resource$Reports$Files {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId', 'fileId'],\n pathParams: ['fileId', 'profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/reports/{reportId}/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Reports$Files = Resource$Reports$Files;\n class Resource$Sites {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Sites = Resource$Sites;\n class Resource$Sizes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sizes/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sizes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/sizes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Sizes = Resource$Sizes;\n class Resource$Subaccounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Subaccounts = Resource$Subaccounts;\n class Resource$Targetableremarketinglists {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetableRemarketingLists/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetableRemarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'advertiserId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Targetableremarketinglists = Resource$Targetableremarketinglists;\n class Resource$Targetingtemplates {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Targetingtemplates = Resource$Targetingtemplates;\n class Resource$Userprofiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Userprofiles = Resource$Userprofiles;\n class Resource$Userrolepermissiongroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissionGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissionGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Userrolepermissiongroups = Resource$Userrolepermissiongroups;\n class Resource$Userrolepermissions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/userRolePermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Userrolepermissions = Resource$Userrolepermissions;\n class Resource$Userroles {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.3/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Userroles = Resource$Userroles;\n class Resource$Videoformats {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/videoFormats/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.3/userprofiles/{profileId}/videoFormats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_3.Resource$Videoformats = Resource$Videoformats;\n})(dfareporting_v3_3 = exports.dfareporting_v3_3 || (exports.dfareporting_v3_3 = {}));\n//# sourceMappingURL=v3.3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dfareporting_v3_4;\n(function (dfareporting_v3_4) {\n /**\n * DCM/DFA Reporting And Trafficking API\n *\n * Manages your DoubleClick Campaign Manager ad campaigns and reports.\n *\n * @example\n * const {google} = require('googleapis');\n * const dfareporting = google.dfareporting('v3.4');\n *\n * @namespace dfareporting\n * @type {Function}\n * @version v3.4\n * @variation v3.4\n * @param {object=} options Options for Dfareporting\n */\n class Dfareporting {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accountActiveAdSummaries = new Resource$Accountactiveadsummaries(this.context);\n this.accountPermissionGroups = new Resource$Accountpermissiongroups(this.context);\n this.accountPermissions = new Resource$Accountpermissions(this.context);\n this.accounts = new Resource$Accounts(this.context);\n this.accountUserProfiles = new Resource$Accountuserprofiles(this.context);\n this.ads = new Resource$Ads(this.context);\n this.advertiserGroups = new Resource$Advertisergroups(this.context);\n this.advertiserLandingPages = new Resource$Advertiserlandingpages(this.context);\n this.advertisers = new Resource$Advertisers(this.context);\n this.browsers = new Resource$Browsers(this.context);\n this.campaignCreativeAssociations = new Resource$Campaigncreativeassociations(this.context);\n this.campaigns = new Resource$Campaigns(this.context);\n this.changeLogs = new Resource$Changelogs(this.context);\n this.cities = new Resource$Cities(this.context);\n this.connectionTypes = new Resource$Connectiontypes(this.context);\n this.contentCategories = new Resource$Contentcategories(this.context);\n this.conversions = new Resource$Conversions(this.context);\n this.countries = new Resource$Countries(this.context);\n this.creativeAssets = new Resource$Creativeassets(this.context);\n this.creativeFields = new Resource$Creativefields(this.context);\n this.creativeFieldValues = new Resource$Creativefieldvalues(this.context);\n this.creativeGroups = new Resource$Creativegroups(this.context);\n this.creatives = new Resource$Creatives(this.context);\n this.customEvents = new Resource$Customevents(this.context);\n this.dimensionValues = new Resource$Dimensionvalues(this.context);\n this.directorySites = new Resource$Directorysites(this.context);\n this.dynamicTargetingKeys = new Resource$Dynamictargetingkeys(this.context);\n this.eventTags = new Resource$Eventtags(this.context);\n this.files = new Resource$Files(this.context);\n this.floodlightActivities = new Resource$Floodlightactivities(this.context);\n this.floodlightActivityGroups = new Resource$Floodlightactivitygroups(this.context);\n this.floodlightConfigurations = new Resource$Floodlightconfigurations(this.context);\n this.inventoryItems = new Resource$Inventoryitems(this.context);\n this.languages = new Resource$Languages(this.context);\n this.metros = new Resource$Metros(this.context);\n this.mobileApps = new Resource$Mobileapps(this.context);\n this.mobileCarriers = new Resource$Mobilecarriers(this.context);\n this.operatingSystems = new Resource$Operatingsystems(this.context);\n this.operatingSystemVersions = new Resource$Operatingsystemversions(this.context);\n this.orderDocuments = new Resource$Orderdocuments(this.context);\n this.orders = new Resource$Orders(this.context);\n this.placementGroups = new Resource$Placementgroups(this.context);\n this.placements = new Resource$Placements(this.context);\n this.placementStrategies = new Resource$Placementstrategies(this.context);\n this.platformTypes = new Resource$Platformtypes(this.context);\n this.postalCodes = new Resource$Postalcodes(this.context);\n this.projects = new Resource$Projects(this.context);\n this.regions = new Resource$Regions(this.context);\n this.remarketingLists = new Resource$Remarketinglists(this.context);\n this.remarketingListShares = new Resource$Remarketinglistshares(this.context);\n this.reports = new Resource$Reports(this.context);\n this.sites = new Resource$Sites(this.context);\n this.sizes = new Resource$Sizes(this.context);\n this.subaccounts = new Resource$Subaccounts(this.context);\n this.targetableRemarketingLists = new Resource$Targetableremarketinglists(this.context);\n this.targetingTemplates = new Resource$Targetingtemplates(this.context);\n this.userProfiles = new Resource$Userprofiles(this.context);\n this.userRolePermissionGroups = new Resource$Userrolepermissiongroups(this.context);\n this.userRolePermissions = new Resource$Userrolepermissions(this.context);\n this.userRoles = new Resource$Userroles(this.context);\n this.videoFormats = new Resource$Videoformats(this.context);\n }\n }\n dfareporting_v3_4.Dfareporting = Dfareporting;\n class Resource$Accountactiveadsummaries {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountActiveAdSummaries/{summaryAccountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'summaryAccountId'],\n pathParams: ['profileId', 'summaryAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Accountactiveadsummaries = Resource$Accountactiveadsummaries;\n class Resource$Accountpermissiongroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissionGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissionGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Accountpermissiongroups = Resource$Accountpermissiongroups;\n class Resource$Accountpermissions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Accountpermissions = Resource$Accountpermissions;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Accounts = Resource$Accounts;\n class Resource$Accountuserprofiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/accountUserProfiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Accountuserprofiles = Resource$Accountuserprofiles;\n class Resource$Ads {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/ads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Ads = Resource$Ads;\n class Resource$Advertisergroups {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Advertisergroups = Resource$Advertisergroups;\n class Resource$Advertiserlandingpages {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertiserLandingPages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Advertiserlandingpages = Resource$Advertiserlandingpages;\n class Resource$Advertisers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertisers/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/advertisers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Advertisers = Resource$Advertisers;\n class Resource$Browsers {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/browsers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Browsers = Resource$Browsers;\n class Resource$Campaigncreativeassociations {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId', 'campaignId'],\n pathParams: ['campaignId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{campaignId}/campaignCreativeAssociations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'campaignId'],\n pathParams: ['campaignId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Campaigncreativeassociations = Resource$Campaigncreativeassociations;\n class Resource$Campaigns {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/campaigns/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/campaigns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Campaigns = Resource$Campaigns;\n class Resource$Changelogs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/changeLogs/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/changeLogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Changelogs = Resource$Changelogs;\n class Resource$Cities {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/cities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Cities = Resource$Cities;\n class Resource$Connectiontypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/connectionTypes/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/connectionTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Connectiontypes = Resource$Connectiontypes;\n class Resource$Contentcategories {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/contentCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Contentcategories = Resource$Contentcategories;\n class Resource$Conversions {\n constructor(context) {\n this.context = context;\n }\n batchinsert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/conversions/batchinsert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchupdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/conversions/batchupdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Conversions = Resource$Conversions;\n class Resource$Countries {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/countries/{dartId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'dartId'],\n pathParams: ['dartId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/countries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Countries = Resource$Countries;\n class Resource$Creativeassets {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/dfareporting/v3.4/userprofiles/{profileId}/creativeAssets/{advertiserId}/creativeAssets').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['profileId', 'advertiserId'],\n pathParams: ['advertiserId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Creativeassets = Resource$Creativeassets;\n class Resource$Creativefields {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Creativefields = Resource$Creativefields;\n class Resource$Creativefieldvalues {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId', 'id'],\n pathParams: ['creativeFieldId', 'id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId', 'id'],\n pathParams: ['creativeFieldId', 'id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId', 'id'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeFields/{creativeFieldId}/creativeFieldValues').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId', 'creativeFieldId'],\n pathParams: ['creativeFieldId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Creativefieldvalues = Resource$Creativefieldvalues;\n class Resource$Creativegroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creativeGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Creativegroups = Resource$Creativegroups;\n class Resource$Creatives {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/creatives/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/creatives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Creatives = Resource$Creatives;\n class Resource$Customevents {\n constructor(context) {\n this.context = context;\n }\n batchinsert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/customEvents/batchinsert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Customevents = Resource$Customevents;\n class Resource$Dimensionvalues {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/dimensionvalues/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Dimensionvalues = Resource$Dimensionvalues;\n class Resource$Directorysites {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/directorySites/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/directorySites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/directorySites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Directorysites = Resource$Directorysites;\n class Resource$Dynamictargetingkeys {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'objectId', 'name', 'objectType'],\n pathParams: ['objectId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/dynamicTargetingKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Dynamictargetingkeys = Resource$Dynamictargetingkeys;\n class Resource$Eventtags {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/eventTags/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/eventTags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Eventtags = Resource$Eventtags;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/reports/{reportId}/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['reportId', 'fileId'],\n pathParams: ['fileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Files = Resource$Files;\n class Resource$Floodlightactivities {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generatetag(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities/generatetag').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Floodlightactivities = Resource$Floodlightactivities;\n class Resource$Floodlightactivitygroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightActivityGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Floodlightactivitygroups = Resource$Floodlightactivitygroups;\n class Resource$Floodlightconfigurations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/floodlightConfigurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Floodlightconfigurations = Resource$Floodlightconfigurations;\n class Resource$Inventoryitems {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId', 'id'],\n pathParams: ['id', 'profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/inventoryItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId'],\n pathParams: ['profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Inventoryitems = Resource$Inventoryitems;\n class Resource$Languages {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/languages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Languages = Resource$Languages;\n class Resource$Metros {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/metros').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Metros = Resource$Metros;\n class Resource$Mobileapps {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/mobileApps/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/mobileApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Mobileapps = Resource$Mobileapps;\n class Resource$Mobilecarriers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/mobileCarriers/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/mobileCarriers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Mobilecarriers = Resource$Mobilecarriers;\n class Resource$Operatingsystems {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystems/{dartId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'dartId'],\n pathParams: ['dartId', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Operatingsystems = Resource$Operatingsystems;\n class Resource$Operatingsystemversions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystemVersions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/operatingSystemVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Operatingsystemversions = Resource$Operatingsystemversions;\n class Resource$Orderdocuments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orderDocuments/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId', 'id'],\n pathParams: ['id', 'profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orderDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId'],\n pathParams: ['profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Orderdocuments = Resource$Orderdocuments;\n class Resource$Orders {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orders/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId', 'id'],\n pathParams: ['id', 'profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{projectId}/orders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'projectId'],\n pathParams: ['profileId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Orders = Resource$Orders;\n class Resource$Placementgroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Placementgroups = Resource$Placementgroups;\n class Resource$Placements {\n constructor(context) {\n this.context = context;\n }\n generatetags(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placements/generatetags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placements/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/placements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Placements = Resource$Placements;\n class Resource$Placementstrategies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/placementStrategies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Placementstrategies = Resource$Placementstrategies;\n class Resource$Platformtypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/platformTypes/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/platformTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Platformtypes = Resource$Platformtypes;\n class Resource$Postalcodes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/postalCodes/{code}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'code'],\n pathParams: ['code', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/postalCodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Postalcodes = Resource$Postalcodes;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/projects/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Projects = Resource$Projects;\n class Resource$Regions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/regions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Regions = Resource$Regions;\n class Resource$Remarketinglists {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'advertiserId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Remarketinglists = Resource$Remarketinglists;\n class Resource$Remarketinglistshares {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingListShares/{remarketingListId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'remarketingListId'],\n pathParams: ['profileId', 'remarketingListId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'remarketingListId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/remarketingListShares').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Remarketinglistshares = Resource$Remarketinglistshares;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n this.compatibleFields = new Resource$Reports$Compatiblefields(this.context);\n this.files = new Resource$Reports$Files(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}/run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Reports = Resource$Reports;\n class Resource$Reports$Compatiblefields {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/compatiblefields/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Reports$Compatiblefields = Resource$Reports$Compatiblefields;\n class Resource$Reports$Files {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId', 'fileId'],\n pathParams: ['fileId', 'profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/reports/{reportId}/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'reportId'],\n pathParams: ['profileId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Reports$Files = Resource$Reports$Files;\n class Resource$Sites {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Sites = Resource$Sites;\n class Resource$Sizes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sizes/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sizes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/sizes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Sizes = Resource$Sizes;\n class Resource$Subaccounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/subaccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Subaccounts = Resource$Subaccounts;\n class Resource$Targetableremarketinglists {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetableRemarketingLists/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetableRemarketingLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'advertiserId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Targetableremarketinglists = Resource$Targetableremarketinglists;\n class Resource$Targetingtemplates {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/targetingTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Targetingtemplates = Resource$Targetingtemplates;\n class Resource$Userprofiles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Userprofiles = Resource$Userprofiles;\n class Resource$Userrolepermissiongroups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissionGroups/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissionGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Userrolepermissiongroups = Resource$Userrolepermissiongroups;\n class Resource$Userrolepermissions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/userRolePermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Userrolepermissions = Resource$Userrolepermissions;\n class Resource$Userroles {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/userRoles/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dfareporting/v3.4/userprofiles/{profileId}/userRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Userroles = Resource$Userroles;\n class Resource$Videoformats {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/videoFormats/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId', 'id'],\n pathParams: ['id', 'profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dfareporting/v3.4/userprofiles/{profileId}/videoFormats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['profileId'],\n pathParams: ['profileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dfareporting_v3_4.Resource$Videoformats = Resource$Videoformats;\n})(dfareporting_v3_4 = exports.dfareporting_v3_4 || (exports.dfareporting_v3_4 = {}));\n//# sourceMappingURL=v3.4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nconst v2beta1_1 = require(\"./v2beta1\");\nexports.VERSIONS = {\n v2: v2_1.dialogflow_v2.Dialogflow,\n v2beta1: v2beta1_1.dialogflow_v2beta1.Dialogflow,\n};\nfunction dialogflow(versionOrOptions) {\n return googleapis_common_1.getAPI('dialogflow', versionOrOptions, exports.VERSIONS, this);\n}\nexports.dialogflow = dialogflow;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dialogflow_v2;\n(function (dialogflow_v2) {\n /**\n * Dialogflow API\n *\n * Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).\n *\n * @example\n * const {google} = require('googleapis');\n * const dialogflow = google.dialogflow('v2');\n *\n * @namespace dialogflow\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Dialogflow\n */\n class Dialogflow {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n dialogflow_v2.Dialogflow = Dialogflow;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.agent = new Resource$Projects$Agent(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n getAgent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/agent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Agent {\n constructor(context) {\n this.context = context;\n this.entityTypes = new Resource$Projects$Agent$Entitytypes(this.context);\n this.intents = new Resource$Projects$Agent$Intents(this.context);\n this.sessions = new Resource$Projects$Agent$Sessions(this.context);\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/agent:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/agent:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restore(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/agent:restore').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/agent:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n train(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/agent:train').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent = Resource$Projects$Agent;\n class Resource$Projects$Agent$Entitytypes {\n constructor(context) {\n this.context = context;\n this.entities = new Resource$Projects$Agent$Entitytypes$Entities(this.context);\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entityTypes:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entityTypes:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent$Entitytypes = Resource$Projects$Agent$Entitytypes;\n class Resource$Projects$Agent$Entitytypes$Entities {\n constructor(context) {\n this.context = context;\n }\n batchCreate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entities:batchCreate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entities:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entities:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent$Entitytypes$Entities = Resource$Projects$Agent$Entitytypes$Entities;\n class Resource$Projects$Agent$Intents {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/intents:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/intents:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/intents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/intents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent$Intents = Resource$Projects$Agent$Intents;\n class Resource$Projects$Agent$Sessions {\n constructor(context) {\n this.context = context;\n this.contexts = new Resource$Projects$Agent$Sessions$Contexts(this.context);\n this.entityTypes = new Resource$Projects$Agent$Sessions$Entitytypes(this.context);\n }\n deleteContexts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detectIntent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+session}:detectIntent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent$Sessions = Resource$Projects$Agent$Sessions;\n class Resource$Projects$Agent$Sessions$Contexts {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent$Sessions$Contexts = Resource$Projects$Agent$Sessions$Contexts;\n class Resource$Projects$Agent$Sessions$Entitytypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Agent$Sessions$Entitytypes = Resource$Projects$Agent$Sessions$Entitytypes;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2.Resource$Projects$Operations = Resource$Projects$Operations;\n})(dialogflow_v2 = exports.dialogflow_v2 || (exports.dialogflow_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dialogflow_v2beta1;\n(function (dialogflow_v2beta1) {\n /**\n * Dialogflow API\n *\n * Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).\n *\n * @example\n * const {google} = require('googleapis');\n * const dialogflow = google.dialogflow('v2beta1');\n *\n * @namespace dialogflow\n * @type {Function}\n * @version v2beta1\n * @variation v2beta1\n * @param {object=} options Options for Dialogflow\n */\n class Dialogflow {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n dialogflow_v2beta1.Dialogflow = Dialogflow;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.agent = new Resource$Projects$Agent(this.context);\n this.knowledgeBases = new Resource$Projects$Knowledgebases(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n getAgent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/agent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Agent {\n constructor(context) {\n this.context = context;\n this.entityTypes = new Resource$Projects$Agent$Entitytypes(this.context);\n this.environments = new Resource$Projects$Agent$Environments(this.context);\n this.intents = new Resource$Projects$Agent$Intents(this.context);\n this.knowledgeBases = new Resource$Projects$Agent$Knowledgebases(this.context);\n this.sessions = new Resource$Projects$Agent$Sessions(this.context);\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/agent:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/agent:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restore(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/agent:restore').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/agent:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n train(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/agent:train').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent = Resource$Projects$Agent;\n class Resource$Projects$Agent$Entitytypes {\n constructor(context) {\n this.context = context;\n this.entities = new Resource$Projects$Agent$Entitytypes$Entities(this.context);\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Entitytypes = Resource$Projects$Agent$Entitytypes;\n class Resource$Projects$Agent$Entitytypes$Entities {\n constructor(context) {\n this.context = context;\n }\n batchCreate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entities:batchCreate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entities:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entities:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Entitytypes$Entities = Resource$Projects$Agent$Entitytypes$Entities;\n class Resource$Projects$Agent$Environments {\n constructor(context) {\n this.context = context;\n this.users = new Resource$Projects$Agent$Environments$Users(this.context);\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Environments = Resource$Projects$Agent$Environments;\n class Resource$Projects$Agent$Environments$Users {\n constructor(context) {\n this.context = context;\n this.sessions = new Resource$Projects$Agent$Environments$Users$Sessions(this.context);\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users = Resource$Projects$Agent$Environments$Users;\n class Resource$Projects$Agent$Environments$Users$Sessions {\n constructor(context) {\n this.context = context;\n this.contexts = new Resource$Projects$Agent$Environments$Users$Sessions$Contexts(this.context);\n this.entityTypes = new Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes(this.context);\n }\n deleteContexts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detectIntent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+session}:detectIntent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users$Sessions = Resource$Projects$Agent$Environments$Users$Sessions;\n class Resource$Projects$Agent$Environments$Users$Sessions$Contexts {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users$Sessions$Contexts = Resource$Projects$Agent$Environments$Users$Sessions$Contexts;\n class Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes = Resource$Projects$Agent$Environments$Users$Sessions$Entitytypes;\n class Resource$Projects$Agent$Intents {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/intents:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/intents:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/intents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/intents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Intents = Resource$Projects$Agent$Intents;\n class Resource$Projects$Agent$Knowledgebases {\n constructor(context) {\n this.context = context;\n this.documents = new Resource$Projects$Agent$Knowledgebases$Documents(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Knowledgebases = Resource$Projects$Agent$Knowledgebases;\n class Resource$Projects$Agent$Knowledgebases$Documents {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}:reload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Knowledgebases$Documents = Resource$Projects$Agent$Knowledgebases$Documents;\n class Resource$Projects$Agent$Sessions {\n constructor(context) {\n this.context = context;\n this.contexts = new Resource$Projects$Agent$Sessions$Contexts(this.context);\n this.entityTypes = new Resource$Projects$Agent$Sessions$Entitytypes(this.context);\n }\n deleteContexts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detectIntent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+session}:detectIntent').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Sessions = Resource$Projects$Agent$Sessions;\n class Resource$Projects$Agent$Sessions$Contexts {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/contexts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Sessions$Contexts = Resource$Projects$Agent$Sessions$Contexts;\n class Resource$Projects$Agent$Sessions$Entitytypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/entityTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Agent$Sessions$Entitytypes = Resource$Projects$Agent$Sessions$Entitytypes;\n class Resource$Projects$Knowledgebases {\n constructor(context) {\n this.context = context;\n this.documents = new Resource$Projects$Knowledgebases$Documents(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/knowledgeBases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Knowledgebases = Resource$Projects$Knowledgebases;\n class Resource$Projects$Knowledgebases$Documents {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+parent}/documents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}:reload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Knowledgebases$Documents = Resource$Projects$Knowledgebases$Documents;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dialogflow.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dialogflow_v2beta1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(dialogflow_v2beta1 = exports.dialogflow_v2beta1 || (exports.dialogflow_v2beta1 = {}));\n//# sourceMappingURL=v2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.digitalassetlinks_v1.Digitalassetlinks,\n};\nfunction digitalassetlinks(versionOrOptions) {\n return googleapis_common_1.getAPI('digitalassetlinks', versionOrOptions, exports.VERSIONS, this);\n}\nexports.digitalassetlinks = digitalassetlinks;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar digitalassetlinks_v1;\n(function (digitalassetlinks_v1) {\n /**\n * Digital Asset Links API\n *\n * Discovers relationships between online assets such as websites or mobile apps.\n *\n * @example\n * const {google} = require('googleapis');\n * const digitalassetlinks = google.digitalassetlinks('v1');\n *\n * @namespace digitalassetlinks\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Digitalassetlinks\n */\n class Digitalassetlinks {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.assetlinks = new Resource$Assetlinks(this.context);\n this.statements = new Resource$Statements(this.context);\n }\n }\n digitalassetlinks_v1.Digitalassetlinks = Digitalassetlinks;\n class Resource$Assetlinks {\n constructor(context) {\n this.context = context;\n }\n check(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://digitalassetlinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/assetlinks:check').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n digitalassetlinks_v1.Resource$Assetlinks = Resource$Assetlinks;\n class Resource$Statements {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://digitalassetlinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/statements:list').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n digitalassetlinks_v1.Resource$Statements = Resource$Statements;\n})(digitalassetlinks_v1 = exports.digitalassetlinks_v1 || (exports.digitalassetlinks_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.discovery_v1.Discovery,\n};\nfunction discovery(versionOrOptions) {\n return googleapis_common_1.getAPI('discovery', versionOrOptions, exports.VERSIONS, this);\n}\nexports.discovery = discovery;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar discovery_v1;\n(function (discovery_v1) {\n /**\n * API Discovery Service\n *\n * Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.\n *\n * @example\n * const {google} = require('googleapis');\n * const discovery = google.discovery('v1');\n *\n * @namespace discovery\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Discovery\n */\n class Discovery {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.apis = new Resource$Apis(this.context);\n }\n }\n discovery_v1.Discovery = Discovery;\n class Resource$Apis {\n constructor(context) {\n this.context = context;\n }\n getRest(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/discovery/v1/apis/{api}/{version}/rest').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['api', 'version'],\n pathParams: ['api', 'version'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/discovery/v1/apis').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n discovery_v1.Resource$Apis = Resource$Apis;\n})(discovery_v1 = exports.discovery_v1 || (exports.discovery_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.dlp_v2.Dlp,\n};\nfunction dlp(versionOrOptions) {\n return googleapis_common_1.getAPI('dlp', versionOrOptions, exports.VERSIONS, this);\n}\nexports.dlp = dlp;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dlp_v2;\n(function (dlp_v2) {\n /**\n * Cloud Data Loss Prevention (DLP) API\n *\n * Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.\n *\n * @example\n * const {google} = require('googleapis');\n * const dlp = google.dlp('v2');\n *\n * @namespace dlp\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Dlp\n */\n class Dlp {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.infoTypes = new Resource$Infotypes(this.context);\n this.locations = new Resource$Locations(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n dlp_v2.Dlp = Dlp;\n class Resource$Infotypes {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/infoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Infotypes = Resource$Infotypes;\n class Resource$Locations {\n constructor(context) {\n this.context = context;\n this.infoTypes = new Resource$Locations$Infotypes(this.context);\n }\n }\n dlp_v2.Resource$Locations = Resource$Locations;\n class Resource$Locations$Infotypes {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/locations/{locationId}/infoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['locationId'],\n pathParams: ['locationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Locations$Infotypes = Resource$Locations$Infotypes;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.deidentifyTemplates = new Resource$Organizations$Deidentifytemplates(this.context);\n this.inspectTemplates = new Resource$Organizations$Inspecttemplates(this.context);\n this.locations = new Resource$Organizations$Locations(this.context);\n this.storedInfoTypes = new Resource$Organizations$Storedinfotypes(this.context);\n }\n }\n dlp_v2.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Deidentifytemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Organizations$Deidentifytemplates = Resource$Organizations$Deidentifytemplates;\n class Resource$Organizations$Inspecttemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Organizations$Inspecttemplates = Resource$Organizations$Inspecttemplates;\n class Resource$Organizations$Locations {\n constructor(context) {\n this.context = context;\n this.deidentifyTemplates = new Resource$Organizations$Locations$Deidentifytemplates(this.context);\n this.inspectTemplates = new Resource$Organizations$Locations$Inspecttemplates(this.context);\n this.storedInfoTypes = new Resource$Organizations$Locations$Storedinfotypes(this.context);\n }\n }\n dlp_v2.Resource$Organizations$Locations = Resource$Organizations$Locations;\n class Resource$Organizations$Locations$Deidentifytemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Organizations$Locations$Deidentifytemplates = Resource$Organizations$Locations$Deidentifytemplates;\n class Resource$Organizations$Locations$Inspecttemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Organizations$Locations$Inspecttemplates = Resource$Organizations$Locations$Inspecttemplates;\n class Resource$Organizations$Locations$Storedinfotypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Organizations$Locations$Storedinfotypes = Resource$Organizations$Locations$Storedinfotypes;\n class Resource$Organizations$Storedinfotypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Organizations$Storedinfotypes = Resource$Organizations$Storedinfotypes;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.content = new Resource$Projects$Content(this.context);\n this.deidentifyTemplates = new Resource$Projects$Deidentifytemplates(this.context);\n this.dlpJobs = new Resource$Projects$Dlpjobs(this.context);\n this.image = new Resource$Projects$Image(this.context);\n this.inspectTemplates = new Resource$Projects$Inspecttemplates(this.context);\n this.jobTriggers = new Resource$Projects$Jobtriggers(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.storedInfoTypes = new Resource$Projects$Storedinfotypes(this.context);\n }\n }\n dlp_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Content {\n constructor(context) {\n this.context = context;\n }\n deidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/content:deidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n inspect(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/content:inspect').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/content:reidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Content = Resource$Projects$Content;\n class Resource$Projects$Deidentifytemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Deidentifytemplates = Resource$Projects$Deidentifytemplates;\n class Resource$Projects$Dlpjobs {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/dlpJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/dlpJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Dlpjobs = Resource$Projects$Dlpjobs;\n class Resource$Projects$Image {\n constructor(context) {\n this.context = context;\n }\n redact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/image:redact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Image = Resource$Projects$Image;\n class Resource$Projects$Inspecttemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Inspecttemplates = Resource$Projects$Inspecttemplates;\n class Resource$Projects$Jobtriggers {\n constructor(context) {\n this.context = context;\n }\n activate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:activate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/jobTriggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/jobTriggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Jobtriggers = Resource$Projects$Jobtriggers;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.content = new Resource$Projects$Locations$Content(this.context);\n this.deidentifyTemplates = new Resource$Projects$Locations$Deidentifytemplates(this.context);\n this.dlpJobs = new Resource$Projects$Locations$Dlpjobs(this.context);\n this.image = new Resource$Projects$Locations$Image(this.context);\n this.inspectTemplates = new Resource$Projects$Locations$Inspecttemplates(this.context);\n this.jobTriggers = new Resource$Projects$Locations$Jobtriggers(this.context);\n this.storedInfoTypes = new Resource$Projects$Locations$Storedinfotypes(this.context);\n }\n }\n dlp_v2.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Content {\n constructor(context) {\n this.context = context;\n }\n deidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/{+parent}/locations/{locationId}/content:deidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n inspect(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/content:inspect').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/{+parent}/locations/{locationId}/content:reidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Content = Resource$Projects$Locations$Content;\n class Resource$Projects$Locations$Deidentifytemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v2/{+parent}/locations/{locationId}/deidentifyTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Deidentifytemplates = Resource$Projects$Locations$Deidentifytemplates;\n class Resource$Projects$Locations$Dlpjobs {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/dlpJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/dlpJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Dlpjobs = Resource$Projects$Locations$Dlpjobs;\n class Resource$Projects$Locations$Image {\n constructor(context) {\n this.context = context;\n }\n redact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/image:redact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Image = Resource$Projects$Locations$Image;\n class Resource$Projects$Locations$Inspecttemplates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/inspectTemplates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Inspecttemplates = Resource$Projects$Locations$Inspecttemplates;\n class Resource$Projects$Locations$Jobtriggers {\n constructor(context) {\n this.context = context;\n }\n activate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:activate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/jobTriggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/jobTriggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Jobtriggers = Resource$Projects$Locations$Jobtriggers;\n class Resource$Projects$Locations$Storedinfotypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/locations/{locationId}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'locationId'],\n pathParams: ['locationId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Locations$Storedinfotypes = Resource$Projects$Locations$Storedinfotypes;\n class Resource$Projects$Storedinfotypes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/storedInfoTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dlp.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dlp_v2.Resource$Projects$Storedinfotypes = Resource$Projects$Storedinfotypes;\n})(dlp_v2 = exports.dlp_v2 || (exports.dlp_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nconst v2beta1_1 = require(\"./v2beta1\");\nexports.VERSIONS = {\n v1: v1_1.dns_v1.Dns,\n v1beta2: v1beta2_1.dns_v1beta2.Dns,\n v2beta1: v2beta1_1.dns_v2beta1.Dns,\n};\nfunction dns(versionOrOptions) {\n return googleapis_common_1.getAPI('dns', versionOrOptions, exports.VERSIONS, this);\n}\nexports.dns = dns;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dns_v1;\n(function (dns_v1) {\n /**\n * Google Cloud DNS API\n *\n * Configures and serves authoritative DNS records.\n *\n * @example\n * const {google} = require('googleapis');\n * const dns = google.dns('v1');\n *\n * @namespace dns\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Dns\n */\n class Dns {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.changes = new Resource$Changes(this.context);\n this.dnsKeys = new Resource$Dnskeys(this.context);\n this.managedZoneOperations = new Resource$Managedzoneoperations(this.context);\n this.managedZones = new Resource$Managedzones(this.context);\n this.policies = new Resource$Policies(this.context);\n this.projects = new Resource$Projects(this.context);\n this.resourceRecordSets = new Resource$Resourcerecordsets(this.context);\n }\n }\n dns_v1.Dns = Dns;\n class Resource$Changes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/changes/{changeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'changeId'],\n pathParams: ['changeId', 'managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Changes = Resource$Changes;\n class Resource$Dnskeys {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'dnsKeyId'],\n pathParams: ['dnsKeyId', 'managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Dnskeys = Resource$Dnskeys;\n class Resource$Managedzoneoperations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'operation'],\n pathParams: ['managedZone', 'operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Managedzoneoperations = Resource$Managedzoneoperations;\n class Resource$Managedzones {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/managedZones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/managedZones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Managedzones = Resource$Managedzones;\n class Resource$Policies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Policies = Resource$Policies;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1/projects/{project}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Projects = Resource$Projects;\n class Resource$Resourcerecordsets {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1/projects/{project}/managedZones/{managedZone}/rrsets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1.Resource$Resourcerecordsets = Resource$Resourcerecordsets;\n})(dns_v1 = exports.dns_v1 || (exports.dns_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dns_v1beta2;\n(function (dns_v1beta2) {\n /**\n * Google Cloud DNS API\n *\n * Configures and serves authoritative DNS records.\n *\n * @example\n * const {google} = require('googleapis');\n * const dns = google.dns('v1beta2');\n *\n * @namespace dns\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Dns\n */\n class Dns {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.changes = new Resource$Changes(this.context);\n this.dnsKeys = new Resource$Dnskeys(this.context);\n this.managedZoneOperations = new Resource$Managedzoneoperations(this.context);\n this.managedZones = new Resource$Managedzones(this.context);\n this.policies = new Resource$Policies(this.context);\n this.projects = new Resource$Projects(this.context);\n this.resourceRecordSets = new Resource$Resourcerecordsets(this.context);\n }\n }\n dns_v1beta2.Dns = Dns;\n class Resource$Changes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes/{changeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'changeId'],\n pathParams: ['changeId', 'managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Changes = Resource$Changes;\n class Resource$Dnskeys {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'dnsKeyId'],\n pathParams: ['dnsKeyId', 'managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/dnsKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Dnskeys = Resource$Dnskeys;\n class Resource$Managedzoneoperations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'operation'],\n pathParams: ['managedZone', 'operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Managedzoneoperations = Resource$Managedzoneoperations;\n class Resource$Managedzones {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/managedZones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/managedZones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Managedzones = Resource$Managedzones;\n class Resource$Policies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Policies = Resource$Policies;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v1beta2/projects/{project}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Projects = Resource$Projects;\n class Resource$Resourcerecordsets {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v1beta2/projects/{project}/managedZones/{managedZone}/rrsets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v1beta2.Resource$Resourcerecordsets = Resource$Resourcerecordsets;\n})(dns_v1beta2 = exports.dns_v1beta2 || (exports.dns_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar dns_v2beta1;\n(function (dns_v2beta1) {\n /**\n * Google Cloud DNS API\n *\n * Configures and serves authoritative DNS records.\n *\n * @example\n * const {google} = require('googleapis');\n * const dns = google.dns('v2beta1');\n *\n * @namespace dns\n * @type {Function}\n * @version v2beta1\n * @variation v2beta1\n * @param {object=} options Options for Dns\n */\n class Dns {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.changes = new Resource$Changes(this.context);\n this.dnsKeys = new Resource$Dnskeys(this.context);\n this.managedZoneOperations = new Resource$Managedzoneoperations(this.context);\n this.managedZones = new Resource$Managedzones(this.context);\n this.policies = new Resource$Policies(this.context);\n this.projects = new Resource$Projects(this.context);\n this.resourceRecordSets = new Resource$Resourcerecordsets(this.context);\n }\n }\n dns_v2beta1.Dns = Dns;\n class Resource$Changes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes/{changeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'changeId'],\n pathParams: ['changeId', 'managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Changes = Resource$Changes;\n class Resource$Dnskeys {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'dnsKeyId'],\n pathParams: ['dnsKeyId', 'managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/dnsKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Dnskeys = Resource$Dnskeys;\n class Resource$Managedzoneoperations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone', 'operation'],\n pathParams: ['managedZone', 'operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Managedzoneoperations = Resource$Managedzoneoperations;\n class Resource$Managedzones {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/managedZones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/managedZones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Managedzones = Resource$Managedzones;\n class Resource$Policies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/policies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}/policies/{policy}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'policy'],\n pathParams: ['policy', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Policies = Resource$Policies;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/dns/v2beta1/projects/{project}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Projects = Resource$Projects;\n class Resource$Resourcerecordsets {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://dns.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/dns/v2beta1/projects/{project}/managedZones/{managedZone}/rrsets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'managedZone'],\n pathParams: ['managedZone', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n dns_v2beta1.Resource$Resourcerecordsets = Resource$Resourcerecordsets;\n})(dns_v2beta1 = exports.dns_v2beta1 || (exports.dns_v2beta1 = {}));\n//# sourceMappingURL=v2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.docs_v1.Docs,\n};\nfunction docs(versionOrOptions) {\n return googleapis_common_1.getAPI('docs', versionOrOptions, exports.VERSIONS, this);\n}\nexports.docs = docs;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar docs_v1;\n(function (docs_v1) {\n /**\n * Google Docs API\n *\n * Reads and writes Google Docs documents.\n *\n * @example\n * const {google} = require('googleapis');\n * const docs = google.docs('v1');\n *\n * @namespace docs\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Docs\n */\n class Docs {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.documents = new Resource$Documents(this.context);\n }\n }\n docs_v1.Docs = Docs;\n class Resource$Documents {\n constructor(context) {\n this.context = context;\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://docs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents/{documentId}:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['documentId'],\n pathParams: ['documentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://docs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://docs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents/{documentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['documentId'],\n pathParams: ['documentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n docs_v1.Resource$Documents = Resource$Documents;\n})(docs_v1 = exports.docs_v1 || (exports.docs_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.domainsrdap_v1.Domainsrdap,\n};\nfunction domainsrdap(versionOrOptions) {\n return googleapis_common_1.getAPI('domainsrdap', versionOrOptions, exports.VERSIONS, this);\n}\nexports.domainsrdap = domainsrdap;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar domainsrdap_v1;\n(function (domainsrdap_v1) {\n /**\n * Domains RDAP API\n *\n * Read-only public API that lets users search for information about domain names.\n *\n * @example\n * const {google} = require('googleapis');\n * const domainsrdap = google.domainsrdap('v1');\n *\n * @namespace domainsrdap\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Domainsrdap\n */\n class Domainsrdap {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.autnum = new Resource$Autnum(this.context);\n this.domain = new Resource$Domain(this.context);\n this.entity = new Resource$Entity(this.context);\n this.ip = new Resource$Ip(this.context);\n this.nameserver = new Resource$Nameserver(this.context);\n this.v1 = new Resource$V1(this.context);\n }\n }\n domainsrdap_v1.Domainsrdap = Domainsrdap;\n class Resource$Autnum {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/autnum/{autnumId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['autnumId'],\n pathParams: ['autnumId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n domainsrdap_v1.Resource$Autnum = Resource$Autnum;\n class Resource$Domain {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/domain/{+domainName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['domainName'],\n pathParams: ['domainName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n domainsrdap_v1.Resource$Domain = Resource$Domain;\n class Resource$Entity {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/entity/{entityId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['entityId'],\n pathParams: ['entityId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n domainsrdap_v1.Resource$Entity = Resource$Entity;\n class Resource$Ip {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/ip/{ipId}/{ipId1}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['ipId', 'ipId1'],\n pathParams: ['ipId', 'ipId1'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n domainsrdap_v1.Resource$Ip = Resource$Ip;\n class Resource$Nameserver {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/nameserver/{nameserverId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['nameserverId'],\n pathParams: ['nameserverId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n domainsrdap_v1.Resource$Nameserver = Resource$Nameserver;\n class Resource$V1 {\n constructor(context) {\n this.context = context;\n }\n getDomains(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/domains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getEntities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/entities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getHelp(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/help').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIp(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/ip').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getNameservers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://domainsrdap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/nameservers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n domainsrdap_v1.Resource$V1 = Resource$V1;\n})(domainsrdap_v1 = exports.domainsrdap_v1 || (exports.domainsrdap_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1_1 = require(\"./v1.1\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n 'v1.1': v1_1_1.doubleclickbidmanager_v1_1.Doubleclickbidmanager,\n v1: v1_1.doubleclickbidmanager_v1.Doubleclickbidmanager,\n};\nfunction doubleclickbidmanager(versionOrOptions) {\n return googleapis_common_1.getAPI('doubleclickbidmanager', versionOrOptions, exports.VERSIONS, this);\n}\nexports.doubleclickbidmanager = doubleclickbidmanager;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar doubleclickbidmanager_v1_1;\n(function (doubleclickbidmanager_v1_1) {\n /**\n * DoubleClick Bid Manager API\n *\n * API for viewing and managing your reports in DoubleClick Bid Manager.\n *\n * @example\n * const {google} = require('googleapis');\n * const doubleclickbidmanager = google.doubleclickbidmanager('v1.1');\n *\n * @namespace doubleclickbidmanager\n * @type {Function}\n * @version v1.1\n * @variation v1.1\n * @param {object=} options Options for Doubleclickbidmanager\n */\n class Doubleclickbidmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.lineitems = new Resource$Lineitems(this.context);\n this.queries = new Resource$Queries(this.context);\n this.reports = new Resource$Reports(this.context);\n this.sdf = new Resource$Sdf(this.context);\n }\n }\n doubleclickbidmanager_v1_1.Doubleclickbidmanager = Doubleclickbidmanager;\n class Resource$Lineitems {\n constructor(context) {\n this.context = context;\n }\n downloadlineitems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/doubleclickbidmanager/v1.1/lineitems/downloadlineitems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n uploadlineitems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/lineitems/uploadlineitems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1_1.Resource$Lineitems = Resource$Lineitems;\n class Resource$Queries {\n constructor(context) {\n this.context = context;\n }\n createquery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deletequery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/query/{queryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getquery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/query/{queryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listqueries(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/queries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runquery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/query/{queryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1_1.Resource$Queries = Resource$Queries;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n }\n listreports(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/queries/{queryId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1_1.Resource$Reports = Resource$Reports;\n class Resource$Sdf {\n constructor(context) {\n this.context = context;\n }\n download(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1.1/sdf/download').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1_1.Resource$Sdf = Resource$Sdf;\n})(doubleclickbidmanager_v1_1 = exports.doubleclickbidmanager_v1_1 || (exports.doubleclickbidmanager_v1_1 = {}));\n//# sourceMappingURL=v1.1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar doubleclickbidmanager_v1;\n(function (doubleclickbidmanager_v1) {\n /**\n * DoubleClick Bid Manager API\n *\n * API for viewing and managing your reports in DoubleClick Bid Manager.\n *\n * @example\n * const {google} = require('googleapis');\n * const doubleclickbidmanager = google.doubleclickbidmanager('v1');\n *\n * @namespace doubleclickbidmanager\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Doubleclickbidmanager\n */\n class Doubleclickbidmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.lineitems = new Resource$Lineitems(this.context);\n this.queries = new Resource$Queries(this.context);\n this.reports = new Resource$Reports(this.context);\n this.sdf = new Resource$Sdf(this.context);\n }\n }\n doubleclickbidmanager_v1.Doubleclickbidmanager = Doubleclickbidmanager;\n class Resource$Lineitems {\n constructor(context) {\n this.context = context;\n }\n downloadlineitems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/lineitems/downloadlineitems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n uploadlineitems(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/lineitems/uploadlineitems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1.Resource$Lineitems = Resource$Lineitems;\n class Resource$Queries {\n constructor(context) {\n this.context = context;\n }\n createquery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deletequery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/query/{queryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getquery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/query/{queryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listqueries(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/queries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runquery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/query/{queryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1.Resource$Queries = Resource$Queries;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n }\n listreports(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/queries/{queryId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['queryId'],\n pathParams: ['queryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1.Resource$Reports = Resource$Reports;\n class Resource$Sdf {\n constructor(context) {\n this.context = context;\n }\n download(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclickbidmanager/v1/sdf/download').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclickbidmanager_v1.Resource$Sdf = Resource$Sdf;\n})(doubleclickbidmanager_v1 = exports.doubleclickbidmanager_v1 || (exports.doubleclickbidmanager_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.doubleclicksearch_v2.Doubleclicksearch,\n};\nfunction doubleclicksearch(versionOrOptions) {\n return googleapis_common_1.getAPI('doubleclicksearch', versionOrOptions, exports.VERSIONS, this);\n}\nexports.doubleclicksearch = doubleclicksearch;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar doubleclicksearch_v2;\n(function (doubleclicksearch_v2) {\n /**\n * Search Ads 360 API\n *\n * Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).\n *\n * @example\n * const {google} = require('googleapis');\n * const doubleclicksearch = google.doubleclicksearch('v2');\n *\n * @namespace doubleclicksearch\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Doubleclicksearch\n */\n class Doubleclicksearch {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.conversion = new Resource$Conversion(this.context);\n this.reports = new Resource$Reports(this.context);\n this.savedColumns = new Resource$Savedcolumns(this.context);\n }\n }\n doubleclicksearch_v2.Doubleclicksearch = Doubleclicksearch;\n class Resource$Conversion {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'agencyId',\n 'advertiserId',\n 'engineAccountId',\n 'endDate',\n 'rowCount',\n 'startDate',\n 'startRow',\n ],\n pathParams: ['advertiserId', 'agencyId', 'engineAccountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/conversion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/conversion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: [\n 'advertiserId',\n 'agencyId',\n 'endDate',\n 'engineAccountId',\n 'rowCount',\n 'startDate',\n 'startRow',\n ],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/conversion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAvailability(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/conversion/updateAvailability').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclicksearch_v2.Resource$Conversion = Resource$Conversion;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n }\n generate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/reports/generate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['reportId'],\n pathParams: ['reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getFile(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/doubleclicksearch/v2/reports/{reportId}/files/{reportFragment}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['reportId', 'reportFragment'],\n pathParams: ['reportFragment', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n request(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/doubleclicksearch/v2/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclicksearch_v2.Resource$Reports = Resource$Reports;\n class Resource$Savedcolumns {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/savedcolumns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['agencyId', 'advertiserId'],\n pathParams: ['advertiserId', 'agencyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n doubleclicksearch_v2.Resource$Savedcolumns = Resource$Savedcolumns;\n})(doubleclicksearch_v2 = exports.doubleclicksearch_v2 || (exports.doubleclicksearch_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v2: v2_1.drive_v2.Drive,\n v3: v3_1.drive_v3.Drive,\n};\nfunction drive(versionOrOptions) {\n return googleapis_common_1.getAPI('drive', versionOrOptions, exports.VERSIONS, this);\n}\nexports.drive = drive;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar drive_v2;\n(function (drive_v2) {\n /**\n * Drive API\n *\n * Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.\n *\n * @example\n * const {google} = require('googleapis');\n * const drive = google.drive('v2');\n *\n * @namespace drive\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Drive\n */\n class Drive {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.about = new Resource$About(this.context);\n this.apps = new Resource$Apps(this.context);\n this.changes = new Resource$Changes(this.context);\n this.channels = new Resource$Channels(this.context);\n this.children = new Resource$Children(this.context);\n this.comments = new Resource$Comments(this.context);\n this.drives = new Resource$Drives(this.context);\n this.files = new Resource$Files(this.context);\n this.parents = new Resource$Parents(this.context);\n this.permissions = new Resource$Permissions(this.context);\n this.properties = new Resource$Properties(this.context);\n this.replies = new Resource$Replies(this.context);\n this.revisions = new Resource$Revisions(this.context);\n this.teamdrives = new Resource$Teamdrives(this.context);\n }\n }\n drive_v2.Drive = Drive;\n class Resource$About {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/about').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$About = Resource$About;\n class Resource$Apps {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/apps/{appId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['appId'],\n pathParams: ['appId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/apps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Apps = Resource$Apps;\n class Resource$Changes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/changes/{changeId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['changeId'],\n pathParams: ['changeId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getStartPageToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/changes/startPageToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/changes/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Changes = Resource$Changes;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Channels = Resource$Channels;\n class Resource$Children {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{folderId}/children/{childId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['folderId', 'childId'],\n pathParams: ['childId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{folderId}/children/{childId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['folderId', 'childId'],\n pathParams: ['childId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{folderId}/children').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['folderId'],\n pathParams: ['folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{folderId}/children').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['folderId'],\n pathParams: ['folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Children = Resource$Children;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Comments = Resource$Comments;\n class Resource$Drives {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives/{driveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives/{driveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n hide(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives/{driveId}/hide').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['requestId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unhide(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives/{driveId}/unhide').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/drives/{driveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Drives = Resource$Drives;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n copy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/copy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n emptyTrash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/trash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'mimeType'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/generateIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/drive/v2/files').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n touch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/touch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n trash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/trash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n untrash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/untrash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/drive/v2/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Files = Resource$Files;\n class Resource$Parents {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/parents/{parentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'parentId'],\n pathParams: ['fileId', 'parentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/parents/{parentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'parentId'],\n pathParams: ['fileId', 'parentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/parents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/parents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Parents = Resource$Parents;\n class Resource$Permissions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIdForEmail(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/permissionIds/{email}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['email'],\n pathParams: ['email'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Permissions = Resource$Permissions;\n class Resource$Properties {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'propertyKey'],\n pathParams: ['fileId', 'propertyKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'propertyKey'],\n pathParams: ['fileId', 'propertyKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/properties').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/properties').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'propertyKey'],\n pathParams: ['fileId', 'propertyKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/properties/{propertyKey}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['fileId', 'propertyKey'],\n pathParams: ['fileId', 'propertyKey'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Properties = Resource$Properties;\n class Resource$Replies {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v2/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Replies = Resource$Replies;\n class Resource$Revisions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/revisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Revisions = Resource$Revisions;\n class Resource$Teamdrives {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/teamdrives/{teamDriveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['teamDriveId'],\n pathParams: ['teamDriveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/teamdrives/{teamDriveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['teamDriveId'],\n pathParams: ['teamDriveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/teamdrives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['requestId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/teamdrives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v2/teamdrives/{teamDriveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['teamDriveId'],\n pathParams: ['teamDriveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v2.Resource$Teamdrives = Resource$Teamdrives;\n})(drive_v2 = exports.drive_v2 || (exports.drive_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar drive_v3;\n(function (drive_v3) {\n /**\n * Drive API\n *\n * Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.\n *\n * @example\n * const {google} = require('googleapis');\n * const drive = google.drive('v3');\n *\n * @namespace drive\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Drive\n */\n class Drive {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.about = new Resource$About(this.context);\n this.changes = new Resource$Changes(this.context);\n this.channels = new Resource$Channels(this.context);\n this.comments = new Resource$Comments(this.context);\n this.drives = new Resource$Drives(this.context);\n this.files = new Resource$Files(this.context);\n this.permissions = new Resource$Permissions(this.context);\n this.replies = new Resource$Replies(this.context);\n this.revisions = new Resource$Revisions(this.context);\n this.teamdrives = new Resource$Teamdrives(this.context);\n }\n }\n drive_v3.Drive = Drive;\n class Resource$About {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/about').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$About = Resource$About;\n class Resource$Changes {\n constructor(context) {\n this.context = context;\n }\n getStartPageToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/changes/startPageToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/changes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['pageToken'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/changes/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['pageToken'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Changes = Resource$Changes;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Channels = Resource$Channels;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Comments = Resource$Comments;\n class Resource$Drives {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['requestId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives/{driveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives/{driveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n hide(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives/{driveId}/hide').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unhide(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives/{driveId}/unhide').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/drives/{driveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['driveId'],\n pathParams: ['driveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Drives = Resource$Drives;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n copy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/copy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/drive/v3/files').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n emptyTrash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/trash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'mimeType'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/generateIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/drive/v3/files/{fileId}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Files = Resource$Files;\n class Resource$Permissions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'permissionId'],\n pathParams: ['fileId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Permissions = Resource$Permissions;\n class Resource$Replies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/comments/{commentId}/replies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId'],\n pathParams: ['commentId', 'fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/drive/v3/files/{fileId}/comments/{commentId}/replies/{replyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'commentId', 'replyId'],\n pathParams: ['commentId', 'fileId', 'replyId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Replies = Resource$Replies;\n class Resource$Revisions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/revisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['fileId'],\n pathParams: ['fileId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/files/{fileId}/revisions/{revisionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['fileId', 'revisionId'],\n pathParams: ['fileId', 'revisionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Revisions = Resource$Revisions;\n class Resource$Teamdrives {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/teamdrives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['requestId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/teamdrives/{teamDriveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['teamDriveId'],\n pathParams: ['teamDriveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/teamdrives/{teamDriveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['teamDriveId'],\n pathParams: ['teamDriveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/teamdrives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/drive/v3/teamdrives/{teamDriveId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['teamDriveId'],\n pathParams: ['teamDriveId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n drive_v3.Resource$Teamdrives = Resource$Teamdrives;\n})(drive_v3 = exports.drive_v3 || (exports.drive_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.driveactivity_v2.Driveactivity,\n};\nfunction driveactivity(versionOrOptions) {\n return googleapis_common_1.getAPI('driveactivity', versionOrOptions, exports.VERSIONS, this);\n}\nexports.driveactivity = driveactivity;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar driveactivity_v2;\n(function (driveactivity_v2) {\n /**\n * Drive Activity API\n *\n * Provides a historical view of activity in Google Drive.\n *\n * @example\n * const {google} = require('googleapis');\n * const driveactivity = google.driveactivity('v2');\n *\n * @namespace driveactivity\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Driveactivity\n */\n class Driveactivity {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.activity = new Resource$Activity(this.context);\n }\n }\n driveactivity_v2.Driveactivity = Driveactivity;\n class Resource$Activity {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://driveactivity.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/activity:query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n driveactivity_v2.Resource$Activity = Resource$Activity;\n})(driveactivity_v2 = exports.driveactivity_v2 || (exports.driveactivity_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1alpha1: v1alpha1_1.factchecktools_v1alpha1.Factchecktools,\n};\nfunction factchecktools(versionOrOptions) {\n return googleapis_common_1.getAPI('factchecktools', versionOrOptions, exports.VERSIONS, this);\n}\nexports.factchecktools = factchecktools;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar factchecktools_v1alpha1;\n(function (factchecktools_v1alpha1) {\n /**\n * Fact Check Tools API\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const factchecktools = google.factchecktools('v1alpha1');\n *\n * @namespace factchecktools\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Factchecktools\n */\n class Factchecktools {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.claims = new Resource$Claims(this.context);\n this.pages = new Resource$Pages(this.context);\n }\n }\n factchecktools_v1alpha1.Factchecktools = Factchecktools;\n class Resource$Claims {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/claims:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n factchecktools_v1alpha1.Resource$Claims = Resource$Claims;\n class Resource$Pages {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/pages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://factchecktools.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n factchecktools_v1alpha1.Resource$Pages = Resource$Pages;\n})(factchecktools_v1alpha1 = exports.factchecktools_v1alpha1 || (exports.factchecktools_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.fcm_v1.Fcm,\n};\nfunction fcm(versionOrOptions) {\n return googleapis_common_1.getAPI('fcm', versionOrOptions, exports.VERSIONS, this);\n}\nexports.fcm = fcm;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar fcm_v1;\n(function (fcm_v1) {\n /**\n * Firebase Cloud Messaging API\n *\n * FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.\n *\n * @example\n * const {google} = require('googleapis');\n * const fcm = google.fcm('v1');\n *\n * @namespace fcm\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Fcm\n */\n class Fcm {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n fcm_v1.Fcm = Fcm;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.messages = new Resource$Projects$Messages(this.context);\n }\n }\n fcm_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Messages {\n constructor(context) {\n this.context = context;\n }\n send(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://fcm.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/messages:send').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n fcm_v1.Resource$Projects$Messages = Resource$Projects$Messages;\n})(fcm_v1 = exports.fcm_v1 || (exports.fcm_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.file_v1.File,\n v1beta1: v1beta1_1.file_v1beta1.File,\n};\nfunction file(versionOrOptions) {\n return googleapis_common_1.getAPI('file', versionOrOptions, exports.VERSIONS, this);\n}\nexports.file = file;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar file_v1;\n(function (file_v1) {\n /**\n * Cloud Filestore API\n *\n * The Cloud Filestore API is used for creating and managing cloud file servers.\n *\n * @example\n * const {google} = require('googleapis');\n * const file = google.file('v1');\n *\n * @namespace file\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for File\n */\n class File {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n file_v1.File = File;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n file_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Instances(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n file_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Instances {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n file_v1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n file_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(file_v1 = exports.file_v1 || (exports.file_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar file_v1beta1;\n(function (file_v1beta1) {\n /**\n * Cloud Filestore API\n *\n * The Cloud Filestore API is used for creating and managing cloud file servers.\n *\n * @example\n * const {google} = require('googleapis');\n * const file = google.file('v1beta1');\n *\n * @namespace file\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for File\n */\n class File {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n file_v1beta1.File = File;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n file_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Instances(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n file_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Instances {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n file_v1beta1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://file.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n file_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(file_v1beta1 = exports.file_v1beta1 || (exports.file_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.firebase_v1beta1.Firebase,\n};\nfunction firebase(versionOrOptions) {\n return googleapis_common_1.getAPI('firebase', versionOrOptions, exports.VERSIONS, this);\n}\nexports.firebase = firebase;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firebase_v1beta1;\n(function (firebase_v1beta1) {\n /**\n * Firebase Management API\n *\n * The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.\n *\n * @example\n * const {google} = require('googleapis');\n * const firebase = google.firebase('v1beta1');\n *\n * @namespace firebase\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Firebase\n */\n class Firebase {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.availableProjects = new Resource$Availableprojects(this.context);\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n firebase_v1beta1.Firebase = Firebase;\n class Resource$Availableprojects {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/availableProjects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Availableprojects = Resource$Availableprojects;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.androidApps = new Resource$Projects$Androidapps(this.context);\n this.availableLocations = new Resource$Projects$Availablelocations(this.context);\n this.defaultLocation = new Resource$Projects$Defaultlocation(this.context);\n this.iosApps = new Resource$Projects$Iosapps(this.context);\n this.webApps = new Resource$Projects$Webapps(this.context);\n }\n addFirebase(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+project}:addFirebase').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n addGoogleAnalytics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:addGoogleAnalytics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAdminSdkConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAnalyticsDetails(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeAnalytics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:removeAnalytics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchApps(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:searchApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Androidapps {\n constructor(context) {\n this.context = context;\n this.sha = new Resource$Projects$Androidapps$Sha(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/androidApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/androidApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects$Androidapps = Resource$Projects$Androidapps;\n class Resource$Projects$Androidapps$Sha {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/sha').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/sha').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects$Androidapps$Sha = Resource$Projects$Androidapps$Sha;\n class Resource$Projects$Availablelocations {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/availableLocations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects$Availablelocations = Resource$Projects$Availablelocations;\n class Resource$Projects$Defaultlocation {\n constructor(context) {\n this.context = context;\n }\n finalize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/defaultLocation:finalize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects$Defaultlocation = Resource$Projects$Defaultlocation;\n class Resource$Projects$Iosapps {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/iosApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/iosApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects$Iosapps = Resource$Projects$Iosapps;\n class Resource$Projects$Webapps {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/webApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/webApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebase.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebase_v1beta1.Resource$Projects$Webapps = Resource$Projects$Webapps;\n})(firebase_v1beta1 = exports.firebase_v1beta1 || (exports.firebase_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.firebasedynamiclinks_v1.Firebasedynamiclinks,\n};\nfunction firebasedynamiclinks(versionOrOptions) {\n return googleapis_common_1.getAPI('firebasedynamiclinks', versionOrOptions, exports.VERSIONS, this);\n}\nexports.firebasedynamiclinks = firebasedynamiclinks;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firebasedynamiclinks_v1;\n(function (firebasedynamiclinks_v1) {\n /**\n * Firebase Dynamic Links API\n *\n * Programmatically creates and manages Firebase Dynamic Links.\n *\n * @example\n * const {google} = require('googleapis');\n * const firebasedynamiclinks = google.firebasedynamiclinks('v1');\n *\n * @namespace firebasedynamiclinks\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Firebasedynamiclinks\n */\n class Firebasedynamiclinks {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.managedShortLinks = new Resource$Managedshortlinks(this.context);\n this.shortLinks = new Resource$Shortlinks(this.context);\n this.v1 = new Resource$V1(this.context);\n }\n }\n firebasedynamiclinks_v1.Firebasedynamiclinks = Firebasedynamiclinks;\n class Resource$Managedshortlinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/managedShortLinks:create').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasedynamiclinks_v1.Resource$Managedshortlinks = Resource$Managedshortlinks;\n class Resource$Shortlinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/shortLinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasedynamiclinks_v1.Resource$Shortlinks = Resource$Shortlinks;\n class Resource$V1 {\n constructor(context) {\n this.context = context;\n }\n getLinkStats(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{dynamicLink}/linkStats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['dynamicLink'],\n pathParams: ['dynamicLink'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n installAttribution(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/installAttribution').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reopenAttribution(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasedynamiclinks.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/reopenAttribution').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasedynamiclinks_v1.Resource$V1 = Resource$V1;\n})(firebasedynamiclinks_v1 = exports.firebasedynamiclinks_v1 || (exports.firebasedynamiclinks_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.firebasehosting_v1beta1.Firebasehosting,\n};\nfunction firebasehosting(versionOrOptions) {\n return googleapis_common_1.getAPI('firebasehosting', versionOrOptions, exports.VERSIONS, this);\n}\nexports.firebasehosting = firebasehosting;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firebasehosting_v1beta1;\n(function (firebasehosting_v1beta1) {\n /**\n * Firebase Hosting API\n *\n * The Firebase Hosting REST API enables programmatic and customizable deployments to your Firebase-hosted sites. Use this REST API to deploy new or updated hosting configurations and content files.\n *\n * @example\n * const {google} = require('googleapis');\n * const firebasehosting = google.firebasehosting('v1beta1');\n *\n * @namespace firebasehosting\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Firebasehosting\n */\n class Firebasehosting {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.sites = new Resource$Sites(this.context);\n }\n }\n firebasehosting_v1beta1.Firebasehosting = Firebasehosting;\n class Resource$Sites {\n constructor(context) {\n this.context = context;\n this.domains = new Resource$Sites$Domains(this.context);\n this.releases = new Resource$Sites$Releases(this.context);\n this.versions = new Resource$Sites$Versions(this.context);\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasehosting_v1beta1.Resource$Sites = Resource$Sites;\n class Resource$Sites$Domains {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/domains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/domains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasehosting_v1beta1.Resource$Sites$Domains = Resource$Sites$Domains;\n class Resource$Sites$Releases {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/releases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/releases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasehosting_v1beta1.Resource$Sites$Releases = Resource$Sites$Releases;\n class Resource$Sites$Versions {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Sites$Versions$Files(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n populateFiles(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:populateFiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasehosting_v1beta1.Resource$Sites$Versions = Resource$Sites$Versions;\n class Resource$Sites$Versions$Files {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebasehosting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/files').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebasehosting_v1beta1.Resource$Sites$Versions$Files = Resource$Sites$Versions$Files;\n})(firebasehosting_v1beta1 = exports.firebasehosting_v1beta1 || (exports.firebasehosting_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.firebaserules_v1.Firebaserules,\n};\nfunction firebaserules(versionOrOptions) {\n return googleapis_common_1.getAPI('firebaserules', versionOrOptions, exports.VERSIONS, this);\n}\nexports.firebaserules = firebaserules;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firebaserules_v1;\n(function (firebaserules_v1) {\n /**\n * Firebase Rules API\n *\n * Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request.\n *\n * @example\n * const {google} = require('googleapis');\n * const firebaserules = google.firebaserules('v1');\n *\n * @namespace firebaserules\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Firebaserules\n */\n class Firebaserules {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n firebaserules_v1.Firebaserules = Firebaserules;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.releases = new Resource$Projects$Releases(this.context);\n this.rulesets = new Resource$Projects$Rulesets(this.context);\n }\n test(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:test').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebaserules_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Releases {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/releases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getExecutable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:getExecutable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/releases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebaserules_v1.Resource$Projects$Releases = Resource$Projects$Releases;\n class Resource$Projects$Rulesets {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/rulesets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firebaserules.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/rulesets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firebaserules_v1.Resource$Projects$Rulesets = Resource$Projects$Rulesets;\n})(firebaserules_v1 = exports.firebaserules_v1 || (exports.firebaserules_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nexports.VERSIONS = {\n v1: v1_1.firestore_v1.Firestore,\n v1beta1: v1beta1_1.firestore_v1beta1.Firestore,\n v1beta2: v1beta2_1.firestore_v1beta2.Firestore,\n};\nfunction firestore(versionOrOptions) {\n return googleapis_common_1.getAPI('firestore', versionOrOptions, exports.VERSIONS, this);\n}\nexports.firestore = firestore;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firestore_v1;\n(function (firestore_v1) {\n /**\n * Cloud Firestore API\n *\n * Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.\n *\n * @example\n * const {google} = require('googleapis');\n * const firestore = google.firestore('v1');\n *\n * @namespace firestore\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Firestore\n */\n class Firestore {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n firestore_v1.Firestore = Firestore;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.databases = new Resource$Projects$Databases(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n firestore_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Databases {\n constructor(context) {\n this.context = context;\n this.collectionGroups = new Resource$Projects$Databases$Collectiongroups(this.context);\n this.documents = new Resource$Projects$Databases$Documents(this.context);\n this.operations = new Resource$Projects$Databases$Operations(this.context);\n }\n exportDocuments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:exportDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n importDocuments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:importDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1.Resource$Projects$Databases = Resource$Projects$Databases;\n class Resource$Projects$Databases$Collectiongroups {\n constructor(context) {\n this.context = context;\n this.fields = new Resource$Projects$Databases$Collectiongroups$Fields(this.context);\n this.indexes = new Resource$Projects$Databases$Collectiongroups$Indexes(this.context);\n }\n }\n firestore_v1.Resource$Projects$Databases$Collectiongroups = Resource$Projects$Databases$Collectiongroups;\n class Resource$Projects$Databases$Collectiongroups$Fields {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/fields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1.Resource$Projects$Databases$Collectiongroups$Fields = Resource$Projects$Databases$Collectiongroups$Fields;\n class Resource$Projects$Databases$Collectiongroups$Indexes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1.Resource$Projects$Databases$Collectiongroups$Indexes = Resource$Projects$Databases$Collectiongroups$Indexes;\n class Resource$Projects$Databases$Documents {\n constructor(context) {\n this.context = context;\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/documents:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n beginTransaction(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/documents:beginTransaction').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/documents:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createDocument(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/{collectionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'collectionId'],\n pathParams: ['collectionId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/{collectionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'collectionId'],\n pathParams: ['collectionId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listCollectionIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:listCollectionIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listen(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/documents:listen').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/documents:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:runQuery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n write(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/documents:write').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1.Resource$Projects$Databases$Documents = Resource$Projects$Databases$Documents;\n class Resource$Projects$Databases$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1.Resource$Projects$Databases$Operations = Resource$Projects$Databases$Operations;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n})(firestore_v1 = exports.firestore_v1 || (exports.firestore_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firestore_v1beta1;\n(function (firestore_v1beta1) {\n /**\n * Cloud Firestore API\n *\n * Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.\n *\n * @example\n * const {google} = require('googleapis');\n * const firestore = google.firestore('v1beta1');\n *\n * @namespace firestore\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Firestore\n */\n class Firestore {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n firestore_v1beta1.Firestore = Firestore;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.databases = new Resource$Projects$Databases(this.context);\n }\n }\n firestore_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Databases {\n constructor(context) {\n this.context = context;\n this.documents = new Resource$Projects$Databases$Documents(this.context);\n this.indexes = new Resource$Projects$Databases$Indexes(this.context);\n }\n exportDocuments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:exportDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n importDocuments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:importDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1beta1.Resource$Projects$Databases = Resource$Projects$Databases;\n class Resource$Projects$Databases$Documents {\n constructor(context) {\n this.context = context;\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+database}/documents:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n beginTransaction(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+database}/documents:beginTransaction').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+database}/documents:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createDocument(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/{collectionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'collectionId'],\n pathParams: ['collectionId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/{collectionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'collectionId'],\n pathParams: ['collectionId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listCollectionIds(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:listCollectionIds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listen(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+database}/documents:listen').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+database}/documents:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:runQuery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n write(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+database}/documents:write').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1beta1.Resource$Projects$Databases$Documents = Resource$Projects$Databases$Documents;\n class Resource$Projects$Databases$Indexes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1beta1.Resource$Projects$Databases$Indexes = Resource$Projects$Databases$Indexes;\n})(firestore_v1beta1 = exports.firestore_v1beta1 || (exports.firestore_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar firestore_v1beta2;\n(function (firestore_v1beta2) {\n /**\n * Cloud Firestore API\n *\n * Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development.\n *\n * @example\n * const {google} = require('googleapis');\n * const firestore = google.firestore('v1beta2');\n *\n * @namespace firestore\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Firestore\n */\n class Firestore {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n firestore_v1beta2.Firestore = Firestore;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.databases = new Resource$Projects$Databases(this.context);\n }\n }\n firestore_v1beta2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Databases {\n constructor(context) {\n this.context = context;\n this.collectionGroups = new Resource$Projects$Databases$Collectiongroups(this.context);\n }\n exportDocuments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:exportDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n importDocuments(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}:importDocuments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1beta2.Resource$Projects$Databases = Resource$Projects$Databases;\n class Resource$Projects$Databases$Collectiongroups {\n constructor(context) {\n this.context = context;\n this.fields = new Resource$Projects$Databases$Collectiongroups$Fields(this.context);\n this.indexes = new Resource$Projects$Databases$Collectiongroups$Indexes(this.context);\n }\n }\n firestore_v1beta2.Resource$Projects$Databases$Collectiongroups = Resource$Projects$Databases$Collectiongroups;\n class Resource$Projects$Databases$Collectiongroups$Fields {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/fields').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1beta2.Resource$Projects$Databases$Collectiongroups$Fields = Resource$Projects$Databases$Collectiongroups$Fields;\n class Resource$Projects$Databases$Collectiongroups$Indexes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://firestore.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+parent}/indexes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n firestore_v1beta2.Resource$Projects$Databases$Collectiongroups$Indexes = Resource$Projects$Databases$Collectiongroups$Indexes;\n})(firestore_v1beta2 = exports.firestore_v1beta2 || (exports.firestore_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.fitness_v1.Fitness,\n};\nfunction fitness(versionOrOptions) {\n return googleapis_common_1.getAPI('fitness', versionOrOptions, exports.VERSIONS, this);\n}\nexports.fitness = fitness;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar fitness_v1;\n(function (fitness_v1) {\n /**\n * Fitness\n *\n * Stores and accesses user data in the fitness store from apps on any platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const fitness = google.fitness('v1');\n *\n * @namespace fitness\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Fitness\n */\n class Fitness {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.users = new Resource$Users(this.context);\n }\n }\n fitness_v1.Fitness = Fitness;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.dataset = new Resource$Users$Dataset(this.context);\n this.dataSources = new Resource$Users$Datasources(this.context);\n this.sessions = new Resource$Users$Sessions(this.context);\n }\n }\n fitness_v1.Resource$Users = Resource$Users;\n class Resource$Users$Dataset {\n constructor(context) {\n this.context = context;\n }\n aggregate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/dataset:aggregate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n fitness_v1.Resource$Users$Dataset = Resource$Users$Dataset;\n class Resource$Users$Datasources {\n constructor(context) {\n this.context = context;\n this.dataPointChanges = new Resource$Users$Datasources$Datapointchanges(this.context);\n this.datasets = new Resource$Users$Datasources$Datasets(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/dataSources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId'],\n pathParams: ['dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId'],\n pathParams: ['dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/dataSources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/dataSources/{dataSourceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId'],\n pathParams: ['dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n fitness_v1.Resource$Users$Datasources = Resource$Users$Datasources;\n class Resource$Users$Datasources$Datapointchanges {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId'],\n pathParams: ['dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n fitness_v1.Resource$Users$Datasources$Datapointchanges = Resource$Users$Datasources$Datapointchanges;\n class Resource$Users$Datasources$Datasets {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId', 'datasetId'],\n pathParams: ['datasetId', 'dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId', 'datasetId'],\n pathParams: ['datasetId', 'dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['userId', 'dataSourceId', 'datasetId'],\n pathParams: ['datasetId', 'dataSourceId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n fitness_v1.Resource$Users$Datasources$Datasets = Resource$Users$Datasources$Datasets;\n class Resource$Users$Sessions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/sessions/{sessionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'sessionId'],\n pathParams: ['sessionId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/sessions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/fitness/v1/users/{userId}/sessions/{sessionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId', 'sessionId'],\n pathParams: ['sessionId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n fitness_v1.Resource$Users$Sessions = Resource$Users$Sessions;\n})(fitness_v1 = exports.fitness_v1 || (exports.fitness_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.games_v1.Games,\n};\nfunction games(versionOrOptions) {\n return googleapis_common_1.getAPI('games', versionOrOptions, exports.VERSIONS, this);\n}\nexports.games = games;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar games_v1;\n(function (games_v1) {\n /**\n * Google Play Game Services API\n *\n * The API for Google Play Game Services.\n *\n * @example\n * const {google} = require('googleapis');\n * const games = google.games('v1');\n *\n * @namespace games\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Games\n */\n class Games {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.achievementDefinitions = new Resource$Achievementdefinitions(this.context);\n this.achievements = new Resource$Achievements(this.context);\n this.applications = new Resource$Applications(this.context);\n this.events = new Resource$Events(this.context);\n this.leaderboards = new Resource$Leaderboards(this.context);\n this.metagame = new Resource$Metagame(this.context);\n this.players = new Resource$Players(this.context);\n this.pushtokens = new Resource$Pushtokens(this.context);\n this.revisions = new Resource$Revisions(this.context);\n this.rooms = new Resource$Rooms(this.context);\n this.scores = new Resource$Scores(this.context);\n this.snapshots = new Resource$Snapshots(this.context);\n this.turnBasedMatches = new Resource$Turnbasedmatches(this.context);\n }\n }\n games_v1.Games = Games;\n class Resource$Achievementdefinitions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/achievements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Achievementdefinitions = Resource$Achievementdefinitions;\n class Resource$Achievements {\n constructor(context) {\n this.context = context;\n }\n increment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/achievements/{achievementId}/increment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['achievementId', 'stepsToIncrement'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/players/{playerId}/achievements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['playerId'],\n pathParams: ['playerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reveal(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/achievements/{achievementId}/reveal').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setStepsAtLeast(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/achievements/{achievementId}/setStepsAtLeast').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['achievementId', 'steps'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unlock(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/achievements/{achievementId}/unlock').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateMultiple(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/achievements/updateMultiple').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Achievements = Resource$Achievements;\n class Resource$Applications {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/applications/{applicationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n played(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/applications/played').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/applications/{applicationId}/verify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Applications = Resource$Applications;\n class Resource$Events {\n constructor(context) {\n this.context = context;\n }\n listByPlayer(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/events').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listDefinitions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/eventDefinitions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n record(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/events').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Events = Resource$Events;\n class Resource$Leaderboards {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/leaderboards/{leaderboardId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/leaderboards').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Leaderboards = Resource$Leaderboards;\n class Resource$Metagame {\n constructor(context) {\n this.context = context;\n }\n getMetagameConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/metagameConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listCategoriesByPlayer(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/players/{playerId}/categories/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['playerId', 'collection'],\n pathParams: ['collection', 'playerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Metagame = Resource$Metagame;\n class Resource$Players {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/players/{playerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['playerId'],\n pathParams: ['playerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/players/me/players/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['collection'],\n pathParams: ['collection'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Players = Resource$Players;\n class Resource$Pushtokens {\n constructor(context) {\n this.context = context;\n }\n remove(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/pushtokens/remove').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/pushtokens').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Pushtokens = Resource$Pushtokens;\n class Resource$Revisions {\n constructor(context) {\n this.context = context;\n }\n check(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/revisions/check').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['clientRevision'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Revisions = Resource$Revisions;\n class Resource$Rooms {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/create').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n decline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/{roomId}/decline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['roomId'],\n pathParams: ['roomId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dismiss(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/{roomId}/dismiss').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['roomId'],\n pathParams: ['roomId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/{roomId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['roomId'],\n pathParams: ['roomId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n join(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/{roomId}/join').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['roomId'],\n pathParams: ['roomId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n leave(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/{roomId}/leave').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['roomId'],\n pathParams: ['roomId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reportStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/rooms/{roomId}/reportstatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['roomId'],\n pathParams: ['roomId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Rooms = Resource$Rooms;\n class Resource$Scores {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1/players/{playerId}/leaderboards/{leaderboardId}/scores/{timeSpan}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['playerId', 'leaderboardId', 'timeSpan'],\n pathParams: ['leaderboardId', 'playerId', 'timeSpan'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1/leaderboards/{leaderboardId}/scores/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['leaderboardId', 'collection', 'timeSpan'],\n pathParams: ['collection', 'leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listWindow(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1/leaderboards/{leaderboardId}/window/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['leaderboardId', 'collection', 'timeSpan'],\n pathParams: ['collection', 'leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n submit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/leaderboards/{leaderboardId}/scores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['leaderboardId', 'score'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n submitMultiple(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/leaderboards/scores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Scores = Resource$Scores;\n class Resource$Snapshots {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/snapshots/{snapshotId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['snapshotId'],\n pathParams: ['snapshotId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/players/{playerId}/snapshots').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['playerId'],\n pathParams: ['playerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Snapshots = Resource$Snapshots;\n class Resource$Turnbasedmatches {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/create').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n decline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/decline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dismiss(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/dismiss').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n finish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/finish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n join(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/join').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n leave(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/leave').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n leaveTurn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/leaveTurn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId', 'matchVersion'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rematch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/rematch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/sync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n takeTurn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1/turnbasedmatches/{matchId}/turn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matchId'],\n pathParams: ['matchId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n games_v1.Resource$Turnbasedmatches = Resource$Turnbasedmatches;\n})(games_v1 = exports.games_v1 || (exports.games_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1configuration_1 = require(\"./v1configuration\");\nexports.VERSIONS = {\n v1configuration: v1configuration_1.gamesConfiguration_v1configuration.Gamesconfiguration,\n};\nfunction gamesConfiguration(versionOrOptions) {\n return googleapis_common_1.getAPI('gamesConfiguration', versionOrOptions, exports.VERSIONS, this);\n}\nexports.gamesConfiguration = gamesConfiguration;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar gamesConfiguration_v1configuration;\n(function (gamesConfiguration_v1configuration) {\n /**\n * Google Play Game Services Publishing API\n *\n * The Publishing API for Google Play Game Services.\n *\n * @example\n * const {google} = require('googleapis');\n * const gamesConfiguration = google.gamesConfiguration('v1configuration');\n *\n * @namespace gamesConfiguration\n * @type {Function}\n * @version v1configuration\n * @variation v1configuration\n * @param {object=} options Options for Gamesconfiguration\n */\n class Gamesconfiguration {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.achievementConfigurations = new Resource$Achievementconfigurations(this.context);\n this.imageConfigurations = new Resource$Imageconfigurations(this.context);\n this.leaderboardConfigurations = new Resource$Leaderboardconfigurations(this.context);\n }\n }\n gamesConfiguration_v1configuration.Gamesconfiguration = Gamesconfiguration;\n class Resource$Achievementconfigurations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1configuration/applications/{applicationId}/achievements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1configuration/applications/{applicationId}/achievements').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/achievements/{achievementId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesConfiguration_v1configuration.Resource$Achievementconfigurations = Resource$Achievementconfigurations;\n class Resource$Imageconfigurations {\n constructor(context) {\n this.context = context;\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1configuration/images/{resourceId}/imageType/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl +\n '/upload/games/v1configuration/images/{resourceId}/imageType/{imageType}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['resourceId', 'imageType'],\n pathParams: ['imageType', 'resourceId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesConfiguration_v1configuration.Resource$Imageconfigurations = Resource$Imageconfigurations;\n class Resource$Leaderboardconfigurations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1configuration/applications/{applicationId}/leaderboards').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1configuration/applications/{applicationId}/leaderboards').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1configuration/leaderboards/{leaderboardId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesConfiguration_v1configuration.Resource$Leaderboardconfigurations = Resource$Leaderboardconfigurations;\n})(gamesConfiguration_v1configuration = exports.gamesConfiguration_v1configuration || (exports.gamesConfiguration_v1configuration = {}));\n//# sourceMappingURL=v1configuration.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1management_1 = require(\"./v1management\");\nexports.VERSIONS = {\n v1management: v1management_1.gamesManagement_v1management.Gamesmanagement,\n};\nfunction gamesManagement(versionOrOptions) {\n return googleapis_common_1.getAPI('gamesManagement', versionOrOptions, exports.VERSIONS, this);\n}\nexports.gamesManagement = gamesManagement;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar gamesManagement_v1management;\n(function (gamesManagement_v1management) {\n /**\n * Google Play Game Services Management API\n *\n * The Management API for Google Play Game Services.\n *\n * @example\n * const {google} = require('googleapis');\n * const gamesManagement = google.gamesManagement('v1management');\n *\n * @namespace gamesManagement\n * @type {Function}\n * @version v1management\n * @variation v1management\n * @param {object=} options Options for Gamesmanagement\n */\n class Gamesmanagement {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.achievements = new Resource$Achievements(this.context);\n this.applications = new Resource$Applications(this.context);\n this.events = new Resource$Events(this.context);\n this.players = new Resource$Players(this.context);\n this.rooms = new Resource$Rooms(this.context);\n this.scores = new Resource$Scores(this.context);\n this.turnBasedMatches = new Resource$Turnbasedmatches(this.context);\n }\n }\n gamesManagement_v1management.Gamesmanagement = Gamesmanagement;\n class Resource$Achievements {\n constructor(context) {\n this.context = context;\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/achievements/{achievementId}/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetAll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/achievements/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetAllForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/achievements/resetAllForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/achievements/{achievementId}/resetForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['achievementId'],\n pathParams: ['achievementId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetMultipleForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/achievements/resetMultipleForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Achievements = Resource$Achievements;\n class Resource$Applications {\n constructor(context) {\n this.context = context;\n }\n listHidden(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/applications/{applicationId}/players/hidden').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['applicationId'],\n pathParams: ['applicationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Applications = Resource$Applications;\n class Resource$Events {\n constructor(context) {\n this.context = context;\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/events/{eventId}/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['eventId'],\n pathParams: ['eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetAll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/events/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetAllForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/events/resetAllForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/events/{eventId}/resetForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['eventId'],\n pathParams: ['eventId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetMultipleForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/events/resetMultipleForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Events = Resource$Events;\n class Resource$Players {\n constructor(context) {\n this.context = context;\n }\n hide(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/applications/{applicationId}/players/hidden/{playerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['applicationId', 'playerId'],\n pathParams: ['applicationId', 'playerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unhide(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/applications/{applicationId}/players/hidden/{playerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['applicationId', 'playerId'],\n pathParams: ['applicationId', 'playerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Players = Resource$Players;\n class Resource$Rooms {\n constructor(context) {\n this.context = context;\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/rooms/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/rooms/resetForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Rooms = Resource$Rooms;\n class Resource$Scores {\n constructor(context) {\n this.context = context;\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/leaderboards/{leaderboardId}/scores/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetAll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/scores/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetAllForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/scores/resetAllForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/leaderboards/{leaderboardId}/scores/resetForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['leaderboardId'],\n pathParams: ['leaderboardId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetMultipleForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/scores/resetMultipleForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Scores = Resource$Scores;\n class Resource$Turnbasedmatches {\n constructor(context) {\n this.context = context;\n }\n reset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/games/v1management/turnbasedmatches/reset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetForAllPlayers(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/games/v1management/turnbasedmatches/resetForAllPlayers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gamesManagement_v1management.Resource$Turnbasedmatches = Resource$Turnbasedmatches;\n})(gamesManagement_v1management = exports.gamesManagement_v1management || (exports.gamesManagement_v1management = {}));\n//# sourceMappingURL=v1management.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha2_1 = require(\"./v1alpha2\");\nconst v2alpha1_1 = require(\"./v2alpha1\");\nexports.VERSIONS = {\n v1: v1_1.genomics_v1.Genomics,\n v1alpha2: v1alpha2_1.genomics_v1alpha2.Genomics,\n v2alpha1: v2alpha1_1.genomics_v2alpha1.Genomics,\n};\nfunction genomics(versionOrOptions) {\n return googleapis_common_1.getAPI('genomics', versionOrOptions, exports.VERSIONS, this);\n}\nexports.genomics = genomics;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar genomics_v1;\n(function (genomics_v1) {\n /**\n * Genomics API\n *\n * Uploads, processes, queries, and searches Genomics data in the cloud.\n *\n * @example\n * const {google} = require('googleapis');\n * const genomics = google.genomics('v1');\n *\n * @namespace genomics\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Genomics\n */\n class Genomics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n }\n }\n genomics_v1.Genomics = Genomics;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n genomics_v1.Resource$Operations = Resource$Operations;\n})(genomics_v1 = exports.genomics_v1 || (exports.genomics_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar genomics_v1alpha2;\n(function (genomics_v1alpha2) {\n /**\n * Genomics API\n *\n * Uploads, processes, queries, and searches Genomics data in the cloud.\n *\n * @example\n * const {google} = require('googleapis');\n * const genomics = google.genomics('v1alpha2');\n *\n * @namespace genomics\n * @type {Function}\n * @version v1alpha2\n * @variation v1alpha2\n * @param {object=} options Options for Genomics\n */\n class Genomics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.pipelines = new Resource$Pipelines(this.context);\n }\n }\n genomics_v1alpha2.Genomics = Genomics;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n genomics_v1alpha2.Resource$Operations = Resource$Operations;\n class Resource$Pipelines {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines/{pipelineId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['pipelineId'],\n pathParams: ['pipelineId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines/{pipelineId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['pipelineId'],\n pathParams: ['pipelineId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getControllerConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines:getControllerConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setOperationStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha2/pipelines:setOperationStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n genomics_v1alpha2.Resource$Pipelines = Resource$Pipelines;\n})(genomics_v1alpha2 = exports.genomics_v1alpha2 || (exports.genomics_v1alpha2 = {}));\n//# sourceMappingURL=v1alpha2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar genomics_v2alpha1;\n(function (genomics_v2alpha1) {\n /**\n * Genomics API\n *\n * Uploads, processes, queries, and searches Genomics data in the cloud.\n *\n * @example\n * const {google} = require('googleapis');\n * const genomics = google.genomics('v2alpha1');\n *\n * @namespace genomics\n * @type {Function}\n * @version v2alpha1\n * @variation v2alpha1\n * @param {object=} options Options for Genomics\n */\n class Genomics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.pipelines = new Resource$Pipelines(this.context);\n this.projects = new Resource$Projects(this.context);\n this.workers = new Resource$Workers(this.context);\n }\n }\n genomics_v2alpha1.Genomics = Genomics;\n class Resource$Pipelines {\n constructor(context) {\n this.context = context;\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2alpha1/pipelines:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n genomics_v2alpha1.Resource$Pipelines = Resource$Pipelines;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Operations(this.context);\n }\n }\n genomics_v2alpha1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2alpha1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n genomics_v2alpha1.Resource$Projects$Operations = Resource$Projects$Operations;\n class Resource$Workers {\n constructor(context) {\n this.context = context;\n }\n checkIn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://genomics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2alpha1/workers/{id}:checkIn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n genomics_v2alpha1.Resource$Workers = Resource$Workers;\n})(genomics_v2alpha1 = exports.genomics_v2alpha1 || (exports.genomics_v2alpha1 = {}));\n//# sourceMappingURL=v2alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.gmail_v1.Gmail,\n};\nfunction gmail(versionOrOptions) {\n return googleapis_common_1.getAPI('gmail', versionOrOptions, exports.VERSIONS, this);\n}\nexports.gmail = gmail;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar gmail_v1;\n(function (gmail_v1) {\n /**\n * Gmail API\n *\n * Access Gmail mailboxes including sending user email.\n *\n * @example\n * const {google} = require('googleapis');\n * const gmail = google.gmail('v1');\n *\n * @namespace gmail\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Gmail\n */\n class Gmail {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.users = new Resource$Users(this.context);\n }\n }\n gmail_v1.Gmail = Gmail;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.drafts = new Resource$Users$Drafts(this.context);\n this.history = new Resource$Users$History(this.context);\n this.labels = new Resource$Users$Labels(this.context);\n this.messages = new Resource$Users$Messages(this.context);\n this.settings = new Resource$Users$Settings(this.context);\n this.threads = new Resource$Users$Threads(this.context);\n }\n getProfile(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/profile').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users = Resource$Users;\n class Resource$Users$Drafts {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/drafts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/drafts').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/drafts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n send(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/drafts/send').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/drafts/send').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/drafts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Drafts = Resource$Users$Drafts;\n class Resource$Users$History {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/history').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$History = Resource$Users$History;\n class Resource$Users$Labels {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/labels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/labels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/labels/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Labels = Resource$Users$Labels;\n class Resource$Users$Messages {\n constructor(context) {\n this.context = context;\n this.attachments = new Resource$Users$Messages$Attachments(this.context);\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchModify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/batchModify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/messages/import').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}/modify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n send(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/send').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/gmail/v1/users/{userId}/messages/send').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n trash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}/trash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n untrash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/messages/{id}/untrash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Messages = Resource$Users$Messages;\n class Resource$Users$Messages$Attachments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'messageId', 'id'],\n pathParams: ['id', 'messageId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Messages$Attachments = Resource$Users$Messages$Attachments;\n class Resource$Users$Settings {\n constructor(context) {\n this.context = context;\n this.delegates = new Resource$Users$Settings$Delegates(this.context);\n this.filters = new Resource$Users$Settings$Filters(this.context);\n this.forwardingAddresses = new Resource$Users$Settings$Forwardingaddresses(this.context);\n this.sendAs = new Resource$Users$Settings$Sendas(this.context);\n }\n getAutoForwarding(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/autoForwarding').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getImap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/imap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getLanguage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/language').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getPop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/pop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getVacation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/vacation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateAutoForwarding(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/autoForwarding').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateImap(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/imap').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateLanguage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/language').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatePop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/pop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateVacation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/vacation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Settings = Resource$Users$Settings;\n class Resource$Users$Settings$Delegates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/delegates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'delegateEmail'],\n pathParams: ['delegateEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/delegates/{delegateEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'delegateEmail'],\n pathParams: ['delegateEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/delegates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Settings$Delegates = Resource$Users$Settings$Delegates;\n class Resource$Users$Settings$Filters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/filters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Settings$Filters = Resource$Users$Settings$Filters;\n class Resource$Users$Settings$Forwardingaddresses {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/forwardingAddresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'forwardingEmail'],\n pathParams: ['forwardingEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'forwardingEmail'],\n pathParams: ['forwardingEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/forwardingAddresses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Settings$Forwardingaddresses = Resource$Users$Settings$Forwardingaddresses;\n class Resource$Users$Settings$Sendas {\n constructor(context) {\n this.context = context;\n this.smimeInfo = new Resource$Users$Settings$Sendas$Smimeinfo(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Settings$Sendas = Resource$Users$Settings$Sendas;\n class Resource$Users$Settings$Sendas$Smimeinfo {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail', 'id'],\n pathParams: ['id', 'sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail', 'id'],\n pathParams: ['id', 'sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail'],\n pathParams: ['sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDefault(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'sendAsEmail', 'id'],\n pathParams: ['id', 'sendAsEmail', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Settings$Sendas$Smimeinfo = Resource$Users$Settings$Sendas$Smimeinfo;\n class Resource$Users$Threads {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/threads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}/modify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n trash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}/trash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n untrash(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/gmail/v1/users/{userId}/threads/{id}/untrash').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userId', 'id'],\n pathParams: ['id', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n gmail_v1.Resource$Users$Threads = Resource$Users$Threads;\n})(gmail_v1 = exports.gmail_v1 || (exports.gmail_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.groupsmigration_v1.Groupsmigration,\n};\nfunction groupsmigration(versionOrOptions) {\n return googleapis_common_1.getAPI('groupsmigration', versionOrOptions, exports.VERSIONS, this);\n}\nexports.groupsmigration = groupsmigration;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar groupsmigration_v1;\n(function (groupsmigration_v1) {\n /**\n * Groups Migration API\n *\n * Groups Migration Api.\n *\n * @example\n * const {google} = require('googleapis');\n * const groupsmigration = google.groupsmigration('v1');\n *\n * @namespace groupsmigration\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Groupsmigration\n */\n class Groupsmigration {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.archive = new Resource$Archive(this.context);\n }\n }\n groupsmigration_v1.Groupsmigration = Groupsmigration;\n class Resource$Archive {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/groups/v1/groups/{groupId}/archive').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/groups/v1/groups/{groupId}/archive').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['groupId'],\n pathParams: ['groupId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n groupsmigration_v1.Resource$Archive = Resource$Archive;\n})(groupsmigration_v1 = exports.groupsmigration_v1 || (exports.groupsmigration_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.groupssettings_v1.Groupssettings,\n};\nfunction groupssettings(versionOrOptions) {\n return googleapis_common_1.getAPI('groupssettings', versionOrOptions, exports.VERSIONS, this);\n}\nexports.groupssettings = groupssettings;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar groupssettings_v1;\n(function (groupssettings_v1) {\n /**\n * Groups Settings API\n *\n * Manages permission levels and related settings of a group.\n *\n * @example\n * const {google} = require('googleapis');\n * const groupssettings = google.groupssettings('v1');\n *\n * @namespace groupssettings\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Groupssettings\n */\n class Groupssettings {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.groups = new Resource$Groups(this.context);\n }\n }\n groupssettings_v1.Groupssettings = Groupssettings;\n class Resource$Groups {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/groups/v1/groups/{groupUniqueId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['groupUniqueId'],\n pathParams: ['groupUniqueId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/groups/v1/groups/{groupUniqueId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['groupUniqueId'],\n pathParams: ['groupUniqueId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/groups/v1/groups/{groupUniqueId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['groupUniqueId'],\n pathParams: ['groupUniqueId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n groupssettings_v1.Resource$Groups = Resource$Groups;\n})(groupssettings_v1 = exports.groupssettings_v1 || (exports.groupssettings_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.healthcare_v1beta1.Healthcare,\n};\nfunction healthcare(versionOrOptions) {\n return googleapis_common_1.getAPI('healthcare', versionOrOptions, exports.VERSIONS, this);\n}\nexports.healthcare = healthcare;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar healthcare_v1beta1;\n(function (healthcare_v1beta1) {\n /**\n * Cloud Healthcare API\n *\n * Manage, store, and access healthcare data in Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const healthcare = google.healthcare('v1beta1');\n *\n * @namespace healthcare\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Healthcare\n */\n class Healthcare {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n healthcare_v1beta1.Healthcare = Healthcare;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n healthcare_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.datasets = new Resource$Projects$Locations$Datasets(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Datasets {\n constructor(context) {\n this.context = context;\n this.annotationStores = new Resource$Projects$Locations$Datasets$Annotationstores(this.context);\n this.dicomStores = new Resource$Projects$Locations$Datasets$Dicomstores(this.context);\n this.fhirStores = new Resource$Projects$Locations$Datasets$Fhirstores(this.context);\n this.hl7V2Stores = new Resource$Projects$Locations$Datasets$Hl7v2stores(this.context);\n this.operations = new Resource$Projects$Locations$Datasets$Operations(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/datasets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+sourceDataset}:deidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['sourceDataset'],\n pathParams: ['sourceDataset'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/datasets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets = Resource$Projects$Locations$Datasets;\n class Resource$Projects$Locations$Datasets$Annotationstores {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Annotationstores = Resource$Projects$Locations$Datasets$Annotationstores;\n class Resource$Projects$Locations$Datasets$Dicomstores {\n constructor(context) {\n this.context = context;\n this.studies = new Resource$Projects$Locations$Datasets$Dicomstores$Studies(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomStores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+sourceStore}:deidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['sourceStore'],\n pathParams: ['sourceStore'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomStores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForSeries(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForStudies(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n storeInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores = Resource$Projects$Locations$Datasets$Dicomstores;\n class Resource$Projects$Locations$Datasets$Dicomstores$Studies {\n constructor(context) {\n this.context = context;\n this.series = new Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveStudy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForSeries(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n storeInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies = Resource$Projects$Locations$Datasets$Dicomstores$Studies;\n class Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveSeries(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForInstances(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series = Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series;\n class Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances {\n constructor(context) {\n this.context = context;\n this.frames = new Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveInstance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveRendered(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances = Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances;\n class Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames {\n constructor(context) {\n this.context = context;\n }\n retrieveFrames(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n retrieveRendered(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/dicomWeb/{+dicomWebPath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'dicomWebPath'],\n pathParams: ['dicomWebPath', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames = Resource$Projects$Locations$Datasets$Dicomstores$Studies$Series$Instances$Frames;\n class Resource$Projects$Locations$Datasets$Fhirstores {\n constructor(context) {\n this.context = context;\n this.fhir = new Resource$Projects$Locations$Datasets$Fhirstores$Fhir(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhirStores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deidentify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+sourceStore}:deidentify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['sourceStore'],\n pathParams: ['sourceStore'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhirStores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Fhirstores = Resource$Projects$Locations$Datasets$Fhirstores;\n class Resource$Projects$Locations$Datasets$Fhirstores$Fhir {\n constructor(context) {\n this.context = context;\n }\n capabilities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/fhir/metadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n conditionalDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'type'],\n pathParams: ['parent', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n conditionalPatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['parent', 'type'],\n pathParams: ['parent', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n conditionalUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['parent', 'type'],\n pathParams: ['parent', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir/{+type}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent', 'type'],\n pathParams: ['parent', 'type'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n executeBundle(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n history(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/_history').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n ObservationLastn(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir/Observation/$lastn').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n PatientEverything(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/$everything').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n read(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n ResourcePurge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/$purge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/fhir/_search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n vread(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Fhirstores$Fhir = Resource$Projects$Locations$Datasets$Fhirstores$Fhir;\n class Resource$Projects$Locations$Datasets$Hl7v2stores {\n constructor(context) {\n this.context = context;\n this.messages = new Resource$Projects$Locations$Datasets$Hl7v2stores$Messages(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/hl7V2Stores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/hl7V2Stores').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Hl7v2stores = Resource$Projects$Locations$Datasets$Hl7v2stores;\n class Resource$Projects$Locations$Datasets$Hl7v2stores$Messages {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n ingest(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/messages:ingest').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Hl7v2stores$Messages = Resource$Projects$Locations$Datasets$Hl7v2stores$Messages;\n class Resource$Projects$Locations$Datasets$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://healthcare.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n healthcare_v1beta1.Resource$Projects$Locations$Datasets$Operations = Resource$Projects$Locations$Datasets$Operations;\n})(healthcare_v1beta1 = exports.healthcare_v1beta1 || (exports.healthcare_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.homegraph_v1.Homegraph,\n};\nfunction homegraph(versionOrOptions) {\n return googleapis_common_1.getAPI('homegraph', versionOrOptions, exports.VERSIONS, this);\n}\nexports.homegraph = homegraph;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar homegraph_v1;\n(function (homegraph_v1) {\n /**\n * HomeGraph API\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const homegraph = google.homegraph('v1');\n *\n * @namespace homegraph\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Homegraph\n */\n class Homegraph {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.agentUsers = new Resource$Agentusers(this.context);\n this.devices = new Resource$Devices(this.context);\n }\n }\n homegraph_v1.Homegraph = Homegraph;\n class Resource$Agentusers {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+agentUserId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['agentUserId'],\n pathParams: ['agentUserId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n homegraph_v1.Resource$Agentusers = Resource$Agentusers;\n class Resource$Devices {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/devices:query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reportStateAndNotification(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/devices:reportStateAndNotification').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n requestSync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/devices:requestSync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://homegraph.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/devices:sync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n homegraph_v1.Resource$Devices = Resource$Devices;\n})(homegraph_v1 = exports.homegraph_v1 || (exports.homegraph_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.iam_v1.Iam,\n};\nfunction iam(versionOrOptions) {\n return googleapis_common_1.getAPI('iam', versionOrOptions, exports.VERSIONS, this);\n}\nexports.iam = iam;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar iam_v1;\n(function (iam_v1) {\n /**\n * Identity and Access Management (IAM) API\n *\n * Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.\n *\n * @example\n * const {google} = require('googleapis');\n * const iam = google.iam('v1');\n *\n * @namespace iam\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Iam\n */\n class Iam {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.iamPolicies = new Resource$Iampolicies(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.permissions = new Resource$Permissions(this.context);\n this.projects = new Resource$Projects(this.context);\n this.roles = new Resource$Roles(this.context);\n }\n }\n iam_v1.Iam = Iam;\n class Resource$Iampolicies {\n constructor(context) {\n this.context = context;\n }\n lintPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/iamPolicies:lintPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n queryAuditableServices(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/iamPolicies:queryAuditableServices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Iampolicies = Resource$Iampolicies;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.roles = new Resource$Organizations$Roles(this.context);\n }\n }\n iam_v1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Roles {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Organizations$Roles = Resource$Organizations$Roles;\n class Resource$Permissions {\n constructor(context) {\n this.context = context;\n }\n queryTestablePermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/permissions:queryTestablePermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Permissions = Resource$Permissions;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.roles = new Resource$Projects$Roles(this.context);\n this.serviceAccounts = new Resource$Projects$Serviceaccounts(this.context);\n }\n }\n iam_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Roles {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Projects$Roles = Resource$Projects$Roles;\n class Resource$Projects$Serviceaccounts {\n constructor(context) {\n this.context = context;\n this.keys = new Resource$Projects$Serviceaccounts$Keys(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/serviceAccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:disable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:enable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/serviceAccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signBlob(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:signBlob').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signJwt(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:signJwt').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Projects$Serviceaccounts = Resource$Projects$Serviceaccounts;\n class Resource$Projects$Serviceaccounts$Keys {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/keys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/keys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/keys:upload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Projects$Serviceaccounts$Keys = Resource$Projects$Serviceaccounts$Keys;\n class Resource$Roles {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/roles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n queryGrantableRoles(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iam.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/roles:queryGrantableRoles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iam_v1.Resource$Roles = Resource$Roles;\n})(iam_v1 = exports.iam_v1 || (exports.iam_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.iamcredentials_v1.Iamcredentials,\n};\nfunction iamcredentials(versionOrOptions) {\n return googleapis_common_1.getAPI('iamcredentials', versionOrOptions, exports.VERSIONS, this);\n}\nexports.iamcredentials = iamcredentials;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar iamcredentials_v1;\n(function (iamcredentials_v1) {\n /**\n * IAM Service Account Credentials API\n *\n * Creates short-lived, limited-privilege credentials for IAM service accounts.\n *\n * @example\n * const {google} = require('googleapis');\n * const iamcredentials = google.iamcredentials('v1');\n *\n * @namespace iamcredentials\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Iamcredentials\n */\n class Iamcredentials {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n iamcredentials_v1.Iamcredentials = Iamcredentials;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.serviceAccounts = new Resource$Projects$Serviceaccounts(this.context);\n }\n }\n iamcredentials_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Serviceaccounts {\n constructor(context) {\n this.context = context;\n }\n generateAccessToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:generateAccessToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateIdToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:generateIdToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signBlob(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:signBlob').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signJwt(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iamcredentials.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:signJwt').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iamcredentials_v1.Resource$Projects$Serviceaccounts = Resource$Projects$Serviceaccounts;\n})(iamcredentials_v1 = exports.iamcredentials_v1 || (exports.iamcredentials_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.iap_v1.Iap,\n v1beta1: v1beta1_1.iap_v1beta1.Iap,\n};\nfunction iap(versionOrOptions) {\n return googleapis_common_1.getAPI('iap', versionOrOptions, exports.VERSIONS, this);\n}\nexports.iap = iap;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar iap_v1;\n(function (iap_v1) {\n /**\n * Cloud Identity-Aware Proxy API\n *\n * Controls access to cloud applications running on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const iap = google.iap('v1');\n *\n * @namespace iap\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Iap\n */\n class Iap {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.oauth = new Resource$Oauth(this.context);\n this.v1 = new Resource$V1(this.context);\n }\n }\n iap_v1.Iap = Iap;\n class Resource$Oauth {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Oauth$Projects(this.context);\n }\n }\n iap_v1.Resource$Oauth = Resource$Oauth;\n class Resource$Oauth$Projects {\n constructor(context) {\n this.context = context;\n this.brands = new Resource$Oauth$Projects$Brands(this.context);\n }\n }\n iap_v1.Resource$Oauth$Projects = Resource$Oauth$Projects;\n class Resource$Oauth$Projects$Brands {\n constructor(context) {\n this.context = context;\n this.identityAwareProxyClients = new Resource$Oauth$Projects$Brands$Identityawareproxyclients(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+parent}/brands').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+parent}/brands').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iap_v1.Resource$Oauth$Projects$Brands = Resource$Oauth$Projects$Brands;\n class Resource$Oauth$Projects$Brands$Identityawareproxyclients {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+parent}/identityAwareProxyClients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+parent}/identityAwareProxyClients').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetSecret(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/oauth/{+name}:resetSecret').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iap_v1.Resource$Oauth$Projects$Brands$Identityawareproxyclients = Resource$Oauth$Projects$Brands$Identityawareproxyclients;\n class Resource$V1 {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIapSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:iapSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateIapSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:iapSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iap_v1.Resource$V1 = Resource$V1;\n})(iap_v1 = exports.iap_v1 || (exports.iap_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar iap_v1beta1;\n(function (iap_v1beta1) {\n /**\n * Cloud Identity-Aware Proxy API\n *\n * Controls access to cloud applications running on Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const iap = google.iap('v1beta1');\n *\n * @namespace iap\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Iap\n */\n class Iap {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.v1beta1 = new Resource$V1beta1(this.context);\n }\n }\n iap_v1beta1.Iap = Iap;\n class Resource$V1beta1 {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://iap.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n iap_v1beta1.Resource$V1beta1 = Resource$V1beta1;\n})(iap_v1beta1 = exports.iap_v1beta1 || (exports.iap_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v3: v3_1.identitytoolkit_v3.Identitytoolkit,\n};\nfunction identitytoolkit(versionOrOptions) {\n return googleapis_common_1.getAPI('identitytoolkit', versionOrOptions, exports.VERSIONS, this);\n}\nexports.identitytoolkit = identitytoolkit;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar identitytoolkit_v3;\n(function (identitytoolkit_v3) {\n /**\n * Google Identity Toolkit API\n *\n * Help the third party sites to implement federated login.\n *\n * @example\n * const {google} = require('googleapis');\n * const identitytoolkit = google.identitytoolkit('v3');\n *\n * @namespace identitytoolkit\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Identitytoolkit\n */\n class Identitytoolkit {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.relyingparty = new Resource$Relyingparty(this.context);\n }\n }\n identitytoolkit_v3.Identitytoolkit = Identitytoolkit;\n class Resource$Relyingparty {\n constructor(context) {\n this.context = context;\n }\n createAuthUri(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/createAuthUri').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/deleteAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n downloadAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/downloadAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n emailLinkSignin(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/emailLinkSignin').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getAccountInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/getAccountInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getOobConfirmationCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/identitytoolkit/v3/relyingparty/getOobConfirmationCode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getProjectConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/getProjectConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getPublicKeys(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/publicKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRecaptchaParam(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/getRecaptchaParam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetPassword(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/resetPassword').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sendVerificationCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/sendVerificationCode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setAccountInfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/setAccountInfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setProjectConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/setProjectConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signOutUser(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/signOutUser').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signupNewUser(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/signupNewUser').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n uploadAccount(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/uploadAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verifyAssertion(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyAssertion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verifyCustomToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyCustomToken').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verifyPassword(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyPassword').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verifyPhoneNumber(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/identitytoolkit/v3/relyingparty/verifyPhoneNumber').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n identitytoolkit_v3.Resource$Relyingparty = Resource$Relyingparty;\n})(identitytoolkit_v3 = exports.identitytoolkit_v3 || (exports.identitytoolkit_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst abusiveexperiencereport = require(\"./abusiveexperiencereport\");\nconst acceleratedmobilepageurl = require(\"./acceleratedmobilepageurl\");\nconst accessapproval = require(\"./accessapproval\");\nconst accesscontextmanager = require(\"./accesscontextmanager\");\nconst adexchangebuyer = require(\"./adexchangebuyer\");\nconst adexchangebuyer2 = require(\"./adexchangebuyer2\");\nconst adexperiencereport = require(\"./adexperiencereport\");\nconst admin = require(\"./admin\");\nconst adsense = require(\"./adsense\");\nconst adsensehost = require(\"./adsensehost\");\nconst alertcenter = require(\"./alertcenter\");\nconst analytics = require(\"./analytics\");\nconst analyticsreporting = require(\"./analyticsreporting\");\nconst androiddeviceprovisioning = require(\"./androiddeviceprovisioning\");\nconst androidenterprise = require(\"./androidenterprise\");\nconst androidmanagement = require(\"./androidmanagement\");\nconst androidpublisher = require(\"./androidpublisher\");\nconst appengine = require(\"./appengine\");\nconst appsactivity = require(\"./appsactivity\");\nconst bigquery = require(\"./bigquery\");\nconst bigqueryconnection = require(\"./bigqueryconnection\");\nconst bigquerydatatransfer = require(\"./bigquerydatatransfer\");\nconst bigqueryreservation = require(\"./bigqueryreservation\");\nconst bigtableadmin = require(\"./bigtableadmin\");\nconst billingbudgets = require(\"./billingbudgets\");\nconst binaryauthorization = require(\"./binaryauthorization\");\nconst blogger = require(\"./blogger\");\nconst books = require(\"./books\");\nconst calendar = require(\"./calendar\");\nconst chat = require(\"./chat\");\nconst civicinfo = require(\"./civicinfo\");\nconst classroom = require(\"./classroom\");\nconst cloudasset = require(\"./cloudasset\");\nconst cloudbilling = require(\"./cloudbilling\");\nconst cloudbuild = require(\"./cloudbuild\");\nconst clouddebugger = require(\"./clouddebugger\");\nconst clouderrorreporting = require(\"./clouderrorreporting\");\nconst cloudfunctions = require(\"./cloudfunctions\");\nconst cloudidentity = require(\"./cloudidentity\");\nconst cloudiot = require(\"./cloudiot\");\nconst cloudkms = require(\"./cloudkms\");\nconst cloudprivatecatalog = require(\"./cloudprivatecatalog\");\nconst cloudprivatecatalogproducer = require(\"./cloudprivatecatalogproducer\");\nconst cloudprofiler = require(\"./cloudprofiler\");\nconst cloudresourcemanager = require(\"./cloudresourcemanager\");\nconst cloudscheduler = require(\"./cloudscheduler\");\nconst cloudsearch = require(\"./cloudsearch\");\nconst cloudshell = require(\"./cloudshell\");\nconst cloudtasks = require(\"./cloudtasks\");\nconst cloudtrace = require(\"./cloudtrace\");\nconst commentanalyzer = require(\"./commentanalyzer\");\nconst composer = require(\"./composer\");\nconst compute = require(\"./compute\");\nconst container = require(\"./container\");\nconst containeranalysis = require(\"./containeranalysis\");\nconst content = require(\"./content\");\nconst customsearch = require(\"./customsearch\");\nconst datacatalog = require(\"./datacatalog\");\nconst dataflow = require(\"./dataflow\");\nconst datafusion = require(\"./datafusion\");\nconst dataproc = require(\"./dataproc\");\nconst datastore = require(\"./datastore\");\nconst deploymentmanager = require(\"./deploymentmanager\");\nconst dfareporting = require(\"./dfareporting\");\nconst dialogflow = require(\"./dialogflow\");\nconst digitalassetlinks = require(\"./digitalassetlinks\");\nconst discovery = require(\"./discovery\");\nconst dlp = require(\"./dlp\");\nconst dns = require(\"./dns\");\nconst docs = require(\"./docs\");\nconst domainsrdap = require(\"./domainsrdap\");\nconst doubleclickbidmanager = require(\"./doubleclickbidmanager\");\nconst doubleclicksearch = require(\"./doubleclicksearch\");\nconst drive = require(\"./drive\");\nconst driveactivity = require(\"./driveactivity\");\nconst factchecktools = require(\"./factchecktools\");\nconst fcm = require(\"./fcm\");\nconst file = require(\"./file\");\nconst firebase = require(\"./firebase\");\nconst firebasedynamiclinks = require(\"./firebasedynamiclinks\");\nconst firebasehosting = require(\"./firebasehosting\");\nconst firebaserules = require(\"./firebaserules\");\nconst firestore = require(\"./firestore\");\nconst fitness = require(\"./fitness\");\nconst games = require(\"./games\");\nconst gamesConfiguration = require(\"./gamesConfiguration\");\nconst gamesManagement = require(\"./gamesManagement\");\nconst genomics = require(\"./genomics\");\nconst gmail = require(\"./gmail\");\nconst groupsmigration = require(\"./groupsmigration\");\nconst groupssettings = require(\"./groupssettings\");\nconst healthcare = require(\"./healthcare\");\nconst homegraph = require(\"./homegraph\");\nconst iam = require(\"./iam\");\nconst iamcredentials = require(\"./iamcredentials\");\nconst iap = require(\"./iap\");\nconst identitytoolkit = require(\"./identitytoolkit\");\nconst indexing = require(\"./indexing\");\nconst jobs = require(\"./jobs\");\nconst kgsearch = require(\"./kgsearch\");\nconst language = require(\"./language\");\nconst libraryagent = require(\"./libraryagent\");\nconst licensing = require(\"./licensing\");\nconst lifesciences = require(\"./lifesciences\");\nconst logging = require(\"./logging\");\nconst manufacturers = require(\"./manufacturers\");\nconst mirror = require(\"./mirror\");\nconst ml = require(\"./ml\");\nconst monitoring = require(\"./monitoring\");\nconst oauth2 = require(\"./oauth2\");\nconst oslogin = require(\"./oslogin\");\nconst pagespeedonline = require(\"./pagespeedonline\");\nconst people = require(\"./people\");\nconst playcustomapp = require(\"./playcustomapp\");\nconst plus = require(\"./plus\");\nconst plusDomains = require(\"./plusDomains\");\nconst policytroubleshooter = require(\"./policytroubleshooter\");\nconst poly = require(\"./poly\");\nconst prod_tt_sasportal = require(\"./prod_tt_sasportal\");\nconst proximitybeacon = require(\"./proximitybeacon\");\nconst pubsub = require(\"./pubsub\");\nconst recommender = require(\"./recommender\");\nconst redis = require(\"./redis\");\nconst remotebuildexecution = require(\"./remotebuildexecution\");\nconst replicapool = require(\"./replicapool\");\nconst reseller = require(\"./reseller\");\nconst run = require(\"./run\");\nconst runtimeconfig = require(\"./runtimeconfig\");\nconst safebrowsing = require(\"./safebrowsing\");\nconst sasportal = require(\"./sasportal\");\nconst script = require(\"./script\");\nconst secretmanager = require(\"./secretmanager\");\nconst securitycenter = require(\"./securitycenter\");\nconst servicebroker = require(\"./servicebroker\");\nconst serviceconsumermanagement = require(\"./serviceconsumermanagement\");\nconst servicecontrol = require(\"./servicecontrol\");\nconst servicemanagement = require(\"./servicemanagement\");\nconst servicenetworking = require(\"./servicenetworking\");\nconst serviceusage = require(\"./serviceusage\");\nconst sheets = require(\"./sheets\");\nconst siteVerification = require(\"./siteVerification\");\nconst slides = require(\"./slides\");\nconst sourcerepo = require(\"./sourcerepo\");\nconst spanner = require(\"./spanner\");\nconst speech = require(\"./speech\");\nconst sql = require(\"./sql\");\nconst storage = require(\"./storage\");\nconst storagetransfer = require(\"./storagetransfer\");\nconst streetviewpublish = require(\"./streetviewpublish\");\nconst tagmanager = require(\"./tagmanager\");\nconst tasks = require(\"./tasks\");\nconst testing = require(\"./testing\");\nconst texttospeech = require(\"./texttospeech\");\nconst toolresults = require(\"./toolresults\");\nconst tpu = require(\"./tpu\");\nconst translate = require(\"./translate\");\nconst vault = require(\"./vault\");\nconst verifiedaccess = require(\"./verifiedaccess\");\nconst videointelligence = require(\"./videointelligence\");\nconst vision = require(\"./vision\");\nconst webfonts = require(\"./webfonts\");\nconst webmasters = require(\"./webmasters\");\nconst websecurityscanner = require(\"./websecurityscanner\");\nconst youtube = require(\"./youtube\");\nconst youtubeAnalytics = require(\"./youtubeAnalytics\");\nconst youtubereporting = require(\"./youtubereporting\");\nexports.APIS = {\n abusiveexperiencereport: abusiveexperiencereport.VERSIONS,\n acceleratedmobilepageurl: acceleratedmobilepageurl.VERSIONS,\n accessapproval: accessapproval.VERSIONS,\n accesscontextmanager: accesscontextmanager.VERSIONS,\n adexchangebuyer: adexchangebuyer.VERSIONS,\n adexchangebuyer2: adexchangebuyer2.VERSIONS,\n adexperiencereport: adexperiencereport.VERSIONS,\n admin: admin.VERSIONS,\n adsense: adsense.VERSIONS,\n adsensehost: adsensehost.VERSIONS,\n alertcenter: alertcenter.VERSIONS,\n analytics: analytics.VERSIONS,\n analyticsreporting: analyticsreporting.VERSIONS,\n androiddeviceprovisioning: androiddeviceprovisioning.VERSIONS,\n androidenterprise: androidenterprise.VERSIONS,\n androidmanagement: androidmanagement.VERSIONS,\n androidpublisher: androidpublisher.VERSIONS,\n appengine: appengine.VERSIONS,\n appsactivity: appsactivity.VERSIONS,\n bigquery: bigquery.VERSIONS,\n bigqueryconnection: bigqueryconnection.VERSIONS,\n bigquerydatatransfer: bigquerydatatransfer.VERSIONS,\n bigqueryreservation: bigqueryreservation.VERSIONS,\n bigtableadmin: bigtableadmin.VERSIONS,\n billingbudgets: billingbudgets.VERSIONS,\n binaryauthorization: binaryauthorization.VERSIONS,\n blogger: blogger.VERSIONS,\n books: books.VERSIONS,\n calendar: calendar.VERSIONS,\n chat: chat.VERSIONS,\n civicinfo: civicinfo.VERSIONS,\n classroom: classroom.VERSIONS,\n cloudasset: cloudasset.VERSIONS,\n cloudbilling: cloudbilling.VERSIONS,\n cloudbuild: cloudbuild.VERSIONS,\n clouddebugger: clouddebugger.VERSIONS,\n clouderrorreporting: clouderrorreporting.VERSIONS,\n cloudfunctions: cloudfunctions.VERSIONS,\n cloudidentity: cloudidentity.VERSIONS,\n cloudiot: cloudiot.VERSIONS,\n cloudkms: cloudkms.VERSIONS,\n cloudprivatecatalog: cloudprivatecatalog.VERSIONS,\n cloudprivatecatalogproducer: cloudprivatecatalogproducer.VERSIONS,\n cloudprofiler: cloudprofiler.VERSIONS,\n cloudresourcemanager: cloudresourcemanager.VERSIONS,\n cloudscheduler: cloudscheduler.VERSIONS,\n cloudsearch: cloudsearch.VERSIONS,\n cloudshell: cloudshell.VERSIONS,\n cloudtasks: cloudtasks.VERSIONS,\n cloudtrace: cloudtrace.VERSIONS,\n commentanalyzer: commentanalyzer.VERSIONS,\n composer: composer.VERSIONS,\n compute: compute.VERSIONS,\n container: container.VERSIONS,\n containeranalysis: containeranalysis.VERSIONS,\n content: content.VERSIONS,\n customsearch: customsearch.VERSIONS,\n datacatalog: datacatalog.VERSIONS,\n dataflow: dataflow.VERSIONS,\n datafusion: datafusion.VERSIONS,\n dataproc: dataproc.VERSIONS,\n datastore: datastore.VERSIONS,\n deploymentmanager: deploymentmanager.VERSIONS,\n dfareporting: dfareporting.VERSIONS,\n dialogflow: dialogflow.VERSIONS,\n digitalassetlinks: digitalassetlinks.VERSIONS,\n discovery: discovery.VERSIONS,\n dlp: dlp.VERSIONS,\n dns: dns.VERSIONS,\n docs: docs.VERSIONS,\n domainsrdap: domainsrdap.VERSIONS,\n doubleclickbidmanager: doubleclickbidmanager.VERSIONS,\n doubleclicksearch: doubleclicksearch.VERSIONS,\n drive: drive.VERSIONS,\n driveactivity: driveactivity.VERSIONS,\n factchecktools: factchecktools.VERSIONS,\n fcm: fcm.VERSIONS,\n file: file.VERSIONS,\n firebase: firebase.VERSIONS,\n firebasedynamiclinks: firebasedynamiclinks.VERSIONS,\n firebasehosting: firebasehosting.VERSIONS,\n firebaserules: firebaserules.VERSIONS,\n firestore: firestore.VERSIONS,\n fitness: fitness.VERSIONS,\n games: games.VERSIONS,\n gamesConfiguration: gamesConfiguration.VERSIONS,\n gamesManagement: gamesManagement.VERSIONS,\n genomics: genomics.VERSIONS,\n gmail: gmail.VERSIONS,\n groupsmigration: groupsmigration.VERSIONS,\n groupssettings: groupssettings.VERSIONS,\n healthcare: healthcare.VERSIONS,\n homegraph: homegraph.VERSIONS,\n iam: iam.VERSIONS,\n iamcredentials: iamcredentials.VERSIONS,\n iap: iap.VERSIONS,\n identitytoolkit: identitytoolkit.VERSIONS,\n indexing: indexing.VERSIONS,\n jobs: jobs.VERSIONS,\n kgsearch: kgsearch.VERSIONS,\n language: language.VERSIONS,\n libraryagent: libraryagent.VERSIONS,\n licensing: licensing.VERSIONS,\n lifesciences: lifesciences.VERSIONS,\n logging: logging.VERSIONS,\n manufacturers: manufacturers.VERSIONS,\n mirror: mirror.VERSIONS,\n ml: ml.VERSIONS,\n monitoring: monitoring.VERSIONS,\n oauth2: oauth2.VERSIONS,\n oslogin: oslogin.VERSIONS,\n pagespeedonline: pagespeedonline.VERSIONS,\n people: people.VERSIONS,\n playcustomapp: playcustomapp.VERSIONS,\n plus: plus.VERSIONS,\n plusDomains: plusDomains.VERSIONS,\n policytroubleshooter: policytroubleshooter.VERSIONS,\n poly: poly.VERSIONS,\n prod_tt_sasportal: prod_tt_sasportal.VERSIONS,\n proximitybeacon: proximitybeacon.VERSIONS,\n pubsub: pubsub.VERSIONS,\n recommender: recommender.VERSIONS,\n redis: redis.VERSIONS,\n remotebuildexecution: remotebuildexecution.VERSIONS,\n replicapool: replicapool.VERSIONS,\n reseller: reseller.VERSIONS,\n run: run.VERSIONS,\n runtimeconfig: runtimeconfig.VERSIONS,\n safebrowsing: safebrowsing.VERSIONS,\n sasportal: sasportal.VERSIONS,\n script: script.VERSIONS,\n secretmanager: secretmanager.VERSIONS,\n securitycenter: securitycenter.VERSIONS,\n servicebroker: servicebroker.VERSIONS,\n serviceconsumermanagement: serviceconsumermanagement.VERSIONS,\n servicecontrol: servicecontrol.VERSIONS,\n servicemanagement: servicemanagement.VERSIONS,\n servicenetworking: servicenetworking.VERSIONS,\n serviceusage: serviceusage.VERSIONS,\n sheets: sheets.VERSIONS,\n siteVerification: siteVerification.VERSIONS,\n slides: slides.VERSIONS,\n sourcerepo: sourcerepo.VERSIONS,\n spanner: spanner.VERSIONS,\n speech: speech.VERSIONS,\n sql: sql.VERSIONS,\n storage: storage.VERSIONS,\n storagetransfer: storagetransfer.VERSIONS,\n streetviewpublish: streetviewpublish.VERSIONS,\n tagmanager: tagmanager.VERSIONS,\n tasks: tasks.VERSIONS,\n testing: testing.VERSIONS,\n texttospeech: texttospeech.VERSIONS,\n toolresults: toolresults.VERSIONS,\n tpu: tpu.VERSIONS,\n translate: translate.VERSIONS,\n vault: vault.VERSIONS,\n verifiedaccess: verifiedaccess.VERSIONS,\n videointelligence: videointelligence.VERSIONS,\n vision: vision.VERSIONS,\n webfonts: webfonts.VERSIONS,\n webmasters: webmasters.VERSIONS,\n websecurityscanner: websecurityscanner.VERSIONS,\n youtube: youtube.VERSIONS,\n youtubeAnalytics: youtubeAnalytics.VERSIONS,\n youtubereporting: youtubereporting.VERSIONS,\n};\nclass GeneratedAPIs {\n constructor() {\n this.abusiveexperiencereport = abusiveexperiencereport.abusiveexperiencereport;\n this.acceleratedmobilepageurl = acceleratedmobilepageurl.acceleratedmobilepageurl;\n this.accessapproval = accessapproval.accessapproval;\n this.accesscontextmanager = accesscontextmanager.accesscontextmanager;\n this.adexchangebuyer = adexchangebuyer.adexchangebuyer;\n this.adexchangebuyer2 = adexchangebuyer2.adexchangebuyer2;\n this.adexperiencereport = adexperiencereport.adexperiencereport;\n this.admin = admin.admin;\n this.adsense = adsense.adsense;\n this.adsensehost = adsensehost.adsensehost;\n this.alertcenter = alertcenter.alertcenter;\n this.analytics = analytics.analytics;\n this.analyticsreporting = analyticsreporting.analyticsreporting;\n this.androiddeviceprovisioning = androiddeviceprovisioning.androiddeviceprovisioning;\n this.androidenterprise = androidenterprise.androidenterprise;\n this.androidmanagement = androidmanagement.androidmanagement;\n this.androidpublisher = androidpublisher.androidpublisher;\n this.appengine = appengine.appengine;\n this.appsactivity = appsactivity.appsactivity;\n this.bigquery = bigquery.bigquery;\n this.bigqueryconnection = bigqueryconnection.bigqueryconnection;\n this.bigquerydatatransfer = bigquerydatatransfer.bigquerydatatransfer;\n this.bigqueryreservation = bigqueryreservation.bigqueryreservation;\n this.bigtableadmin = bigtableadmin.bigtableadmin;\n this.billingbudgets = billingbudgets.billingbudgets;\n this.binaryauthorization = binaryauthorization.binaryauthorization;\n this.blogger = blogger.blogger;\n this.books = books.books;\n this.calendar = calendar.calendar;\n this.chat = chat.chat;\n this.civicinfo = civicinfo.civicinfo;\n this.classroom = classroom.classroom;\n this.cloudasset = cloudasset.cloudasset;\n this.cloudbilling = cloudbilling.cloudbilling;\n this.cloudbuild = cloudbuild.cloudbuild;\n this.clouddebugger = clouddebugger.clouddebugger;\n this.clouderrorreporting = clouderrorreporting.clouderrorreporting;\n this.cloudfunctions = cloudfunctions.cloudfunctions;\n this.cloudidentity = cloudidentity.cloudidentity;\n this.cloudiot = cloudiot.cloudiot;\n this.cloudkms = cloudkms.cloudkms;\n this.cloudprivatecatalog = cloudprivatecatalog.cloudprivatecatalog;\n this.cloudprivatecatalogproducer = cloudprivatecatalogproducer.cloudprivatecatalogproducer;\n this.cloudprofiler = cloudprofiler.cloudprofiler;\n this.cloudresourcemanager = cloudresourcemanager.cloudresourcemanager;\n this.cloudscheduler = cloudscheduler.cloudscheduler;\n this.cloudsearch = cloudsearch.cloudsearch;\n this.cloudshell = cloudshell.cloudshell;\n this.cloudtasks = cloudtasks.cloudtasks;\n this.cloudtrace = cloudtrace.cloudtrace;\n this.commentanalyzer = commentanalyzer.commentanalyzer;\n this.composer = composer.composer;\n this.compute = compute.compute;\n this.container = container.container;\n this.containeranalysis = containeranalysis.containeranalysis;\n this.content = content.content;\n this.customsearch = customsearch.customsearch;\n this.datacatalog = datacatalog.datacatalog;\n this.dataflow = dataflow.dataflow;\n this.datafusion = datafusion.datafusion;\n this.dataproc = dataproc.dataproc;\n this.datastore = datastore.datastore;\n this.deploymentmanager = deploymentmanager.deploymentmanager;\n this.dfareporting = dfareporting.dfareporting;\n this.dialogflow = dialogflow.dialogflow;\n this.digitalassetlinks = digitalassetlinks.digitalassetlinks;\n this.discovery = discovery.discovery;\n this.dlp = dlp.dlp;\n this.dns = dns.dns;\n this.docs = docs.docs;\n this.domainsrdap = domainsrdap.domainsrdap;\n this.doubleclickbidmanager = doubleclickbidmanager.doubleclickbidmanager;\n this.doubleclicksearch = doubleclicksearch.doubleclicksearch;\n this.drive = drive.drive;\n this.driveactivity = driveactivity.driveactivity;\n this.factchecktools = factchecktools.factchecktools;\n this.fcm = fcm.fcm;\n this.file = file.file;\n this.firebase = firebase.firebase;\n this.firebasedynamiclinks = firebasedynamiclinks.firebasedynamiclinks;\n this.firebasehosting = firebasehosting.firebasehosting;\n this.firebaserules = firebaserules.firebaserules;\n this.firestore = firestore.firestore;\n this.fitness = fitness.fitness;\n this.games = games.games;\n this.gamesConfiguration = gamesConfiguration.gamesConfiguration;\n this.gamesManagement = gamesManagement.gamesManagement;\n this.genomics = genomics.genomics;\n this.gmail = gmail.gmail;\n this.groupsmigration = groupsmigration.groupsmigration;\n this.groupssettings = groupssettings.groupssettings;\n this.healthcare = healthcare.healthcare;\n this.homegraph = homegraph.homegraph;\n this.iam = iam.iam;\n this.iamcredentials = iamcredentials.iamcredentials;\n this.iap = iap.iap;\n this.identitytoolkit = identitytoolkit.identitytoolkit;\n this.indexing = indexing.indexing;\n this.jobs = jobs.jobs;\n this.kgsearch = kgsearch.kgsearch;\n this.language = language.language;\n this.libraryagent = libraryagent.libraryagent;\n this.licensing = licensing.licensing;\n this.lifesciences = lifesciences.lifesciences;\n this.logging = logging.logging;\n this.manufacturers = manufacturers.manufacturers;\n this.mirror = mirror.mirror;\n this.ml = ml.ml;\n this.monitoring = monitoring.monitoring;\n this.oauth2 = oauth2.oauth2;\n this.oslogin = oslogin.oslogin;\n this.pagespeedonline = pagespeedonline.pagespeedonline;\n this.people = people.people;\n this.playcustomapp = playcustomapp.playcustomapp;\n this.plus = plus.plus;\n this.plusDomains = plusDomains.plusDomains;\n this.policytroubleshooter = policytroubleshooter.policytroubleshooter;\n this.poly = poly.poly;\n this.prod_tt_sasportal = prod_tt_sasportal.prod_tt_sasportal;\n this.proximitybeacon = proximitybeacon.proximitybeacon;\n this.pubsub = pubsub.pubsub;\n this.recommender = recommender.recommender;\n this.redis = redis.redis;\n this.remotebuildexecution = remotebuildexecution.remotebuildexecution;\n this.replicapool = replicapool.replicapool;\n this.reseller = reseller.reseller;\n this.run = run.run;\n this.runtimeconfig = runtimeconfig.runtimeconfig;\n this.safebrowsing = safebrowsing.safebrowsing;\n this.sasportal = sasportal.sasportal;\n this.script = script.script;\n this.secretmanager = secretmanager.secretmanager;\n this.securitycenter = securitycenter.securitycenter;\n this.servicebroker = servicebroker.servicebroker;\n this.serviceconsumermanagement = serviceconsumermanagement.serviceconsumermanagement;\n this.servicecontrol = servicecontrol.servicecontrol;\n this.servicemanagement = servicemanagement.servicemanagement;\n this.servicenetworking = servicenetworking.servicenetworking;\n this.serviceusage = serviceusage.serviceusage;\n this.sheets = sheets.sheets;\n this.siteVerification = siteVerification.siteVerification;\n this.slides = slides.slides;\n this.sourcerepo = sourcerepo.sourcerepo;\n this.spanner = spanner.spanner;\n this.speech = speech.speech;\n this.sql = sql.sql;\n this.storage = storage.storage;\n this.storagetransfer = storagetransfer.storagetransfer;\n this.streetviewpublish = streetviewpublish.streetviewpublish;\n this.tagmanager = tagmanager.tagmanager;\n this.tasks = tasks.tasks;\n this.testing = testing.testing;\n this.texttospeech = texttospeech.texttospeech;\n this.toolresults = toolresults.toolresults;\n this.tpu = tpu.tpu;\n this.translate = translate.translate;\n this.vault = vault.vault;\n this.verifiedaccess = verifiedaccess.verifiedaccess;\n this.videointelligence = videointelligence.videointelligence;\n this.vision = vision.vision;\n this.webfonts = webfonts.webfonts;\n this.webmasters = webmasters.webmasters;\n this.websecurityscanner = websecurityscanner.websecurityscanner;\n this.youtube = youtube.youtube;\n this.youtubeAnalytics = youtubeAnalytics.youtubeAnalytics;\n this.youtubereporting = youtubereporting.youtubereporting;\n }\n}\nexports.GeneratedAPIs = GeneratedAPIs;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v3: v3_1.indexing_v3.Indexing,\n};\nfunction indexing(versionOrOptions) {\n return googleapis_common_1.getAPI('indexing', versionOrOptions, exports.VERSIONS, this);\n}\nexports.indexing = indexing;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar indexing_v3;\n(function (indexing_v3) {\n /**\n * Indexing API\n *\n * Notifies Google when your web pages change.\n *\n * @example\n * const {google} = require('googleapis');\n * const indexing = google.indexing('v3');\n *\n * @namespace indexing\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Indexing\n */\n class Indexing {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.urlNotifications = new Resource$Urlnotifications(this.context);\n }\n }\n indexing_v3.Indexing = Indexing;\n class Resource$Urlnotifications {\n constructor(context) {\n this.context = context;\n }\n getMetadata(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://indexing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/urlNotifications/metadata').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://indexing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/urlNotifications:publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n indexing_v3.Resource$Urlnotifications = Resource$Urlnotifications;\n})(indexing_v3 = exports.indexing_v3 || (exports.indexing_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nconst v3_1 = require(\"./v3\");\nconst v3p1beta1_1 = require(\"./v3p1beta1\");\nexports.VERSIONS = {\n v2: v2_1.jobs_v2.Jobs,\n v3: v3_1.jobs_v3.Jobs,\n v3p1beta1: v3p1beta1_1.jobs_v3p1beta1.Jobs,\n};\nfunction jobs(versionOrOptions) {\n return googleapis_common_1.getAPI('jobs', versionOrOptions, exports.VERSIONS, this);\n}\nexports.jobs = jobs;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar jobs_v2;\n(function (jobs_v2) {\n /**\n * Cloud Talent Solution API\n *\n * Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.\n *\n * @example\n * const {google} = require('googleapis');\n * const jobs = google.jobs('v2');\n *\n * @namespace jobs\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Jobs\n */\n class Jobs {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.companies = new Resource$Companies(this.context);\n this.jobs = new Resource$Jobs(this.context);\n this.v2 = new Resource$V2(this.context);\n }\n }\n jobs_v2.Jobs = Jobs;\n class Resource$Companies {\n constructor(context) {\n this.context = context;\n this.jobs = new Resource$Companies$Jobs(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/companies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/companies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v2.Resource$Companies = Resource$Companies;\n class Resource$Companies$Jobs {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+companyName}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['companyName'],\n pathParams: ['companyName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v2.Resource$Companies$Jobs = Resource$Companies$Jobs;\n class Resource$Jobs {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteByFilter(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs:deleteByFilter').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n histogram(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs:histogram').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForAlert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/jobs:searchForAlert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v2.Resource$Jobs = Resource$Jobs;\n class Resource$V2 {\n constructor(context) {\n this.context = context;\n }\n complete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2:complete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v2.Resource$V2 = Resource$V2;\n})(jobs_v2 = exports.jobs_v2 || (exports.jobs_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar jobs_v3;\n(function (jobs_v3) {\n /**\n * Cloud Talent Solution API\n *\n * Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.\n *\n * @example\n * const {google} = require('googleapis');\n * const jobs = google.jobs('v3');\n *\n * @namespace jobs\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Jobs\n */\n class Jobs {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n jobs_v3.Jobs = Jobs;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.clientEvents = new Resource$Projects$Clientevents(this.context);\n this.companies = new Resource$Projects$Companies(this.context);\n this.jobs = new Resource$Projects$Jobs(this.context);\n }\n complete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}:complete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3.Resource$Projects = Resource$Projects;\n class Resource$Projects$Clientevents {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/clientEvents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3.Resource$Projects$Clientevents = Resource$Projects$Clientevents;\n class Resource$Projects$Companies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/companies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/companies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3.Resource$Projects$Companies = Resource$Projects$Companies;\n class Resource$Projects$Jobs {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/jobs:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/jobs:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForAlert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/jobs:searchForAlert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3.Resource$Projects$Jobs = Resource$Projects$Jobs;\n})(jobs_v3 = exports.jobs_v3 || (exports.jobs_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar jobs_v3p1beta1;\n(function (jobs_v3p1beta1) {\n /**\n * Cloud Talent Solution API\n *\n * Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.\n *\n * @example\n * const {google} = require('googleapis');\n * const jobs = google.jobs('v3p1beta1');\n *\n * @namespace jobs\n * @type {Function}\n * @version v3p1beta1\n * @variation v3p1beta1\n * @param {object=} options Options for Jobs\n */\n class Jobs {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n jobs_v3p1beta1.Jobs = Jobs;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.clientEvents = new Resource$Projects$Clientevents(this.context);\n this.companies = new Resource$Projects$Companies(this.context);\n this.jobs = new Resource$Projects$Jobs(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n complete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}:complete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3p1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Clientevents {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/clientEvents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3p1beta1.Resource$Projects$Clientevents = Resource$Projects$Clientevents;\n class Resource$Projects$Companies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/companies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/companies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3p1beta1.Resource$Projects$Companies = Resource$Projects$Companies;\n class Resource$Projects$Jobs {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/jobs:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/jobs:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchForAlert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+parent}/jobs:searchForAlert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3p1beta1.Resource$Projects$Jobs = Resource$Projects$Jobs;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://jobs.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n jobs_v3p1beta1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(jobs_v3p1beta1 = exports.jobs_v3p1beta1 || (exports.jobs_v3p1beta1 = {}));\n//# sourceMappingURL=v3p1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.kgsearch_v1.Kgsearch,\n};\nfunction kgsearch(versionOrOptions) {\n return googleapis_common_1.getAPI('kgsearch', versionOrOptions, exports.VERSIONS, this);\n}\nexports.kgsearch = kgsearch;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar kgsearch_v1;\n(function (kgsearch_v1) {\n /**\n * Knowledge Graph Search API\n *\n * Searches the Google Knowledge Graph for entities.\n *\n * @example\n * const {google} = require('googleapis');\n * const kgsearch = google.kgsearch('v1');\n *\n * @namespace kgsearch\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Kgsearch\n */\n class Kgsearch {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.entities = new Resource$Entities(this.context);\n }\n }\n kgsearch_v1.Kgsearch = Kgsearch;\n class Resource$Entities {\n constructor(context) {\n this.context = context;\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://kgsearch.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/entities:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n kgsearch_v1.Resource$Entities = Resource$Entities;\n})(kgsearch_v1 = exports.kgsearch_v1 || (exports.kgsearch_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nexports.VERSIONS = {\n v1: v1_1.language_v1.Language,\n v1beta1: v1beta1_1.language_v1beta1.Language,\n v1beta2: v1beta2_1.language_v1beta2.Language,\n};\nfunction language(versionOrOptions) {\n return googleapis_common_1.getAPI('language', versionOrOptions, exports.VERSIONS, this);\n}\nexports.language = language;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar language_v1;\n(function (language_v1) {\n /**\n * Cloud Natural Language API\n *\n * Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.\n *\n * @example\n * const {google} = require('googleapis');\n * const language = google.language('v1');\n *\n * @namespace language\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Language\n */\n class Language {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.documents = new Resource$Documents(this.context);\n }\n }\n language_v1.Language = Language;\n class Resource$Documents {\n constructor(context) {\n this.context = context;\n }\n analyzeEntities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents:analyzeEntities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeEntitySentiment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents:analyzeEntitySentiment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeSentiment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents:analyzeSentiment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeSyntax(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents:analyzeSyntax').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n annotateText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents:annotateText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n classifyText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/documents:classifyText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n language_v1.Resource$Documents = Resource$Documents;\n})(language_v1 = exports.language_v1 || (exports.language_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar language_v1beta1;\n(function (language_v1beta1) {\n /**\n * Cloud Natural Language API\n *\n * Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.\n *\n * @example\n * const {google} = require('googleapis');\n * const language = google.language('v1beta1');\n *\n * @namespace language\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Language\n */\n class Language {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.documents = new Resource$Documents(this.context);\n }\n }\n language_v1beta1.Language = Language;\n class Resource$Documents {\n constructor(context) {\n this.context = context;\n }\n analyzeEntities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/documents:analyzeEntities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeSentiment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/documents:analyzeSentiment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeSyntax(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/documents:analyzeSyntax').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n annotateText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/documents:annotateText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n language_v1beta1.Resource$Documents = Resource$Documents;\n})(language_v1beta1 = exports.language_v1beta1 || (exports.language_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar language_v1beta2;\n(function (language_v1beta2) {\n /**\n * Cloud Natural Language API\n *\n * Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.\n *\n * @example\n * const {google} = require('googleapis');\n * const language = google.language('v1beta2');\n *\n * @namespace language\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Language\n */\n class Language {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.documents = new Resource$Documents(this.context);\n }\n }\n language_v1beta2.Language = Language;\n class Resource$Documents {\n constructor(context) {\n this.context = context;\n }\n analyzeEntities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/documents:analyzeEntities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeEntitySentiment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/documents:analyzeEntitySentiment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeSentiment(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/documents:analyzeSentiment').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n analyzeSyntax(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/documents:analyzeSyntax').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n annotateText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/documents:annotateText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n classifyText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://language.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/documents:classifyText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n language_v1beta2.Resource$Documents = Resource$Documents;\n})(language_v1beta2 = exports.language_v1beta2 || (exports.language_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.libraryagent_v1.Libraryagent,\n};\nfunction libraryagent(versionOrOptions) {\n return googleapis_common_1.getAPI('libraryagent', versionOrOptions, exports.VERSIONS, this);\n}\nexports.libraryagent = libraryagent;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar libraryagent_v1;\n(function (libraryagent_v1) {\n /**\n * Library Agent API\n *\n * A simple Google Example Library API.\n *\n * @example\n * const {google} = require('googleapis');\n * const libraryagent = google.libraryagent('v1');\n *\n * @namespace libraryagent\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Libraryagent\n */\n class Libraryagent {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.shelves = new Resource$Shelves(this.context);\n }\n }\n libraryagent_v1.Libraryagent = Libraryagent;\n class Resource$Shelves {\n constructor(context) {\n this.context = context;\n this.books = new Resource$Shelves$Books(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/shelves').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n libraryagent_v1.Resource$Shelves = Resource$Shelves;\n class Resource$Shelves$Books {\n constructor(context) {\n this.context = context;\n }\n borrow(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:borrow').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/books').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n return(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://libraryagent.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:return').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n libraryagent_v1.Resource$Shelves$Books = Resource$Shelves$Books;\n})(libraryagent_v1 = exports.libraryagent_v1 || (exports.libraryagent_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.licensing_v1.Licensing,\n};\nfunction licensing(versionOrOptions) {\n return googleapis_common_1.getAPI('licensing', versionOrOptions, exports.VERSIONS, this);\n}\nexports.licensing = licensing;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar licensing_v1;\n(function (licensing_v1) {\n /**\n * Licensing API\n *\n * Licensing API to view and manage licenses for your domain\n *\n * @example\n * const {google} = require('googleapis');\n * const licensing = google.licensing('v1');\n *\n * @namespace licensing\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Licensing\n */\n class Licensing {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.licenseAssignments = new Resource$Licenseassignments(this.context);\n }\n }\n licensing_v1.Licensing = Licensing;\n class Resource$Licenseassignments {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['productId', 'skuId', 'userId'],\n pathParams: ['productId', 'skuId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['productId', 'skuId', 'userId'],\n pathParams: ['productId', 'skuId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/licensing/v1/product/{productId}/sku/{skuId}/user').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['productId', 'skuId'],\n pathParams: ['productId', 'skuId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listForProduct(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/licensing/v1/product/{productId}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['productId', 'customerId'],\n pathParams: ['productId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listForProductAndSku(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/licensing/v1/product/{productId}/sku/{skuId}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['productId', 'skuId', 'customerId'],\n pathParams: ['productId', 'skuId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['productId', 'skuId', 'userId'],\n pathParams: ['productId', 'skuId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/licensing/v1/product/{productId}/sku/{skuId}/user/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['productId', 'skuId', 'userId'],\n pathParams: ['productId', 'skuId', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n licensing_v1.Resource$Licenseassignments = Resource$Licenseassignments;\n})(licensing_v1 = exports.licensing_v1 || (exports.licensing_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2beta_1 = require(\"./v2beta\");\nexports.VERSIONS = {\n v2beta: v2beta_1.lifesciences_v2beta.Lifesciences,\n};\nfunction lifesciences(versionOrOptions) {\n return googleapis_common_1.getAPI('lifesciences', versionOrOptions, exports.VERSIONS, this);\n}\nexports.lifesciences = lifesciences;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar lifesciences_v2beta;\n(function (lifesciences_v2beta) {\n /**\n * Cloud Life Sciences API\n *\n * Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.\n *\n * @example\n * const {google} = require('googleapis');\n * const lifesciences = google.lifesciences('v2beta');\n *\n * @namespace lifesciences\n * @type {Function}\n * @version v2beta\n * @variation v2beta\n * @param {object=} options Options for Lifesciences\n */\n class Lifesciences {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n lifesciences_v2beta.Lifesciences = Lifesciences;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n lifesciences_v2beta.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n this.pipelines = new Resource$Projects$Locations$Pipelines(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n lifesciences_v2beta.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n lifesciences_v2beta.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Locations$Pipelines {\n constructor(context) {\n this.context = context;\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://lifesciences.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta/{+parent}/pipelines:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n lifesciences_v2beta.Resource$Projects$Locations$Pipelines = Resource$Projects$Locations$Pipelines;\n})(lifesciences_v2beta = exports.lifesciences_v2beta || (exports.lifesciences_v2beta = {}));\n//# sourceMappingURL=v2beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v2: v2_1.logging_v2.Logging,\n};\nfunction logging(versionOrOptions) {\n return googleapis_common_1.getAPI('logging', versionOrOptions, exports.VERSIONS, this);\n}\nexports.logging = logging;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar logging_v2;\n(function (logging_v2) {\n /**\n * Stackdriver Logging API\n *\n * Writes log entries and manages your Stackdriver Logging configuration. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the <a href=https://cloud.google.com/logging/docs>Stackdriver Logging documentation</a>.\n *\n * @example\n * const {google} = require('googleapis');\n * const logging = google.logging('v2');\n *\n * @namespace logging\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Logging\n */\n class Logging {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.billingAccounts = new Resource$Billingaccounts(this.context);\n this.entries = new Resource$Entries(this.context);\n this.exclusions = new Resource$Exclusions(this.context);\n this.folders = new Resource$Folders(this.context);\n this.logs = new Resource$Logs(this.context);\n this.monitoredResourceDescriptors = new Resource$Monitoredresourcedescriptors(this.context);\n this.organizations = new Resource$Organizations(this.context);\n this.projects = new Resource$Projects(this.context);\n this.sinks = new Resource$Sinks(this.context);\n }\n }\n logging_v2.Logging = Logging;\n class Resource$Billingaccounts {\n constructor(context) {\n this.context = context;\n this.exclusions = new Resource$Billingaccounts$Exclusions(this.context);\n this.logs = new Resource$Billingaccounts$Logs(this.context);\n this.sinks = new Resource$Billingaccounts$Sinks(this.context);\n }\n }\n logging_v2.Resource$Billingaccounts = Resource$Billingaccounts;\n class Resource$Billingaccounts$Exclusions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Billingaccounts$Exclusions = Resource$Billingaccounts$Exclusions;\n class Resource$Billingaccounts$Logs {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+logName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['logName'],\n pathParams: ['logName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Billingaccounts$Logs = Resource$Billingaccounts$Logs;\n class Resource$Billingaccounts$Sinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Billingaccounts$Sinks = Resource$Billingaccounts$Sinks;\n class Resource$Entries {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/entries:list').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n write(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/entries:write').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Entries = Resource$Entries;\n class Resource$Exclusions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Exclusions = Resource$Exclusions;\n class Resource$Folders {\n constructor(context) {\n this.context = context;\n this.exclusions = new Resource$Folders$Exclusions(this.context);\n this.logs = new Resource$Folders$Logs(this.context);\n this.sinks = new Resource$Folders$Sinks(this.context);\n }\n }\n logging_v2.Resource$Folders = Resource$Folders;\n class Resource$Folders$Exclusions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Folders$Exclusions = Resource$Folders$Exclusions;\n class Resource$Folders$Logs {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+logName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['logName'],\n pathParams: ['logName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Folders$Logs = Resource$Folders$Logs;\n class Resource$Folders$Sinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Folders$Sinks = Resource$Folders$Sinks;\n class Resource$Logs {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+logName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['logName'],\n pathParams: ['logName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Logs = Resource$Logs;\n class Resource$Monitoredresourcedescriptors {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/monitoredResourceDescriptors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Monitoredresourcedescriptors = Resource$Monitoredresourcedescriptors;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.exclusions = new Resource$Organizations$Exclusions(this.context);\n this.logs = new Resource$Organizations$Logs(this.context);\n this.sinks = new Resource$Organizations$Sinks(this.context);\n }\n }\n logging_v2.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Exclusions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Organizations$Exclusions = Resource$Organizations$Exclusions;\n class Resource$Organizations$Logs {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+logName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['logName'],\n pathParams: ['logName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Organizations$Logs = Resource$Organizations$Logs;\n class Resource$Organizations$Sinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Organizations$Sinks = Resource$Organizations$Sinks;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.exclusions = new Resource$Projects$Exclusions(this.context);\n this.logs = new Resource$Projects$Logs(this.context);\n this.metrics = new Resource$Projects$Metrics(this.context);\n this.sinks = new Resource$Projects$Sinks(this.context);\n }\n }\n logging_v2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Exclusions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/exclusions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Projects$Exclusions = Resource$Projects$Exclusions;\n class Resource$Projects$Logs {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+logName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['logName'],\n pathParams: ['logName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/logs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Projects$Logs = Resource$Projects$Logs;\n class Resource$Projects$Metrics {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/metrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+metricName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['metricName'],\n pathParams: ['metricName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+metricName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['metricName'],\n pathParams: ['metricName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/metrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+metricName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['metricName'],\n pathParams: ['metricName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Projects$Metrics = Resource$Projects$Metrics;\n class Resource$Projects$Sinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Projects$Sinks = Resource$Projects$Sinks;\n class Resource$Sinks {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+parent}/sinks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://logging.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+sinkName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['sinkName'],\n pathParams: ['sinkName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n logging_v2.Resource$Sinks = Resource$Sinks;\n})(logging_v2 = exports.logging_v2 || (exports.logging_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.manufacturers_v1.Manufacturers,\n};\nfunction manufacturers(versionOrOptions) {\n return googleapis_common_1.getAPI('manufacturers', versionOrOptions, exports.VERSIONS, this);\n}\nexports.manufacturers = manufacturers;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar manufacturers_v1;\n(function (manufacturers_v1) {\n /**\n * Manufacturer Center API\n *\n * Public API for managing Manufacturer Center related data.\n *\n * @example\n * const {google} = require('googleapis');\n * const manufacturers = google.manufacturers('v1');\n *\n * @namespace manufacturers\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Manufacturers\n */\n class Manufacturers {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n }\n }\n manufacturers_v1.Manufacturers = Manufacturers;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.products = new Resource$Accounts$Products(this.context);\n }\n }\n manufacturers_v1.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Products {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'name'],\n pathParams: ['name', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'name'],\n pathParams: ['name', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://manufacturers.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['parent', 'name'],\n pathParams: ['name', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n manufacturers_v1.Resource$Accounts$Products = Resource$Accounts$Products;\n})(manufacturers_v1 = exports.manufacturers_v1 || (exports.manufacturers_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.mirror_v1.Mirror,\n};\nfunction mirror(versionOrOptions) {\n return googleapis_common_1.getAPI('mirror', versionOrOptions, exports.VERSIONS, this);\n}\nexports.mirror = mirror;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar mirror_v1;\n(function (mirror_v1) {\n /**\n * Google Mirror API\n *\n * Interacts with Glass users via the timeline.\n *\n * @example\n * const {google} = require('googleapis');\n * const mirror = google.mirror('v1');\n *\n * @namespace mirror\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Mirror\n */\n class Mirror {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n this.contacts = new Resource$Contacts(this.context);\n this.locations = new Resource$Locations(this.context);\n this.settings = new Resource$Settings(this.context);\n this.subscriptions = new Resource$Subscriptions(this.context);\n this.timeline = new Resource$Timeline(this.context);\n }\n }\n mirror_v1.Mirror = Mirror;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/mirror/v1/accounts/{userToken}/{accountType}/{accountName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['userToken', 'accountType', 'accountName'],\n pathParams: ['accountName', 'accountType', 'userToken'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Accounts = Resource$Accounts;\n class Resource$Contacts {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/contacts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/contacts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/contacts/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Contacts = Resource$Contacts;\n class Resource$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/locations/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Locations = Resource$Locations;\n class Resource$Settings {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/settings/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Settings = Resource$Settings;\n class Resource$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/subscriptions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/subscriptions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Subscriptions = Resource$Subscriptions;\n class Resource$Timeline {\n constructor(context) {\n this.context = context;\n this.attachments = new Resource$Timeline$Attachments(this.context);\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/mirror/v1/timeline').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/mirror/v1/timeline/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Timeline = Resource$Timeline;\n class Resource$Timeline$Attachments {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/mirror/v1/timeline/{itemId}/attachments/{attachmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['itemId', 'attachmentId'],\n pathParams: ['attachmentId', 'itemId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/mirror/v1/timeline/{itemId}/attachments/{attachmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['itemId', 'attachmentId'],\n pathParams: ['attachmentId', 'itemId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline/{itemId}/attachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/mirror/v1/timeline/{itemId}/attachments').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['itemId'],\n pathParams: ['itemId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/mirror/v1/timeline/{itemId}/attachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['itemId'],\n pathParams: ['itemId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n mirror_v1.Resource$Timeline$Attachments = Resource$Timeline$Attachments;\n})(mirror_v1 = exports.mirror_v1 || (exports.mirror_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.ml_v1.Ml,\n};\nfunction ml(versionOrOptions) {\n return googleapis_common_1.getAPI('ml', versionOrOptions, exports.VERSIONS, this);\n}\nexports.ml = ml;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar ml_v1;\n(function (ml_v1) {\n /**\n * AI Platform Training & Prediction API\n *\n * An API to enable creating and using machine learning models.\n *\n * @example\n * const {google} = require('googleapis');\n * const ml = google.ml('v1');\n *\n * @namespace ml\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Ml\n */\n class Ml {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n ml_v1.Ml = Ml;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.jobs = new Resource$Projects$Jobs(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.models = new Resource$Projects$Models(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n explain(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:explain').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:getConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n predict(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:predict').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n ml_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Jobs {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n ml_v1.Resource$Projects$Jobs = Resource$Projects$Jobs;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n ml_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Models {\n constructor(context) {\n this.context = context;\n this.versions = new Resource$Projects$Models$Versions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/models').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/models').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n ml_v1.Resource$Projects$Models = Resource$Projects$Models;\n class Resource$Projects$Models$Versions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setDefault(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setDefault').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n ml_v1.Resource$Projects$Models$Versions = Resource$Projects$Models$Versions;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://ml.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n ml_v1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(ml_v1 = exports.ml_v1 || (exports.ml_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v1: v1_1.monitoring_v1.Monitoring,\n v3: v3_1.monitoring_v3.Monitoring,\n};\nfunction monitoring(versionOrOptions) {\n return googleapis_common_1.getAPI('monitoring', versionOrOptions, exports.VERSIONS, this);\n}\nexports.monitoring = monitoring;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar monitoring_v1;\n(function (monitoring_v1) {\n /**\n * Stackdriver Monitoring API\n *\n * Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation.\n *\n * @example\n * const {google} = require('googleapis');\n * const monitoring = google.monitoring('v1');\n *\n * @namespace monitoring\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Monitoring\n */\n class Monitoring {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n monitoring_v1.Monitoring = Monitoring;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.dashboards = new Resource$Projects$Dashboards(this.context);\n }\n }\n monitoring_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Dashboards {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/dashboards').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/dashboards').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v1.Resource$Projects$Dashboards = Resource$Projects$Dashboards;\n})(monitoring_v1 = exports.monitoring_v1 || (exports.monitoring_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar monitoring_v3;\n(function (monitoring_v3) {\n /**\n * Stackdriver Monitoring API\n *\n * Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation.\n *\n * @example\n * const {google} = require('googleapis');\n * const monitoring = google.monitoring('v3');\n *\n * @namespace monitoring\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Monitoring\n */\n class Monitoring {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n this.services = new Resource$Services(this.context);\n this.uptimeCheckIps = new Resource$Uptimecheckips(this.context);\n }\n }\n monitoring_v3.Monitoring = Monitoring;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.alertPolicies = new Resource$Projects$Alertpolicies(this.context);\n this.collectdTimeSeries = new Resource$Projects$Collectdtimeseries(this.context);\n this.groups = new Resource$Projects$Groups(this.context);\n this.metricDescriptors = new Resource$Projects$Metricdescriptors(this.context);\n this.monitoredResourceDescriptors = new Resource$Projects$Monitoredresourcedescriptors(this.context);\n this.notificationChannelDescriptors = new Resource$Projects$Notificationchanneldescriptors(this.context);\n this.notificationChannels = new Resource$Projects$Notificationchannels(this.context);\n this.timeSeries = new Resource$Projects$Timeseries(this.context);\n this.uptimeCheckConfigs = new Resource$Projects$Uptimecheckconfigs(this.context);\n }\n }\n monitoring_v3.Resource$Projects = Resource$Projects;\n class Resource$Projects$Alertpolicies {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/alertPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/alertPolicies').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Alertpolicies = Resource$Projects$Alertpolicies;\n class Resource$Projects$Collectdtimeseries {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/collectdTimeSeries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Collectdtimeseries = Resource$Projects$Collectdtimeseries;\n class Resource$Projects$Groups {\n constructor(context) {\n this.context = context;\n this.members = new Resource$Projects$Groups$Members(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Groups = Resource$Projects$Groups;\n class Resource$Projects$Groups$Members {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/members').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Groups$Members = Resource$Projects$Groups$Members;\n class Resource$Projects$Metricdescriptors {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/metricDescriptors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/metricDescriptors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Metricdescriptors = Resource$Projects$Metricdescriptors;\n class Resource$Projects$Monitoredresourcedescriptors {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/monitoredResourceDescriptors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Monitoredresourcedescriptors = Resource$Projects$Monitoredresourcedescriptors;\n class Resource$Projects$Notificationchanneldescriptors {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/notificationChannelDescriptors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Notificationchanneldescriptors = Resource$Projects$Notificationchanneldescriptors;\n class Resource$Projects$Notificationchannels {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/notificationChannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getVerificationCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}:getVerificationCode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/notificationChannels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sendVerificationCode(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}:sendVerificationCode').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}:verify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Notificationchannels = Resource$Projects$Notificationchannels;\n class Resource$Projects$Timeseries {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/timeSeries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}/timeSeries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Timeseries = Resource$Projects$Timeseries;\n class Resource$Projects$Uptimecheckconfigs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/uptimeCheckConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/uptimeCheckConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Projects$Uptimecheckconfigs = Resource$Projects$Uptimecheckconfigs;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n this.serviceLevelObjectives = new Resource$Services$Servicelevelobjectives(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Services = Resource$Services;\n class Resource$Services$Servicelevelobjectives {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/serviceLevelObjectives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+parent}/serviceLevelObjectives').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Services$Servicelevelobjectives = Resource$Services$Servicelevelobjectives;\n class Resource$Uptimecheckips {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://monitoring.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3/uptimeCheckIps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n monitoring_v3.Resource$Uptimecheckips = Resource$Uptimecheckips;\n})(monitoring_v3 = exports.monitoring_v3 || (exports.monitoring_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v1: v1_1.oauth2_v1.Oauth2,\n v2: v2_1.oauth2_v2.Oauth2,\n};\nfunction oauth2(versionOrOptions) {\n return googleapis_common_1.getAPI('oauth2', versionOrOptions, exports.VERSIONS, this);\n}\nexports.oauth2 = oauth2;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar oauth2_v1;\n(function (oauth2_v1) {\n /**\n * Google OAuth2 API\n *\n * Obtains end-user authorization grants for use with other Google APIs.\n *\n * @example\n * const {google} = require('googleapis');\n * const oauth2 = google.oauth2('v1');\n *\n * @namespace oauth2\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Oauth2\n */\n class Oauth2 {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.userinfo = new Resource$Userinfo(this.context);\n }\n tokeninfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/oauth2/v1/tokeninfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oauth2_v1.Oauth2 = Oauth2;\n class Resource$Userinfo {\n constructor(context) {\n this.context = context;\n this.v2 = new Resource$Userinfo$V2(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/oauth2/v1/userinfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oauth2_v1.Resource$Userinfo = Resource$Userinfo;\n class Resource$Userinfo$V2 {\n constructor(context) {\n this.context = context;\n this.me = new Resource$Userinfo$V2$Me(this.context);\n }\n }\n oauth2_v1.Resource$Userinfo$V2 = Resource$Userinfo$V2;\n class Resource$Userinfo$V2$Me {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/userinfo/v2/me').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oauth2_v1.Resource$Userinfo$V2$Me = Resource$Userinfo$V2$Me;\n})(oauth2_v1 = exports.oauth2_v1 || (exports.oauth2_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar oauth2_v2;\n(function (oauth2_v2) {\n /**\n * Google OAuth2 API\n *\n * Obtains end-user authorization grants for use with other Google APIs.\n *\n * @example\n * const {google} = require('googleapis');\n * const oauth2 = google.oauth2('v2');\n *\n * @namespace oauth2\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Oauth2\n */\n class Oauth2 {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.userinfo = new Resource$Userinfo(this.context);\n }\n getCertForOpenIdConnect(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/oauth2/v2/certs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n tokeninfo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/oauth2/v2/tokeninfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oauth2_v2.Oauth2 = Oauth2;\n class Resource$Userinfo {\n constructor(context) {\n this.context = context;\n this.v2 = new Resource$Userinfo$V2(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/oauth2/v2/userinfo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oauth2_v2.Resource$Userinfo = Resource$Userinfo;\n class Resource$Userinfo$V2 {\n constructor(context) {\n this.context = context;\n this.me = new Resource$Userinfo$V2$Me(this.context);\n }\n }\n oauth2_v2.Resource$Userinfo$V2 = Resource$Userinfo$V2;\n class Resource$Userinfo$V2$Me {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/userinfo/v2/me').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oauth2_v2.Resource$Userinfo$V2$Me = Resource$Userinfo$V2$Me;\n})(oauth2_v2 = exports.oauth2_v2 || (exports.oauth2_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha_1 = require(\"./v1alpha\");\nconst v1beta_1 = require(\"./v1beta\");\nexports.VERSIONS = {\n v1: v1_1.oslogin_v1.Oslogin,\n v1alpha: v1alpha_1.oslogin_v1alpha.Oslogin,\n v1beta: v1beta_1.oslogin_v1beta.Oslogin,\n};\nfunction oslogin(versionOrOptions) {\n return googleapis_common_1.getAPI('oslogin', versionOrOptions, exports.VERSIONS, this);\n}\nexports.oslogin = oslogin;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar oslogin_v1;\n(function (oslogin_v1) {\n /**\n * Cloud OS Login API\n *\n * You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/).\n *\n * @example\n * const {google} = require('googleapis');\n * const oslogin = google.oslogin('v1');\n *\n * @namespace oslogin\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Oslogin\n */\n class Oslogin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.users = new Resource$Users(this.context);\n }\n }\n oslogin_v1.Oslogin = Oslogin;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Users$Projects(this.context);\n this.sshPublicKeys = new Resource$Users$Sshpublickeys(this.context);\n }\n getLoginProfile(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/loginProfile').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n importSshPublicKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:importSshPublicKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1.Resource$Users = Resource$Users;\n class Resource$Users$Projects {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1.Resource$Users$Projects = Resource$Users$Projects;\n class Resource$Users$Sshpublickeys {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1.Resource$Users$Sshpublickeys = Resource$Users$Sshpublickeys;\n})(oslogin_v1 = exports.oslogin_v1 || (exports.oslogin_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar oslogin_v1alpha;\n(function (oslogin_v1alpha) {\n /**\n * Cloud OS Login API\n *\n * You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/).\n *\n * @example\n * const {google} = require('googleapis');\n * const oslogin = google.oslogin('v1alpha');\n *\n * @namespace oslogin\n * @type {Function}\n * @version v1alpha\n * @variation v1alpha\n * @param {object=} options Options for Oslogin\n */\n class Oslogin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.users = new Resource$Users(this.context);\n }\n }\n oslogin_v1alpha.Oslogin = Oslogin;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Users$Projects(this.context);\n this.sshPublicKeys = new Resource$Users$Sshpublickeys(this.context);\n }\n getLoginProfile(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}/loginProfile').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n importSshPublicKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}:importSshPublicKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1alpha.Resource$Users = Resource$Users;\n class Resource$Users$Projects {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1alpha.Resource$Users$Projects = Resource$Users$Projects;\n class Resource$Users$Sshpublickeys {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1alpha.Resource$Users$Sshpublickeys = Resource$Users$Sshpublickeys;\n})(oslogin_v1alpha = exports.oslogin_v1alpha || (exports.oslogin_v1alpha = {}));\n//# sourceMappingURL=v1alpha.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar oslogin_v1beta;\n(function (oslogin_v1beta) {\n /**\n * Cloud OS Login API\n *\n * You can use OS Login to manage access to your VM instances using IAM roles. For more information, read [OS Login](/compute/docs/oslogin/).\n *\n * @example\n * const {google} = require('googleapis');\n * const oslogin = google.oslogin('v1beta');\n *\n * @namespace oslogin\n * @type {Function}\n * @version v1beta\n * @variation v1beta\n * @param {object=} options Options for Oslogin\n */\n class Oslogin {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.users = new Resource$Users(this.context);\n }\n }\n oslogin_v1beta.Oslogin = Oslogin;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Users$Projects(this.context);\n this.sshPublicKeys = new Resource$Users$Sshpublickeys(this.context);\n }\n getLoginProfile(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}/loginProfile').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n importSshPublicKey(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}:importSshPublicKey').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1beta.Resource$Users = Resource$Users;\n class Resource$Users$Projects {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1beta.Resource$Users$Projects = Resource$Users$Projects;\n class Resource$Users$Sshpublickeys {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://oslogin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n oslogin_v1beta.Resource$Users$Sshpublickeys = Resource$Users$Sshpublickeys;\n})(oslogin_v1beta = exports.oslogin_v1beta || (exports.oslogin_v1beta = {}));\n//# sourceMappingURL=v1beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nconst v4_1 = require(\"./v4\");\nconst v5_1 = require(\"./v5\");\nexports.VERSIONS = {\n v1: v1_1.pagespeedonline_v1.Pagespeedonline,\n v2: v2_1.pagespeedonline_v2.Pagespeedonline,\n v4: v4_1.pagespeedonline_v4.Pagespeedonline,\n v5: v5_1.pagespeedonline_v5.Pagespeedonline,\n};\nfunction pagespeedonline(versionOrOptions) {\n return googleapis_common_1.getAPI('pagespeedonline', versionOrOptions, exports.VERSIONS, this);\n}\nexports.pagespeedonline = pagespeedonline;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pagespeedonline_v1;\n(function (pagespeedonline_v1) {\n /**\n * PageSpeed Insights API\n *\n * Analyzes the performance of a web page and provides tailored suggestions to make that page faster.\n *\n * @example\n * const {google} = require('googleapis');\n * const pagespeedonline = google.pagespeedonline('v1');\n *\n * @namespace pagespeedonline\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Pagespeedonline\n */\n class Pagespeedonline {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.pagespeedapi = new Resource$Pagespeedapi(this.context);\n }\n }\n pagespeedonline_v1.Pagespeedonline = Pagespeedonline;\n class Resource$Pagespeedapi {\n constructor(context) {\n this.context = context;\n }\n runpagespeed(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/pagespeedonline/v1/runPagespeed').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['url'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pagespeedonline_v1.Resource$Pagespeedapi = Resource$Pagespeedapi;\n})(pagespeedonline_v1 = exports.pagespeedonline_v1 || (exports.pagespeedonline_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pagespeedonline_v2;\n(function (pagespeedonline_v2) {\n /**\n * PageSpeed Insights API\n *\n * Analyzes the performance of a web page and provides tailored suggestions to make that page faster.\n *\n * @example\n * const {google} = require('googleapis');\n * const pagespeedonline = google.pagespeedonline('v2');\n *\n * @namespace pagespeedonline\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Pagespeedonline\n */\n class Pagespeedonline {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.pagespeedapi = new Resource$Pagespeedapi(this.context);\n }\n }\n pagespeedonline_v2.Pagespeedonline = Pagespeedonline;\n class Resource$Pagespeedapi {\n constructor(context) {\n this.context = context;\n }\n runpagespeed(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/pagespeedonline/v2/runPagespeed').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['url'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pagespeedonline_v2.Resource$Pagespeedapi = Resource$Pagespeedapi;\n})(pagespeedonline_v2 = exports.pagespeedonline_v2 || (exports.pagespeedonline_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pagespeedonline_v4;\n(function (pagespeedonline_v4) {\n /**\n * PageSpeed Insights API\n *\n * Analyzes the performance of a web page and provides tailored suggestions to make that page faster.\n *\n * @example\n * const {google} = require('googleapis');\n * const pagespeedonline = google.pagespeedonline('v4');\n *\n * @namespace pagespeedonline\n * @type {Function}\n * @version v4\n * @variation v4\n * @param {object=} options Options for Pagespeedonline\n */\n class Pagespeedonline {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.pagespeedapi = new Resource$Pagespeedapi(this.context);\n }\n }\n pagespeedonline_v4.Pagespeedonline = Pagespeedonline;\n class Resource$Pagespeedapi {\n constructor(context) {\n this.context = context;\n }\n runpagespeed(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/pagespeedonline/v4/runPagespeed').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['url'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pagespeedonline_v4.Resource$Pagespeedapi = Resource$Pagespeedapi;\n})(pagespeedonline_v4 = exports.pagespeedonline_v4 || (exports.pagespeedonline_v4 = {}));\n//# sourceMappingURL=v4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pagespeedonline_v5;\n(function (pagespeedonline_v5) {\n /**\n * PageSpeed Insights API\n *\n * Analyzes the performance of a web page and provides tailored suggestions to make that page faster.\n *\n * @example\n * const {google} = require('googleapis');\n * const pagespeedonline = google.pagespeedonline('v5');\n *\n * @namespace pagespeedonline\n * @type {Function}\n * @version v5\n * @variation v5\n * @param {object=} options Options for Pagespeedonline\n */\n class Pagespeedonline {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.pagespeedapi = new Resource$Pagespeedapi(this.context);\n }\n }\n pagespeedonline_v5.Pagespeedonline = Pagespeedonline;\n class Resource$Pagespeedapi {\n constructor(context) {\n this.context = context;\n }\n runpagespeed(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/pagespeedonline/v5/runPagespeed').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['url'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pagespeedonline_v5.Resource$Pagespeedapi = Resource$Pagespeedapi;\n})(pagespeedonline_v5 = exports.pagespeedonline_v5 || (exports.pagespeedonline_v5 = {}));\n//# sourceMappingURL=v5.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.people_v1.People,\n};\nfunction people(versionOrOptions) {\n return googleapis_common_1.getAPI('people', versionOrOptions, exports.VERSIONS, this);\n}\nexports.people = people;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar people_v1;\n(function (people_v1) {\n /**\n * People API\n *\n * Provides access to information about profiles and contacts.\n *\n * @example\n * const {google} = require('googleapis');\n * const people = google.people('v1');\n *\n * @namespace people\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for People\n */\n class People {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.contactGroups = new Resource$Contactgroups(this.context);\n this.people = new Resource$People(this.context);\n }\n }\n people_v1.People = People;\n class Resource$Contactgroups {\n constructor(context) {\n this.context = context;\n this.members = new Resource$Contactgroups$Members(this.context);\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/contactGroups:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/contactGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/contactGroups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n people_v1.Resource$Contactgroups = Resource$Contactgroups;\n class Resource$Contactgroups$Members {\n constructor(context) {\n this.context = context;\n }\n modify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}/members:modify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n people_v1.Resource$Contactgroups$Members = Resource$Contactgroups$Members;\n class Resource$People {\n constructor(context) {\n this.context = context;\n this.connections = new Resource$People$Connections(this.context);\n }\n createContact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/people:createContact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteContact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}:deleteContact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteContactPhoto(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}:deleteContactPhoto').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getBatchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/people:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateContact(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}:updateContact').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateContactPhoto(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}:updateContactPhoto').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n people_v1.Resource$People = Resource$People;\n class Resource$People$Connections {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://people.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resourceName}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n people_v1.Resource$People$Connections = Resource$People$Connections;\n})(people_v1 = exports.people_v1 || (exports.people_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.playcustomapp_v1.Playcustomapp,\n};\nfunction playcustomapp(versionOrOptions) {\n return googleapis_common_1.getAPI('playcustomapp', versionOrOptions, exports.VERSIONS, this);\n}\nexports.playcustomapp = playcustomapp;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar playcustomapp_v1;\n(function (playcustomapp_v1) {\n /**\n * Google Play Custom App Publishing API\n *\n * An API to publish custom Android apps.\n *\n * @example\n * const {google} = require('googleapis');\n * const playcustomapp = google.playcustomapp('v1');\n *\n * @namespace playcustomapp\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Playcustomapp\n */\n class Playcustomapp {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n }\n }\n playcustomapp_v1.Playcustomapp = Playcustomapp;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.customApps = new Resource$Accounts$Customapps(this.context);\n }\n }\n playcustomapp_v1.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Customapps {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/playcustomapp/v1/accounts/{account}/customApps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/playcustomapp/v1/accounts/{account}/customApps').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['account'],\n pathParams: ['account'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n playcustomapp_v1.Resource$Accounts$Customapps = Resource$Accounts$Customapps;\n})(playcustomapp_v1 = exports.playcustomapp_v1 || (exports.playcustomapp_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.plus_v1.Plus,\n};\nfunction plus(versionOrOptions) {\n return googleapis_common_1.getAPI('plus', versionOrOptions, exports.VERSIONS, this);\n}\nexports.plus = plus;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar plus_v1;\n(function (plus_v1) {\n /**\n * Google+ API\n *\n * Builds on top of the Google+ platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const plus = google.plus('v1');\n *\n * @namespace plus\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Plus\n */\n class Plus {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.activities = new Resource$Activities(this.context);\n this.comments = new Resource$Comments(this.context);\n this.people = new Resource$People(this.context);\n }\n }\n plus_v1.Plus = Plus;\n class Resource$Activities {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/activities/{activityId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['activityId'],\n pathParams: ['activityId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/people/{userId}/activities/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'collection'],\n pathParams: ['collection', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/activities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['query'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plus_v1.Resource$Activities = Resource$Activities;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['commentId'],\n pathParams: ['commentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/activities/{activityId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['activityId'],\n pathParams: ['activityId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plus_v1.Resource$Comments = Resource$Comments;\n class Resource$People {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/people/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/people/{userId}/people/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'collection'],\n pathParams: ['collection', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listByActivity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/activities/{activityId}/people/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['activityId', 'collection'],\n pathParams: ['activityId', 'collection'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plus/v1/people').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['query'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plus_v1.Resource$People = Resource$People;\n})(plus_v1 = exports.plus_v1 || (exports.plus_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.plusDomains_v1.Plusdomains,\n};\nfunction plusDomains(versionOrOptions) {\n return googleapis_common_1.getAPI('plusDomains', versionOrOptions, exports.VERSIONS, this);\n}\nexports.plusDomains = plusDomains;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar plusDomains_v1;\n(function (plusDomains_v1) {\n /**\n * Google+ Domains API\n *\n * Builds on top of the Google+ platform for Google Apps Domains.\n *\n * @example\n * const {google} = require('googleapis');\n * const plusDomains = google.plusDomains('v1');\n *\n * @namespace plusDomains\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Plusdomains\n */\n class Plusdomains {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.activities = new Resource$Activities(this.context);\n this.audiences = new Resource$Audiences(this.context);\n this.circles = new Resource$Circles(this.context);\n this.comments = new Resource$Comments(this.context);\n this.media = new Resource$Media(this.context);\n this.people = new Resource$People(this.context);\n }\n }\n plusDomains_v1.Plusdomains = Plusdomains;\n class Resource$Activities {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/activities/{activityId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['activityId'],\n pathParams: ['activityId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/plusDomains/v1/people/{userId}/activities/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'collection'],\n pathParams: ['collection', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plusDomains_v1.Resource$Activities = Resource$Activities;\n class Resource$Audiences {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/people/{userId}/audiences').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plusDomains_v1.Resource$Audiences = Resource$Audiences;\n class Resource$Circles {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/people/{userId}/circles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plusDomains_v1.Resource$Circles = Resource$Circles;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/comments/{commentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['commentId'],\n pathParams: ['commentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/activities/{activityId}/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['activityId'],\n pathParams: ['activityId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plusDomains_v1.Resource$Comments = Resource$Comments;\n class Resource$Media {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/people/{userId}/media/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/plusDomains/v1/people/{userId}/media/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['userId', 'collection'],\n pathParams: ['collection', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plusDomains_v1.Resource$Media = Resource$Media;\n class Resource$People {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/people/{userId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId'],\n pathParams: ['userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/plusDomains/v1/people/{userId}/people/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['userId', 'collection'],\n pathParams: ['collection', 'userId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listByActivity(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/plusDomains/v1/activities/{activityId}/people/{collection}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['activityId', 'collection'],\n pathParams: ['activityId', 'collection'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n plusDomains_v1.Resource$People = Resource$People;\n})(plusDomains_v1 = exports.plusDomains_v1 || (exports.plusDomains_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta_1 = require(\"./v1beta\");\nexports.VERSIONS = {\n v1: v1_1.policytroubleshooter_v1.Policytroubleshooter,\n v1beta: v1beta_1.policytroubleshooter_v1beta.Policytroubleshooter,\n};\nfunction policytroubleshooter(versionOrOptions) {\n return googleapis_common_1.getAPI('policytroubleshooter', versionOrOptions, exports.VERSIONS, this);\n}\nexports.policytroubleshooter = policytroubleshooter;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar policytroubleshooter_v1;\n(function (policytroubleshooter_v1) {\n /**\n * Policy Troubleshooter API\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const policytroubleshooter = google.policytroubleshooter('v1');\n *\n * @namespace policytroubleshooter\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Policytroubleshooter\n */\n class Policytroubleshooter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.iam = new Resource$Iam(this.context);\n }\n }\n policytroubleshooter_v1.Policytroubleshooter = Policytroubleshooter;\n class Resource$Iam {\n constructor(context) {\n this.context = context;\n }\n troubleshoot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://policytroubleshooter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/iam:troubleshoot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n policytroubleshooter_v1.Resource$Iam = Resource$Iam;\n})(policytroubleshooter_v1 = exports.policytroubleshooter_v1 || (exports.policytroubleshooter_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar policytroubleshooter_v1beta;\n(function (policytroubleshooter_v1beta) {\n /**\n * Policy Troubleshooter API\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const policytroubleshooter = google.policytroubleshooter('v1beta');\n *\n * @namespace policytroubleshooter\n * @type {Function}\n * @version v1beta\n * @variation v1beta\n * @param {object=} options Options for Policytroubleshooter\n */\n class Policytroubleshooter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.iam = new Resource$Iam(this.context);\n }\n }\n policytroubleshooter_v1beta.Policytroubleshooter = Policytroubleshooter;\n class Resource$Iam {\n constructor(context) {\n this.context = context;\n }\n troubleshoot(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://policytroubleshooter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/iam:troubleshoot').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n policytroubleshooter_v1beta.Resource$Iam = Resource$Iam;\n})(policytroubleshooter_v1beta = exports.policytroubleshooter_v1beta || (exports.policytroubleshooter_v1beta = {}));\n//# sourceMappingURL=v1beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.poly_v1.Poly,\n};\nfunction poly(versionOrOptions) {\n return googleapis_common_1.getAPI('poly', versionOrOptions, exports.VERSIONS, this);\n}\nexports.poly = poly;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar poly_v1;\n(function (poly_v1) {\n /**\n * Poly API\n *\n * The Poly API provides read access to assets hosted on <a href="https://poly.google.com">poly.google.com</a> to all, and upload access to <a href="https://poly.google.com">poly.google.com</a> for whitelisted accounts.\n *\n * @example\n * const {google} = require('googleapis');\n * const poly = google.poly('v1');\n *\n * @namespace poly\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Poly\n */\n class Poly {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.assets = new Resource$Assets(this.context);\n this.users = new Resource$Users(this.context);\n }\n }\n poly_v1.Poly = Poly;\n class Resource$Assets {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://poly.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://poly.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/assets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n poly_v1.Resource$Assets = Resource$Assets;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n this.assets = new Resource$Users$Assets(this.context);\n this.likedassets = new Resource$Users$Likedassets(this.context);\n }\n }\n poly_v1.Resource$Users = Resource$Users;\n class Resource$Users$Assets {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://poly.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/assets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n poly_v1.Resource$Users$Assets = Resource$Users$Assets;\n class Resource$Users$Likedassets {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://poly.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/likedassets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n poly_v1.Resource$Users$Likedassets = Resource$Users$Likedassets;\n})(poly_v1 = exports.poly_v1 || (exports.poly_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1alpha1: v1alpha1_1.prod_tt_sasportal_v1alpha1.Prod_tt_sasportal,\n};\nfunction prod_tt_sasportal(versionOrOptions) {\n return googleapis_common_1.getAPI('prod_tt_sasportal', versionOrOptions, exports.VERSIONS, this);\n}\nexports.prod_tt_sasportal = prod_tt_sasportal;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar prod_tt_sasportal_v1alpha1;\n(function (prod_tt_sasportal_v1alpha1) {\n /**\n * SAS Portal API (Testing)\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const prod_tt_sasportal = google.prod_tt_sasportal('v1alpha1');\n *\n * @namespace prod_tt_sasportal\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Prod_tt_sasportal\n */\n class Prod_tt_sasportal {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.customers = new Resource$Customers(this.context);\n this.installer = new Resource$Installer(this.context);\n this.nodes = new Resource$Nodes(this.context);\n this.policies = new Resource$Policies(this.context);\n }\n }\n prod_tt_sasportal_v1alpha1.Prod_tt_sasportal = Prod_tt_sasportal;\n class Resource$Customers {\n constructor(context) {\n this.context = context;\n this.devices = new Resource$Customers$Devices(this.context);\n this.nodes = new Resource$Customers$Nodes(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Customers = Resource$Customers;\n class Resource$Customers$Devices {\n constructor(context) {\n this.context = context;\n }\n bulk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Customers$Devices = Resource$Customers$Devices;\n class Resource$Customers$Nodes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Customers$Nodes = Resource$Customers$Nodes;\n class Resource$Installer {\n constructor(context) {\n this.context = context;\n }\n generateSecret(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/installer:generateSecret').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/installer:validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Installer = Resource$Installer;\n class Resource$Nodes {\n constructor(context) {\n this.context = context;\n this.devices = new Resource$Nodes$Devices(this.context);\n this.nodes = new Resource$Nodes$Nodes(this.context);\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Nodes = Resource$Nodes;\n class Resource$Nodes$Devices {\n constructor(context) {\n this.context = context;\n }\n bulk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Nodes$Devices = Resource$Nodes$Devices;\n class Resource$Nodes$Nodes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Nodes$Nodes = Resource$Nodes$Nodes;\n class Resource$Policies {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/policies:get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n set(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/policies:set').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n test(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://prod-tt-sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/policies:test').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n prod_tt_sasportal_v1alpha1.Resource$Policies = Resource$Policies;\n})(prod_tt_sasportal_v1alpha1 = exports.prod_tt_sasportal_v1alpha1 || (exports.prod_tt_sasportal_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.proximitybeacon_v1beta1.Proximitybeacon,\n};\nfunction proximitybeacon(versionOrOptions) {\n return googleapis_common_1.getAPI('proximitybeacon', versionOrOptions, exports.VERSIONS, this);\n}\nexports.proximitybeacon = proximitybeacon;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar proximitybeacon_v1beta1;\n(function (proximitybeacon_v1beta1) {\n /**\n * Proximity Beacon API\n *\n * Registers, manages, indexes, and searches beacons.\n *\n * @example\n * const {google} = require('googleapis');\n * const proximitybeacon = google.proximitybeacon('v1beta1');\n *\n * @namespace proximitybeacon\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Proximitybeacon\n */\n class Proximitybeacon {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.beaconinfo = new Resource$Beaconinfo(this.context);\n this.beacons = new Resource$Beacons(this.context);\n this.namespaces = new Resource$Namespaces(this.context);\n this.v1beta1 = new Resource$V1beta1(this.context);\n }\n }\n proximitybeacon_v1beta1.Proximitybeacon = Proximitybeacon;\n class Resource$Beaconinfo {\n constructor(context) {\n this.context = context;\n }\n getforobserved(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/beaconinfo:getforobserved').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n proximitybeacon_v1beta1.Resource$Beaconinfo = Resource$Beaconinfo;\n class Resource$Beacons {\n constructor(context) {\n this.context = context;\n this.attachments = new Resource$Beacons$Attachments(this.context);\n this.diagnostics = new Resource$Beacons$Diagnostics(this.context);\n }\n activate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}:activate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deactivate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}:deactivate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n decommission(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}:decommission').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/beacons').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n register(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/beacons:register').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n proximitybeacon_v1beta1.Resource$Beacons = Resource$Beacons;\n class Resource$Beacons$Attachments {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}/attachments:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}/attachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+attachmentName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['attachmentName'],\n pathParams: ['attachmentName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}/attachments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n proximitybeacon_v1beta1.Resource$Beacons$Attachments = Resource$Beacons$Attachments;\n class Resource$Beacons$Diagnostics {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+beaconName}/diagnostics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['beaconName'],\n pathParams: ['beaconName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n proximitybeacon_v1beta1.Resource$Beacons$Diagnostics = Resource$Beacons$Diagnostics;\n class Resource$Namespaces {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/namespaces').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+namespaceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['namespaceName'],\n pathParams: ['namespaceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n proximitybeacon_v1beta1.Resource$Namespaces = Resource$Namespaces;\n class Resource$V1beta1 {\n constructor(context) {\n this.context = context;\n }\n getEidparams(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://proximitybeacon.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/eidparams').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n proximitybeacon_v1beta1.Resource$V1beta1 = Resource$V1beta1;\n})(proximitybeacon_v1beta1 = exports.proximitybeacon_v1beta1 || (exports.proximitybeacon_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1a_1 = require(\"./v1beta1a\");\nconst v1beta2_1 = require(\"./v1beta2\");\nexports.VERSIONS = {\n v1: v1_1.pubsub_v1.Pubsub,\n v1beta1a: v1beta1a_1.pubsub_v1beta1a.Pubsub,\n v1beta2: v1beta2_1.pubsub_v1beta2.Pubsub,\n};\nfunction pubsub(versionOrOptions) {\n return googleapis_common_1.getAPI('pubsub', versionOrOptions, exports.VERSIONS, this);\n}\nexports.pubsub = pubsub;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pubsub_v1;\n(function (pubsub_v1) {\n /**\n * Cloud Pub/Sub API\n *\n * Provides reliable, many-to-many, asynchronous messaging between applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const pubsub = google.pubsub('v1');\n *\n * @namespace pubsub\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Pubsub\n */\n class Pubsub {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n pubsub_v1.Pubsub = Pubsub;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.snapshots = new Resource$Projects$Snapshots(this.context);\n this.subscriptions = new Resource$Projects$Subscriptions(this.context);\n this.topics = new Resource$Projects$Topics(this.context);\n }\n }\n pubsub_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Snapshots {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['snapshot'],\n pathParams: ['snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+snapshot}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['snapshot'],\n pathParams: ['snapshot'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+project}/snapshots').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1.Resource$Projects$Snapshots = Resource$Projects$Snapshots;\n class Resource$Projects$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}:acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+project}/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyAckDeadline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}:modifyAckDeadline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyPushConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}:modifyPushConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pull(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}:pull').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n seek(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+subscription}:seek').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1.Resource$Projects$Subscriptions = Resource$Projects$Subscriptions;\n class Resource$Projects$Topics {\n constructor(context) {\n this.context = context;\n this.snapshots = new Resource$Projects$Topics$Snapshots(this.context);\n this.subscriptions = new Resource$Projects$Topics$Subscriptions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+topic}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+topic}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+project}/topics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+topic}:publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1.Resource$Projects$Topics = Resource$Projects$Topics;\n class Resource$Projects$Topics$Snapshots {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+topic}/snapshots').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1.Resource$Projects$Topics$Snapshots = Resource$Projects$Topics$Snapshots;\n class Resource$Projects$Topics$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+topic}/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1.Resource$Projects$Topics$Subscriptions = Resource$Projects$Topics$Subscriptions;\n})(pubsub_v1 = exports.pubsub_v1 || (exports.pubsub_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pubsub_v1beta1a;\n(function (pubsub_v1beta1a) {\n /**\n * Cloud Pub/Sub API\n *\n * Provides reliable, many-to-many, asynchronous messaging between applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const pubsub = google.pubsub('v1beta1a');\n *\n * @namespace pubsub\n * @type {Function}\n * @version v1beta1a\n * @variation v1beta1a\n * @param {object=} options Options for Pubsub\n */\n class Pubsub {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.subscriptions = new Resource$Subscriptions(this.context);\n this.topics = new Resource$Topics(this.context);\n }\n }\n pubsub_v1beta1a.Pubsub = Pubsub;\n class Resource$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/{+subscription}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/{+subscription}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyAckDeadline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/modifyAckDeadline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyPushConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/modifyPushConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pull(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/pull').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pullBatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/subscriptions/pullBatch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1beta1a.Resource$Subscriptions = Resource$Subscriptions;\n class Resource$Topics {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/topics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/topics/{+topic}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/topics/{+topic}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/topics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/topics/publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publishBatch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1a/topics/publishBatch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1beta1a.Resource$Topics = Resource$Topics;\n})(pubsub_v1beta1a = exports.pubsub_v1beta1a || (exports.pubsub_v1beta1a = {}));\n//# sourceMappingURL=v1beta1a.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar pubsub_v1beta2;\n(function (pubsub_v1beta2) {\n /**\n * Cloud Pub/Sub API\n *\n * Provides reliable, many-to-many, asynchronous messaging between applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const pubsub = google.pubsub('v1beta2');\n *\n * @namespace pubsub\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Pubsub\n */\n class Pubsub {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n pubsub_v1beta2.Pubsub = Pubsub;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.subscriptions = new Resource$Projects$Subscriptions(this.context);\n this.topics = new Resource$Projects$Topics(this.context);\n }\n }\n pubsub_v1beta2.Resource$Projects = Resource$Projects;\n class Resource$Projects$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n acknowledge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+subscription}:acknowledge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+subscription}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+subscription}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+project}/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyAckDeadline(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+subscription}:modifyAckDeadline').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n modifyPushConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+subscription}:modifyPushConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pull(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+subscription}:pull').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['subscription'],\n pathParams: ['subscription'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1beta2.Resource$Projects$Subscriptions = Resource$Projects$Subscriptions;\n class Resource$Projects$Topics {\n constructor(context) {\n this.context = context;\n this.subscriptions = new Resource$Projects$Topics$Subscriptions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+topic}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+topic}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+project}/topics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+topic}:publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1beta2.Resource$Projects$Topics = Resource$Projects$Topics;\n class Resource$Projects$Topics$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://pubsub.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/{+topic}/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['topic'],\n pathParams: ['topic'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n pubsub_v1beta2.Resource$Projects$Topics$Subscriptions = Resource$Projects$Topics$Subscriptions;\n})(pubsub_v1beta2 = exports.pubsub_v1beta2 || (exports.pubsub_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.recommender_v1beta1.Recommender,\n};\nfunction recommender(versionOrOptions) {\n return googleapis_common_1.getAPI('recommender', versionOrOptions, exports.VERSIONS, this);\n}\nexports.recommender = recommender;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar recommender_v1beta1;\n(function (recommender_v1beta1) {\n /**\n * Recommender API\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const recommender = google.recommender('v1beta1');\n *\n * @namespace recommender\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Recommender\n */\n class Recommender {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n recommender_v1beta1.Recommender = Recommender;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n recommender_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.recommenders = new Resource$Projects$Locations$Recommenders(this.context);\n }\n }\n recommender_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Recommenders {\n constructor(context) {\n this.context = context;\n this.recommendations = new Resource$Projects$Locations$Recommenders$Recommendations(this.context);\n }\n }\n recommender_v1beta1.Resource$Projects$Locations$Recommenders = Resource$Projects$Locations$Recommenders;\n class Resource$Projects$Locations$Recommenders$Recommendations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/recommendations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n markClaimed(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:markClaimed').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n markFailed(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:markFailed').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n markSucceeded(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://recommender.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:markSucceeded').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n recommender_v1beta1.Resource$Projects$Locations$Recommenders$Recommendations = Resource$Projects$Locations$Recommenders$Recommendations;\n})(recommender_v1beta1 = exports.recommender_v1beta1 || (exports.recommender_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.redis_v1.Redis,\n v1beta1: v1beta1_1.redis_v1beta1.Redis,\n};\nfunction redis(versionOrOptions) {\n return googleapis_common_1.getAPI('redis', versionOrOptions, exports.VERSIONS, this);\n}\nexports.redis = redis;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar redis_v1;\n(function (redis_v1) {\n /**\n * Google Cloud Memorystore for Redis API\n *\n * Creates and manages Redis instances on the Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const redis = google.redis('v1');\n *\n * @namespace redis\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Redis\n */\n class Redis {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n redis_v1.Redis = Redis;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n redis_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Instances(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n redis_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Instances {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n failover(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:failover').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n redis_v1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n redis_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(redis_v1 = exports.redis_v1 || (exports.redis_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar redis_v1beta1;\n(function (redis_v1beta1) {\n /**\n * Google Cloud Memorystore for Redis API\n *\n * Creates and manages Redis instances on the Google Cloud Platform.\n *\n * @example\n * const {google} = require('googleapis');\n * const redis = google.redis('v1beta1');\n *\n * @namespace redis\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Redis\n */\n class Redis {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n redis_v1beta1.Redis = Redis;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n redis_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Instances(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n redis_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Instances {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n failover(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:failover').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n redis_v1beta1.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://redis.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n redis_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(redis_v1beta1 = exports.redis_v1beta1 || (exports.redis_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha_1 = require(\"./v1alpha\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v1: v1_1.remotebuildexecution_v1.Remotebuildexecution,\n v1alpha: v1alpha_1.remotebuildexecution_v1alpha.Remotebuildexecution,\n v2: v2_1.remotebuildexecution_v2.Remotebuildexecution,\n};\nfunction remotebuildexecution(versionOrOptions) {\n return googleapis_common_1.getAPI('remotebuildexecution', versionOrOptions, exports.VERSIONS, this);\n}\nexports.remotebuildexecution = remotebuildexecution;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar remotebuildexecution_v1;\n(function (remotebuildexecution_v1) {\n /**\n * Remote Build Execution API\n *\n * Supplies a Remote Execution API service for tools such as bazel.\n *\n * @example\n * const {google} = require('googleapis');\n * const remotebuildexecution = google.remotebuildexecution('v1');\n *\n * @namespace remotebuildexecution\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Remotebuildexecution\n */\n class Remotebuildexecution {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.media = new Resource$Media(this.context);\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n remotebuildexecution_v1.Remotebuildexecution = Remotebuildexecution;\n class Resource$Media {\n constructor(context) {\n this.context = context;\n }\n download(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n upload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/v1/media/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v1.Resource$Media = Resource$Media;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Operations(this.context);\n }\n }\n remotebuildexecution_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(remotebuildexecution_v1 = exports.remotebuildexecution_v1 || (exports.remotebuildexecution_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar remotebuildexecution_v1alpha;\n(function (remotebuildexecution_v1alpha) {\n /**\n * Remote Build Execution API\n *\n * Supplies a Remote Execution API service for tools such as bazel.\n *\n * @example\n * const {google} = require('googleapis');\n * const remotebuildexecution = google.remotebuildexecution('v1alpha');\n *\n * @namespace remotebuildexecution\n * @type {Function}\n * @version v1alpha\n * @variation v1alpha\n * @param {object=} options Options for Remotebuildexecution\n */\n class Remotebuildexecution {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n remotebuildexecution_v1alpha.Remotebuildexecution = Remotebuildexecution;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Instances(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n }\n remotebuildexecution_v1alpha.Resource$Projects = Resource$Projects;\n class Resource$Projects$Instances {\n constructor(context) {\n this.context = context;\n this.workerpools = new Resource$Projects$Instances$Workerpools(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v1alpha.Resource$Projects$Instances = Resource$Projects$Instances;\n class Resource$Projects$Instances$Workerpools {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/workerpools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/workerpools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v1alpha.Resource$Projects$Instances$Workerpools = Resource$Projects$Instances$Workerpools;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://admin-remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v1alpha.Resource$Projects$Operations = Resource$Projects$Operations;\n})(remotebuildexecution_v1alpha = exports.remotebuildexecution_v1alpha || (exports.remotebuildexecution_v1alpha = {}));\n//# sourceMappingURL=v1alpha.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar remotebuildexecution_v2;\n(function (remotebuildexecution_v2) {\n /**\n * Remote Build Execution API\n *\n * Supplies a Remote Execution API service for tools such as bazel.\n *\n * @example\n * const {google} = require('googleapis');\n * const remotebuildexecution = google.remotebuildexecution('v2');\n *\n * @namespace remotebuildexecution\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Remotebuildexecution\n */\n class Remotebuildexecution {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.actionResults = new Resource$Actionresults(this.context);\n this.actions = new Resource$Actions(this.context);\n this.blobs = new Resource$Blobs(this.context);\n this.operations = new Resource$Operations(this.context);\n this.v2 = new Resource$V2(this.context);\n }\n }\n remotebuildexecution_v2.Remotebuildexecution = Remotebuildexecution;\n class Resource$Actionresults {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/actionResults/{hash}/{sizeBytes}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['instanceName', 'hash', 'sizeBytes'],\n pathParams: ['hash', 'instanceName', 'sizeBytes'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/actionResults/{hash}/{sizeBytes}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['instanceName', 'hash', 'sizeBytes'],\n pathParams: ['hash', 'instanceName', 'sizeBytes'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v2.Resource$Actionresults = Resource$Actionresults;\n class Resource$Actions {\n constructor(context) {\n this.context = context;\n }\n execute(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/actions:execute').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['instanceName'],\n pathParams: ['instanceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v2.Resource$Actions = Resource$Actions;\n class Resource$Blobs {\n constructor(context) {\n this.context = context;\n }\n batchRead(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/blobs:batchRead').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['instanceName'],\n pathParams: ['instanceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/blobs:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['instanceName'],\n pathParams: ['instanceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n findMissing(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/blobs:findMissing').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['instanceName'],\n pathParams: ['instanceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getTree(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/blobs/{hash}/{sizeBytes}:getTree').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['instanceName', 'hash', 'sizeBytes'],\n pathParams: ['hash', 'instanceName', 'sizeBytes'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v2.Resource$Blobs = Resource$Blobs;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n waitExecution(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+name}:waitExecution').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v2.Resource$Operations = Resource$Operations;\n class Resource$V2 {\n constructor(context) {\n this.context = context;\n }\n getCapabilities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://remotebuildexecution.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/{+instanceName}/capabilities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['instanceName'],\n pathParams: ['instanceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n remotebuildexecution_v2.Resource$V2 = Resource$V2;\n})(remotebuildexecution_v2 = exports.remotebuildexecution_v2 || (exports.remotebuildexecution_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.replicapool_v1beta1.Replicapool,\n};\nfunction replicapool(versionOrOptions) {\n return googleapis_common_1.getAPI('replicapool', versionOrOptions, exports.VERSIONS, this);\n}\nexports.replicapool = replicapool;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar replicapool_v1beta1;\n(function (replicapool_v1beta1) {\n /**\n * Replica Pool API\n *\n * The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template.\n *\n * @example\n * const {google} = require('googleapis');\n * const replicapool = google.replicapool('v1beta1');\n *\n * @namespace replicapool\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Replicapool\n */\n class Replicapool {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.pools = new Resource$Pools(this.context);\n this.replicas = new Resource$Replicas(this.context);\n }\n }\n replicapool_v1beta1.Replicapool = Replicapool;\n class Resource$Pools {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName'],\n pathParams: ['poolName', 'projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName'],\n pathParams: ['poolName', 'projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName', 'zone'],\n pathParams: ['projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectName', 'zone'],\n pathParams: ['projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/resize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName'],\n pathParams: ['poolName', 'projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updatetemplate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/updateTemplate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName'],\n pathParams: ['poolName', 'projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n replicapool_v1beta1.Resource$Pools = Resource$Pools;\n class Resource$Replicas {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName', 'replicaName'],\n pathParams: ['poolName', 'projectName', 'replicaName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName', 'replicaName'],\n pathParams: ['poolName', 'projectName', 'replicaName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName'],\n pathParams: ['poolName', 'projectName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restart(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/replicapool/v1beta1/projects/{projectName}/zones/{zone}/pools/{poolName}/replicas/{replicaName}/restart').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectName', 'zone', 'poolName', 'replicaName'],\n pathParams: ['poolName', 'projectName', 'replicaName', 'zone'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n replicapool_v1beta1.Resource$Replicas = Resource$Replicas;\n})(replicapool_v1beta1 = exports.replicapool_v1beta1 || (exports.replicapool_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.reseller_v1.Reseller,\n};\nfunction reseller(versionOrOptions) {\n return googleapis_common_1.getAPI('reseller', versionOrOptions, exports.VERSIONS, this);\n}\nexports.reseller = reseller;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar reseller_v1;\n(function (reseller_v1) {\n /**\n * Enterprise Apps Reseller API\n *\n * Creates and manages your customers and their subscriptions.\n *\n * @example\n * const {google} = require('googleapis');\n * const reseller = google.reseller('v1');\n *\n * @namespace reseller\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Reseller\n */\n class Reseller {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.customers = new Resource$Customers(this.context);\n this.resellernotify = new Resource$Resellernotify(this.context);\n this.subscriptions = new Resource$Subscriptions(this.context);\n }\n }\n reseller_v1.Reseller = Reseller;\n class Resource$Customers {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/customers/{customerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/customers/{customerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/customers/{customerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n reseller_v1.Resource$Customers = Resource$Customers;\n class Resource$Resellernotify {\n constructor(context) {\n this.context = context;\n }\n getwatchdetails(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/resellernotify/getwatchdetails').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n register(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/resellernotify/register').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unregister(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/resellernotify/unregister').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n reseller_v1.Resource$Resellernotify = Resource$Resellernotify;\n class Resource$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n activate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n changePlan(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n changeRenewalSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n changeSeats(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId', 'deletionType'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/customers/{customerId}/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId'],\n pathParams: ['customerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apps/reseller/v1/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startPaidService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n suspend(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['customerId', 'subscriptionId'],\n pathParams: ['customerId', 'subscriptionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n reseller_v1.Resource$Subscriptions = Resource$Subscriptions;\n})(reseller_v1 = exports.reseller_v1 || (exports.reseller_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.run_v1.Run,\n v1alpha1: v1alpha1_1.run_v1alpha1.Run,\n v1beta1: v1beta1_1.run_v1beta1.Run,\n};\nfunction run(versionOrOptions) {\n return googleapis_common_1.getAPI('run', versionOrOptions, exports.VERSIONS, this);\n}\nexports.run = run;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar run_v1;\n(function (run_v1) {\n /**\n * Cloud Run API\n *\n * Deploy and manage user provided container images that scale automatically based on HTTP traffic.\n *\n * @example\n * const {google} = require('googleapis');\n * const run = google.run('v1');\n *\n * @namespace run\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Run\n */\n class Run {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.namespaces = new Resource$Namespaces(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n run_v1.Run = Run;\n class Resource$Namespaces {\n constructor(context) {\n this.context = context;\n this.authorizeddomains = new Resource$Namespaces$Authorizeddomains(this.context);\n this.configurations = new Resource$Namespaces$Configurations(this.context);\n this.domainmappings = new Resource$Namespaces$Domainmappings(this.context);\n this.revisions = new Resource$Namespaces$Revisions(this.context);\n this.routes = new Resource$Namespaces$Routes(this.context);\n this.services = new Resource$Namespaces$Services(this.context);\n }\n }\n run_v1.Resource$Namespaces = Resource$Namespaces;\n class Resource$Namespaces$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/domains.cloudrun.com/v1/{+parent}/authorizeddomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Namespaces$Authorizeddomains = Resource$Namespaces$Authorizeddomains;\n class Resource$Namespaces$Configurations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/configurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Namespaces$Configurations = Resource$Namespaces$Configurations;\n class Resource$Namespaces$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/domains.cloudrun.com/v1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Namespaces$Domainmappings = Resource$Namespaces$Domainmappings;\n class Resource$Namespaces$Revisions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/revisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Namespaces$Revisions = Resource$Namespaces$Revisions;\n class Resource$Namespaces$Routes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Namespaces$Routes = Resource$Namespaces$Routes;\n class Resource$Namespaces$Services {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Namespaces$Services = Resource$Namespaces$Services;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n run_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.authorizeddomains = new Resource$Projects$Locations$Authorizeddomains(this.context);\n this.configurations = new Resource$Projects$Locations$Configurations(this.context);\n this.domainmappings = new Resource$Projects$Locations$Domainmappings(this.context);\n this.revisions = new Resource$Projects$Locations$Revisions(this.context);\n this.routes = new Resource$Projects$Locations$Routes(this.context);\n this.services = new Resource$Projects$Locations$Services(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/authorizeddomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations$Authorizeddomains = Resource$Projects$Locations$Authorizeddomains;\n class Resource$Projects$Locations$Configurations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/configurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations$Configurations = Resource$Projects$Locations$Configurations;\n class Resource$Projects$Locations$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations$Domainmappings = Resource$Projects$Locations$Domainmappings;\n class Resource$Projects$Locations$Revisions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/revisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations$Revisions = Resource$Projects$Locations$Revisions;\n class Resource$Projects$Locations$Routes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations$Routes = Resource$Projects$Locations$Routes;\n class Resource$Projects$Locations$Services {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1.Resource$Projects$Locations$Services = Resource$Projects$Locations$Services;\n})(run_v1 = exports.run_v1 || (exports.run_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar run_v1alpha1;\n(function (run_v1alpha1) {\n /**\n * Cloud Run API\n *\n * Deploy and manage user provided container images that scale automatically based on HTTP traffic.\n *\n * @example\n * const {google} = require('googleapis');\n * const run = google.run('v1alpha1');\n *\n * @namespace run\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Run\n */\n class Run {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.namespaces = new Resource$Namespaces(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n run_v1alpha1.Run = Run;\n class Resource$Namespaces {\n constructor(context) {\n this.context = context;\n this.authorizeddomains = new Resource$Namespaces$Authorizeddomains(this.context);\n this.cloudauditlogs = new Resource$Namespaces$Cloudauditlogs(this.context);\n this.configurations = new Resource$Namespaces$Configurations(this.context);\n this.domainmappings = new Resource$Namespaces$Domainmappings(this.context);\n this.eventtypes = new Resource$Namespaces$Eventtypes(this.context);\n this.pubsubs = new Resource$Namespaces$Pubsubs(this.context);\n this.revisions = new Resource$Namespaces$Revisions(this.context);\n this.routes = new Resource$Namespaces$Routes(this.context);\n this.services = new Resource$Namespaces$Services(this.context);\n this.storages = new Resource$Namespaces$Storages(this.context);\n this.triggers = new Resource$Namespaces$Triggers(this.context);\n }\n }\n run_v1alpha1.Resource$Namespaces = Resource$Namespaces;\n class Resource$Namespaces$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/domains.cloudrun.com/v1alpha1/{+parent}/authorizeddomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Authorizeddomains = Resource$Namespaces$Authorizeddomains;\n class Resource$Namespaces$Cloudauditlogs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceCloudAuditLog(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Cloudauditlogs = Resource$Namespaces$Cloudauditlogs;\n class Resource$Namespaces$Configurations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/serving.knative.dev/v1alpha1/{+parent}/configurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Configurations = Resource$Namespaces$Configurations;\n class Resource$Namespaces$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/domains.cloudrun.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/domains.cloudrun.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Domainmappings = Resource$Namespaces$Domainmappings;\n class Resource$Namespaces$Eventtypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/eventing.knative.dev/v1alpha1/{+parent}/eventtypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Eventtypes = Resource$Namespaces$Eventtypes;\n class Resource$Namespaces$Pubsubs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/events.cloud.google.com/v1alpha1/{+parent}/pubsubs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replacePubSub(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Pubsubs = Resource$Namespaces$Pubsubs;\n class Resource$Namespaces$Revisions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/revisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Revisions = Resource$Namespaces$Revisions;\n class Resource$Namespaces$Routes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Routes = Resource$Namespaces$Routes;\n class Resource$Namespaces$Services {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/serving.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Services = Resource$Namespaces$Services;\n class Resource$Namespaces$Storages {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/events.cloud.google.com/v1alpha1/{+parent}/storages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/events.cloud.google.com/v1alpha1/{+parent}/storages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceStorage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/events.cloud.google.com/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Storages = Resource$Namespaces$Storages;\n class Resource$Namespaces$Triggers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+parent}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+parent}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceTrigger(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/eventing.knative.dev/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Namespaces$Triggers = Resource$Namespaces$Triggers;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n run_v1alpha1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.authorizeddomains = new Resource$Projects$Locations$Authorizeddomains(this.context);\n this.cloudauditlogs = new Resource$Projects$Locations$Cloudauditlogs(this.context);\n this.configurations = new Resource$Projects$Locations$Configurations(this.context);\n this.domainmappings = new Resource$Projects$Locations$Domainmappings(this.context);\n this.eventtypes = new Resource$Projects$Locations$Eventtypes(this.context);\n this.pubsubs = new Resource$Projects$Locations$Pubsubs(this.context);\n this.revisions = new Resource$Projects$Locations$Revisions(this.context);\n this.routes = new Resource$Projects$Locations$Routes(this.context);\n this.services = new Resource$Projects$Locations$Services(this.context);\n this.storages = new Resource$Projects$Locations$Storages(this.context);\n this.triggers = new Resource$Projects$Locations$Triggers(this.context);\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Authorizeddomains {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/authorizeddomains').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Authorizeddomains = Resource$Projects$Locations$Authorizeddomains;\n class Resource$Projects$Locations$Cloudauditlogs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/cloudauditlogs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceCloudAuditLog(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Cloudauditlogs = Resource$Projects$Locations$Cloudauditlogs;\n class Resource$Projects$Locations$Configurations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/configurations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Configurations = Resource$Projects$Locations$Configurations;\n class Resource$Projects$Locations$Domainmappings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/domainmappings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Domainmappings = Resource$Projects$Locations$Domainmappings;\n class Resource$Projects$Locations$Eventtypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/eventtypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Eventtypes = Resource$Projects$Locations$Eventtypes;\n class Resource$Projects$Locations$Pubsubs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/pubsubs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/pubsubs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replacePubSub(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Pubsubs = Resource$Projects$Locations$Pubsubs;\n class Resource$Projects$Locations$Revisions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/revisions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Revisions = Resource$Projects$Locations$Revisions;\n class Resource$Projects$Locations$Routes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/routes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Routes = Resource$Projects$Locations$Routes;\n class Resource$Projects$Locations$Services {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceService(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Services = Resource$Projects$Locations$Services;\n class Resource$Projects$Locations$Storages {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/storages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/storages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceStorage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Storages = Resource$Projects$Locations$Storages;\n class Resource$Projects$Locations$Triggers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n replaceTrigger(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1alpha1.Resource$Projects$Locations$Triggers = Resource$Projects$Locations$Triggers;\n})(run_v1alpha1 = exports.run_v1alpha1 || (exports.run_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar run_v1beta1;\n(function (run_v1beta1) {\n /**\n * Cloud Run API\n *\n * Deploy and manage user provided container images that scale automatically based on HTTP traffic.\n *\n * @example\n * const {google} = require('googleapis');\n * const run = google.run('v1beta1');\n *\n * @namespace run\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Run\n */\n class Run {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.customresourcedefinitions = new Resource$Customresourcedefinitions(this.context);\n this.namespaces = new Resource$Namespaces(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n run_v1beta1.Run = Run;\n class Resource$Customresourcedefinitions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1beta1.Resource$Customresourcedefinitions = Resource$Customresourcedefinitions;\n class Resource$Namespaces {\n constructor(context) {\n this.context = context;\n this.customresourcedefinitions = new Resource$Namespaces$Customresourcedefinitions(this.context);\n }\n }\n run_v1beta1.Resource$Namespaces = Resource$Namespaces;\n class Resource$Namespaces$Customresourcedefinitions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/apis/apiextensions.k8s.io/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1beta1.Resource$Namespaces$Customresourcedefinitions = Resource$Namespaces$Customresourcedefinitions;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n run_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.customresourcedefinitions = new Resource$Projects$Locations$Customresourcedefinitions(this.context);\n }\n }\n run_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Customresourcedefinitions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://run.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/customresourcedefinitions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n run_v1beta1.Resource$Projects$Locations$Customresourcedefinitions = Resource$Projects$Locations$Customresourcedefinitions;\n})(run_v1beta1 = exports.run_v1beta1 || (exports.run_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.runtimeconfig_v1.Runtimeconfig,\n v1beta1: v1beta1_1.runtimeconfig_v1beta1.Runtimeconfig,\n};\nfunction runtimeconfig(versionOrOptions) {\n return googleapis_common_1.getAPI('runtimeconfig', versionOrOptions, exports.VERSIONS, this);\n}\nexports.runtimeconfig = runtimeconfig;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar runtimeconfig_v1;\n(function (runtimeconfig_v1) {\n /**\n * Cloud Runtime Configuration API\n *\n * The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.\n *\n * @example\n * const {google} = require('googleapis');\n * const runtimeconfig = google.runtimeconfig('v1');\n *\n * @namespace runtimeconfig\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Runtimeconfig\n */\n class Runtimeconfig {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n }\n }\n runtimeconfig_v1.Runtimeconfig = Runtimeconfig;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n runtimeconfig_v1.Resource$Operations = Resource$Operations;\n})(runtimeconfig_v1 = exports.runtimeconfig_v1 || (exports.runtimeconfig_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar runtimeconfig_v1beta1;\n(function (runtimeconfig_v1beta1) {\n /**\n * Cloud Runtime Configuration API\n *\n * The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.\n *\n * @example\n * const {google} = require('googleapis');\n * const runtimeconfig = google.runtimeconfig('v1beta1');\n *\n * @namespace runtimeconfig\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Runtimeconfig\n */\n class Runtimeconfig {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n runtimeconfig_v1beta1.Runtimeconfig = Runtimeconfig;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.configs = new Resource$Projects$Configs(this.context);\n }\n }\n runtimeconfig_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Configs {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Configs$Operations(this.context);\n this.variables = new Resource$Projects$Configs$Variables(this.context);\n this.waiters = new Resource$Projects$Configs$Waiters(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/configs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/configs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n runtimeconfig_v1beta1.Resource$Projects$Configs = Resource$Projects$Configs;\n class Resource$Projects$Configs$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n runtimeconfig_v1beta1.Resource$Projects$Configs$Operations = Resource$Projects$Configs$Operations;\n class Resource$Projects$Configs$Variables {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n runtimeconfig_v1beta1.Resource$Projects$Configs$Variables = Resource$Projects$Configs$Variables;\n class Resource$Projects$Configs$Waiters {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/waiters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/waiters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://runtimeconfig.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n runtimeconfig_v1beta1.Resource$Projects$Configs$Waiters = Resource$Projects$Configs$Waiters;\n})(runtimeconfig_v1beta1 = exports.runtimeconfig_v1beta1 || (exports.runtimeconfig_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v4_1 = require(\"./v4\");\nexports.VERSIONS = {\n v4: v4_1.safebrowsing_v4.Safebrowsing,\n};\nfunction safebrowsing(versionOrOptions) {\n return googleapis_common_1.getAPI('safebrowsing', versionOrOptions, exports.VERSIONS, this);\n}\nexports.safebrowsing = safebrowsing;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar safebrowsing_v4;\n(function (safebrowsing_v4) {\n /**\n * Safe Browsing API\n *\n * Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.\n *\n * @example\n * const {google} = require('googleapis');\n * const safebrowsing = google.safebrowsing('v4');\n *\n * @namespace safebrowsing\n * @type {Function}\n * @version v4\n * @variation v4\n * @param {object=} options Options for Safebrowsing\n */\n class Safebrowsing {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.encodedFullHashes = new Resource$Encodedfullhashes(this.context);\n this.encodedUpdates = new Resource$Encodedupdates(this.context);\n this.fullHashes = new Resource$Fullhashes(this.context);\n this.threatHits = new Resource$Threathits(this.context);\n this.threatLists = new Resource$Threatlists(this.context);\n this.threatListUpdates = new Resource$Threatlistupdates(this.context);\n this.threatMatches = new Resource$Threatmatches(this.context);\n }\n }\n safebrowsing_v4.Safebrowsing = Safebrowsing;\n class Resource$Encodedfullhashes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/encodedFullHashes/{encodedRequest}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['encodedRequest'],\n pathParams: ['encodedRequest'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Encodedfullhashes = Resource$Encodedfullhashes;\n class Resource$Encodedupdates {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/encodedUpdates/{encodedRequest}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['encodedRequest'],\n pathParams: ['encodedRequest'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Encodedupdates = Resource$Encodedupdates;\n class Resource$Fullhashes {\n constructor(context) {\n this.context = context;\n }\n find(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/fullHashes:find').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Fullhashes = Resource$Fullhashes;\n class Resource$Threathits {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/threatHits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Threathits = Resource$Threathits;\n class Resource$Threatlists {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/threatLists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Threatlists = Resource$Threatlists;\n class Resource$Threatlistupdates {\n constructor(context) {\n this.context = context;\n }\n fetch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/threatListUpdates:fetch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Threatlistupdates = Resource$Threatlistupdates;\n class Resource$Threatmatches {\n constructor(context) {\n this.context = context;\n }\n find(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://safebrowsing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/threatMatches:find').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n safebrowsing_v4.Resource$Threatmatches = Resource$Threatmatches;\n})(safebrowsing_v4 = exports.safebrowsing_v4 || (exports.safebrowsing_v4 = {}));\n//# sourceMappingURL=v4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1alpha1: v1alpha1_1.sasportal_v1alpha1.Sasportal,\n};\nfunction sasportal(versionOrOptions) {\n return googleapis_common_1.getAPI('sasportal', versionOrOptions, exports.VERSIONS, this);\n}\nexports.sasportal = sasportal;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar sasportal_v1alpha1;\n(function (sasportal_v1alpha1) {\n /**\n * SAS Portal API\n *\n *\n *\n * @example\n * const {google} = require('googleapis');\n * const sasportal = google.sasportal('v1alpha1');\n *\n * @namespace sasportal\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Sasportal\n */\n class Sasportal {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.customers = new Resource$Customers(this.context);\n this.installer = new Resource$Installer(this.context);\n this.nodes = new Resource$Nodes(this.context);\n this.policies = new Resource$Policies(this.context);\n }\n }\n sasportal_v1alpha1.Sasportal = Sasportal;\n class Resource$Customers {\n constructor(context) {\n this.context = context;\n this.devices = new Resource$Customers$Devices(this.context);\n this.nodes = new Resource$Customers$Nodes(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/customers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Customers = Resource$Customers;\n class Resource$Customers$Devices {\n constructor(context) {\n this.context = context;\n }\n bulk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Customers$Devices = Resource$Customers$Devices;\n class Resource$Customers$Nodes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Customers$Nodes = Resource$Customers$Nodes;\n class Resource$Installer {\n constructor(context) {\n this.context = context;\n }\n generateSecret(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/installer:generateSecret').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/installer:validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Installer = Resource$Installer;\n class Resource$Nodes {\n constructor(context) {\n this.context = context;\n this.devices = new Resource$Nodes$Devices(this.context);\n this.nodes = new Resource$Nodes$Nodes(this.context);\n }\n }\n sasportal_v1alpha1.Resource$Nodes = Resource$Nodes;\n class Resource$Nodes$Devices {\n constructor(context) {\n this.context = context;\n }\n bulk(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:bulk').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n createSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices:createSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/devices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n signDevice(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:signDevice').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSigned(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:updateSigned').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Nodes$Devices = Resource$Nodes$Devices;\n class Resource$Nodes$Nodes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Nodes$Nodes = Resource$Nodes$Nodes;\n class Resource$Policies {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/policies:get').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n set(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/policies:set').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n test(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sasportal.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/policies:test').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sasportal_v1alpha1.Resource$Policies = Resource$Policies;\n})(sasportal_v1alpha1 = exports.sasportal_v1alpha1 || (exports.sasportal_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.script_v1.Script,\n};\nfunction script(versionOrOptions) {\n return googleapis_common_1.getAPI('script', versionOrOptions, exports.VERSIONS, this);\n}\nexports.script = script;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar script_v1;\n(function (script_v1) {\n /**\n * Apps Script API\n *\n * Manages and executes Google Apps Script projects.\n *\n * @example\n * const {google} = require('googleapis');\n * const script = google.script('v1');\n *\n * @namespace script\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Script\n */\n class Script {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.processes = new Resource$Processes(this.context);\n this.projects = new Resource$Projects(this.context);\n this.scripts = new Resource$Scripts(this.context);\n }\n }\n script_v1.Script = Script;\n class Resource$Processes {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/processes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listScriptProcesses(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/processes:listScriptProcesses').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n script_v1.Resource$Processes = Resource$Processes;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.deployments = new Resource$Projects$Deployments(this.context);\n this.versions = new Resource$Projects$Versions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getContent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/content').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getMetrics(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/metrics').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateContent(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/content').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n script_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Deployments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/deployments/{deploymentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['scriptId', 'deploymentId'],\n pathParams: ['deploymentId', 'scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/deployments/{deploymentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId', 'deploymentId'],\n pathParams: ['deploymentId', 'scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/deployments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/deployments/{deploymentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['scriptId', 'deploymentId'],\n pathParams: ['deploymentId', 'scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n script_v1.Resource$Projects$Deployments = Resource$Projects$Deployments;\n class Resource$Projects$Versions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/versions/{versionNumber}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId', 'versionNumber'],\n pathParams: ['scriptId', 'versionNumber'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{scriptId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n script_v1.Resource$Projects$Versions = Resource$Projects$Versions;\n class Resource$Scripts {\n constructor(context) {\n this.context = context;\n }\n run(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://script.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/scripts/{scriptId}:run').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['scriptId'],\n pathParams: ['scriptId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n script_v1.Resource$Scripts = Resource$Scripts;\n})(script_v1 = exports.script_v1 || (exports.script_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1beta1: v1beta1_1.secretmanager_v1beta1.Secretmanager,\n};\nfunction secretmanager(versionOrOptions) {\n return googleapis_common_1.getAPI('secretmanager', versionOrOptions, exports.VERSIONS, this);\n}\nexports.secretmanager = secretmanager;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar secretmanager_v1beta1;\n(function (secretmanager_v1beta1) {\n /**\n * Secret Manager API\n *\n * Stores, manages, and secures access to application secrets.\n *\n * @example\n * const {google} = require('googleapis');\n * const secretmanager = google.secretmanager('v1beta1');\n *\n * @namespace secretmanager\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Secretmanager\n */\n class Secretmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n secretmanager_v1beta1.Secretmanager = Secretmanager;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n this.secrets = new Resource$Projects$Secrets(this.context);\n }\n }\n secretmanager_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n secretmanager_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Secrets {\n constructor(context) {\n this.context = context;\n this.versions = new Resource$Projects$Secrets$Versions(this.context);\n }\n addVersion(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}:addVersion').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/secrets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/secrets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n secretmanager_v1beta1.Resource$Projects$Secrets = Resource$Projects$Secrets;\n class Resource$Projects$Secrets$Versions {\n constructor(context) {\n this.context = context;\n }\n access(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:access').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n destroy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:destroy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:disable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:enable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://secretmanager.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n secretmanager_v1beta1.Resource$Projects$Secrets$Versions = Resource$Projects$Secrets$Versions;\n})(secretmanager_v1beta1 = exports.secretmanager_v1beta1 || (exports.secretmanager_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nconst v1p1alpha1_1 = require(\"./v1p1alpha1\");\nconst v1p1beta1_1 = require(\"./v1p1beta1\");\nexports.VERSIONS = {\n v1: v1_1.securitycenter_v1.Securitycenter,\n v1beta1: v1beta1_1.securitycenter_v1beta1.Securitycenter,\n v1p1alpha1: v1p1alpha1_1.securitycenter_v1p1alpha1.Securitycenter,\n v1p1beta1: v1p1beta1_1.securitycenter_v1p1beta1.Securitycenter,\n};\nfunction securitycenter(versionOrOptions) {\n return googleapis_common_1.getAPI('securitycenter', versionOrOptions, exports.VERSIONS, this);\n}\nexports.securitycenter = securitycenter;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar securitycenter_v1;\n(function (securitycenter_v1) {\n /**\n * Cloud Security Command Center API\n *\n * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization.\n *\n * @example\n * const {google} = require('googleapis');\n * const securitycenter = google.securitycenter('v1');\n *\n * @namespace securitycenter\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Securitycenter\n */\n class Securitycenter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.organizations = new Resource$Organizations(this.context);\n }\n }\n securitycenter_v1.Securitycenter = Securitycenter;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.assets = new Resource$Organizations$Assets(this.context);\n this.operations = new Resource$Organizations$Operations(this.context);\n this.sources = new Resource$Organizations$Sources(this.context);\n }\n getOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Assets {\n constructor(context) {\n this.context = context;\n }\n group(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/assets:group').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/assets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runDiscovery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/assets:runDiscovery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1.Resource$Organizations$Assets = Resource$Organizations$Assets;\n class Resource$Organizations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1.Resource$Organizations$Operations = Resource$Organizations$Operations;\n class Resource$Organizations$Sources {\n constructor(context) {\n this.context = context;\n this.findings = new Resource$Organizations$Sources$Findings(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/sources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1.Resource$Organizations$Sources = Resource$Organizations$Sources;\n class Resource$Organizations$Sources$Findings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n group(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/findings:group').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setState(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:setState').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1.Resource$Organizations$Sources$Findings = Resource$Organizations$Sources$Findings;\n})(securitycenter_v1 = exports.securitycenter_v1 || (exports.securitycenter_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar securitycenter_v1beta1;\n(function (securitycenter_v1beta1) {\n /**\n * Cloud Security Command Center API\n *\n * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization.\n *\n * @example\n * const {google} = require('googleapis');\n * const securitycenter = google.securitycenter('v1beta1');\n *\n * @namespace securitycenter\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Securitycenter\n */\n class Securitycenter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.organizations = new Resource$Organizations(this.context);\n }\n }\n securitycenter_v1beta1.Securitycenter = Securitycenter;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.assets = new Resource$Organizations$Assets(this.context);\n this.operations = new Resource$Organizations$Operations(this.context);\n this.sources = new Resource$Organizations$Sources(this.context);\n }\n getOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateOrganizationSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1beta1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Assets {\n constructor(context) {\n this.context = context;\n }\n group(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/assets:group').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/assets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n runDiscovery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/assets:runDiscovery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1beta1.Resource$Organizations$Assets = Resource$Organizations$Assets;\n class Resource$Organizations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1beta1.Resource$Organizations$Operations = Resource$Organizations$Operations;\n class Resource$Organizations$Sources {\n constructor(context) {\n this.context = context;\n this.findings = new Resource$Organizations$Sources$Findings(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/sources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/sources').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1beta1.Resource$Organizations$Sources = Resource$Organizations$Sources;\n class Resource$Organizations$Sources$Findings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n group(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/findings:group').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setState(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:setState').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateSecurityMarks(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1beta1.Resource$Organizations$Sources$Findings = Resource$Organizations$Sources$Findings;\n})(securitycenter_v1beta1 = exports.securitycenter_v1beta1 || (exports.securitycenter_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar securitycenter_v1p1alpha1;\n(function (securitycenter_v1p1alpha1) {\n /**\n * Cloud Security Command Center API\n *\n * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization.\n *\n * @example\n * const {google} = require('googleapis');\n * const securitycenter = google.securitycenter('v1p1alpha1');\n *\n * @namespace securitycenter\n * @type {Function}\n * @version v1p1alpha1\n * @variation v1p1alpha1\n * @param {object=} options Options for Securitycenter\n */\n class Securitycenter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.organizations = new Resource$Organizations(this.context);\n }\n }\n securitycenter_v1p1alpha1.Securitycenter = Securitycenter;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Organizations$Operations(this.context);\n }\n }\n securitycenter_v1p1alpha1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1alpha1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1p1alpha1.Resource$Organizations$Operations = Resource$Organizations$Operations;\n})(securitycenter_v1p1alpha1 = exports.securitycenter_v1p1alpha1 || (exports.securitycenter_v1p1alpha1 = {}));\n//# sourceMappingURL=v1p1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar securitycenter_v1p1beta1;\n(function (securitycenter_v1p1beta1) {\n /**\n * Cloud Security Command Center API\n *\n * Cloud Security Command Center API provides access to temporal views of assets and findings within an organization.\n *\n * @example\n * const {google} = require('googleapis');\n * const securitycenter = google.securitycenter('v1p1beta1');\n *\n * @namespace securitycenter\n * @type {Function}\n * @version v1p1beta1\n * @variation v1p1beta1\n * @param {object=} options Options for Securitycenter\n */\n class Securitycenter {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.organizations = new Resource$Organizations(this.context);\n }\n }\n securitycenter_v1p1beta1.Securitycenter = Securitycenter;\n class Resource$Organizations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Organizations$Operations(this.context);\n }\n }\n securitycenter_v1p1beta1.Resource$Organizations = Resource$Organizations;\n class Resource$Organizations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://securitycenter.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n securitycenter_v1p1beta1.Resource$Organizations$Operations = Resource$Organizations$Operations;\n})(securitycenter_v1p1beta1 = exports.securitycenter_v1p1beta1 || (exports.securitycenter_v1p1beta1 = {}));\n//# sourceMappingURL=v1p1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.servicebroker_v1.Servicebroker,\n v1alpha1: v1alpha1_1.servicebroker_v1alpha1.Servicebroker,\n v1beta1: v1beta1_1.servicebroker_v1beta1.Servicebroker,\n};\nfunction servicebroker(versionOrOptions) {\n return googleapis_common_1.getAPI('servicebroker', versionOrOptions, exports.VERSIONS, this);\n}\nexports.servicebroker = servicebroker;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicebroker_v1;\n(function (servicebroker_v1) {\n /**\n * Service Broker API\n *\n * The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/).\n *\n * @example\n * const {google} = require('googleapis');\n * const servicebroker = google.servicebroker('v1');\n *\n * @namespace servicebroker\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Servicebroker\n */\n class Servicebroker {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.v1 = new Resource$V1(this.context);\n }\n }\n servicebroker_v1.Servicebroker = Servicebroker;\n class Resource$V1 {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1.Resource$V1 = Resource$V1;\n})(servicebroker_v1 = exports.servicebroker_v1 || (exports.servicebroker_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicebroker_v1alpha1;\n(function (servicebroker_v1alpha1) {\n /**\n * Service Broker API\n *\n * The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/).\n *\n * @example\n * const {google} = require('googleapis');\n * const servicebroker = google.servicebroker('v1alpha1');\n *\n * @namespace servicebroker\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Servicebroker\n */\n class Servicebroker {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n this.v1alpha1 = new Resource$V1alpha1(this.context);\n }\n }\n servicebroker_v1alpha1.Servicebroker = Servicebroker;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.brokers = new Resource$Projects$Brokers(this.context);\n }\n }\n servicebroker_v1alpha1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Brokers {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Brokers$Instances(this.context);\n this.service_instances = new Resource$Projects$Brokers$Service_instances(this.context);\n this.v2 = new Resource$Projects$Brokers$V2(this.context);\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers = Resource$Projects$Brokers;\n class Resource$Projects$Brokers$Instances {\n constructor(context) {\n this.context = context;\n this.service_bindings = new Resource$Projects$Brokers$Instances$Service_bindings(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$Instances = Resource$Projects$Brokers$Instances;\n class Resource$Projects$Brokers$Instances$Service_bindings {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/service_bindings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$Instances$Service_bindings = Resource$Projects$Brokers$Instances$Service_bindings;\n class Resource$Projects$Brokers$Service_instances {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/service_instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$Service_instances = Resource$Projects$Brokers$Service_instances;\n class Resource$Projects$Brokers$V2 {\n constructor(context) {\n this.context = context;\n this.catalog = new Resource$Projects$Brokers$V2$Catalog(this.context);\n this.service_instances = new Resource$Projects$Brokers$V2$Service_instances(this.context);\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$V2 = Resource$Projects$Brokers$V2;\n class Resource$Projects$Brokers$V2$Catalog {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/v2/catalog').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$V2$Catalog = Resource$Projects$Brokers$V2$Catalog;\n class Resource$Projects$Brokers$V2$Service_instances {\n constructor(context) {\n this.context = context;\n this.service_bindings = new Resource$Projects$Brokers$V2$Service_instances$Service_bindings(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{+instance_id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['parent', 'instance_id'],\n pathParams: ['instance_id', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'instanceId'],\n pathParams: ['instanceId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getLast_operation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/last_operation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'instanceId'],\n pathParams: ['instanceId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{+instance_id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['parent', 'instance_id'],\n pathParams: ['instance_id', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$V2$Service_instances = Resource$Projects$Brokers$V2$Service_instances;\n class Resource$Projects$Brokers$V2$Service_instances$Service_bindings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/service_bindings/{+binding_id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['parent', 'instanceId', 'binding_id'],\n pathParams: ['binding_id', 'instanceId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{instanceId}/service_bindings/{bindingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['parent', 'instanceId', 'bindingId'],\n pathParams: ['bindingId', 'instanceId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/service_bindings/{+bindingId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'instanceId', 'bindingId'],\n pathParams: ['bindingId', 'instanceId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getLast_operation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1alpha1/{+parent}/v2/service_instances/{+instanceId}/service_bindings/{+bindingId}/last_operation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent', 'instanceId', 'bindingId'],\n pathParams: ['bindingId', 'instanceId', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$Projects$Brokers$V2$Service_instances$Service_bindings = Resource$Projects$Brokers$V2$Service_instances$Service_bindings;\n class Resource$V1alpha1 {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1alpha1.Resource$V1alpha1 = Resource$V1alpha1;\n})(servicebroker_v1alpha1 = exports.servicebroker_v1alpha1 || (exports.servicebroker_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicebroker_v1beta1;\n(function (servicebroker_v1beta1) {\n /**\n * Service Broker API\n *\n * The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/).\n *\n * @example\n * const {google} = require('googleapis');\n * const servicebroker = google.servicebroker('v1beta1');\n *\n * @namespace servicebroker\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Servicebroker\n */\n class Servicebroker {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n this.v1beta1 = new Resource$V1beta1(this.context);\n }\n }\n servicebroker_v1beta1.Servicebroker = Servicebroker;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.brokers = new Resource$Projects$Brokers(this.context);\n }\n }\n servicebroker_v1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Brokers {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Brokers$Instances(this.context);\n this.v2 = new Resource$Projects$Brokers$V2(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/brokers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/brokers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers = Resource$Projects$Brokers;\n class Resource$Projects$Brokers$Instances {\n constructor(context) {\n this.context = context;\n this.bindings = new Resource$Projects$Brokers$Instances$Bindings(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getLast_operation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers$Instances = Resource$Projects$Brokers$Instances;\n class Resource$Projects$Brokers$Instances$Bindings {\n constructor(context) {\n this.context = context;\n }\n getLast_operation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/bindings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers$Instances$Bindings = Resource$Projects$Brokers$Instances$Bindings;\n class Resource$Projects$Brokers$V2 {\n constructor(context) {\n this.context = context;\n this.catalog = new Resource$Projects$Brokers$V2$Catalog(this.context);\n this.service_instances = new Resource$Projects$Brokers$V2$Service_instances(this.context);\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers$V2 = Resource$Projects$Brokers$V2;\n class Resource$Projects$Brokers$V2$Catalog {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/v2/catalog').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers$V2$Catalog = Resource$Projects$Brokers$V2$Catalog;\n class Resource$Projects$Brokers$V2$Service_instances {\n constructor(context) {\n this.context = context;\n this.service_bindings = new Resource$Projects$Brokers$V2$Service_instances$Service_bindings(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/v2/service_instances/{+instance_id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['parent', 'instance_id'],\n pathParams: ['instance_id', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getLast_operation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers$V2$Service_instances = Resource$Projects$Brokers$V2$Service_instances;\n class Resource$Projects$Brokers$V2$Service_instances$Service_bindings {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/service_bindings/{+binding_id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['parent', 'binding_id'],\n pathParams: ['binding_id', 'parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getLast_operation(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}/last_operation').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$Projects$Brokers$V2$Service_instances$Service_bindings = Resource$Projects$Brokers$V2$Service_instances$Service_bindings;\n class Resource$V1beta1 {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicebroker.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicebroker_v1beta1.Resource$V1beta1 = Resource$V1beta1;\n})(servicebroker_v1beta1 = exports.servicebroker_v1beta1 || (exports.servicebroker_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.serviceconsumermanagement_v1.Serviceconsumermanagement,\n};\nfunction serviceconsumermanagement(versionOrOptions) {\n return googleapis_common_1.getAPI('serviceconsumermanagement', versionOrOptions, exports.VERSIONS, this);\n}\nexports.serviceconsumermanagement = serviceconsumermanagement;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar serviceconsumermanagement_v1;\n(function (serviceconsumermanagement_v1) {\n /**\n * Service Consumer Management API\n *\n * Manages the service consumers of a Service Infrastructure service.\n *\n * @example\n * const {google} = require('googleapis');\n * const serviceconsumermanagement = google.serviceconsumermanagement('v1');\n *\n * @namespace serviceconsumermanagement\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Serviceconsumermanagement\n */\n class Serviceconsumermanagement {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n serviceconsumermanagement_v1.Serviceconsumermanagement = Serviceconsumermanagement;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceconsumermanagement_v1.Resource$Operations = Resource$Operations;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n this.tenancyUnits = new Resource$Services$Tenancyunits(this.context);\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceconsumermanagement_v1.Resource$Services = Resource$Services;\n class Resource$Services$Tenancyunits {\n constructor(context) {\n this.context = context;\n }\n addProject(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:addProject').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n applyProjectConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:applyProjectConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n attachProject(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:attachProject').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/tenancyUnits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n deleteProject(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:deleteProject').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/tenancyUnits').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeProject(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:removeProject').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undeleteProject(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceconsumermanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:undeleteProject').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceconsumermanagement_v1.Resource$Services$Tenancyunits = Resource$Services$Tenancyunits;\n})(serviceconsumermanagement_v1 = exports.serviceconsumermanagement_v1 || (exports.serviceconsumermanagement_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.servicecontrol_v1.Servicecontrol,\n};\nfunction servicecontrol(versionOrOptions) {\n return googleapis_common_1.getAPI('servicecontrol', versionOrOptions, exports.VERSIONS, this);\n}\nexports.servicecontrol = servicecontrol;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicecontrol_v1;\n(function (servicecontrol_v1) {\n /**\n * Service Control API\n *\n * Provides control plane functionality to managed services, such as logging, monitoring, and status checks.\n *\n * @example\n * const {google} = require('googleapis');\n * const servicecontrol = google.servicecontrol('v1');\n *\n * @namespace servicecontrol\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Servicecontrol\n */\n class Servicecontrol {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.services = new Resource$Services(this.context);\n }\n }\n servicecontrol_v1.Servicecontrol = Servicecontrol;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n }\n allocateQuota(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicecontrol.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}:allocateQuota').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n check(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicecontrol.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}:check').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n report(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicecontrol.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}:report').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicecontrol_v1.Resource$Services = Resource$Services;\n})(servicecontrol_v1 = exports.servicecontrol_v1 || (exports.servicecontrol_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.servicemanagement_v1.Servicemanagement,\n};\nfunction servicemanagement(versionOrOptions) {\n return googleapis_common_1.getAPI('servicemanagement', versionOrOptions, exports.VERSIONS, this);\n}\nexports.servicemanagement = servicemanagement;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicemanagement_v1;\n(function (servicemanagement_v1) {\n /**\n * Service Management API\n *\n * Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers.\n *\n * @example\n * const {google} = require('googleapis');\n * const servicemanagement = google.servicemanagement('v1');\n *\n * @namespace servicemanagement\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Servicemanagement\n */\n class Servicemanagement {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n servicemanagement_v1.Servicemanagement = Servicemanagement;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicemanagement_v1.Resource$Operations = Resource$Operations;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n this.configs = new Resource$Services$Configs(this.context);\n this.consumers = new Resource$Services$Consumers(this.context);\n this.rollouts = new Resource$Services$Rollouts(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}:disable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}:enable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n generateConfigReport(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services:generateConfigReport').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/config').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicemanagement_v1.Resource$Services = Resource$Services;\n class Resource$Services$Configs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/configs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/configs/{configId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['serviceName', 'configId'],\n pathParams: ['configId', 'serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/configs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n submit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/configs:submit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicemanagement_v1.Resource$Services$Configs = Resource$Services$Configs;\n class Resource$Services$Consumers {\n constructor(context) {\n this.context = context;\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicemanagement_v1.Resource$Services$Consumers = Resource$Services$Consumers;\n class Resource$Services$Rollouts {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/rollouts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/rollouts/{rolloutId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['serviceName', 'rolloutId'],\n pathParams: ['rolloutId', 'serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicemanagement.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/services/{serviceName}/rollouts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['serviceName'],\n pathParams: ['serviceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicemanagement_v1.Resource$Services$Rollouts = Resource$Services$Rollouts;\n})(servicemanagement_v1 = exports.servicemanagement_v1 || (exports.servicemanagement_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta_1 = require(\"./v1beta\");\nexports.VERSIONS = {\n v1: v1_1.servicenetworking_v1.Servicenetworking,\n v1beta: v1beta_1.servicenetworking_v1beta.Servicenetworking,\n};\nfunction servicenetworking(versionOrOptions) {\n return googleapis_common_1.getAPI('servicenetworking', versionOrOptions, exports.VERSIONS, this);\n}\nexports.servicenetworking = servicenetworking;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicenetworking_v1;\n(function (servicenetworking_v1) {\n /**\n * Service Networking API\n *\n * Provides automatic management of network configurations necessary for certain services.\n *\n * @example\n * const {google} = require('googleapis');\n * const servicenetworking = google.servicenetworking('v1');\n *\n * @namespace servicenetworking\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Servicenetworking\n */\n class Servicenetworking {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n servicenetworking_v1.Servicenetworking = Servicenetworking;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicenetworking_v1.Resource$Operations = Resource$Operations;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n this.connections = new Resource$Services$Connections(this.context);\n }\n addSubnetwork(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:addSubnetwork').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disableVpcServiceControls(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:disableVpcServiceControls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enableVpcServiceControls(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:enableVpcServiceControls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchRange(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:searchRange').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n validate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}:validate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicenetworking_v1.Resource$Services = Resource$Services;\n class Resource$Services$Connections {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicenetworking_v1.Resource$Services$Connections = Resource$Services$Connections;\n})(servicenetworking_v1 = exports.servicenetworking_v1 || (exports.servicenetworking_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar servicenetworking_v1beta;\n(function (servicenetworking_v1beta) {\n /**\n * Service Networking API\n *\n * Provides automatic management of network configurations necessary for certain services.\n *\n * @example\n * const {google} = require('googleapis');\n * const servicenetworking = google.servicenetworking('v1beta');\n *\n * @namespace servicenetworking\n * @type {Function}\n * @version v1beta\n * @variation v1beta\n * @param {object=} options Options for Servicenetworking\n */\n class Servicenetworking {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n servicenetworking_v1beta.Servicenetworking = Servicenetworking;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicenetworking_v1beta.Resource$Operations = Resource$Operations;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n this.connections = new Resource$Services$Connections(this.context);\n }\n addSubnetwork(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}:addSubnetwork').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n searchRange(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}:searchRange').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateConnections(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicenetworking_v1beta.Resource$Services = Resource$Services;\n class Resource$Services$Connections {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://servicenetworking.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/connections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n servicenetworking_v1beta.Resource$Services$Connections = Resource$Services$Connections;\n})(servicenetworking_v1beta = exports.servicenetworking_v1beta || (exports.servicenetworking_v1beta = {}));\n//# sourceMappingURL=v1beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.serviceusage_v1.Serviceusage,\n v1beta1: v1beta1_1.serviceusage_v1beta1.Serviceusage,\n};\nfunction serviceusage(versionOrOptions) {\n return googleapis_common_1.getAPI('serviceusage', versionOrOptions, exports.VERSIONS, this);\n}\nexports.serviceusage = serviceusage;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar serviceusage_v1;\n(function (serviceusage_v1) {\n /**\n * Service Usage API\n *\n * Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.\n *\n * @example\n * const {google} = require('googleapis');\n * const serviceusage = google.serviceusage('v1');\n *\n * @namespace serviceusage\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Serviceusage\n */\n class Serviceusage {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n serviceusage_v1.Serviceusage = Serviceusage;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceusage_v1.Resource$Operations = Resource$Operations;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n }\n batchEnable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/services:batchEnable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:disable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:enable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceusage_v1.Resource$Services = Resource$Services;\n})(serviceusage_v1 = exports.serviceusage_v1 || (exports.serviceusage_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar serviceusage_v1beta1;\n(function (serviceusage_v1beta1) {\n /**\n * Service Usage API\n *\n * Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.\n *\n * @example\n * const {google} = require('googleapis');\n * const serviceusage = google.serviceusage('v1beta1');\n *\n * @namespace serviceusage\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Serviceusage\n */\n class Serviceusage {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.services = new Resource$Services(this.context);\n }\n }\n serviceusage_v1beta1.Serviceusage = Serviceusage;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceusage_v1beta1.Resource$Operations = Resource$Operations;\n class Resource$Services {\n constructor(context) {\n this.context = context;\n }\n batchEnable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/services:batchEnable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n disable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:disable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n enable(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}:enable').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://serviceusage.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/{+parent}/services').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n serviceusage_v1beta1.Resource$Services = Resource$Services;\n})(serviceusage_v1beta1 = exports.serviceusage_v1beta1 || (exports.serviceusage_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v4_1 = require(\"./v4\");\nexports.VERSIONS = {\n v4: v4_1.sheets_v4.Sheets,\n};\nfunction sheets(versionOrOptions) {\n return googleapis_common_1.getAPI('sheets', versionOrOptions, exports.VERSIONS, this);\n}\nexports.sheets = sheets;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar sheets_v4;\n(function (sheets_v4) {\n /**\n * Google Sheets API\n *\n * Reads and writes Google Sheets.\n *\n * @example\n * const {google} = require('googleapis');\n * const sheets = google.sheets('v4');\n *\n * @namespace sheets\n * @type {Function}\n * @version v4\n * @variation v4\n * @param {object=} options Options for Sheets\n */\n class Sheets {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.spreadsheets = new Resource$Spreadsheets(this.context);\n }\n }\n sheets_v4.Sheets = Sheets;\n class Resource$Spreadsheets {\n constructor(context) {\n this.context = context;\n this.developerMetadata = new Resource$Spreadsheets$Developermetadata(this.context);\n this.sheets = new Resource$Spreadsheets$Sheets(this.context);\n this.values = new Resource$Spreadsheets$Values(this.context);\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getByDataFilter(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}:getByDataFilter').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sheets_v4.Resource$Spreadsheets = Resource$Spreadsheets;\n class Resource$Spreadsheets$Developermetadata {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v4/spreadsheets/{spreadsheetId}/developerMetadata/{metadataId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['spreadsheetId', 'metadataId'],\n pathParams: ['metadataId', 'spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n search(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v4/spreadsheets/{spreadsheetId}/developerMetadata:search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sheets_v4.Resource$Spreadsheets$Developermetadata = Resource$Spreadsheets$Developermetadata;\n class Resource$Spreadsheets$Sheets {\n constructor(context) {\n this.context = context;\n }\n copyTo(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v4/spreadsheets/{spreadsheetId}/sheets/{sheetId}:copyTo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId', 'sheetId'],\n pathParams: ['sheetId', 'spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sheets_v4.Resource$Spreadsheets$Sheets = Resource$Spreadsheets$Sheets;\n class Resource$Spreadsheets$Values {\n constructor(context) {\n this.context = context;\n }\n append(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}:append').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId', 'range'],\n pathParams: ['range', 'spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchClear(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchClear').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchClearByDataFilter(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v4/spreadsheets/{spreadsheetId}/values:batchClearByDataFilter').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchGetByDataFilter(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v4/spreadsheets/{spreadsheetId}/values:batchGetByDataFilter').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdateByDataFilter(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v4/spreadsheets/{spreadsheetId}/values:batchUpdateByDataFilter').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId'],\n pathParams: ['spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n clear(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}:clear').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['spreadsheetId', 'range'],\n pathParams: ['range', 'spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['spreadsheetId', 'range'],\n pathParams: ['range', 'spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sheets.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v4/spreadsheets/{spreadsheetId}/values/{range}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['spreadsheetId', 'range'],\n pathParams: ['range', 'spreadsheetId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sheets_v4.Resource$Spreadsheets$Values = Resource$Spreadsheets$Values;\n})(sheets_v4 = exports.sheets_v4 || (exports.sheets_v4 = {}));\n//# sourceMappingURL=v4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.siteVerification_v1.Siteverification,\n};\nfunction siteVerification(versionOrOptions) {\n return googleapis_common_1.getAPI('siteVerification', versionOrOptions, exports.VERSIONS, this);\n}\nexports.siteVerification = siteVerification;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar siteVerification_v1;\n(function (siteVerification_v1) {\n /**\n * Google Site Verification API\n *\n * Verifies ownership of websites or domains with Google.\n *\n * @example\n * const {google} = require('googleapis');\n * const siteVerification = google.siteVerification('v1');\n *\n * @namespace siteVerification\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Siteverification\n */\n class Siteverification {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.webResource = new Resource$Webresource(this.context);\n }\n }\n siteVerification_v1.Siteverification = Siteverification;\n class Resource$Webresource {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getToken(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/token').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/webResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['verificationMethod'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/webResource').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/siteVerification/v1/webResource/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n siteVerification_v1.Resource$Webresource = Resource$Webresource;\n})(siteVerification_v1 = exports.siteVerification_v1 || (exports.siteVerification_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.slides_v1.Slides,\n};\nfunction slides(versionOrOptions) {\n return googleapis_common_1.getAPI('slides', versionOrOptions, exports.VERSIONS, this);\n}\nexports.slides = slides;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar slides_v1;\n(function (slides_v1) {\n /**\n * Google Slides API\n *\n * Reads and writes Google Slides presentations.\n *\n * @example\n * const {google} = require('googleapis');\n * const slides = google.slides('v1');\n *\n * @namespace slides\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Slides\n */\n class Slides {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.presentations = new Resource$Presentations(this.context);\n }\n }\n slides_v1.Slides = Slides;\n class Resource$Presentations {\n constructor(context) {\n this.context = context;\n this.pages = new Resource$Presentations$Pages(this.context);\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://slides.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/presentations/{presentationId}:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['presentationId'],\n pathParams: ['presentationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://slides.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/presentations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://slides.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/presentations/{+presentationId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['presentationId'],\n pathParams: ['presentationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n slides_v1.Resource$Presentations = Resource$Presentations;\n class Resource$Presentations$Pages {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://slides.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/presentations/{presentationId}/pages/{pageObjectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['presentationId', 'pageObjectId'],\n pathParams: ['pageObjectId', 'presentationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getThumbnail(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://slides.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/presentations/{presentationId}/pages/{pageObjectId}/thumbnail').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['presentationId', 'pageObjectId'],\n pathParams: ['pageObjectId', 'presentationId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n slides_v1.Resource$Presentations$Pages = Resource$Presentations$Pages;\n})(slides_v1 = exports.slides_v1 || (exports.slides_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.sourcerepo_v1.Sourcerepo,\n};\nfunction sourcerepo(versionOrOptions) {\n return googleapis_common_1.getAPI('sourcerepo', versionOrOptions, exports.VERSIONS, this);\n}\nexports.sourcerepo = sourcerepo;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar sourcerepo_v1;\n(function (sourcerepo_v1) {\n /**\n * Cloud Source Repositories API\n *\n * Accesses source code repositories hosted by Google.\n *\n * @example\n * const {google} = require('googleapis');\n * const sourcerepo = google.sourcerepo('v1');\n *\n * @namespace sourcerepo\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Sourcerepo\n */\n class Sourcerepo {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n sourcerepo_v1.Sourcerepo = Sourcerepo;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.repos = new Resource$Projects$Repos(this.context);\n }\n getConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/config').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/config').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sourcerepo_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Repos {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/repos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/repos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:sync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sourcerepo.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sourcerepo_v1.Resource$Projects$Repos = Resource$Projects$Repos;\n})(sourcerepo_v1 = exports.sourcerepo_v1 || (exports.sourcerepo_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.spanner_v1.Spanner,\n};\nfunction spanner(versionOrOptions) {\n return googleapis_common_1.getAPI('spanner', versionOrOptions, exports.VERSIONS, this);\n}\nexports.spanner = spanner;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar spanner_v1;\n(function (spanner_v1) {\n /**\n * Cloud Spanner API\n *\n * Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.\n *\n * @example\n * const {google} = require('googleapis');\n * const spanner = google.spanner('v1');\n *\n * @namespace spanner\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Spanner\n */\n class Spanner {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n spanner_v1.Spanner = Spanner;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.instanceConfigs = new Resource$Projects$Instanceconfigs(this.context);\n this.instances = new Resource$Projects$Instances(this.context);\n }\n }\n spanner_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Instanceconfigs {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instanceConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instanceconfigs = Resource$Projects$Instanceconfigs;\n class Resource$Projects$Instances {\n constructor(context) {\n this.context = context;\n this.backups = new Resource$Projects$Instances$Backups(this.context);\n this.databases = new Resource$Projects$Instances$Databases(this.context);\n this.operations = new Resource$Projects$Instances$Operations(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances = Resource$Projects$Instances;\n class Resource$Projects$Instances$Backups {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Instances$Backups$Operations(this.context);\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances$Backups = Resource$Projects$Instances$Backups;\n class Resource$Projects$Instances$Backups$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances$Backups$Operations = Resource$Projects$Instances$Backups$Operations;\n class Resource$Projects$Instances$Databases {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Instances$Databases$Operations(this.context);\n this.sessions = new Resource$Projects$Instances$Databases$Sessions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/databases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n dropDatabase(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getDdl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/ddl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:getIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/databases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:setIamPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+resource}:testIamPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['resource'],\n pathParams: ['resource'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n updateDdl(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/ddl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances$Databases = Resource$Projects$Instances$Databases;\n class Resource$Projects$Instances$Databases$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances$Databases$Operations = Resource$Projects$Instances$Databases$Operations;\n class Resource$Projects$Instances$Databases$Sessions {\n constructor(context) {\n this.context = context;\n }\n batchCreate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/sessions:batchCreate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n beginTransaction(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:beginTransaction').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n commit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:commit').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/sessions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n executeBatchDml(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:executeBatchDml').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n executeSql(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:executeSql').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n executeStreamingSql(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:executeStreamingSql').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+database}/sessions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['database'],\n pathParams: ['database'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n partitionQuery(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:partitionQuery').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n partitionRead(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:partitionRead').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n read(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:read').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rollback(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:rollback').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n streamingRead(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+session}:streamingRead').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['session'],\n pathParams: ['session'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances$Databases$Sessions = Resource$Projects$Instances$Databases$Sessions;\n class Resource$Projects$Instances$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://spanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n spanner_v1.Resource$Projects$Instances$Operations = Resource$Projects$Instances$Operations;\n})(spanner_v1 = exports.spanner_v1 || (exports.spanner_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1p1beta1_1 = require(\"./v1p1beta1\");\nconst v2beta1_1 = require(\"./v2beta1\");\nexports.VERSIONS = {\n v1: v1_1.speech_v1.Speech,\n v1p1beta1: v1p1beta1_1.speech_v1p1beta1.Speech,\n v2beta1: v2beta1_1.speech_v2beta1.Speech,\n};\nfunction speech(versionOrOptions) {\n return googleapis_common_1.getAPI('speech', versionOrOptions, exports.VERSIONS, this);\n}\nexports.speech = speech;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar speech_v1;\n(function (speech_v1) {\n /**\n * Cloud Speech-to-Text API\n *\n * Converts audio to text by applying powerful neural network models.\n *\n * @example\n * const {google} = require('googleapis');\n * const speech = google.speech('v1');\n *\n * @namespace speech\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Speech\n */\n class Speech {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n this.speech = new Resource$Speech(this.context);\n }\n }\n speech_v1.Speech = Speech;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n speech_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n }\n speech_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Speech {\n constructor(context) {\n this.context = context;\n }\n longrunningrecognize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/speech:longrunningrecognize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recognize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/speech:recognize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v1.Resource$Speech = Resource$Speech;\n})(speech_v1 = exports.speech_v1 || (exports.speech_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar speech_v1p1beta1;\n(function (speech_v1p1beta1) {\n /**\n * Cloud Speech-to-Text API\n *\n * Converts audio to text by applying powerful neural network models.\n *\n * @example\n * const {google} = require('googleapis');\n * const speech = google.speech('v1p1beta1');\n *\n * @namespace speech\n * @type {Function}\n * @version v1p1beta1\n * @variation v1p1beta1\n * @param {object=} options Options for Speech\n */\n class Speech {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n this.speech = new Resource$Speech(this.context);\n }\n }\n speech_v1p1beta1.Speech = Speech;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/operations/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v1p1beta1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n speech_v1p1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n }\n speech_v1p1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v1p1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Speech {\n constructor(context) {\n this.context = context;\n }\n longrunningrecognize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/speech:longrunningrecognize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n recognize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/speech:recognize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v1p1beta1.Resource$Speech = Resource$Speech;\n})(speech_v1p1beta1 = exports.speech_v1p1beta1 || (exports.speech_v1p1beta1 = {}));\n//# sourceMappingURL=v1p1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar speech_v2beta1;\n(function (speech_v2beta1) {\n /**\n * Cloud Speech-to-Text API\n *\n * Converts audio to text by applying powerful neural network models.\n *\n * @example\n * const {google} = require('googleapis');\n * const speech = google.speech('v2beta1');\n *\n * @namespace speech\n * @type {Function}\n * @version v2beta1\n * @variation v2beta1\n * @param {object=} options Options for Speech\n */\n class Speech {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n speech_v2beta1.Speech = Speech;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n speech_v2beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n }\n speech_v2beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://speech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n speech_v2beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(speech_v2beta1 = exports.speech_v2beta1 || (exports.speech_v2beta1 = {}));\n//# sourceMappingURL=v2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1beta4_1 = require(\"./v1beta4\");\nexports.VERSIONS = {\n v1beta4: v1beta4_1.sql_v1beta4.Sql,\n};\nfunction sql(versionOrOptions) {\n return googleapis_common_1.getAPI('sql', versionOrOptions, exports.VERSIONS, this);\n}\nexports.sql = sql;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar sql_v1beta4;\n(function (sql_v1beta4) {\n /**\n * Cloud SQL Admin API\n *\n * API for Cloud SQL database instance management\n *\n * @example\n * const {google} = require('googleapis');\n * const sql = google.sql('v1beta4');\n *\n * @namespace sql\n * @type {Function}\n * @version v1beta4\n * @variation v1beta4\n * @param {object=} options Options for Sql\n */\n class Sql {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.backupRuns = new Resource$Backupruns(this.context);\n this.databases = new Resource$Databases(this.context);\n this.flags = new Resource$Flags(this.context);\n this.instances = new Resource$Instances(this.context);\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n this.sslCerts = new Resource$Sslcerts(this.context);\n this.tiers = new Resource$Tiers(this.context);\n this.users = new Resource$Users(this.context);\n }\n }\n sql_v1beta4.Sql = Sql;\n class Resource$Backupruns {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'id'],\n pathParams: ['id', 'instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'id'],\n pathParams: ['id', 'instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/backupRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Backupruns = Resource$Backupruns;\n class Resource$Databases {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'database'],\n pathParams: ['database', 'instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'database'],\n pathParams: ['database', 'instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/databases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/databases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'database'],\n pathParams: ['database', 'instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/databases/{database}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'database'],\n pathParams: ['database', 'instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Databases = Resource$Databases;\n class Resource$Flags {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/flags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Flags = Resource$Flags;\n class Resource$Instances {\n constructor(context) {\n this.context = context;\n }\n addServerCa(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/addServerCa').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n clone(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/clone').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n demoteMaster(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/demoteMaster').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n export(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/export').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n failover(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/failover').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/instances').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n listServerCas(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/listServerCas').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n promoteReplica(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/promoteReplica').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resetSslConfig(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/resetSslConfig').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restart(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/restart').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restoreBackup(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/restoreBackup').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rotateServerCa(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCa').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startReplica(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/startReplica').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stopReplica(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/stopReplica').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n truncateLog(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/truncateLog').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Instances = Resource$Instances;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/operations/{operation}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'operation'],\n pathParams: ['operation', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Instances(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n sql_v1beta4.Resource$Projects = Resource$Projects;\n class Resource$Projects$Instances {\n constructor(context) {\n this.context = context;\n }\n rescheduleMaintenance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Projects$Instances = Resource$Projects$Instances;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.instances = new Resource$Projects$Locations$Instances(this.context);\n }\n }\n sql_v1beta4.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Instances {\n constructor(context) {\n this.context = context;\n }\n rescheduleMaintenance(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/{+parent}/rescheduleMaintenance').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Projects$Locations$Instances = Resource$Projects$Locations$Instances;\n class Resource$Sslcerts {\n constructor(context) {\n this.context = context;\n }\n createEphemeral(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/createEphemeral').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'sha1Fingerprint'],\n pathParams: ['instance', 'project', 'sha1Fingerprint'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts/{sha1Fingerprint}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance', 'sha1Fingerprint'],\n pathParams: ['instance', 'project', 'sha1Fingerprint'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/sslCerts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Sslcerts = Resource$Sslcerts;\n class Resource$Tiers {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/sql/v1beta4/projects/{project}/tiers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: ['project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Tiers = Resource$Tiers;\n class Resource$Users {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/sql/v1beta4/projects/{project}/instances/{instance}/users').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['project', 'instance'],\n pathParams: ['instance', 'project'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n sql_v1beta4.Resource$Users = Resource$Users;\n})(sql_v1beta4 = exports.sql_v1beta4 || (exports.sql_v1beta4 = {}));\n//# sourceMappingURL=v1beta4.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nexports.VERSIONS = {\n v1: v1_1.storage_v1.Storage,\n v1beta2: v1beta2_1.storage_v1beta2.Storage,\n};\nfunction storage(versionOrOptions) {\n return googleapis_common_1.getAPI('storage', versionOrOptions, exports.VERSIONS, this);\n}\nexports.storage = storage;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar storage_v1;\n(function (storage_v1) {\n /**\n * Cloud Storage JSON API\n *\n * Stores and retrieves potentially large, immutable data objects.\n *\n * @example\n * const {google} = require('googleapis');\n * const storage = google.storage('v1');\n *\n * @namespace storage\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Storage\n */\n class Storage {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.bucketAccessControls = new Resource$Bucketaccesscontrols(this.context);\n this.buckets = new Resource$Buckets(this.context);\n this.channels = new Resource$Channels(this.context);\n this.defaultObjectAccessControls = new Resource$Defaultobjectaccesscontrols(this.context);\n this.notifications = new Resource$Notifications(this.context);\n this.objectAccessControls = new Resource$Objectaccesscontrols(this.context);\n this.objects = new Resource$Objects(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n storage_v1.Storage = Storage;\n class Resource$Bucketaccesscontrols {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Bucketaccesscontrols = Resource$Bucketaccesscontrols;\n class Resource$Buckets {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/iam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n lockRetentionPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/lockRetentionPolicy').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket', 'ifMetagenerationMatch'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/iam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/iam/testPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'permissions'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Buckets = Resource$Buckets;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Channels = Resource$Channels;\n class Resource$Defaultobjectaccesscontrols {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Defaultobjectaccesscontrols = Resource$Defaultobjectaccesscontrols;\n class Resource$Notifications {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1/b/{bucket}/notificationConfigs/{notification}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'notification'],\n pathParams: ['bucket', 'notification'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1/b/{bucket}/notificationConfigs/{notification}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'notification'],\n pathParams: ['bucket', 'notification'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/notificationConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/notificationConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Notifications = Resource$Notifications;\n class Resource$Objectaccesscontrols {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Objectaccesscontrols = Resource$Objectaccesscontrols;\n class Resource$Objects {\n constructor(context) {\n this.context = context;\n }\n compose(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1/b/{destinationBucket}/o/{destinationObject}/compose').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['destinationBucket', 'destinationObject'],\n pathParams: ['destinationBucket', 'destinationObject'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n copy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1/b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'sourceBucket',\n 'sourceObject',\n 'destinationBucket',\n 'destinationObject',\n ],\n pathParams: [\n 'destinationBucket',\n 'destinationObject',\n 'sourceBucket',\n 'sourceObject',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/iam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/storage/v1/b/{bucket}/o').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rewrite(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1/b/{sourceBucket}/o/{sourceObject}/rewriteTo/b/{destinationBucket}/o/{destinationObject}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'sourceBucket',\n 'sourceObject',\n 'destinationBucket',\n 'destinationObject',\n ],\n pathParams: [\n 'destinationBucket',\n 'destinationObject',\n 'sourceBucket',\n 'sourceObject',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setIamPolicy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/iam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}/iam/testPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'permissions'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watchAll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/b/{bucket}/o/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Objects = Resource$Objects;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.hmacKeys = new Resource$Projects$Hmackeys(this.context);\n this.serviceAccount = new Resource$Projects$Serviceaccount(this.context);\n }\n }\n storage_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Hmackeys {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'serviceAccountEmail'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys/{accessId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['projectId', 'accessId'],\n pathParams: ['accessId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys/{accessId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'accessId'],\n pathParams: ['accessId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/projects/{projectId}/hmacKeys/{accessId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['projectId', 'accessId'],\n pathParams: ['accessId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Projects$Hmackeys = Resource$Projects$Hmackeys;\n class Resource$Projects$Serviceaccount {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1/projects/{projectId}/serviceAccount').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1.Resource$Projects$Serviceaccount = Resource$Projects$Serviceaccount;\n})(storage_v1 = exports.storage_v1 || (exports.storage_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar storage_v1beta2;\n(function (storage_v1beta2) {\n /**\n * Cloud Storage JSON API\n *\n * Lets you store and retrieve potentially-large, immutable data objects.\n *\n * @example\n * const {google} = require('googleapis');\n * const storage = google.storage('v1beta2');\n *\n * @namespace storage\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Storage\n */\n class Storage {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.bucketAccessControls = new Resource$Bucketaccesscontrols(this.context);\n this.buckets = new Resource$Buckets(this.context);\n this.channels = new Resource$Channels(this.context);\n this.defaultObjectAccessControls = new Resource$Defaultobjectaccesscontrols(this.context);\n this.objectAccessControls = new Resource$Objectaccesscontrols(this.context);\n this.objects = new Resource$Objects(this.context);\n }\n }\n storage_v1beta2.Storage = Storage;\n class Resource$Bucketaccesscontrols {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1beta2.Resource$Bucketaccesscontrols = Resource$Bucketaccesscontrols;\n class Resource$Buckets {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['project'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1beta2.Resource$Buckets = Resource$Buckets;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/channels/stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1beta2.Resource$Channels = Resource$Channels;\n class Resource$Defaultobjectaccesscontrols {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/defaultObjectAcl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'entity'],\n pathParams: ['bucket', 'entity'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1beta2.Resource$Defaultobjectaccesscontrols = Resource$Defaultobjectaccesscontrols;\n class Resource$Objectaccesscontrols {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}/acl/{entity}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'object', 'entity'],\n pathParams: ['bucket', 'entity', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1beta2.Resource$Objectaccesscontrols = Resource$Objectaccesscontrols;\n class Resource$Objects {\n constructor(context) {\n this.context = context;\n }\n compose(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1beta2/b/{destinationBucket}/o/{destinationObject}/compose').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['destinationBucket', 'destinationObject'],\n pathParams: ['destinationBucket', 'destinationObject'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n copy(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/storage/v1beta2/b/{sourceBucket}/o/{sourceObject}/copyTo/b/{destinationBucket}/o/{destinationObject}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'sourceBucket',\n 'sourceObject',\n 'destinationBucket',\n 'destinationObject',\n ],\n pathParams: [\n 'destinationBucket',\n 'destinationObject',\n 'sourceBucket',\n 'sourceObject',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/storage/v1beta2/b/{bucket}/o').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/{object}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['bucket', 'object'],\n pathParams: ['bucket', 'object'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n watchAll(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/storage/v1beta2/b/{bucket}/o/watch').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['bucket'],\n pathParams: ['bucket'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storage_v1beta2.Resource$Objects = Resource$Objects;\n})(storage_v1beta2 = exports.storage_v1beta2 || (exports.storage_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.storagetransfer_v1.Storagetransfer,\n};\nfunction storagetransfer(versionOrOptions) {\n return googleapis_common_1.getAPI('storagetransfer', versionOrOptions, exports.VERSIONS, this);\n}\nexports.storagetransfer = storagetransfer;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar storagetransfer_v1;\n(function (storagetransfer_v1) {\n /**\n * Storage Transfer API\n *\n * Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.\n *\n * @example\n * const {google} = require('googleapis');\n * const storagetransfer = google.storagetransfer('v1');\n *\n * @namespace storagetransfer\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Storagetransfer\n */\n class Storagetransfer {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.googleServiceAccounts = new Resource$Googleserviceaccounts(this.context);\n this.transferJobs = new Resource$Transferjobs(this.context);\n this.transferOperations = new Resource$Transferoperations(this.context);\n }\n }\n storagetransfer_v1.Storagetransfer = Storagetransfer;\n class Resource$Googleserviceaccounts {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/googleServiceAccounts/{projectId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storagetransfer_v1.Resource$Googleserviceaccounts = Resource$Googleserviceaccounts;\n class Resource$Transferjobs {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/transferJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+jobName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['jobName'],\n pathParams: ['jobName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/transferJobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+jobName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['jobName'],\n pathParams: ['jobName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storagetransfer_v1.Resource$Transferjobs = Resource$Transferjobs;\n class Resource$Transferoperations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n pause(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:pause').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resume(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:resume').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n storagetransfer_v1.Resource$Transferoperations = Resource$Transferoperations;\n})(storagetransfer_v1 = exports.storagetransfer_v1 || (exports.storagetransfer_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.streetviewpublish_v1.Streetviewpublish,\n};\nfunction streetviewpublish(versionOrOptions) {\n return googleapis_common_1.getAPI('streetviewpublish', versionOrOptions, exports.VERSIONS, this);\n}\nexports.streetviewpublish = streetviewpublish;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar streetviewpublish_v1;\n(function (streetviewpublish_v1) {\n /**\n * Street View Publish API\n *\n * Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.\n *\n * @example\n * const {google} = require('googleapis');\n * const streetviewpublish = google.streetviewpublish('v1');\n *\n * @namespace streetviewpublish\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Streetviewpublish\n */\n class Streetviewpublish {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.photo = new Resource$Photo(this.context);\n this.photos = new Resource$Photos(this.context);\n }\n }\n streetviewpublish_v1.Streetviewpublish = Streetviewpublish;\n class Resource$Photo {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photo').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photo/{photoId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['photoId'],\n pathParams: ['photoId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photo/{photoId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['photoId'],\n pathParams: ['photoId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n startUpload(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photo:startUpload').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photo/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n streetviewpublish_v1.Resource$Photo = Resource$Photo;\n class Resource$Photos {\n constructor(context) {\n this.context = context;\n }\n batchDelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photos:batchDelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchGet(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photos:batchGet').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n batchUpdate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photos:batchUpdate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://streetviewpublish.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/photos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n streetviewpublish_v1.Resource$Photos = Resource$Photos;\n})(streetviewpublish_v1 = exports.streetviewpublish_v1 || (exports.streetviewpublish_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v1: v1_1.tagmanager_v1.Tagmanager,\n v2: v2_1.tagmanager_v2.Tagmanager,\n};\nfunction tagmanager(versionOrOptions) {\n return googleapis_common_1.getAPI('tagmanager', versionOrOptions, exports.VERSIONS, this);\n}\nexports.tagmanager = tagmanager;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar tagmanager_v1;\n(function (tagmanager_v1) {\n /**\n * Tag Manager API\n *\n * This API allows clients to access and modify container and tag configuration.\n *\n * @example\n * const {google} = require('googleapis');\n * const tagmanager = google.tagmanager('v1');\n *\n * @namespace tagmanager\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Tagmanager\n */\n class Tagmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n }\n }\n tagmanager_v1.Tagmanager = Tagmanager;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.containers = new Resource$Accounts$Containers(this.context);\n this.permissions = new Resource$Accounts$Permissions(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Containers {\n constructor(context) {\n this.context = context;\n this.environments = new Resource$Accounts$Containers$Environments(this.context);\n this.folders = new Resource$Accounts$Containers$Folders(this.context);\n this.move_folders = new Resource$Accounts$Containers$Move_folders(this.context);\n this.reauthorize_environments = new Resource$Accounts$Containers$Reauthorize_environments(this.context);\n this.tags = new Resource$Accounts$Containers$Tags(this.context);\n this.triggers = new Resource$Accounts$Containers$Triggers(this.context);\n this.variables = new Resource$Accounts$Containers$Variables(this.context);\n this.versions = new Resource$Accounts$Containers$Versions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/containers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/containers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers = Resource$Accounts$Containers;\n class Resource$Accounts$Containers$Environments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'environmentId'],\n pathParams: ['accountId', 'containerId', 'environmentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'environmentId'],\n pathParams: ['accountId', 'containerId', 'environmentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/environments/{environmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'environmentId'],\n pathParams: ['accountId', 'containerId', 'environmentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Environments = Resource$Accounts$Containers$Environments;\n class Resource$Accounts$Containers$Folders {\n constructor(context) {\n this.context = context;\n this.entities = new Resource$Accounts$Containers$Folders$Entities(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'folderId'],\n pathParams: ['accountId', 'containerId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'folderId'],\n pathParams: ['accountId', 'containerId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'folderId'],\n pathParams: ['accountId', 'containerId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Folders = Resource$Accounts$Containers$Folders;\n class Resource$Accounts$Containers$Folders$Entities {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/folders/{folderId}/entities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'folderId'],\n pathParams: ['accountId', 'containerId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Folders$Entities = Resource$Accounts$Containers$Folders$Entities;\n class Resource$Accounts$Containers$Move_folders {\n constructor(context) {\n this.context = context;\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/move_folders/{folderId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'folderId'],\n pathParams: ['accountId', 'containerId', 'folderId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Move_folders = Resource$Accounts$Containers$Move_folders;\n class Resource$Accounts$Containers$Reauthorize_environments {\n constructor(context) {\n this.context = context;\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/reauthorize_environments/{environmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'environmentId'],\n pathParams: ['accountId', 'containerId', 'environmentId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Reauthorize_environments = Resource$Accounts$Containers$Reauthorize_environments;\n class Resource$Accounts$Containers$Tags {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'tagId'],\n pathParams: ['accountId', 'containerId', 'tagId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'tagId'],\n pathParams: ['accountId', 'containerId', 'tagId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/tags/{tagId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'tagId'],\n pathParams: ['accountId', 'containerId', 'tagId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Tags = Resource$Accounts$Containers$Tags;\n class Resource$Accounts$Containers$Triggers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'triggerId'],\n pathParams: ['accountId', 'containerId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'triggerId'],\n pathParams: ['accountId', 'containerId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/triggers/{triggerId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'triggerId'],\n pathParams: ['accountId', 'containerId', 'triggerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Triggers = Resource$Accounts$Containers$Triggers;\n class Resource$Accounts$Containers$Variables {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'variableId'],\n pathParams: ['accountId', 'containerId', 'variableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'variableId'],\n pathParams: ['accountId', 'containerId', 'variableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/variables/{variableId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'variableId'],\n pathParams: ['accountId', 'containerId', 'variableId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Variables = Resource$Accounts$Containers$Variables;\n class Resource$Accounts$Containers$Versions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'containerVersionId'],\n pathParams: ['accountId', 'containerId', 'containerVersionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'containerVersionId'],\n pathParams: ['accountId', 'containerId', 'containerVersionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId'],\n pathParams: ['accountId', 'containerId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'containerVersionId'],\n pathParams: ['accountId', 'containerId', 'containerVersionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n restore(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/restore').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'containerVersionId'],\n pathParams: ['accountId', 'containerId', 'containerVersionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}/undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'containerVersionId'],\n pathParams: ['accountId', 'containerId', 'containerVersionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/containers/{containerId}/versions/{containerVersionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'containerId', 'containerVersionId'],\n pathParams: ['accountId', 'containerId', 'containerVersionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Containers$Versions = Resource$Accounts$Containers$Versions;\n class Resource$Accounts$Permissions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['accountId', 'permissionId'],\n pathParams: ['accountId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId', 'permissionId'],\n pathParams: ['accountId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v1/accounts/{accountId}/permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['accountId'],\n pathParams: ['accountId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/tagmanager/v1/accounts/{accountId}/permissions/{permissionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['accountId', 'permissionId'],\n pathParams: ['accountId', 'permissionId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v1.Resource$Accounts$Permissions = Resource$Accounts$Permissions;\n})(tagmanager_v1 = exports.tagmanager_v1 || (exports.tagmanager_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar tagmanager_v2;\n(function (tagmanager_v2) {\n /**\n * Tag Manager API\n *\n * This API allows clients to access and modify container and tag configuration.\n *\n * @example\n * const {google} = require('googleapis');\n * const tagmanager = google.tagmanager('v2');\n *\n * @namespace tagmanager\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Tagmanager\n */\n class Tagmanager {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.accounts = new Resource$Accounts(this.context);\n }\n }\n tagmanager_v2.Tagmanager = Tagmanager;\n class Resource$Accounts {\n constructor(context) {\n this.context = context;\n this.containers = new Resource$Accounts$Containers(this.context);\n this.user_permissions = new Resource$Accounts$User_permissions(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts = Resource$Accounts;\n class Resource$Accounts$Containers {\n constructor(context) {\n this.context = context;\n this.environments = new Resource$Accounts$Containers$Environments(this.context);\n this.versions = new Resource$Accounts$Containers$Versions(this.context);\n this.version_headers = new Resource$Accounts$Containers$Version_headers(this.context);\n this.workspaces = new Resource$Accounts$Containers$Workspaces(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/containers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/containers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers = Resource$Accounts$Containers;\n class Resource$Accounts$Containers$Environments {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reauthorize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:reauthorize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Environments = Resource$Accounts$Containers$Environments;\n class Resource$Accounts$Containers$Versions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n live(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/versions:live').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publish(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:publish').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n set_latest(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:set_latest').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Versions = Resource$Accounts$Containers$Versions;\n class Resource$Accounts$Containers$Version_headers {\n constructor(context) {\n this.context = context;\n }\n latest(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/version_headers:latest').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/version_headers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Version_headers = Resource$Accounts$Containers$Version_headers;\n class Resource$Accounts$Containers$Workspaces {\n constructor(context) {\n this.context = context;\n this.built_in_variables = new Resource$Accounts$Containers$Workspaces$Built_in_variables(this.context);\n this.folders = new Resource$Accounts$Containers$Workspaces$Folders(this.context);\n this.tags = new Resource$Accounts$Containers$Workspaces$Tags(this.context);\n this.templates = new Resource$Accounts$Containers$Workspaces$Templates(this.context);\n this.triggers = new Resource$Accounts$Containers$Workspaces$Triggers(this.context);\n this.variables = new Resource$Accounts$Containers$Workspaces$Variables(this.context);\n this.zones = new Resource$Accounts$Containers$Workspaces$Zones(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/workspaces').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create_version(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:create_version').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}/status').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/workspaces').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n quick_preview(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:quick_preview').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n resolve_conflict(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:resolve_conflict').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n sync(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:sync').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces = Resource$Accounts$Containers$Workspaces;\n class Resource$Accounts$Containers$Workspaces$Built_in_variables {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/built_in_variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/built_in_variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}/built_in_variables:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Built_in_variables = Resource$Accounts$Containers$Workspaces$Built_in_variables;\n class Resource$Accounts$Containers$Workspaces$Folders {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n entities(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:entities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/folders').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move_entities_to_folder(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:move_entities_to_folder').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Folders = Resource$Accounts$Containers$Workspaces$Folders;\n class Resource$Accounts$Containers$Workspaces$Tags {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/tags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/tags').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Tags = Resource$Accounts$Containers$Workspaces$Tags;\n class Resource$Accounts$Containers$Workspaces$Templates {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/templates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/templates').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Templates = Resource$Accounts$Containers$Workspaces$Templates;\n class Resource$Accounts$Containers$Workspaces$Triggers {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/triggers').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Triggers = Resource$Accounts$Containers$Workspaces$Triggers;\n class Resource$Accounts$Containers$Workspaces$Variables {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/variables').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Variables = Resource$Accounts$Containers$Workspaces$Variables;\n class Resource$Accounts$Containers$Workspaces$Zones {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/zones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/zones').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n revert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}:revert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$Containers$Workspaces$Zones = Resource$Accounts$Containers$Workspaces$Zones;\n class Resource$Accounts$User_permissions {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/user_permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+parent}/user_permissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tagmanager/v2/{+path}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['path'],\n pathParams: ['path'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tagmanager_v2.Resource$Accounts$User_permissions = Resource$Accounts$User_permissions;\n})(tagmanager_v2 = exports.tagmanager_v2 || (exports.tagmanager_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.tasks_v1.Tasks,\n};\nfunction tasks(versionOrOptions) {\n return googleapis_common_1.getAPI('tasks', versionOrOptions, exports.VERSIONS, this);\n}\nexports.tasks = tasks;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar tasks_v1;\n(function (tasks_v1) {\n /**\n * Tasks API\n *\n * Manages your tasks and task lists.\n *\n * @example\n * const {google} = require('googleapis');\n * const tasks = google.tasks('v1');\n *\n * @namespace tasks\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Tasks\n */\n class Tasks {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.tasklists = new Resource$Tasklists(this.context);\n this.tasks = new Resource$Tasks(this.context);\n }\n }\n tasks_v1.Tasks = Tasks;\n class Resource$Tasklists {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/users/@me/lists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/users/@me/lists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/users/@me/lists/{tasklist}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tasks_v1.Resource$Tasklists = Resource$Tasklists;\n class Resource$Tasks {\n constructor(context) {\n this.context = context;\n }\n clear(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/clear').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['tasklist', 'task'],\n pathParams: ['task', 'tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['tasklist', 'task'],\n pathParams: ['task', 'tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['tasklist'],\n pathParams: ['tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n move(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}/move').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['tasklist', 'task'],\n pathParams: ['task', 'tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['tasklist', 'task'],\n pathParams: ['task', 'tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/tasks/v1/lists/{tasklist}/tasks/{task}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['tasklist', 'task'],\n pathParams: ['task', 'tasklist'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tasks_v1.Resource$Tasks = Resource$Tasks;\n})(tasks_v1 = exports.tasks_v1 || (exports.tasks_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.testing_v1.Testing,\n};\nfunction testing(versionOrOptions) {\n return googleapis_common_1.getAPI('testing', versionOrOptions, exports.VERSIONS, this);\n}\nexports.testing = testing;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar testing_v1;\n(function (testing_v1) {\n /**\n * Cloud Testing API\n *\n * Allows developers to run automated tests for their mobile applications on Google infrastructure.\n *\n * @example\n * const {google} = require('googleapis');\n * const testing = google.testing('v1');\n *\n * @namespace testing\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Testing\n */\n class Testing {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.applicationDetailService = new Resource$Applicationdetailservice(this.context);\n this.projects = new Resource$Projects(this.context);\n this.testEnvironmentCatalog = new Resource$Testenvironmentcatalog(this.context);\n }\n }\n testing_v1.Testing = Testing;\n class Resource$Applicationdetailservice {\n constructor(context) {\n this.context = context;\n }\n getApkDetails(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://testing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/applicationDetailService/getApkDetails').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n testing_v1.Resource$Applicationdetailservice = Resource$Applicationdetailservice;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.testMatrices = new Resource$Projects$Testmatrices(this.context);\n }\n }\n testing_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Testmatrices {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://testing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/projects/{projectId}/testMatrices/{testMatrixId}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'testMatrixId'],\n pathParams: ['projectId', 'testMatrixId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://testing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/testMatrices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://testing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/projects/{projectId}/testMatrices/{testMatrixId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'testMatrixId'],\n pathParams: ['projectId', 'testMatrixId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n testing_v1.Resource$Projects$Testmatrices = Resource$Projects$Testmatrices;\n class Resource$Testenvironmentcatalog {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://testing.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/testEnvironmentCatalog/{environmentType}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['environmentType'],\n pathParams: ['environmentType'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n testing_v1.Resource$Testenvironmentcatalog = Resource$Testenvironmentcatalog;\n})(testing_v1 = exports.testing_v1 || (exports.testing_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta1_1 = require(\"./v1beta1\");\nexports.VERSIONS = {\n v1: v1_1.texttospeech_v1.Texttospeech,\n v1beta1: v1beta1_1.texttospeech_v1beta1.Texttospeech,\n};\nfunction texttospeech(versionOrOptions) {\n return googleapis_common_1.getAPI('texttospeech', versionOrOptions, exports.VERSIONS, this);\n}\nexports.texttospeech = texttospeech;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar texttospeech_v1;\n(function (texttospeech_v1) {\n /**\n * Cloud Text-to-Speech API\n *\n * Synthesizes natural-sounding speech by applying powerful neural network models.\n *\n * @example\n * const {google} = require('googleapis');\n * const texttospeech = google.texttospeech('v1');\n *\n * @namespace texttospeech\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Texttospeech\n */\n class Texttospeech {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.text = new Resource$Text(this.context);\n this.voices = new Resource$Voices(this.context);\n }\n }\n texttospeech_v1.Texttospeech = Texttospeech;\n class Resource$Text {\n constructor(context) {\n this.context = context;\n }\n synthesize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/text:synthesize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n texttospeech_v1.Resource$Text = Resource$Text;\n class Resource$Voices {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/voices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n texttospeech_v1.Resource$Voices = Resource$Voices;\n})(texttospeech_v1 = exports.texttospeech_v1 || (exports.texttospeech_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar texttospeech_v1beta1;\n(function (texttospeech_v1beta1) {\n /**\n * Cloud Text-to-Speech API\n *\n * Synthesizes natural-sounding speech by applying powerful neural network models.\n *\n * @example\n * const {google} = require('googleapis');\n * const texttospeech = google.texttospeech('v1beta1');\n *\n * @namespace texttospeech\n * @type {Function}\n * @version v1beta1\n * @variation v1beta1\n * @param {object=} options Options for Texttospeech\n */\n class Texttospeech {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.text = new Resource$Text(this.context);\n this.voices = new Resource$Voices(this.context);\n }\n }\n texttospeech_v1beta1.Texttospeech = Texttospeech;\n class Resource$Text {\n constructor(context) {\n this.context = context;\n }\n synthesize(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/text:synthesize').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n texttospeech_v1beta1.Resource$Text = Resource$Text;\n class Resource$Voices {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://texttospeech.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta1/voices').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n texttospeech_v1beta1.Resource$Voices = Resource$Voices;\n})(texttospeech_v1beta1 = exports.texttospeech_v1beta1 || (exports.texttospeech_v1beta1 = {}));\n//# sourceMappingURL=v1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta3_1 = require(\"./v1beta3\");\nexports.VERSIONS = {\n v1: v1_1.toolresults_v1.Toolresults,\n v1beta3: v1beta3_1.toolresults_v1beta3.Toolresults,\n};\nfunction toolresults(versionOrOptions) {\n return googleapis_common_1.getAPI('toolresults', versionOrOptions, exports.VERSIONS, this);\n}\nexports.toolresults = toolresults;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar toolresults_v1;\n(function (toolresults_v1) {\n /**\n * Cloud Tool Results API\n *\n * API to publish and access results from developer tools.\n *\n * @example\n * const {google} = require('googleapis');\n * const toolresults = google.toolresults('v1');\n *\n * @namespace toolresults\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Toolresults\n */\n class Toolresults {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n }\n }\n toolresults_v1.Toolresults = Toolresults;\n})(toolresults_v1 = exports.toolresults_v1 || (exports.toolresults_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar toolresults_v1beta3;\n(function (toolresults_v1beta3) {\n /**\n * Cloud Tool Results API\n *\n * Reads and publishes results from Firebase Test Lab.\n *\n * @example\n * const {google} = require('googleapis');\n * const toolresults = google.toolresults('v1beta3');\n *\n * @namespace toolresults\n * @type {Function}\n * @version v1beta3\n * @variation v1beta3\n * @param {object=} options Options for Toolresults\n */\n class Toolresults {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n toolresults_v1beta3.Toolresults = Toolresults;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.histories = new Resource$Projects$Histories(this.context);\n }\n getSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/toolresults/v1beta3/projects/{projectId}/settings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n initializeSettings(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}:initializeSettings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects = Resource$Projects;\n class Resource$Projects$Histories {\n constructor(context) {\n this.context = context;\n this.executions = new Resource$Projects$Histories$Executions(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/toolresults/v1beta3/projects/{projectId}/histories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId'],\n pathParams: ['historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/toolresults/v1beta3/projects/{projectId}/histories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId'],\n pathParams: ['projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories = Resource$Projects$Histories;\n class Resource$Projects$Histories$Executions {\n constructor(context) {\n this.context = context;\n this.clusters = new Resource$Projects$Histories$Executions$Clusters(this.context);\n this.environments = new Resource$Projects$Histories$Executions$Environments(this.context);\n this.steps = new Resource$Projects$Histories$Executions$Steps(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId'],\n pathParams: ['historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId'],\n pathParams: ['executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId'],\n pathParams: ['historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId'],\n pathParams: ['executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions = Resource$Projects$Histories$Executions;\n class Resource$Projects$Histories$Executions$Clusters {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters/{clusterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'clusterId'],\n pathParams: ['clusterId', 'executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/clusters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId'],\n pathParams: ['executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Clusters = Resource$Projects$Histories$Executions$Clusters;\n class Resource$Projects$Histories$Executions$Environments {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments/{environmentId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'projectId',\n 'historyId',\n 'executionId',\n 'environmentId',\n ],\n pathParams: ['environmentId', 'executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/environments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId'],\n pathParams: ['executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Environments = Resource$Projects$Histories$Executions$Environments;\n class Resource$Projects$Histories$Executions$Steps {\n constructor(context) {\n this.context = context;\n this.perfMetricsSummary = new Resource$Projects$Histories$Executions$Steps$Perfmetricssummary(this.context);\n this.perfSampleSeries = new Resource$Projects$Histories$Executions$Steps$Perfsampleseries(this.context);\n this.testCases = new Resource$Projects$Histories$Executions$Steps$Testcases(this.context);\n this.thumbnails = new Resource$Projects$Histories$Executions$Steps$Thumbnails(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId'],\n pathParams: ['executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getPerfMetricsSummary(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId'],\n pathParams: ['executionId', 'historyId', 'projectId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n publishXunitXmlFiles(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}:publishXunitXmlFiles').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps = Resource$Projects$Histories$Executions$Steps;\n class Resource$Projects$Histories$Executions$Steps$Perfmetricssummary {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Perfmetricssummary = Resource$Projects$Histories$Executions$Steps$Perfmetricssummary;\n class Resource$Projects$Histories$Executions$Steps$Perfsampleseries {\n constructor(context) {\n this.context = context;\n this.samples = new Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'projectId',\n 'historyId',\n 'executionId',\n 'stepId',\n 'sampleSeriesId',\n ],\n pathParams: [\n 'executionId',\n 'historyId',\n 'projectId',\n 'sampleSeriesId',\n 'stepId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Perfsampleseries = Resource$Projects$Histories$Executions$Steps$Perfsampleseries;\n class Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples {\n constructor(context) {\n this.context = context;\n }\n batchCreate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples:batchCreate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [\n 'projectId',\n 'historyId',\n 'executionId',\n 'stepId',\n 'sampleSeriesId',\n ],\n pathParams: [\n 'executionId',\n 'historyId',\n 'projectId',\n 'sampleSeriesId',\n 'stepId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleSeriesId}/samples').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'projectId',\n 'historyId',\n 'executionId',\n 'stepId',\n 'sampleSeriesId',\n ],\n pathParams: [\n 'executionId',\n 'historyId',\n 'projectId',\n 'sampleSeriesId',\n 'stepId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples = Resource$Projects$Histories$Executions$Steps$Perfsampleseries$Samples;\n class Resource$Projects$Histories$Executions$Steps$Testcases {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [\n 'projectId',\n 'historyId',\n 'executionId',\n 'stepId',\n 'testCaseId',\n ],\n pathParams: [\n 'executionId',\n 'historyId',\n 'projectId',\n 'stepId',\n 'testCaseId',\n ],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Testcases = Resource$Projects$Histories$Executions$Steps$Testcases;\n class Resource$Projects$Histories$Executions$Steps$Thumbnails {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/thumbnails').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['projectId', 'historyId', 'executionId', 'stepId'],\n pathParams: ['executionId', 'historyId', 'projectId', 'stepId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n toolresults_v1beta3.Resource$Projects$Histories$Executions$Steps$Thumbnails = Resource$Projects$Histories$Executions$Steps$Thumbnails;\n})(toolresults_v1beta3 = exports.toolresults_v1beta3 || (exports.toolresults_v1beta3 = {}));\n//# sourceMappingURL=v1beta3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha1_1 = require(\"./v1alpha1\");\nexports.VERSIONS = {\n v1: v1_1.tpu_v1.Tpu,\n v1alpha1: v1alpha1_1.tpu_v1alpha1.Tpu,\n};\nfunction tpu(versionOrOptions) {\n return googleapis_common_1.getAPI('tpu', versionOrOptions, exports.VERSIONS, this);\n}\nexports.tpu = tpu;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar tpu_v1;\n(function (tpu_v1) {\n /**\n * Cloud TPU API\n *\n * TPU API provides customers with access to Google TPU technology.\n *\n * @example\n * const {google} = require('googleapis');\n * const tpu = google.tpu('v1');\n *\n * @namespace tpu\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Tpu\n */\n class Tpu {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n tpu_v1.Tpu = Tpu;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n tpu_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.acceleratorTypes = new Resource$Projects$Locations$Acceleratortypes(this.context);\n this.nodes = new Resource$Projects$Locations$Nodes(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n this.tensorflowVersions = new Resource$Projects$Locations$Tensorflowversions(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Acceleratortypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1.Resource$Projects$Locations$Acceleratortypes = Resource$Projects$Locations$Acceleratortypes;\n class Resource$Projects$Locations$Nodes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reimage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:reimage').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1.Resource$Projects$Locations$Nodes = Resource$Projects$Locations$Nodes;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Locations$Tensorflowversions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/tensorflowVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1.Resource$Projects$Locations$Tensorflowversions = Resource$Projects$Locations$Tensorflowversions;\n})(tpu_v1 = exports.tpu_v1 || (exports.tpu_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar tpu_v1alpha1;\n(function (tpu_v1alpha1) {\n /**\n * Cloud TPU API\n *\n * TPU API provides customers with access to Google TPU technology.\n *\n * @example\n * const {google} = require('googleapis');\n * const tpu = google.tpu('v1alpha1');\n *\n * @namespace tpu\n * @type {Function}\n * @version v1alpha1\n * @variation v1alpha1\n * @param {object=} options Options for Tpu\n */\n class Tpu {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n tpu_v1alpha1.Tpu = Tpu;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n tpu_v1alpha1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.acceleratorTypes = new Resource$Projects$Locations$Acceleratortypes(this.context);\n this.nodes = new Resource$Projects$Locations$Nodes(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n this.tensorflowVersions = new Resource$Projects$Locations$Tensorflowversions(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1alpha1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Acceleratortypes {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/acceleratorTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1alpha1.Resource$Projects$Locations$Acceleratortypes = Resource$Projects$Locations$Acceleratortypes;\n class Resource$Projects$Locations$Nodes {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/nodes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reimage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:reimage').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1alpha1.Resource$Projects$Locations$Nodes = Resource$Projects$Locations$Nodes;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1alpha1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Locations$Tensorflowversions {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://tpu.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha1/{+parent}/tensorflowVersions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n tpu_v1alpha1.Resource$Projects$Locations$Tensorflowversions = Resource$Projects$Locations$Tensorflowversions;\n})(tpu_v1alpha1 = exports.tpu_v1alpha1 || (exports.tpu_v1alpha1 = {}));\n//# sourceMappingURL=v1alpha1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v2_1 = require(\"./v2\");\nconst v3beta1_1 = require(\"./v3beta1\");\nexports.VERSIONS = {\n v2: v2_1.translate_v2.Translate,\n v3beta1: v3beta1_1.translate_v3beta1.Translate,\n};\nfunction translate(versionOrOptions) {\n return googleapis_common_1.getAPI('translate', versionOrOptions, exports.VERSIONS, this);\n}\nexports.translate = translate;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar translate_v2;\n(function (translate_v2) {\n /**\n * Google Cloud Translation API\n *\n * The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically.\n *\n * @example\n * const {google} = require('googleapis');\n * const translate = google.translate('v2');\n *\n * @namespace translate\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Translate\n */\n class Translate {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.detections = new Resource$Detections(this.context);\n this.languages = new Resource$Languages(this.context);\n this.translations = new Resource$Translations(this.context);\n }\n }\n translate_v2.Translate = Translate;\n class Resource$Detections {\n constructor(context) {\n this.context = context;\n }\n detect(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/language/translate/v2/detect').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/language/translate/v2/detect').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['q'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v2.Resource$Detections = Resource$Detections;\n class Resource$Languages {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/language/translate/v2/languages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v2.Resource$Languages = Resource$Languages;\n class Resource$Translations {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/language/translate/v2').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['q', 'target'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n translate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/language/translate/v2').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v2.Resource$Translations = Resource$Translations;\n})(translate_v2 = exports.translate_v2 || (exports.translate_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar translate_v3beta1;\n(function (translate_v3beta1) {\n /**\n * Cloud Translation API\n *\n * Integrates text translation into your website or application.\n *\n * @example\n * const {google} = require('googleapis');\n * const translate = google.translate('v3beta1');\n *\n * @namespace translate\n * @type {Function}\n * @version v3beta1\n * @variation v3beta1\n * @param {object=} options Options for Translate\n */\n class Translate {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n translate_v3beta1.Translate = Translate;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n detectLanguage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}:detectLanguage').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSupportedLanguages(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}/supportedLanguages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n translateText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}:translateText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v3beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.glossaries = new Resource$Projects$Locations$Glossaries(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n batchTranslateText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}:batchTranslateText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n detectLanguage(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}:detectLanguage').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getSupportedLanguages(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}/supportedLanguages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}/locations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n translateText(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}:translateText').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v3beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Glossaries {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}/glossaries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+parent}/glossaries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v3beta1.Resource$Projects$Locations$Glossaries = Resource$Projects$Locations$Glossaries;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n wait(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://translation.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v3beta1/{+name}:wait').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n translate_v3beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n})(translate_v3beta1 = exports.translate_v3beta1 || (exports.translate_v3beta1 = {}));\n//# sourceMappingURL=v3beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.vault_v1.Vault,\n};\nfunction vault(versionOrOptions) {\n return googleapis_common_1.getAPI('vault', versionOrOptions, exports.VERSIONS, this);\n}\nexports.vault = vault;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar vault_v1;\n(function (vault_v1) {\n /**\n * G Suite Vault API\n *\n * Archiving and eDiscovery for G Suite.\n *\n * @example\n * const {google} = require('googleapis');\n * const vault = google.vault('v1');\n *\n * @namespace vault\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Vault\n */\n class Vault {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.matters = new Resource$Matters(this.context);\n this.operations = new Resource$Operations(this.context);\n }\n }\n vault_v1.Vault = Vault;\n class Resource$Matters {\n constructor(context) {\n this.context = context;\n this.exports = new Resource$Matters$Exports(this.context);\n this.holds = new Resource$Matters$Holds(this.context);\n this.savedQueries = new Resource$Matters$Savedqueries(this.context);\n }\n addPermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}:addPermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n close(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}:close').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removePermissions(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}:removePermissions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reopen(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}:reopen').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n undelete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}:undelete').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vault_v1.Resource$Matters = Resource$Matters;\n class Resource$Matters$Exports {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/exports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/exports/{exportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['matterId', 'exportId'],\n pathParams: ['exportId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/exports/{exportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId', 'exportId'],\n pathParams: ['exportId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/exports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vault_v1.Resource$Matters$Exports = Resource$Matters$Exports;\n class Resource$Matters$Holds {\n constructor(context) {\n this.context = context;\n this.accounts = new Resource$Matters$Holds$Accounts(this.context);\n }\n addHeldAccounts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}:addHeldAccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeHeldAccounts(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/matters/{matterId}/holds/{holdId}:removeHeldAccounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vault_v1.Resource$Matters$Holds = Resource$Matters$Holds;\n class Resource$Matters$Holds$Accounts {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl +\n '/v1/matters/{matterId}/holds/{holdId}/accounts/{accountId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId', 'accountId'],\n pathParams: ['accountId', 'holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/holds/{holdId}/accounts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId', 'holdId'],\n pathParams: ['holdId', 'matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vault_v1.Resource$Matters$Holds$Accounts = Resource$Matters$Holds$Accounts;\n class Resource$Matters$Savedqueries {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/savedQueries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/savedQueries/{savedQueryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['matterId', 'savedQueryId'],\n pathParams: ['matterId', 'savedQueryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/savedQueries/{savedQueryId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId', 'savedQueryId'],\n pathParams: ['matterId', 'savedQueryId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/matters/{matterId}/savedQueries').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['matterId'],\n pathParams: ['matterId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vault_v1.Resource$Matters$Savedqueries = Resource$Matters$Savedqueries;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vault.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vault_v1.Resource$Operations = Resource$Operations;\n})(vault_v1 = exports.vault_v1 || (exports.vault_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.verifiedaccess_v1.Verifiedaccess,\n};\nfunction verifiedaccess(versionOrOptions) {\n return googleapis_common_1.getAPI('verifiedaccess', versionOrOptions, exports.VERSIONS, this);\n}\nexports.verifiedaccess = verifiedaccess;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar verifiedaccess_v1;\n(function (verifiedaccess_v1) {\n /**\n * Verified Access API\n *\n * API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network\n *\n * @example\n * const {google} = require('googleapis');\n * const verifiedaccess = google.verifiedaccess('v1');\n *\n * @namespace verifiedaccess\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Verifiedaccess\n */\n class Verifiedaccess {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.challenge = new Resource$Challenge(this.context);\n }\n }\n verifiedaccess_v1.Verifiedaccess = Verifiedaccess;\n class Resource$Challenge {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://verifiedaccess.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/challenge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n verify(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://verifiedaccess.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/challenge:verify').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n verifiedaccess_v1.Resource$Challenge = Resource$Challenge;\n})(verifiedaccess_v1 = exports.verifiedaccess_v1 || (exports.verifiedaccess_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1beta2_1 = require(\"./v1beta2\");\nconst v1p1beta1_1 = require(\"./v1p1beta1\");\nconst v1p2beta1_1 = require(\"./v1p2beta1\");\nconst v1p3beta1_1 = require(\"./v1p3beta1\");\nexports.VERSIONS = {\n v1: v1_1.videointelligence_v1.Videointelligence,\n v1beta2: v1beta2_1.videointelligence_v1beta2.Videointelligence,\n v1p1beta1: v1p1beta1_1.videointelligence_v1p1beta1.Videointelligence,\n v1p2beta1: v1p2beta1_1.videointelligence_v1p2beta1.Videointelligence,\n v1p3beta1: v1p3beta1_1.videointelligence_v1p3beta1.Videointelligence,\n};\nfunction videointelligence(versionOrOptions) {\n return googleapis_common_1.getAPI('videointelligence', versionOrOptions, exports.VERSIONS, this);\n}\nexports.videointelligence = videointelligence;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar videointelligence_v1;\n(function (videointelligence_v1) {\n /**\n * Cloud Video Intelligence API\n *\n * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.\n *\n * @example\n * const {google} = require('googleapis');\n * const videointelligence = google.videointelligence('v1');\n *\n * @namespace videointelligence\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Videointelligence\n */\n class Videointelligence {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n this.videos = new Resource$Videos(this.context);\n }\n }\n videointelligence_v1.Videointelligence = Videointelligence;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n this.projects = new Resource$Operations$Projects(this.context);\n }\n }\n videointelligence_v1.Resource$Operations = Resource$Operations;\n class Resource$Operations$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Operations$Projects$Locations(this.context);\n }\n }\n videointelligence_v1.Resource$Operations$Projects = Resource$Operations$Projects;\n class Resource$Operations$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Operations$Projects$Locations$Operations(this.context);\n }\n }\n videointelligence_v1.Resource$Operations$Projects$Locations = Resource$Operations$Projects$Locations;\n class Resource$Operations$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/operations/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1.Resource$Operations$Projects$Locations$Operations = Resource$Operations$Projects$Locations$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n videointelligence_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n }\n }\n videointelligence_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/operations').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Videos {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/videos:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1.Resource$Videos = Resource$Videos;\n})(videointelligence_v1 = exports.videointelligence_v1 || (exports.videointelligence_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar videointelligence_v1beta2;\n(function (videointelligence_v1beta2) {\n /**\n * Cloud Video Intelligence API\n *\n * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.\n *\n * @example\n * const {google} = require('googleapis');\n * const videointelligence = google.videointelligence('v1beta2');\n *\n * @namespace videointelligence\n * @type {Function}\n * @version v1beta2\n * @variation v1beta2\n * @param {object=} options Options for Videointelligence\n */\n class Videointelligence {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.videos = new Resource$Videos(this.context);\n }\n }\n videointelligence_v1beta2.Videointelligence = Videointelligence;\n class Resource$Videos {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta2/videos:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1beta2.Resource$Videos = Resource$Videos;\n})(videointelligence_v1beta2 = exports.videointelligence_v1beta2 || (exports.videointelligence_v1beta2 = {}));\n//# sourceMappingURL=v1beta2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar videointelligence_v1p1beta1;\n(function (videointelligence_v1p1beta1) {\n /**\n * Cloud Video Intelligence API\n *\n * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.\n *\n * @example\n * const {google} = require('googleapis');\n * const videointelligence = google.videointelligence('v1p1beta1');\n *\n * @namespace videointelligence\n * @type {Function}\n * @version v1p1beta1\n * @variation v1p1beta1\n * @param {object=} options Options for Videointelligence\n */\n class Videointelligence {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.videos = new Resource$Videos(this.context);\n }\n }\n videointelligence_v1p1beta1.Videointelligence = Videointelligence;\n class Resource$Videos {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/videos:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1p1beta1.Resource$Videos = Resource$Videos;\n})(videointelligence_v1p1beta1 = exports.videointelligence_v1p1beta1 || (exports.videointelligence_v1p1beta1 = {}));\n//# sourceMappingURL=v1p1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar videointelligence_v1p2beta1;\n(function (videointelligence_v1p2beta1) {\n /**\n * Cloud Video Intelligence API\n *\n * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.\n *\n * @example\n * const {google} = require('googleapis');\n * const videointelligence = google.videointelligence('v1p2beta1');\n *\n * @namespace videointelligence\n * @type {Function}\n * @version v1p2beta1\n * @variation v1p2beta1\n * @param {object=} options Options for Videointelligence\n */\n class Videointelligence {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.videos = new Resource$Videos(this.context);\n }\n }\n videointelligence_v1p2beta1.Videointelligence = Videointelligence;\n class Resource$Videos {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/videos:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1p2beta1.Resource$Videos = Resource$Videos;\n})(videointelligence_v1p2beta1 = exports.videointelligence_v1p2beta1 || (exports.videointelligence_v1p2beta1 = {}));\n//# sourceMappingURL=v1p2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar videointelligence_v1p3beta1;\n(function (videointelligence_v1p3beta1) {\n /**\n * Cloud Video Intelligence API\n *\n * Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.\n *\n * @example\n * const {google} = require('googleapis');\n * const videointelligence = google.videointelligence('v1p3beta1');\n *\n * @namespace videointelligence\n * @type {Function}\n * @version v1p3beta1\n * @variation v1p3beta1\n * @param {object=} options Options for Videointelligence\n */\n class Videointelligence {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.videos = new Resource$Videos(this.context);\n }\n }\n videointelligence_v1p3beta1.Videointelligence = Videointelligence;\n class Resource$Videos {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://videointelligence.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p3beta1/videos:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n videointelligence_v1p3beta1.Resource$Videos = Resource$Videos;\n})(videointelligence_v1p3beta1 = exports.videointelligence_v1p3beta1 || (exports.videointelligence_v1p3beta1 = {}));\n//# sourceMappingURL=v1p3beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1p1beta1_1 = require(\"./v1p1beta1\");\nconst v1p2beta1_1 = require(\"./v1p2beta1\");\nexports.VERSIONS = {\n v1: v1_1.vision_v1.Vision,\n v1p1beta1: v1p1beta1_1.vision_v1p1beta1.Vision,\n v1p2beta1: v1p2beta1_1.vision_v1p2beta1.Vision,\n};\nfunction vision(versionOrOptions) {\n return googleapis_common_1.getAPI('vision', versionOrOptions, exports.VERSIONS, this);\n}\nexports.vision = vision;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar vision_v1;\n(function (vision_v1) {\n /**\n * Cloud Vision API\n *\n * Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const vision = google.vision('v1');\n *\n * @namespace vision\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Vision\n */\n class Vision {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.files = new Resource$Files(this.context);\n this.images = new Resource$Images(this.context);\n this.locations = new Resource$Locations(this.context);\n this.operations = new Resource$Operations(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n vision_v1.Vision = Vision;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Files = Resource$Files;\n class Resource$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Images = Resource$Images;\n class Resource$Locations {\n constructor(context) {\n this.context = context;\n this.operations = new Resource$Locations$Operations(this.context);\n }\n }\n vision_v1.Resource$Locations = Resource$Locations;\n class Resource$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Locations$Operations = Resource$Locations$Operations;\n class Resource$Operations {\n constructor(context) {\n this.context = context;\n }\n cancel(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:cancel').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Operations = Resource$Operations;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Projects$Files(this.context);\n this.images = new Resource$Projects$Images(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n this.operations = new Resource$Projects$Operations(this.context);\n }\n }\n vision_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Files = Resource$Projects$Files;\n class Resource$Projects$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Images = Resource$Projects$Images;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Projects$Locations$Files(this.context);\n this.images = new Resource$Projects$Locations$Images(this.context);\n this.operations = new Resource$Projects$Locations$Operations(this.context);\n this.products = new Resource$Projects$Locations$Products(this.context);\n this.productSets = new Resource$Projects$Locations$Productsets(this.context);\n }\n }\n vision_v1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Files = Resource$Projects$Locations$Files;\n class Resource$Projects$Locations$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Images = Resource$Projects$Locations$Images;\n class Resource$Projects$Locations$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;\n class Resource$Projects$Locations$Products {\n constructor(context) {\n this.context = context;\n this.referenceImages = new Resource$Projects$Locations$Products$Referenceimages(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n purge(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/products:purge').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Products = Resource$Projects$Locations$Products;\n class Resource$Projects$Locations$Products$Referenceimages {\n constructor(context) {\n this.context = context;\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/referenceImages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/referenceImages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Products$Referenceimages = Resource$Projects$Locations$Products$Referenceimages;\n class Resource$Projects$Locations$Productsets {\n constructor(context) {\n this.context = context;\n this.products = new Resource$Projects$Locations$Productsets$Products(this.context);\n }\n addProduct(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:addProduct').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/productSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n import(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/productSets:import').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/productSets').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n removeProduct(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:removeProduct').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Productsets = Resource$Projects$Locations$Productsets;\n class Resource$Projects$Locations$Productsets$Products {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}/products').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Locations$Productsets$Products = Resource$Projects$Locations$Productsets$Products;\n class Resource$Projects$Operations {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1.Resource$Projects$Operations = Resource$Projects$Operations;\n})(vision_v1 = exports.vision_v1 || (exports.vision_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar vision_v1p1beta1;\n(function (vision_v1p1beta1) {\n /**\n * Cloud Vision API\n *\n * Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const vision = google.vision('v1p1beta1');\n *\n * @namespace vision\n * @type {Function}\n * @version v1p1beta1\n * @variation v1p1beta1\n * @param {object=} options Options for Vision\n */\n class Vision {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.files = new Resource$Files(this.context);\n this.images = new Resource$Images(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n vision_v1p1beta1.Vision = Vision;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p1beta1.Resource$Files = Resource$Files;\n class Resource$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p1beta1.Resource$Images = Resource$Images;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Projects$Files(this.context);\n this.images = new Resource$Projects$Images(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n vision_v1p1beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p1beta1.Resource$Projects$Files = Resource$Projects$Files;\n class Resource$Projects$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p1beta1.Resource$Projects$Images = Resource$Projects$Images;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Projects$Locations$Files(this.context);\n this.images = new Resource$Projects$Locations$Images(this.context);\n }\n }\n vision_v1p1beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p1beta1.Resource$Projects$Locations$Files = Resource$Projects$Locations$Files;\n class Resource$Projects$Locations$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p1beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p1beta1.Resource$Projects$Locations$Images = Resource$Projects$Locations$Images;\n})(vision_v1p1beta1 = exports.vision_v1p1beta1 || (exports.vision_v1p1beta1 = {}));\n//# sourceMappingURL=v1p1beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar vision_v1p2beta1;\n(function (vision_v1p2beta1) {\n /**\n * Cloud Vision API\n *\n * Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.\n *\n * @example\n * const {google} = require('googleapis');\n * const vision = google.vision('v1p2beta1');\n *\n * @namespace vision\n * @type {Function}\n * @version v1p2beta1\n * @variation v1p2beta1\n * @param {object=} options Options for Vision\n */\n class Vision {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.files = new Resource$Files(this.context);\n this.images = new Resource$Images(this.context);\n this.projects = new Resource$Projects(this.context);\n }\n }\n vision_v1p2beta1.Vision = Vision;\n class Resource$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p2beta1.Resource$Files = Resource$Files;\n class Resource$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p2beta1.Resource$Images = Resource$Images;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Projects$Files(this.context);\n this.images = new Resource$Projects$Images(this.context);\n this.locations = new Resource$Projects$Locations(this.context);\n }\n }\n vision_v1p2beta1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p2beta1.Resource$Projects$Files = Resource$Projects$Files;\n class Resource$Projects$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p2beta1.Resource$Projects$Images = Resource$Projects$Images;\n class Resource$Projects$Locations {\n constructor(context) {\n this.context = context;\n this.files = new Resource$Projects$Locations$Files(this.context);\n this.images = new Resource$Projects$Locations$Images(this.context);\n }\n }\n vision_v1p2beta1.Resource$Projects$Locations = Resource$Projects$Locations;\n class Resource$Projects$Locations$Files {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/files:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/files:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p2beta1.Resource$Projects$Locations$Files = Resource$Projects$Locations$Files;\n class Resource$Projects$Locations$Images {\n constructor(context) {\n this.context = context;\n }\n annotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/images:annotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n asyncBatchAnnotate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://vision.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1p2beta1/{+parent}/images:asyncBatchAnnotate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n vision_v1p2beta1.Resource$Projects$Locations$Images = Resource$Projects$Locations$Images;\n})(vision_v1p2beta1 = exports.vision_v1p2beta1 || (exports.vision_v1p2beta1 = {}));\n//# sourceMappingURL=v1p2beta1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.webfonts_v1.Webfonts,\n};\nfunction webfonts(versionOrOptions) {\n return googleapis_common_1.getAPI('webfonts', versionOrOptions, exports.VERSIONS, this);\n}\nexports.webfonts = webfonts;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar webfonts_v1;\n(function (webfonts_v1) {\n /**\n * Google Fonts Developer API\n *\n * Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets).\n *\n * @example\n * const {google} = require('googleapis');\n * const webfonts = google.webfonts('v1');\n *\n * @namespace webfonts\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Webfonts\n */\n class Webfonts {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.webfonts = new Resource$Webfonts(this.context);\n }\n }\n webfonts_v1.Webfonts = Webfonts;\n class Resource$Webfonts {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webfonts/v1/webfonts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n webfonts_v1.Resource$Webfonts = Resource$Webfonts;\n})(webfonts_v1 = exports.webfonts_v1 || (exports.webfonts_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v3: v3_1.webmasters_v3.Webmasters,\n};\nfunction webmasters(versionOrOptions) {\n return googleapis_common_1.getAPI('webmasters', versionOrOptions, exports.VERSIONS, this);\n}\nexports.webmasters = webmasters;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar webmasters_v3;\n(function (webmasters_v3) {\n /**\n * Search Console API\n *\n * View Google Search Console data for your verified sites.\n *\n * @example\n * const {google} = require('googleapis');\n * const webmasters = google.webmasters('v3');\n *\n * @namespace webmasters\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Webmasters\n */\n class Webmasters {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.searchanalytics = new Resource$Searchanalytics(this.context);\n this.sitemaps = new Resource$Sitemaps(this.context);\n this.sites = new Resource$Sites(this.context);\n }\n }\n webmasters_v3.Webmasters = Webmasters;\n class Resource$Searchanalytics {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/searchAnalytics/query').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['siteUrl'],\n pathParams: ['siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n webmasters_v3.Resource$Searchanalytics = Resource$Searchanalytics;\n class Resource$Sitemaps {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['siteUrl', 'feedpath'],\n pathParams: ['feedpath', 'siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['siteUrl', 'feedpath'],\n pathParams: ['feedpath', 'siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['siteUrl'],\n pathParams: ['siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n submit(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['siteUrl', 'feedpath'],\n pathParams: ['feedpath', 'siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n webmasters_v3.Resource$Sitemaps = Resource$Sitemaps;\n class Resource$Sites {\n constructor(context) {\n this.context = context;\n }\n add(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['siteUrl'],\n pathParams: ['siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['siteUrl'],\n pathParams: ['siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites/{siteUrl}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['siteUrl'],\n pathParams: ['siteUrl'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/webmasters/v3/sites').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n webmasters_v3.Resource$Sites = Resource$Sites;\n})(webmasters_v3 = exports.webmasters_v3 || (exports.webmasters_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v1alpha_1 = require(\"./v1alpha\");\nconst v1beta_1 = require(\"./v1beta\");\nexports.VERSIONS = {\n v1: v1_1.websecurityscanner_v1.Websecurityscanner,\n v1alpha: v1alpha_1.websecurityscanner_v1alpha.Websecurityscanner,\n v1beta: v1beta_1.websecurityscanner_v1beta.Websecurityscanner,\n};\nfunction websecurityscanner(versionOrOptions) {\n return googleapis_common_1.getAPI('websecurityscanner', versionOrOptions, exports.VERSIONS, this);\n}\nexports.websecurityscanner = websecurityscanner;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar websecurityscanner_v1;\n(function (websecurityscanner_v1) {\n /**\n * Web Security Scanner API\n *\n * Scans your Compute and App Engine apps for common web vulnerabilities.\n *\n * @example\n * const {google} = require('googleapis');\n * const websecurityscanner = google.websecurityscanner('v1');\n *\n * @namespace websecurityscanner\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Websecurityscanner\n */\n class Websecurityscanner {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n websecurityscanner_v1.Websecurityscanner = Websecurityscanner;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.scanConfigs = new Resource$Projects$Scanconfigs(this.context);\n }\n }\n websecurityscanner_v1.Resource$Projects = Resource$Projects;\n class Resource$Projects$Scanconfigs {\n constructor(context) {\n this.context = context;\n this.scanRuns = new Resource$Projects$Scanconfigs$Scanruns(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs;\n class Resource$Projects$Scanconfigs$Scanruns {\n constructor(context) {\n this.context = context;\n this.crawledUrls = new Resource$Projects$Scanconfigs$Scanruns$Crawledurls(this.context);\n this.findings = new Resource$Projects$Scanconfigs$Scanruns$Findings(this.context);\n this.findingTypeStats = new Resource$Projects$Scanconfigs$Scanruns$Findingtypestats(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/scanRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}:stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns = Resource$Projects$Scanconfigs$Scanruns;\n class Resource$Projects$Scanconfigs$Scanruns$Crawledurls {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/crawledUrls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns$Crawledurls = Resource$Projects$Scanconfigs$Scanruns$Crawledurls;\n class Resource$Projects$Scanconfigs$Scanruns$Findings {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns$Findings = Resource$Projects$Scanconfigs$Scanruns$Findings;\n class Resource$Projects$Scanconfigs$Scanruns$Findingtypestats {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/{+parent}/findingTypeStats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1.Resource$Projects$Scanconfigs$Scanruns$Findingtypestats = Resource$Projects$Scanconfigs$Scanruns$Findingtypestats;\n})(websecurityscanner_v1 = exports.websecurityscanner_v1 || (exports.websecurityscanner_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar websecurityscanner_v1alpha;\n(function (websecurityscanner_v1alpha) {\n /**\n * Web Security Scanner API\n *\n * Scans your Compute and App Engine apps for common web vulnerabilities.\n *\n * @example\n * const {google} = require('googleapis');\n * const websecurityscanner = google.websecurityscanner('v1alpha');\n *\n * @namespace websecurityscanner\n * @type {Function}\n * @version v1alpha\n * @variation v1alpha\n * @param {object=} options Options for Websecurityscanner\n */\n class Websecurityscanner {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n websecurityscanner_v1alpha.Websecurityscanner = Websecurityscanner;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.scanConfigs = new Resource$Projects$Scanconfigs(this.context);\n }\n }\n websecurityscanner_v1alpha.Resource$Projects = Resource$Projects;\n class Resource$Projects$Scanconfigs {\n constructor(context) {\n this.context = context;\n this.scanRuns = new Resource$Projects$Scanconfigs$Scanruns(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}:start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1alpha.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs;\n class Resource$Projects$Scanconfigs$Scanruns {\n constructor(context) {\n this.context = context;\n this.crawledUrls = new Resource$Projects$Scanconfigs$Scanruns$Crawledurls(this.context);\n this.findings = new Resource$Projects$Scanconfigs$Scanruns$Findings(this.context);\n this.findingTypeStats = new Resource$Projects$Scanconfigs$Scanruns$Findingtypestats(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/scanRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}:stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns = Resource$Projects$Scanconfigs$Scanruns;\n class Resource$Projects$Scanconfigs$Scanruns$Crawledurls {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/crawledUrls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns$Crawledurls = Resource$Projects$Scanconfigs$Scanruns$Crawledurls;\n class Resource$Projects$Scanconfigs$Scanruns$Findings {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns$Findings = Resource$Projects$Scanconfigs$Scanruns$Findings;\n class Resource$Projects$Scanconfigs$Scanruns$Findingtypestats {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1alpha/{+parent}/findingTypeStats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1alpha.Resource$Projects$Scanconfigs$Scanruns$Findingtypestats = Resource$Projects$Scanconfigs$Scanruns$Findingtypestats;\n})(websecurityscanner_v1alpha = exports.websecurityscanner_v1alpha || (exports.websecurityscanner_v1alpha = {}));\n//# sourceMappingURL=v1alpha.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar websecurityscanner_v1beta;\n(function (websecurityscanner_v1beta) {\n /**\n * Web Security Scanner API\n *\n * Scans your Compute and App Engine apps for common web vulnerabilities.\n *\n * @example\n * const {google} = require('googleapis');\n * const websecurityscanner = google.websecurityscanner('v1beta');\n *\n * @namespace websecurityscanner\n * @type {Function}\n * @version v1beta\n * @variation v1beta\n * @param {object=} options Options for Websecurityscanner\n */\n class Websecurityscanner {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.projects = new Resource$Projects(this.context);\n }\n }\n websecurityscanner_v1beta.Websecurityscanner = Websecurityscanner;\n class Resource$Projects {\n constructor(context) {\n this.context = context;\n this.scanConfigs = new Resource$Projects$Scanconfigs(this.context);\n }\n }\n websecurityscanner_v1beta.Resource$Projects = Resource$Projects;\n class Resource$Projects$Scanconfigs {\n constructor(context) {\n this.context = context;\n this.scanRuns = new Resource$Projects$Scanconfigs$Scanruns(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/scanConfigs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n patch(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PATCH',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n start(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}:start').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1beta.Resource$Projects$Scanconfigs = Resource$Projects$Scanconfigs;\n class Resource$Projects$Scanconfigs$Scanruns {\n constructor(context) {\n this.context = context;\n this.crawledUrls = new Resource$Projects$Scanconfigs$Scanruns$Crawledurls(this.context);\n this.findings = new Resource$Projects$Scanconfigs$Scanruns$Findings(this.context);\n this.findingTypeStats = new Resource$Projects$Scanconfigs$Scanruns$Findingtypestats(this.context);\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/scanRuns').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n stop(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}:stop').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns = Resource$Projects$Scanconfigs$Scanruns;\n class Resource$Projects$Scanconfigs$Scanruns$Crawledurls {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/crawledUrls').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns$Crawledurls = Resource$Projects$Scanconfigs$Scanruns$Crawledurls;\n class Resource$Projects$Scanconfigs$Scanruns$Findings {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['name'],\n pathParams: ['name'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/findings').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns$Findings = Resource$Projects$Scanconfigs$Scanruns$Findings;\n class Resource$Projects$Scanconfigs$Scanruns$Findingtypestats {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://websecurityscanner.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1beta/{+parent}/findingTypeStats').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['parent'],\n pathParams: ['parent'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n websecurityscanner_v1beta.Resource$Projects$Scanconfigs$Scanruns$Findingtypestats = Resource$Projects$Scanconfigs$Scanruns$Findingtypestats;\n})(websecurityscanner_v1beta = exports.websecurityscanner_v1beta || (exports.websecurityscanner_v1beta = {}));\n//# sourceMappingURL=v1beta.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v3_1 = require(\"./v3\");\nexports.VERSIONS = {\n v3: v3_1.youtube_v3.Youtube,\n};\nfunction youtube(versionOrOptions) {\n return googleapis_common_1.getAPI('youtube', versionOrOptions, exports.VERSIONS, this);\n}\nexports.youtube = youtube;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar youtube_v3;\n(function (youtube_v3) {\n /**\n * YouTube Data API\n *\n * Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.\n *\n * @example\n * const {google} = require('googleapis');\n * const youtube = google.youtube('v3');\n *\n * @namespace youtube\n * @type {Function}\n * @version v3\n * @variation v3\n * @param {object=} options Options for Youtube\n */\n class Youtube {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.activities = new Resource$Activities(this.context);\n this.captions = new Resource$Captions(this.context);\n this.channelBanners = new Resource$Channelbanners(this.context);\n this.channels = new Resource$Channels(this.context);\n this.channelSections = new Resource$Channelsections(this.context);\n this.comments = new Resource$Comments(this.context);\n this.commentThreads = new Resource$Commentthreads(this.context);\n this.guideCategories = new Resource$Guidecategories(this.context);\n this.i18nLanguages = new Resource$I18nlanguages(this.context);\n this.i18nRegions = new Resource$I18nregions(this.context);\n this.liveBroadcasts = new Resource$Livebroadcasts(this.context);\n this.liveChatBans = new Resource$Livechatbans(this.context);\n this.liveChatMessages = new Resource$Livechatmessages(this.context);\n this.liveChatModerators = new Resource$Livechatmoderators(this.context);\n this.liveStreams = new Resource$Livestreams(this.context);\n this.members = new Resource$Members(this.context);\n this.membershipsLevels = new Resource$Membershipslevels(this.context);\n this.playlistItems = new Resource$Playlistitems(this.context);\n this.playlists = new Resource$Playlists(this.context);\n this.search = new Resource$Search(this.context);\n this.sponsors = new Resource$Sponsors(this.context);\n this.subscriptions = new Resource$Subscriptions(this.context);\n this.superChatEvents = new Resource$Superchatevents(this.context);\n this.thumbnails = new Resource$Thumbnails(this.context);\n this.videoAbuseReportReasons = new Resource$Videoabusereportreasons(this.context);\n this.videoCategories = new Resource$Videocategories(this.context);\n this.videos = new Resource$Videos(this.context);\n this.watermarks = new Resource$Watermarks(this.context);\n }\n }\n youtube_v3.Youtube = Youtube;\n class Resource$Activities {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/activities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/activities').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Activities = Resource$Activities;\n class Resource$Captions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n download(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/captions/{id}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: ['id'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/youtube/v3/captions').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part', 'videoId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/captions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/youtube/v3/captions').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Captions = Resource$Captions;\n class Resource$Channelbanners {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channelBanners/insert').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/youtube/v3/channelBanners/insert').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Channelbanners = Resource$Channelbanners;\n class Resource$Channels {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Channels = Resource$Channels;\n class Resource$Channelsections {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/channelSections').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Channelsections = Resource$Channelsections;\n class Resource$Comments {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n markAsSpam(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/comments/markAsSpam').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n setModerationStatus(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/comments/setModerationStatus').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id', 'moderationStatus'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/comments').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Comments = Resource$Comments;\n class Resource$Commentthreads {\n constructor(context) {\n this.context = context;\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/commentThreads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/commentThreads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/commentThreads').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Commentthreads = Resource$Commentthreads;\n class Resource$Guidecategories {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/guideCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Guidecategories = Resource$Guidecategories;\n class Resource$I18nlanguages {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/i18nLanguages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$I18nlanguages = Resource$I18nlanguages;\n class Resource$I18nregions {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/i18nRegions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$I18nregions = Resource$I18nregions;\n class Resource$Livebroadcasts {\n constructor(context) {\n this.context = context;\n }\n bind(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts/bind').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id', 'part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n control(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts/control').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id', 'part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n transition(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts/transition').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['broadcastStatus', 'id', 'part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveBroadcasts').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Livebroadcasts = Resource$Livebroadcasts;\n class Resource$Livechatbans {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/bans').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/bans').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Livechatbans = Resource$Livechatbans;\n class Resource$Livechatmessages {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/messages').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['liveChatId', 'part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Livechatmessages = Resource$Livechatmessages;\n class Resource$Livechatmoderators {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/moderators').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/moderators').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveChat/moderators').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['liveChatId', 'part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Livechatmoderators = Resource$Livechatmoderators;\n class Resource$Livestreams {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/liveStreams').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Livestreams = Resource$Livestreams;\n class Resource$Members {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/members').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Members = Resource$Members;\n class Resource$Membershipslevels {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/membershipsLevels').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Membershipslevels = Resource$Membershipslevels;\n class Resource$Playlistitems {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlistItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Playlistitems = Resource$Playlistitems;\n class Resource$Playlists {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/playlists').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Playlists = Resource$Playlists;\n class Resource$Search {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/search').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Search = Resource$Search;\n class Resource$Sponsors {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/sponsors').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Sponsors = Resource$Sponsors;\n class Resource$Subscriptions {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/subscriptions').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Subscriptions = Resource$Subscriptions;\n class Resource$Superchatevents {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/superChatEvents').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Superchatevents = Resource$Superchatevents;\n class Resource$Thumbnails {\n constructor(context) {\n this.context = context;\n }\n set(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/thumbnails/set').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/youtube/v3/thumbnails/set').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['videoId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Thumbnails = Resource$Thumbnails;\n class Resource$Videoabusereportreasons {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videoAbuseReportReasons').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Videoabusereportreasons = Resource$Videoabusereportreasons;\n class Resource$Videocategories {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videoCategories').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Videocategories = Resource$Videocategories;\n class Resource$Videos {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n getRating(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos/getRating').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['id'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/youtube/v3/videos').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n rate(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos/rate').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['id', 'rating'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n reportAbuse(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos/reportAbuse').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/videos').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: ['part'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Videos = Resource$Videos;\n class Resource$Watermarks {\n constructor(context) {\n this.context = context;\n }\n set(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/watermarks/set').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n mediaUrl: (rootUrl + '/upload/youtube/v3/watermarks/set').replace(/([^:]\\/)\\/+/g, '$1'),\n requiredParams: ['channelId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n unset(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://www.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/youtube/v3/watermarks/unset').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: ['channelId'],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtube_v3.Resource$Watermarks = Resource$Watermarks;\n})(youtube_v3 = exports.youtube_v3 || (exports.youtube_v3 = {}));\n//# sourceMappingURL=v3.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nconst v2_1 = require(\"./v2\");\nexports.VERSIONS = {\n v1: v1_1.youtubeAnalytics_v1.Youtubeanalytics,\n v2: v2_1.youtubeAnalytics_v2.Youtubeanalytics,\n};\nfunction youtubeAnalytics(versionOrOptions) {\n return googleapis_common_1.getAPI('youtubeAnalytics', versionOrOptions, exports.VERSIONS, this);\n}\nexports.youtubeAnalytics = youtubeAnalytics;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar youtubeAnalytics_v1;\n(function (youtubeAnalytics_v1) {\n /**\n * YouTube Analytics API\n *\n * Retrieves your YouTube Analytics data.\n *\n * @example\n * const {google} = require('googleapis');\n * const youtubeAnalytics = google.youtubeAnalytics('v1');\n *\n * @namespace youtubeAnalytics\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Youtubeanalytics\n */\n class Youtubeanalytics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n }\n }\n youtubeAnalytics_v1.Youtubeanalytics = Youtubeanalytics;\n})(youtubeAnalytics_v1 = exports.youtubeAnalytics_v1 || (exports.youtubeAnalytics_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar youtubeAnalytics_v2;\n(function (youtubeAnalytics_v2) {\n /**\n * YouTube Analytics API\n *\n * Retrieves your YouTube Analytics data.\n *\n * @example\n * const {google} = require('googleapis');\n * const youtubeAnalytics = google.youtubeAnalytics('v2');\n *\n * @namespace youtubeAnalytics\n * @type {Function}\n * @version v2\n * @variation v2\n * @param {object=} options Options for Youtubeanalytics\n */\n class Youtubeanalytics {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.groupItems = new Resource$Groupitems(this.context);\n this.groups = new Resource$Groups(this.context);\n this.reports = new Resource$Reports(this.context);\n }\n }\n youtubeAnalytics_v2.Youtubeanalytics = Youtubeanalytics;\n class Resource$Groupitems {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groupItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groupItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groupItems').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubeAnalytics_v2.Resource$Groupitems = Resource$Groupitems;\n class Resource$Groups {\n constructor(context) {\n this.context = context;\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n insert(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n update(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/groups').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'PUT',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubeAnalytics_v2.Resource$Groups = Resource$Groups;\n class Resource$Reports {\n constructor(context) {\n this.context = context;\n }\n query(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubeanalytics.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v2/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubeAnalytics_v2.Resource$Reports = Resource$Reports;\n})(youtubeAnalytics_v2 = exports.youtubeAnalytics_v2 || (exports.youtubeAnalytics_v2 = {}));\n//# sourceMappingURL=v2.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_common_1 = require(\"googleapis-common\");\nconst v1_1 = require(\"./v1\");\nexports.VERSIONS = {\n v1: v1_1.youtubereporting_v1.Youtubereporting,\n};\nfunction youtubereporting(versionOrOptions) {\n return googleapis_common_1.getAPI('youtubereporting', versionOrOptions, exports.VERSIONS, this);\n}\nexports.youtubereporting = youtubereporting;\nconst auth = new googleapis_common_1.AuthPlus();\nexports.auth = auth;\n//# sourceMappingURL=index.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst googleapis_common_1 = require(\"googleapis-common\");\n// tslint:disable: no-any\n// tslint:disable: class-name\n// tslint:disable: variable-name\n// tslint:disable: jsdoc-format\n// tslint:disable: no-namespace\nvar youtubereporting_v1;\n(function (youtubereporting_v1) {\n /**\n * YouTube Reporting API\n *\n * Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.\n *\n * @example\n * const {google} = require('googleapis');\n * const youtubereporting = google.youtubereporting('v1');\n *\n * @namespace youtubereporting\n * @type {Function}\n * @version v1\n * @variation v1\n * @param {object=} options Options for Youtubereporting\n */\n class Youtubereporting {\n constructor(options, google) {\n this.context = {\n _options: options || {},\n google,\n };\n this.jobs = new Resource$Jobs(this.context);\n this.media = new Resource$Media(this.context);\n this.reportTypes = new Resource$Reporttypes(this.context);\n }\n }\n youtubereporting_v1.Youtubereporting = Youtubereporting;\n class Resource$Jobs {\n constructor(context) {\n this.context = context;\n this.reports = new Resource$Jobs$Reports(this.context);\n }\n create(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'POST',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n delete(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'DELETE',\n }, options),\n params,\n requiredParams: ['jobId'],\n pathParams: ['jobId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/jobs/{jobId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['jobId'],\n pathParams: ['jobId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/jobs').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubereporting_v1.Resource$Jobs = Resource$Jobs;\n class Resource$Jobs$Reports {\n constructor(context) {\n this.context = context;\n }\n get(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/jobs/{jobId}/reports/{reportId}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['jobId', 'reportId'],\n pathParams: ['jobId', 'reportId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback ||\n {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/jobs/{jobId}/reports').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['jobId'],\n pathParams: ['jobId'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubereporting_v1.Resource$Jobs$Reports = Resource$Jobs$Reports;\n class Resource$Media {\n constructor(context) {\n this.context = context;\n }\n download(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/media/{+resourceName}').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: ['resourceName'],\n pathParams: ['resourceName'],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubereporting_v1.Resource$Media = Resource$Media;\n class Resource$Reporttypes {\n constructor(context) {\n this.context = context;\n }\n list(paramsOrCallback, optionsOrCallback, callback) {\n let params = (paramsOrCallback || {});\n let options = (optionsOrCallback || {});\n if (typeof paramsOrCallback === 'function') {\n callback = paramsOrCallback;\n params = {};\n options = {};\n }\n if (typeof optionsOrCallback === 'function') {\n callback = optionsOrCallback;\n options = {};\n }\n const rootUrl = options.rootUrl || 'https://youtubereporting.googleapis.com/';\n const parameters = {\n options: Object.assign({\n url: (rootUrl + '/v1/reportTypes').replace(/([^:]\\/)\\/+/g, '$1'),\n method: 'GET',\n }, options),\n params,\n requiredParams: [],\n pathParams: [],\n context: this.context,\n };\n if (callback) {\n googleapis_common_1.createAPIRequest(parameters, callback);\n }\n else {\n return googleapis_common_1.createAPIRequest(parameters);\n }\n }\n }\n youtubereporting_v1.Resource$Reporttypes = Resource$Reporttypes;\n})(youtubereporting_v1 = exports.youtubereporting_v1 || (exports.youtubereporting_v1 = {}));\n//# sourceMappingURL=v1.js.map","\"use strict\";\n// Copyright 2012 Google LLC\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst apis = require(\"./apis\");\nconst googleapis_common_1 = require(\"googleapis-common\");\nexports.AuthPlus = googleapis_common_1.AuthPlus;\nclass GoogleApis extends apis.GeneratedAPIs {\n /**\n * GoogleApis constructor.\n *\n * @example\n * const GoogleApis = require('googleapis').GoogleApis;\n * const google = new GoogleApis();\n *\n * @class GoogleApis\n * @param {Object} [options] Configuration options.\n */\n constructor(options) {\n super();\n this._discovery = new googleapis_common_1.Discovery({ debug: false, includePrivate: false });\n this.auth = new googleapis_common_1.AuthPlus();\n this._options = {};\n this.options(options);\n }\n /**\n * Obtain a Map of supported APIs, along with included API versions.\n */\n getSupportedAPIs() {\n const apiMap = {};\n Object.keys(apis.APIS).forEach(a => {\n apiMap[a] = Object.keys(apis.APIS[a]);\n });\n return apiMap;\n }\n /**\n * Set options.\n *\n * @param {Object} [options] Configuration options.\n */\n options(options) {\n this._options = options || {};\n }\n /**\n * Add APIs endpoints to googleapis object\n * E.g. googleapis.drive and googleapis.datastore\n *\n * @name GoogleApis#addAPIs\n * @method\n * @param {Object} apis Apis to be added to this GoogleApis instance.\n * @private\n */\n addAPIs(apisToAdd) {\n for (const apiName in apisToAdd) {\n if (apisToAdd.hasOwnProperty(apiName)) {\n // tslint:disable-next-line: no-any\n this[apiName] = apisToAdd[apiName].bind(this);\n }\n }\n }\n discover(url, callback) {\n if (callback) {\n this.discoverAsync(url)\n .then(() => callback())\n .catch(callback);\n }\n else {\n return this.discoverAsync(url);\n }\n }\n async discoverAsync(url) {\n const allApis = await this._discovery.discoverAllAPIs(url);\n this.addAPIs(allApis);\n }\n /**\n * Dynamically generate an Endpoint object from a discovery doc.\n *\n * @param path Url or file path to discover doc for a single API.\n * @param Options to configure the Endpoint object generated from the\n * discovery doc.\n * @returns A promise that resolves with the configured endpoint.\n */\n async discoverAPI(apiPath, options = {}) {\n const endpointCreator = await this._discovery.discoverAPI(apiPath);\n const ep = endpointCreator(options, this);\n ep.google = this; // for drive.google.transporter\n return Object.freeze(ep);\n }\n}\nexports.GoogleApis = GoogleApis;\n//# sourceMappingURL=googleapis.js.map","\"use strict\";\n// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*! THIS FILE IS AUTO-GENERATED */\nconst googleapis_1 = require(\"./googleapis\");\nexports.GoogleApis = googleapis_1.GoogleApis;\nconst google = new googleapis_1.GoogleApis();\nexports.google = google;\nvar v1_1 = require(\"./apis/abusiveexperiencereport/v1\");\nexports.abusiveexperiencereport_v1 = v1_1.abusiveexperiencereport_v1;\nvar v1_2 = require(\"./apis/acceleratedmobilepageurl/v1\");\nexports.acceleratedmobilepageurl_v1 = v1_2.acceleratedmobilepageurl_v1;\nvar v1beta1_1 = require(\"./apis/accessapproval/v1beta1\");\nexports.accessapproval_v1beta1 = v1beta1_1.accessapproval_v1beta1;\nvar v1_3 = require(\"./apis/accesscontextmanager/v1\");\nexports.accesscontextmanager_v1 = v1_3.accesscontextmanager_v1;\nvar v1beta_1 = require(\"./apis/accesscontextmanager/v1beta\");\nexports.accesscontextmanager_v1beta = v1beta_1.accesscontextmanager_v1beta;\nvar v1_2_1 = require(\"./apis/adexchangebuyer/v1.2\");\nexports.adexchangebuyer_v1_2 = v1_2_1.adexchangebuyer_v1_2;\nvar v1_3_1 = require(\"./apis/adexchangebuyer/v1.3\");\nexports.adexchangebuyer_v1_3 = v1_3_1.adexchangebuyer_v1_3;\nvar v1_4_1 = require(\"./apis/adexchangebuyer/v1.4\");\nexports.adexchangebuyer_v1_4 = v1_4_1.adexchangebuyer_v1_4;\nvar v2beta1_1 = require(\"./apis/adexchangebuyer2/v2beta1\");\nexports.adexchangebuyer2_v2beta1 = v2beta1_1.adexchangebuyer2_v2beta1;\nvar v1_4 = require(\"./apis/adexperiencereport/v1\");\nexports.adexperiencereport_v1 = v1_4.adexperiencereport_v1;\nvar datatransfer_v1_1 = require(\"./apis/admin/datatransfer_v1\");\nexports.admin_datatransfer_v1 = datatransfer_v1_1.admin_datatransfer_v1;\nvar directory_v1_1 = require(\"./apis/admin/directory_v1\");\nexports.admin_directory_v1 = directory_v1_1.admin_directory_v1;\nvar reports_v1_1 = require(\"./apis/admin/reports_v1\");\nexports.admin_reports_v1 = reports_v1_1.admin_reports_v1;\nvar v1_4_2 = require(\"./apis/adsense/v1.4\");\nexports.adsense_v1_4 = v1_4_2.adsense_v1_4;\nvar v4_1_1 = require(\"./apis/adsensehost/v4.1\");\nexports.adsensehost_v4_1 = v4_1_1.adsensehost_v4_1;\nvar v1beta1_2 = require(\"./apis/alertcenter/v1beta1\");\nexports.alertcenter_v1beta1 = v1beta1_2.alertcenter_v1beta1;\nvar v2_4_1 = require(\"./apis/analytics/v2.4\");\nexports.analytics_v2_4 = v2_4_1.analytics_v2_4;\nvar v3_1 = require(\"./apis/analytics/v3\");\nexports.analytics_v3 = v3_1.analytics_v3;\nvar v4_1 = require(\"./apis/analyticsreporting/v4\");\nexports.analyticsreporting_v4 = v4_1.analyticsreporting_v4;\nvar v1_5 = require(\"./apis/androiddeviceprovisioning/v1\");\nexports.androiddeviceprovisioning_v1 = v1_5.androiddeviceprovisioning_v1;\nvar v1_6 = require(\"./apis/androidenterprise/v1\");\nexports.androidenterprise_v1 = v1_6.androidenterprise_v1;\nvar v1_7 = require(\"./apis/androidmanagement/v1\");\nexports.androidmanagement_v1 = v1_7.androidmanagement_v1;\nvar v1_1_1 = require(\"./apis/androidpublisher/v1.1\");\nexports.androidpublisher_v1_1 = v1_1_1.androidpublisher_v1_1;\nvar v1_8 = require(\"./apis/androidpublisher/v1\");\nexports.androidpublisher_v1 = v1_8.androidpublisher_v1;\nvar v2_1 = require(\"./apis/androidpublisher/v2\");\nexports.androidpublisher_v2 = v2_1.androidpublisher_v2;\nvar v3_2 = require(\"./apis/androidpublisher/v3\");\nexports.androidpublisher_v3 = v3_2.androidpublisher_v3;\nvar v1_9 = require(\"./apis/appengine/v1\");\nexports.appengine_v1 = v1_9.appengine_v1;\nvar v1alpha_1 = require(\"./apis/appengine/v1alpha\");\nexports.appengine_v1alpha = v1alpha_1.appengine_v1alpha;\nvar v1beta_2 = require(\"./apis/appengine/v1beta\");\nexports.appengine_v1beta = v1beta_2.appengine_v1beta;\nvar v1_10 = require(\"./apis/appsactivity/v1\");\nexports.appsactivity_v1 = v1_10.appsactivity_v1;\nvar v2_2 = require(\"./apis/bigquery/v2\");\nexports.bigquery_v2 = v2_2.bigquery_v2;\nvar v1beta1_3 = require(\"./apis/bigqueryconnection/v1beta1\");\nexports.bigqueryconnection_v1beta1 = v1beta1_3.bigqueryconnection_v1beta1;\nvar v1_11 = require(\"./apis/bigquerydatatransfer/v1\");\nexports.bigquerydatatransfer_v1 = v1_11.bigquerydatatransfer_v1;\nvar v1_12 = require(\"./apis/bigqueryreservation/v1\");\nexports.bigqueryreservation_v1 = v1_12.bigqueryreservation_v1;\nvar v1alpha2_1 = require(\"./apis/bigqueryreservation/v1alpha2\");\nexports.bigqueryreservation_v1alpha2 = v1alpha2_1.bigqueryreservation_v1alpha2;\nvar v1beta1_4 = require(\"./apis/bigqueryreservation/v1beta1\");\nexports.bigqueryreservation_v1beta1 = v1beta1_4.bigqueryreservation_v1beta1;\nvar v1_13 = require(\"./apis/bigtableadmin/v1\");\nexports.bigtableadmin_v1 = v1_13.bigtableadmin_v1;\nvar v2_3 = require(\"./apis/bigtableadmin/v2\");\nexports.bigtableadmin_v2 = v2_3.bigtableadmin_v2;\nvar v1beta1_5 = require(\"./apis/billingbudgets/v1beta1\");\nexports.billingbudgets_v1beta1 = v1beta1_5.billingbudgets_v1beta1;\nvar v1_14 = require(\"./apis/binaryauthorization/v1\");\nexports.binaryauthorization_v1 = v1_14.binaryauthorization_v1;\nvar v1beta1_6 = require(\"./apis/binaryauthorization/v1beta1\");\nexports.binaryauthorization_v1beta1 = v1beta1_6.binaryauthorization_v1beta1;\nvar v2_4 = require(\"./apis/blogger/v2\");\nexports.blogger_v2 = v2_4.blogger_v2;\nvar v3_3 = require(\"./apis/blogger/v3\");\nexports.blogger_v3 = v3_3.blogger_v3;\nvar v1_15 = require(\"./apis/books/v1\");\nexports.books_v1 = v1_15.books_v1;\nvar v3_4 = require(\"./apis/calendar/v3\");\nexports.calendar_v3 = v3_4.calendar_v3;\nvar v1_16 = require(\"./apis/chat/v1\");\nexports.chat_v1 = v1_16.chat_v1;\nvar v2_5 = require(\"./apis/civicinfo/v2\");\nexports.civicinfo_v2 = v2_5.civicinfo_v2;\nvar v1_17 = require(\"./apis/classroom/v1\");\nexports.classroom_v1 = v1_17.classroom_v1;\nvar v1_18 = require(\"./apis/cloudasset/v1\");\nexports.cloudasset_v1 = v1_18.cloudasset_v1;\nvar v1beta1_7 = require(\"./apis/cloudasset/v1beta1\");\nexports.cloudasset_v1beta1 = v1beta1_7.cloudasset_v1beta1;\nvar v1_19 = require(\"./apis/cloudbilling/v1\");\nexports.cloudbilling_v1 = v1_19.cloudbilling_v1;\nvar v1_20 = require(\"./apis/cloudbuild/v1\");\nexports.cloudbuild_v1 = v1_20.cloudbuild_v1;\nvar v1alpha1_1 = require(\"./apis/cloudbuild/v1alpha1\");\nexports.cloudbuild_v1alpha1 = v1alpha1_1.cloudbuild_v1alpha1;\nvar v2_6 = require(\"./apis/clouddebugger/v2\");\nexports.clouddebugger_v2 = v2_6.clouddebugger_v2;\nvar v1beta1_8 = require(\"./apis/clouderrorreporting/v1beta1\");\nexports.clouderrorreporting_v1beta1 = v1beta1_8.clouderrorreporting_v1beta1;\nvar v1_21 = require(\"./apis/cloudfunctions/v1\");\nexports.cloudfunctions_v1 = v1_21.cloudfunctions_v1;\nvar v1beta2_1 = require(\"./apis/cloudfunctions/v1beta2\");\nexports.cloudfunctions_v1beta2 = v1beta2_1.cloudfunctions_v1beta2;\nvar v1_22 = require(\"./apis/cloudidentity/v1\");\nexports.cloudidentity_v1 = v1_22.cloudidentity_v1;\nvar v1beta1_9 = require(\"./apis/cloudidentity/v1beta1\");\nexports.cloudidentity_v1beta1 = v1beta1_9.cloudidentity_v1beta1;\nvar v1_23 = require(\"./apis/cloudiot/v1\");\nexports.cloudiot_v1 = v1_23.cloudiot_v1;\nvar v1_24 = require(\"./apis/cloudkms/v1\");\nexports.cloudkms_v1 = v1_24.cloudkms_v1;\nvar v1beta1_10 = require(\"./apis/cloudprivatecatalog/v1beta1\");\nexports.cloudprivatecatalog_v1beta1 = v1beta1_10.cloudprivatecatalog_v1beta1;\nvar v1beta1_11 = require(\"./apis/cloudprivatecatalogproducer/v1beta1\");\nexports.cloudprivatecatalogproducer_v1beta1 = v1beta1_11.cloudprivatecatalogproducer_v1beta1;\nvar v2_7 = require(\"./apis/cloudprofiler/v2\");\nexports.cloudprofiler_v2 = v2_7.cloudprofiler_v2;\nvar v1_25 = require(\"./apis/cloudresourcemanager/v1\");\nexports.cloudresourcemanager_v1 = v1_25.cloudresourcemanager_v1;\nvar v1beta1_12 = require(\"./apis/cloudresourcemanager/v1beta1\");\nexports.cloudresourcemanager_v1beta1 = v1beta1_12.cloudresourcemanager_v1beta1;\nvar v2_8 = require(\"./apis/cloudresourcemanager/v2\");\nexports.cloudresourcemanager_v2 = v2_8.cloudresourcemanager_v2;\nvar v2beta1_2 = require(\"./apis/cloudresourcemanager/v2beta1\");\nexports.cloudresourcemanager_v2beta1 = v2beta1_2.cloudresourcemanager_v2beta1;\nvar v1_26 = require(\"./apis/cloudscheduler/v1\");\nexports.cloudscheduler_v1 = v1_26.cloudscheduler_v1;\nvar v1beta1_13 = require(\"./apis/cloudscheduler/v1beta1\");\nexports.cloudscheduler_v1beta1 = v1beta1_13.cloudscheduler_v1beta1;\nvar v1_27 = require(\"./apis/cloudsearch/v1\");\nexports.cloudsearch_v1 = v1_27.cloudsearch_v1;\nvar v1_28 = require(\"./apis/cloudshell/v1\");\nexports.cloudshell_v1 = v1_28.cloudshell_v1;\nvar v1alpha1_2 = require(\"./apis/cloudshell/v1alpha1\");\nexports.cloudshell_v1alpha1 = v1alpha1_2.cloudshell_v1alpha1;\nvar v2_9 = require(\"./apis/cloudtasks/v2\");\nexports.cloudtasks_v2 = v2_9.cloudtasks_v2;\nvar v2beta2_1 = require(\"./apis/cloudtasks/v2beta2\");\nexports.cloudtasks_v2beta2 = v2beta2_1.cloudtasks_v2beta2;\nvar v2beta3_1 = require(\"./apis/cloudtasks/v2beta3\");\nexports.cloudtasks_v2beta3 = v2beta3_1.cloudtasks_v2beta3;\nvar v1_29 = require(\"./apis/cloudtrace/v1\");\nexports.cloudtrace_v1 = v1_29.cloudtrace_v1;\nvar v2_10 = require(\"./apis/cloudtrace/v2\");\nexports.cloudtrace_v2 = v2_10.cloudtrace_v2;\nvar v1alpha1_3 = require(\"./apis/commentanalyzer/v1alpha1\");\nexports.commentanalyzer_v1alpha1 = v1alpha1_3.commentanalyzer_v1alpha1;\nvar v1_30 = require(\"./apis/composer/v1\");\nexports.composer_v1 = v1_30.composer_v1;\nvar v1beta1_14 = require(\"./apis/composer/v1beta1\");\nexports.composer_v1beta1 = v1beta1_14.composer_v1beta1;\nvar alpha_1 = require(\"./apis/compute/alpha\");\nexports.compute_alpha = alpha_1.compute_alpha;\nvar beta_1 = require(\"./apis/compute/beta\");\nexports.compute_beta = beta_1.compute_beta;\nvar v1_31 = require(\"./apis/compute/v1\");\nexports.compute_v1 = v1_31.compute_v1;\nvar v1_32 = require(\"./apis/container/v1\");\nexports.container_v1 = v1_32.container_v1;\nvar v1beta1_15 = require(\"./apis/container/v1beta1\");\nexports.container_v1beta1 = v1beta1_15.container_v1beta1;\nvar v1alpha1_4 = require(\"./apis/containeranalysis/v1alpha1\");\nexports.containeranalysis_v1alpha1 = v1alpha1_4.containeranalysis_v1alpha1;\nvar v1beta1_16 = require(\"./apis/containeranalysis/v1beta1\");\nexports.containeranalysis_v1beta1 = v1beta1_16.containeranalysis_v1beta1;\nvar v2_1_1 = require(\"./apis/content/v2.1\");\nexports.content_v2_1 = v2_1_1.content_v2_1;\nvar v2_11 = require(\"./apis/content/v2\");\nexports.content_v2 = v2_11.content_v2;\nvar v1_33 = require(\"./apis/customsearch/v1\");\nexports.customsearch_v1 = v1_33.customsearch_v1;\nvar v1beta1_17 = require(\"./apis/datacatalog/v1beta1\");\nexports.datacatalog_v1beta1 = v1beta1_17.datacatalog_v1beta1;\nvar v1b3_1 = require(\"./apis/dataflow/v1b3\");\nexports.dataflow_v1b3 = v1b3_1.dataflow_v1b3;\nvar v1beta1_18 = require(\"./apis/datafusion/v1beta1\");\nexports.datafusion_v1beta1 = v1beta1_18.datafusion_v1beta1;\nvar v1_34 = require(\"./apis/dataproc/v1\");\nexports.dataproc_v1 = v1_34.dataproc_v1;\nvar v1beta2_2 = require(\"./apis/dataproc/v1beta2\");\nexports.dataproc_v1beta2 = v1beta2_2.dataproc_v1beta2;\nvar v1_35 = require(\"./apis/datastore/v1\");\nexports.datastore_v1 = v1_35.datastore_v1;\nvar v1beta1_19 = require(\"./apis/datastore/v1beta1\");\nexports.datastore_v1beta1 = v1beta1_19.datastore_v1beta1;\nvar v1beta3_1 = require(\"./apis/datastore/v1beta3\");\nexports.datastore_v1beta3 = v1beta3_1.datastore_v1beta3;\nvar alpha_2 = require(\"./apis/deploymentmanager/alpha\");\nexports.deploymentmanager_alpha = alpha_2.deploymentmanager_alpha;\nvar v2_12 = require(\"./apis/deploymentmanager/v2\");\nexports.deploymentmanager_v2 = v2_12.deploymentmanager_v2;\nvar v2beta_1 = require(\"./apis/deploymentmanager/v2beta\");\nexports.deploymentmanager_v2beta = v2beta_1.deploymentmanager_v2beta;\nvar v3_3_1 = require(\"./apis/dfareporting/v3.3\");\nexports.dfareporting_v3_3 = v3_3_1.dfareporting_v3_3;\nvar v3_4_1 = require(\"./apis/dfareporting/v3.4\");\nexports.dfareporting_v3_4 = v3_4_1.dfareporting_v3_4;\nvar v2_13 = require(\"./apis/dialogflow/v2\");\nexports.dialogflow_v2 = v2_13.dialogflow_v2;\nvar v2beta1_3 = require(\"./apis/dialogflow/v2beta1\");\nexports.dialogflow_v2beta1 = v2beta1_3.dialogflow_v2beta1;\nvar v1_36 = require(\"./apis/digitalassetlinks/v1\");\nexports.digitalassetlinks_v1 = v1_36.digitalassetlinks_v1;\nvar v1_37 = require(\"./apis/discovery/v1\");\nexports.discovery_v1 = v1_37.discovery_v1;\nvar v2_14 = require(\"./apis/dlp/v2\");\nexports.dlp_v2 = v2_14.dlp_v2;\nvar v1_38 = require(\"./apis/dns/v1\");\nexports.dns_v1 = v1_38.dns_v1;\nvar v1beta2_3 = require(\"./apis/dns/v1beta2\");\nexports.dns_v1beta2 = v1beta2_3.dns_v1beta2;\nvar v2beta1_4 = require(\"./apis/dns/v2beta1\");\nexports.dns_v2beta1 = v2beta1_4.dns_v2beta1;\nvar v1_39 = require(\"./apis/docs/v1\");\nexports.docs_v1 = v1_39.docs_v1;\nvar v1_40 = require(\"./apis/domainsrdap/v1\");\nexports.domainsrdap_v1 = v1_40.domainsrdap_v1;\nvar v1_1_2 = require(\"./apis/doubleclickbidmanager/v1.1\");\nexports.doubleclickbidmanager_v1_1 = v1_1_2.doubleclickbidmanager_v1_1;\nvar v1_41 = require(\"./apis/doubleclickbidmanager/v1\");\nexports.doubleclickbidmanager_v1 = v1_41.doubleclickbidmanager_v1;\nvar v2_15 = require(\"./apis/doubleclicksearch/v2\");\nexports.doubleclicksearch_v2 = v2_15.doubleclicksearch_v2;\nvar v2_16 = require(\"./apis/drive/v2\");\nexports.drive_v2 = v2_16.drive_v2;\nvar v3_5 = require(\"./apis/drive/v3\");\nexports.drive_v3 = v3_5.drive_v3;\nvar v2_17 = require(\"./apis/driveactivity/v2\");\nexports.driveactivity_v2 = v2_17.driveactivity_v2;\nvar v1alpha1_5 = require(\"./apis/factchecktools/v1alpha1\");\nexports.factchecktools_v1alpha1 = v1alpha1_5.factchecktools_v1alpha1;\nvar v1_42 = require(\"./apis/fcm/v1\");\nexports.fcm_v1 = v1_42.fcm_v1;\nvar v1_43 = require(\"./apis/file/v1\");\nexports.file_v1 = v1_43.file_v1;\nvar v1beta1_20 = require(\"./apis/file/v1beta1\");\nexports.file_v1beta1 = v1beta1_20.file_v1beta1;\nvar v1beta1_21 = require(\"./apis/firebase/v1beta1\");\nexports.firebase_v1beta1 = v1beta1_21.firebase_v1beta1;\nvar v1_44 = require(\"./apis/firebasedynamiclinks/v1\");\nexports.firebasedynamiclinks_v1 = v1_44.firebasedynamiclinks_v1;\nvar v1beta1_22 = require(\"./apis/firebasehosting/v1beta1\");\nexports.firebasehosting_v1beta1 = v1beta1_22.firebasehosting_v1beta1;\nvar v1_45 = require(\"./apis/firebaserules/v1\");\nexports.firebaserules_v1 = v1_45.firebaserules_v1;\nvar v1_46 = require(\"./apis/firestore/v1\");\nexports.firestore_v1 = v1_46.firestore_v1;\nvar v1beta1_23 = require(\"./apis/firestore/v1beta1\");\nexports.firestore_v1beta1 = v1beta1_23.firestore_v1beta1;\nvar v1beta2_4 = require(\"./apis/firestore/v1beta2\");\nexports.firestore_v1beta2 = v1beta2_4.firestore_v1beta2;\nvar v1_47 = require(\"./apis/fitness/v1\");\nexports.fitness_v1 = v1_47.fitness_v1;\nvar v1_48 = require(\"./apis/games/v1\");\nexports.games_v1 = v1_48.games_v1;\nvar v1configuration_1 = require(\"./apis/gamesConfiguration/v1configuration\");\nexports.gamesConfiguration_v1configuration = v1configuration_1.gamesConfiguration_v1configuration;\nvar v1management_1 = require(\"./apis/gamesManagement/v1management\");\nexports.gamesManagement_v1management = v1management_1.gamesManagement_v1management;\nvar v1_49 = require(\"./apis/genomics/v1\");\nexports.genomics_v1 = v1_49.genomics_v1;\nvar v1alpha2_2 = require(\"./apis/genomics/v1alpha2\");\nexports.genomics_v1alpha2 = v1alpha2_2.genomics_v1alpha2;\nvar v2alpha1_1 = require(\"./apis/genomics/v2alpha1\");\nexports.genomics_v2alpha1 = v2alpha1_1.genomics_v2alpha1;\nvar v1_50 = require(\"./apis/gmail/v1\");\nexports.gmail_v1 = v1_50.gmail_v1;\nvar v1_51 = require(\"./apis/groupsmigration/v1\");\nexports.groupsmigration_v1 = v1_51.groupsmigration_v1;\nvar v1_52 = require(\"./apis/groupssettings/v1\");\nexports.groupssettings_v1 = v1_52.groupssettings_v1;\nvar v1beta1_24 = require(\"./apis/healthcare/v1beta1\");\nexports.healthcare_v1beta1 = v1beta1_24.healthcare_v1beta1;\nvar v1_53 = require(\"./apis/homegraph/v1\");\nexports.homegraph_v1 = v1_53.homegraph_v1;\nvar v1_54 = require(\"./apis/iam/v1\");\nexports.iam_v1 = v1_54.iam_v1;\nvar v1_55 = require(\"./apis/iamcredentials/v1\");\nexports.iamcredentials_v1 = v1_55.iamcredentials_v1;\nvar v1_56 = require(\"./apis/iap/v1\");\nexports.iap_v1 = v1_56.iap_v1;\nvar v1beta1_25 = require(\"./apis/iap/v1beta1\");\nexports.iap_v1beta1 = v1beta1_25.iap_v1beta1;\nvar v3_6 = require(\"./apis/identitytoolkit/v3\");\nexports.identitytoolkit_v3 = v3_6.identitytoolkit_v3;\nvar v3_7 = require(\"./apis/indexing/v3\");\nexports.indexing_v3 = v3_7.indexing_v3;\nvar v2_18 = require(\"./apis/jobs/v2\");\nexports.jobs_v2 = v2_18.jobs_v2;\nvar v3_8 = require(\"./apis/jobs/v3\");\nexports.jobs_v3 = v3_8.jobs_v3;\nvar v3p1beta1_1 = require(\"./apis/jobs/v3p1beta1\");\nexports.jobs_v3p1beta1 = v3p1beta1_1.jobs_v3p1beta1;\nvar v1_57 = require(\"./apis/kgsearch/v1\");\nexports.kgsearch_v1 = v1_57.kgsearch_v1;\nvar v1_58 = require(\"./apis/language/v1\");\nexports.language_v1 = v1_58.language_v1;\nvar v1beta1_26 = require(\"./apis/language/v1beta1\");\nexports.language_v1beta1 = v1beta1_26.language_v1beta1;\nvar v1beta2_5 = require(\"./apis/language/v1beta2\");\nexports.language_v1beta2 = v1beta2_5.language_v1beta2;\nvar v1_59 = require(\"./apis/libraryagent/v1\");\nexports.libraryagent_v1 = v1_59.libraryagent_v1;\nvar v1_60 = require(\"./apis/licensing/v1\");\nexports.licensing_v1 = v1_60.licensing_v1;\nvar v2beta_2 = require(\"./apis/lifesciences/v2beta\");\nexports.lifesciences_v2beta = v2beta_2.lifesciences_v2beta;\nvar v2_19 = require(\"./apis/logging/v2\");\nexports.logging_v2 = v2_19.logging_v2;\nvar v1_61 = require(\"./apis/manufacturers/v1\");\nexports.manufacturers_v1 = v1_61.manufacturers_v1;\nvar v1_62 = require(\"./apis/mirror/v1\");\nexports.mirror_v1 = v1_62.mirror_v1;\nvar v1_63 = require(\"./apis/ml/v1\");\nexports.ml_v1 = v1_63.ml_v1;\nvar v1_64 = require(\"./apis/monitoring/v1\");\nexports.monitoring_v1 = v1_64.monitoring_v1;\nvar v3_9 = require(\"./apis/monitoring/v3\");\nexports.monitoring_v3 = v3_9.monitoring_v3;\nvar v1_65 = require(\"./apis/oauth2/v1\");\nexports.oauth2_v1 = v1_65.oauth2_v1;\nvar v2_20 = require(\"./apis/oauth2/v2\");\nexports.oauth2_v2 = v2_20.oauth2_v2;\nvar v1_66 = require(\"./apis/oslogin/v1\");\nexports.oslogin_v1 = v1_66.oslogin_v1;\nvar v1alpha_2 = require(\"./apis/oslogin/v1alpha\");\nexports.oslogin_v1alpha = v1alpha_2.oslogin_v1alpha;\nvar v1beta_3 = require(\"./apis/oslogin/v1beta\");\nexports.oslogin_v1beta = v1beta_3.oslogin_v1beta;\nvar v1_67 = require(\"./apis/pagespeedonline/v1\");\nexports.pagespeedonline_v1 = v1_67.pagespeedonline_v1;\nvar v2_21 = require(\"./apis/pagespeedonline/v2\");\nexports.pagespeedonline_v2 = v2_21.pagespeedonline_v2;\nvar v4_2 = require(\"./apis/pagespeedonline/v4\");\nexports.pagespeedonline_v4 = v4_2.pagespeedonline_v4;\nvar v5_1 = require(\"./apis/pagespeedonline/v5\");\nexports.pagespeedonline_v5 = v5_1.pagespeedonline_v5;\nvar v1_68 = require(\"./apis/people/v1\");\nexports.people_v1 = v1_68.people_v1;\nvar v1_69 = require(\"./apis/playcustomapp/v1\");\nexports.playcustomapp_v1 = v1_69.playcustomapp_v1;\nvar v1_70 = require(\"./apis/plus/v1\");\nexports.plus_v1 = v1_70.plus_v1;\nvar v1_71 = require(\"./apis/plusDomains/v1\");\nexports.plusDomains_v1 = v1_71.plusDomains_v1;\nvar v1_72 = require(\"./apis/policytroubleshooter/v1\");\nexports.policytroubleshooter_v1 = v1_72.policytroubleshooter_v1;\nvar v1beta_4 = require(\"./apis/policytroubleshooter/v1beta\");\nexports.policytroubleshooter_v1beta = v1beta_4.policytroubleshooter_v1beta;\nvar v1_73 = require(\"./apis/poly/v1\");\nexports.poly_v1 = v1_73.poly_v1;\nvar v1alpha1_6 = require(\"./apis/prod_tt_sasportal/v1alpha1\");\nexports.prod_tt_sasportal_v1alpha1 = v1alpha1_6.prod_tt_sasportal_v1alpha1;\nvar v1beta1_27 = require(\"./apis/proximitybeacon/v1beta1\");\nexports.proximitybeacon_v1beta1 = v1beta1_27.proximitybeacon_v1beta1;\nvar v1_74 = require(\"./apis/pubsub/v1\");\nexports.pubsub_v1 = v1_74.pubsub_v1;\nvar v1beta1a_1 = require(\"./apis/pubsub/v1beta1a\");\nexports.pubsub_v1beta1a = v1beta1a_1.pubsub_v1beta1a;\nvar v1beta2_6 = require(\"./apis/pubsub/v1beta2\");\nexports.pubsub_v1beta2 = v1beta2_6.pubsub_v1beta2;\nvar v1beta1_28 = require(\"./apis/recommender/v1beta1\");\nexports.recommender_v1beta1 = v1beta1_28.recommender_v1beta1;\nvar v1_75 = require(\"./apis/redis/v1\");\nexports.redis_v1 = v1_75.redis_v1;\nvar v1beta1_29 = require(\"./apis/redis/v1beta1\");\nexports.redis_v1beta1 = v1beta1_29.redis_v1beta1;\nvar v1_76 = require(\"./apis/remotebuildexecution/v1\");\nexports.remotebuildexecution_v1 = v1_76.remotebuildexecution_v1;\nvar v1alpha_3 = require(\"./apis/remotebuildexecution/v1alpha\");\nexports.remotebuildexecution_v1alpha = v1alpha_3.remotebuildexecution_v1alpha;\nvar v2_22 = require(\"./apis/remotebuildexecution/v2\");\nexports.remotebuildexecution_v2 = v2_22.remotebuildexecution_v2;\nvar v1beta1_30 = require(\"./apis/replicapool/v1beta1\");\nexports.replicapool_v1beta1 = v1beta1_30.replicapool_v1beta1;\nvar v1_77 = require(\"./apis/reseller/v1\");\nexports.reseller_v1 = v1_77.reseller_v1;\nvar v1_78 = require(\"./apis/run/v1\");\nexports.run_v1 = v1_78.run_v1;\nvar v1alpha1_7 = require(\"./apis/run/v1alpha1\");\nexports.run_v1alpha1 = v1alpha1_7.run_v1alpha1;\nvar v1beta1_31 = require(\"./apis/run/v1beta1\");\nexports.run_v1beta1 = v1beta1_31.run_v1beta1;\nvar v1_79 = require(\"./apis/runtimeconfig/v1\");\nexports.runtimeconfig_v1 = v1_79.runtimeconfig_v1;\nvar v1beta1_32 = require(\"./apis/runtimeconfig/v1beta1\");\nexports.runtimeconfig_v1beta1 = v1beta1_32.runtimeconfig_v1beta1;\nvar v4_3 = require(\"./apis/safebrowsing/v4\");\nexports.safebrowsing_v4 = v4_3.safebrowsing_v4;\nvar v1alpha1_8 = require(\"./apis/sasportal/v1alpha1\");\nexports.sasportal_v1alpha1 = v1alpha1_8.sasportal_v1alpha1;\nvar v1_80 = require(\"./apis/script/v1\");\nexports.script_v1 = v1_80.script_v1;\nvar v1beta1_33 = require(\"./apis/secretmanager/v1beta1\");\nexports.secretmanager_v1beta1 = v1beta1_33.secretmanager_v1beta1;\nvar v1_81 = require(\"./apis/securitycenter/v1\");\nexports.securitycenter_v1 = v1_81.securitycenter_v1;\nvar v1beta1_34 = require(\"./apis/securitycenter/v1beta1\");\nexports.securitycenter_v1beta1 = v1beta1_34.securitycenter_v1beta1;\nvar v1p1alpha1_1 = require(\"./apis/securitycenter/v1p1alpha1\");\nexports.securitycenter_v1p1alpha1 = v1p1alpha1_1.securitycenter_v1p1alpha1;\nvar v1p1beta1_1 = require(\"./apis/securitycenter/v1p1beta1\");\nexports.securitycenter_v1p1beta1 = v1p1beta1_1.securitycenter_v1p1beta1;\nvar v1_82 = require(\"./apis/servicebroker/v1\");\nexports.servicebroker_v1 = v1_82.servicebroker_v1;\nvar v1alpha1_9 = require(\"./apis/servicebroker/v1alpha1\");\nexports.servicebroker_v1alpha1 = v1alpha1_9.servicebroker_v1alpha1;\nvar v1beta1_35 = require(\"./apis/servicebroker/v1beta1\");\nexports.servicebroker_v1beta1 = v1beta1_35.servicebroker_v1beta1;\nvar v1_83 = require(\"./apis/serviceconsumermanagement/v1\");\nexports.serviceconsumermanagement_v1 = v1_83.serviceconsumermanagement_v1;\nvar v1_84 = require(\"./apis/servicecontrol/v1\");\nexports.servicecontrol_v1 = v1_84.servicecontrol_v1;\nvar v1_85 = require(\"./apis/servicemanagement/v1\");\nexports.servicemanagement_v1 = v1_85.servicemanagement_v1;\nvar v1_86 = require(\"./apis/servicenetworking/v1\");\nexports.servicenetworking_v1 = v1_86.servicenetworking_v1;\nvar v1beta_5 = require(\"./apis/servicenetworking/v1beta\");\nexports.servicenetworking_v1beta = v1beta_5.servicenetworking_v1beta;\nvar v1_87 = require(\"./apis/serviceusage/v1\");\nexports.serviceusage_v1 = v1_87.serviceusage_v1;\nvar v1beta1_36 = require(\"./apis/serviceusage/v1beta1\");\nexports.serviceusage_v1beta1 = v1beta1_36.serviceusage_v1beta1;\nvar v4_4 = require(\"./apis/sheets/v4\");\nexports.sheets_v4 = v4_4.sheets_v4;\nvar v1_88 = require(\"./apis/siteVerification/v1\");\nexports.siteVerification_v1 = v1_88.siteVerification_v1;\nvar v1_89 = require(\"./apis/slides/v1\");\nexports.slides_v1 = v1_89.slides_v1;\nvar v1_90 = require(\"./apis/sourcerepo/v1\");\nexports.sourcerepo_v1 = v1_90.sourcerepo_v1;\nvar v1_91 = require(\"./apis/spanner/v1\");\nexports.spanner_v1 = v1_91.spanner_v1;\nvar v1_92 = require(\"./apis/speech/v1\");\nexports.speech_v1 = v1_92.speech_v1;\nvar v1p1beta1_2 = require(\"./apis/speech/v1p1beta1\");\nexports.speech_v1p1beta1 = v1p1beta1_2.speech_v1p1beta1;\nvar v2beta1_5 = require(\"./apis/speech/v2beta1\");\nexports.speech_v2beta1 = v2beta1_5.speech_v2beta1;\nvar v1beta4_1 = require(\"./apis/sql/v1beta4\");\nexports.sql_v1beta4 = v1beta4_1.sql_v1beta4;\nvar v1_93 = require(\"./apis/storage/v1\");\nexports.storage_v1 = v1_93.storage_v1;\nvar v1beta2_7 = require(\"./apis/storage/v1beta2\");\nexports.storage_v1beta2 = v1beta2_7.storage_v1beta2;\nvar v1_94 = require(\"./apis/storagetransfer/v1\");\nexports.storagetransfer_v1 = v1_94.storagetransfer_v1;\nvar v1_95 = require(\"./apis/streetviewpublish/v1\");\nexports.streetviewpublish_v1 = v1_95.streetviewpublish_v1;\nvar v1_96 = require(\"./apis/tagmanager/v1\");\nexports.tagmanager_v1 = v1_96.tagmanager_v1;\nvar v2_23 = require(\"./apis/tagmanager/v2\");\nexports.tagmanager_v2 = v2_23.tagmanager_v2;\nvar v1_97 = require(\"./apis/tasks/v1\");\nexports.tasks_v1 = v1_97.tasks_v1;\nvar v1_98 = require(\"./apis/testing/v1\");\nexports.testing_v1 = v1_98.testing_v1;\nvar v1_99 = require(\"./apis/texttospeech/v1\");\nexports.texttospeech_v1 = v1_99.texttospeech_v1;\nvar v1beta1_37 = require(\"./apis/texttospeech/v1beta1\");\nexports.texttospeech_v1beta1 = v1beta1_37.texttospeech_v1beta1;\nvar v1_100 = require(\"./apis/toolresults/v1\");\nexports.toolresults_v1 = v1_100.toolresults_v1;\nvar v1beta3_2 = require(\"./apis/toolresults/v1beta3\");\nexports.toolresults_v1beta3 = v1beta3_2.toolresults_v1beta3;\nvar v1_101 = require(\"./apis/tpu/v1\");\nexports.tpu_v1 = v1_101.tpu_v1;\nvar v1alpha1_10 = require(\"./apis/tpu/v1alpha1\");\nexports.tpu_v1alpha1 = v1alpha1_10.tpu_v1alpha1;\nvar v2_24 = require(\"./apis/translate/v2\");\nexports.translate_v2 = v2_24.translate_v2;\nvar v3beta1_1 = require(\"./apis/translate/v3beta1\");\nexports.translate_v3beta1 = v3beta1_1.translate_v3beta1;\nvar v1_102 = require(\"./apis/vault/v1\");\nexports.vault_v1 = v1_102.vault_v1;\nvar v1_103 = require(\"./apis/verifiedaccess/v1\");\nexports.verifiedaccess_v1 = v1_103.verifiedaccess_v1;\nvar v1_104 = require(\"./apis/videointelligence/v1\");\nexports.videointelligence_v1 = v1_104.videointelligence_v1;\nvar v1beta2_8 = require(\"./apis/videointelligence/v1beta2\");\nexports.videointelligence_v1beta2 = v1beta2_8.videointelligence_v1beta2;\nvar v1p1beta1_3 = require(\"./apis/videointelligence/v1p1beta1\");\nexports.videointelligence_v1p1beta1 = v1p1beta1_3.videointelligence_v1p1beta1;\nvar v1p2beta1_1 = require(\"./apis/videointelligence/v1p2beta1\");\nexports.videointelligence_v1p2beta1 = v1p2beta1_1.videointelligence_v1p2beta1;\nvar v1p3beta1_1 = require(\"./apis/videointelligence/v1p3beta1\");\nexports.videointelligence_v1p3beta1 = v1p3beta1_1.videointelligence_v1p3beta1;\nvar v1_105 = require(\"./apis/vision/v1\");\nexports.vision_v1 = v1_105.vision_v1;\nvar v1p1beta1_4 = require(\"./apis/vision/v1p1beta1\");\nexports.vision_v1p1beta1 = v1p1beta1_4.vision_v1p1beta1;\nvar v1p2beta1_2 = require(\"./apis/vision/v1p2beta1\");\nexports.vision_v1p2beta1 = v1p2beta1_2.vision_v1p2beta1;\nvar v1_106 = require(\"./apis/webfonts/v1\");\nexports.webfonts_v1 = v1_106.webfonts_v1;\nvar v3_10 = require(\"./apis/webmasters/v3\");\nexports.webmasters_v3 = v3_10.webmasters_v3;\nvar v1_107 = require(\"./apis/websecurityscanner/v1\");\nexports.websecurityscanner_v1 = v1_107.websecurityscanner_v1;\nvar v1alpha_4 = require(\"./apis/websecurityscanner/v1alpha\");\nexports.websecurityscanner_v1alpha = v1alpha_4.websecurityscanner_v1alpha;\nvar v1beta_6 = require(\"./apis/websecurityscanner/v1beta\");\nexports.websecurityscanner_v1beta = v1beta_6.websecurityscanner_v1beta;\nvar v3_11 = require(\"./apis/youtube/v3\");\nexports.youtube_v3 = v3_11.youtube_v3;\nvar v1_108 = require(\"./apis/youtubeAnalytics/v1\");\nexports.youtubeAnalytics_v1 = v1_108.youtubeAnalytics_v1;\nvar v2_25 = require(\"./apis/youtubeAnalytics/v2\");\nexports.youtubeAnalytics_v2 = v2_25.youtubeAnalytics_v2;\nvar v1_109 = require(\"./apis/youtubereporting/v1\");\nexports.youtubereporting_v1 = v1_109.youtubereporting_v1;\n//# sourceMappingURL=index.js.map","\"use strict\";\n/**\n * Copyright 2018 Google LLC\n *\n * Distributed under MIT license.\n * See file LICENSE for detail or copy at https://opensource.org/licenses/MIT\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst fs = require(\"fs\");\nconst gaxios_1 = require(\"gaxios\");\nconst jws = require(\"jws\");\nconst mime = require(\"mime\");\nconst util_1 = require(\"util\");\nconst readFile = fs.readFile\n ? util_1.promisify(fs.readFile)\n : async () => {\n // if running in the web-browser, fs.readFile may not have been shimmed.\n throw new ErrorWithCode('use key rather than keyFile.', 'MISSING_CREDENTIALS');\n };\nconst GOOGLE_TOKEN_URL = 'https://www.googleapis.com/oauth2/v4/token';\nconst GOOGLE_REVOKE_TOKEN_URL = 'https://accounts.google.com/o/oauth2/revoke?token=';\nclass ErrorWithCode extends Error {\n constructor(message, code) {\n super(message);\n this.code = code;\n }\n}\nlet getPem;\nclass GoogleToken {\n /**\n * Create a GoogleToken.\n *\n * @param options Configuration object.\n */\n constructor(options) {\n this.configure(options);\n }\n get accessToken() {\n return this.rawToken ? this.rawToken.access_token : undefined;\n }\n get idToken() {\n return this.rawToken ? this.rawToken.id_token : undefined;\n }\n get tokenType() {\n return this.rawToken ? this.rawToken.token_type : undefined;\n }\n get refreshToken() {\n return this.rawToken ? this.rawToken.refresh_token : undefined;\n }\n /**\n * Returns whether the token has expired.\n *\n * @return true if the token has expired, false otherwise.\n */\n hasExpired() {\n const now = new Date().getTime();\n if (this.rawToken && this.expiresAt) {\n return now >= this.expiresAt;\n }\n else {\n return true;\n }\n }\n getToken(callback, opts = {}) {\n if (typeof callback === 'object') {\n opts = callback;\n callback = undefined;\n }\n opts = Object.assign({\n forceRefresh: false,\n }, opts);\n if (callback) {\n const cb = callback;\n this.getTokenAsync(opts).then(t => cb(null, t), callback);\n return;\n }\n return this.getTokenAsync(opts);\n }\n /**\n * Given a keyFile, extract the key and client email if available\n * @param keyFile Path to a json, pem, or p12 file that contains the key.\n * @returns an object with privateKey and clientEmail properties\n */\n async getCredentials(keyFile) {\n const mimeType = mime.getType(keyFile);\n switch (mimeType) {\n case 'application/json': {\n // *.json file\n const key = await readFile(keyFile, 'utf8');\n const body = JSON.parse(key);\n const privateKey = body.private_key;\n const clientEmail = body.client_email;\n if (!privateKey || !clientEmail) {\n throw new ErrorWithCode('private_key and client_email are required.', 'MISSING_CREDENTIALS');\n }\n return { privateKey, clientEmail };\n }\n case 'application/x-x509-ca-cert': {\n // *.pem file\n const privateKey = await readFile(keyFile, 'utf8');\n return { privateKey };\n }\n case 'application/x-pkcs12': {\n // *.p12 file\n // NOTE: The loading of `google-p12-pem` is deferred for performance\n // reasons. The `node-forge` npm module in `google-p12-pem` adds a fair\n // bit time to overall module loading, and is likely not frequently\n // used. In a future release, p12 support will be entirely removed.\n if (!getPem) {\n getPem = (await Promise.resolve().then(() => require('google-p12-pem'))).getPem;\n }\n const privateKey = await getPem(keyFile);\n return { privateKey };\n }\n default:\n throw new ErrorWithCode('Unknown certificate type. Type is determined based on file extension. ' +\n 'Current supported extensions are *.json, *.pem, and *.p12.', 'UNKNOWN_CERTIFICATE_TYPE');\n }\n }\n async getTokenAsync(opts) {\n if (this.hasExpired() === false && opts.forceRefresh === false) {\n return Promise.resolve(this.rawToken);\n }\n if (!this.key && !this.keyFile) {\n throw new Error('No key or keyFile set.');\n }\n if (!this.key && this.keyFile) {\n const creds = await this.getCredentials(this.keyFile);\n this.key = creds.privateKey;\n this.iss = creds.clientEmail || this.iss;\n if (!creds.clientEmail) {\n this.ensureEmail();\n }\n }\n return this.requestToken();\n }\n ensureEmail() {\n if (!this.iss) {\n throw new ErrorWithCode('email is required.', 'MISSING_CREDENTIALS');\n }\n }\n revokeToken(callback) {\n if (callback) {\n this.revokeTokenAsync().then(() => callback(), callback);\n return;\n }\n return this.revokeTokenAsync();\n }\n async revokeTokenAsync() {\n if (!this.accessToken) {\n throw new Error('No token to revoke.');\n }\n const url = GOOGLE_REVOKE_TOKEN_URL + this.accessToken;\n await gaxios_1.request({ url });\n this.configure({\n email: this.iss,\n sub: this.sub,\n key: this.key,\n keyFile: this.keyFile,\n scope: this.scope,\n additionalClaims: this.additionalClaims,\n });\n }\n /**\n * Configure the GoogleToken for re-use.\n * @param {object} options Configuration object.\n */\n configure(options = {}) {\n this.keyFile = options.keyFile;\n this.key = options.key;\n this.rawToken = undefined;\n this.iss = options.email || options.iss;\n this.sub = options.sub;\n this.additionalClaims = options.additionalClaims;\n if (typeof options.scope === 'object') {\n this.scope = options.scope.join(' ');\n }\n else {\n this.scope = options.scope;\n }\n }\n /**\n * Request the token from Google.\n */\n async requestToken() {\n const iat = Math.floor(new Date().getTime() / 1000);\n const additionalClaims = this.additionalClaims || {};\n const payload = Object.assign({\n iss: this.iss,\n scope: this.scope,\n aud: GOOGLE_TOKEN_URL,\n exp: iat + 3600,\n iat,\n sub: this.sub,\n }, additionalClaims);\n const signedJWT = jws.sign({\n header: { alg: 'RS256' },\n payload,\n secret: this.key,\n });\n try {\n const r = await gaxios_1.request({\n method: 'POST',\n url: GOOGLE_TOKEN_URL,\n data: {\n grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',\n assertion: signedJWT,\n },\n headers: { 'Content-Type': 'application/x-www-form-urlencoded' },\n responseType: 'json',\n });\n this.rawToken = r.data;\n this.expiresAt =\n r.data.expires_in === null || r.data.expires_in === undefined\n ? undefined\n : (iat + r.data.expires_in) * 1000;\n return this.rawToken;\n }\n catch (e) {\n this.rawToken = undefined;\n this.tokenExpires = undefined;\n const body = e.response && e.response.data ? e.response.data : {};\n if (body.error) {\n const desc = body.error_description\n ? `: ${body.error_description}`\n : '';\n e.message = `${body.error}${desc}`;\n }\n throw e;\n }\n }\n}\nexports.GoogleToken = GoogleToken;\n//# sourceMappingURL=index.js.map","'use strict';\nmodule.exports = (flag, argv) => {\n\targv = argv || process.argv;\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst pos = argv.indexOf(prefix + flag);\n\tconst terminatorPos = argv.indexOf('--');\n\treturn pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);\n};\n","'use strict';\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = require('./shams');\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n","'use strict';\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n","'use strict';\n\nvar bind = require('function-bind');\n\nmodule.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst net_1 = __importDefault(require(\"net\"));\nconst tls_1 = __importDefault(require(\"tls\"));\nconst url_1 = __importDefault(require(\"url\"));\nconst assert_1 = __importDefault(require(\"assert\"));\nconst debug_1 = __importDefault(require(\"debug\"));\nconst agent_base_1 = require(\"agent-base\");\nconst parse_proxy_response_1 = __importDefault(require(\"./parse-proxy-response\"));\nconst debug = debug_1.default('https-proxy-agent:agent');\n/**\n * The `HttpsProxyAgent` implements an HTTP Agent subclass that connects to\n * the specified \"HTTP(s) proxy server\" in order to proxy HTTPS requests.\n *\n * Outgoing HTTP requests are first tunneled through the proxy server using the\n * `CONNECT` HTTP request method to establish a connection to the proxy server,\n * and then the proxy server connects to the destination target and issues the\n * HTTP request from the proxy server.\n *\n * `https:` requests have their socket connection upgraded to TLS once\n * the connection to the proxy server has been established.\n *\n * @api public\n */\nclass HttpsProxyAgent extends agent_base_1.Agent {\n constructor(_opts) {\n let opts;\n if (typeof _opts === 'string') {\n opts = url_1.default.parse(_opts);\n }\n else {\n opts = _opts;\n }\n if (!opts) {\n throw new Error('an HTTP(S) proxy server `host` and `port` must be specified!');\n }\n debug('creating new HttpsProxyAgent instance: %o', opts);\n super(opts);\n const proxy = Object.assign({}, opts);\n // If `true`, then connect to the proxy server over TLS.\n // Defaults to `false`.\n this.secureProxy = opts.secureProxy || isHTTPS(proxy.protocol);\n // Prefer `hostname` over `host`, and set the `port` if needed.\n proxy.host = proxy.hostname || proxy.host;\n if (typeof proxy.port === 'string') {\n proxy.port = parseInt(proxy.port, 10);\n }\n if (!proxy.port && proxy.host) {\n proxy.port = this.secureProxy ? 443 : 80;\n }\n // ALPN is supported by Node.js >= v5.\n // attempt to negotiate http/1.1 for proxy servers that support http/2\n if (this.secureProxy && !('ALPNProtocols' in proxy)) {\n proxy.ALPNProtocols = ['http 1.1'];\n }\n if (proxy.host && proxy.path) {\n // If both a `host` and `path` are specified then it's most likely\n // the result of a `url.parse()` call... we need to remove the\n // `path` portion so that `net.connect()` doesn't attempt to open\n // that as a Unix socket file.\n delete proxy.path;\n delete proxy.pathname;\n }\n this.proxy = proxy;\n }\n /**\n * Called when the node-core HTTP client library is creating a\n * new HTTP request.\n *\n * @api protected\n */\n callback(req, opts) {\n return __awaiter(this, void 0, void 0, function* () {\n const { proxy, secureProxy } = this;\n // Create a socket connection to the proxy server.\n let socket;\n if (secureProxy) {\n debug('Creating `tls.Socket`: %o', proxy);\n socket = tls_1.default.connect(proxy);\n }\n else {\n debug('Creating `net.Socket`: %o', proxy);\n socket = net_1.default.connect(proxy);\n }\n const headers = Object.assign({}, proxy.headers);\n const hostname = `${opts.host}:${opts.port}`;\n let payload = `CONNECT ${hostname} HTTP/1.1\\r\\n`;\n // Inject the `Proxy-Authorization` header if necessary.\n if (proxy.auth) {\n headers['Proxy-Authorization'] = `Basic ${Buffer.from(proxy.auth).toString('base64')}`;\n }\n // The `Host` header should only include the port\n // number when it is not the default port.\n let { host, port, secureEndpoint } = opts;\n if (!isDefaultPort(port, secureEndpoint)) {\n host += `:${port}`;\n }\n headers.Host = host;\n headers.Connection = 'close';\n for (const name of Object.keys(headers)) {\n payload += `${name}: ${headers[name]}\\r\\n`;\n }\n const proxyResponsePromise = parse_proxy_response_1.default(socket);\n socket.write(`${payload}\\r\\n`);\n const { statusCode, buffered } = yield proxyResponsePromise;\n if (statusCode === 200) {\n req.once('socket', resume);\n if (opts.secureEndpoint) {\n const servername = opts.servername || opts.host;\n if (!servername) {\n throw new Error('Could not determine \"servername\"');\n }\n // The proxy is connecting to a TLS server, so upgrade\n // this socket connection to a TLS connection.\n debug('Upgrading socket connection to TLS');\n return tls_1.default.connect(Object.assign(Object.assign({}, omit(opts, 'host', 'hostname', 'path', 'port')), { socket,\n servername }));\n }\n return socket;\n }\n // Some other status code that's not 200... need to re-play the HTTP\n // header \"data\" events onto the socket once the HTTP machinery is\n // attached so that the node core `http` can parse and handle the\n // error status code.\n // Close the original socket, and a new \"fake\" socket is returned\n // instead, so that the proxy doesn't get the HTTP request\n // written to it (which may contain `Authorization` headers or other\n // sensitive data).\n //\n // See: https://hackerone.com/reports/541502\n socket.destroy();\n const fakeSocket = new net_1.default.Socket();\n fakeSocket.readable = true;\n // Need to wait for the \"socket\" event to re-play the \"data\" events.\n req.once('socket', (s) => {\n debug('replaying proxy buffer for failed request');\n assert_1.default(s.listenerCount('data') > 0);\n // Replay the \"buffered\" Buffer onto the fake `socket`, since at\n // this point the HTTP module machinery has been hooked up for\n // the user.\n s.push(buffered);\n s.push(null);\n });\n return fakeSocket;\n });\n }\n}\nexports.default = HttpsProxyAgent;\nfunction resume(socket) {\n socket.resume();\n}\nfunction isDefaultPort(port, secure) {\n return Boolean((!secure && port === 80) || (secure && port === 443));\n}\nfunction isHTTPS(protocol) {\n return typeof protocol === 'string' ? /^https:?$/i.test(protocol) : false;\n}\nfunction omit(obj, ...keys) {\n const ret = {};\n let key;\n for (key in obj) {\n if (!keys.includes(key)) {\n ret[key] = obj[key];\n }\n }\n return ret;\n}\n//# sourceMappingURL=agent.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nconst agent_1 = __importDefault(require(\"./agent\"));\nfunction createHttpsProxyAgent(opts) {\n return new agent_1.default(opts);\n}\n(function (createHttpsProxyAgent) {\n createHttpsProxyAgent.HttpsProxyAgent = agent_1.default;\n createHttpsProxyAgent.prototype = agent_1.default.prototype;\n})(createHttpsProxyAgent || (createHttpsProxyAgent = {}));\nmodule.exports = createHttpsProxyAgent;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst debug_1 = __importDefault(require(\"debug\"));\nconst debug = debug_1.default('https-proxy-agent:parse-proxy-response');\nfunction parseProxyResponse(socket) {\n return new Promise((resolve, reject) => {\n // we need to buffer any HTTP traffic that happens with the proxy before we get\n // the CONNECT response, so that if the response is anything other than an \"200\"\n // response code, then we can re-play the \"data\" events on the socket once the\n // HTTP parser is hooked up...\n let buffersLength = 0;\n const buffers = [];\n function read() {\n const b = socket.read();\n if (b)\n ondata(b);\n else\n socket.once('readable', read);\n }\n function cleanup() {\n socket.removeListener('end', onend);\n socket.removeListener('error', onerror);\n socket.removeListener('close', onclose);\n socket.removeListener('readable', read);\n }\n function onclose(err) {\n debug('onclose had error %o', err);\n }\n function onend() {\n debug('onend');\n }\n function onerror(err) {\n cleanup();\n debug('onerror %o', err);\n reject(err);\n }\n function ondata(b) {\n buffers.push(b);\n buffersLength += b.length;\n const buffered = Buffer.concat(buffers, buffersLength);\n const endOfHeaders = buffered.indexOf('\\r\\n\\r\\n');\n if (endOfHeaders === -1) {\n // keep buffering\n debug('have not received end of HTTP headers yet...');\n read();\n return;\n }\n const firstLine = buffered.toString('ascii', 0, buffered.indexOf('\\r\\n'));\n const statusCode = +firstLine.split(' ')[1];\n debug('got proxy server response: %o', firstLine);\n resolve({\n statusCode,\n buffered\n });\n }\n socket.on('error', onerror);\n socket.on('close', onclose);\n socket.on('end', onend);\n read();\n });\n}\nexports.default = parseProxyResponse;\n//# sourceMappingURL=parse-proxy-response.js.map","'use strict';\nconst normalizeUrl = require('normalize-url');\n\nmodule.exports = url => {\n\tif (typeof url !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn normalizeUrl(url, {stripProtocol: true});\n};\n","'use strict';\n\nmodule.exports = value => {\n\tconst type = typeof value;\n\treturn value !== null && (type === 'object' || type === 'function');\n};\n","'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","var json_stringify = require('./lib/stringify.js').stringify;\nvar json_parse = require('./lib/parse.js');\n\nmodule.exports = function(options) {\n return {\n parse: json_parse(options),\n stringify: json_stringify\n }\n};\n//create the default method members with no options applied for backwards compatibility\nmodule.exports.parse = json_parse();\nmodule.exports.stringify = json_stringify;\n","var BigNumber = null;\n/*\n json_parse.js\n 2012-06-20\n\n Public Domain.\n\n NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n\n This file creates a json_parse function.\n During create you can (optionally) specify some behavioural switches\n\n require('json-bigint')(options)\n\n The optional options parameter holds switches that drive certain\n aspects of the parsing process:\n * options.strict = true will warn about duplicate-key usage in the json.\n The default (strict = false) will silently ignore those and overwrite\n values for keys that are in duplicate use.\n\n The resulting function follows this signature:\n json_parse(text, reviver)\n This method parses a JSON text to produce an object or array.\n It can throw a SyntaxError exception.\n\n The optional reviver parameter is a function that can filter and\n transform the results. It receives each of the keys and values,\n and its return value is used instead of the original value.\n If it returns what it received, then the structure is not modified.\n If it returns undefined then the member is deleted.\n\n Example:\n\n // Parse the text. Values that look like ISO date strings will\n // be converted to Date objects.\n\n myData = json_parse(text, function (key, value) {\n var a;\n if (typeof value === 'string') {\n a =\n/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)Z$/.exec(value);\n if (a) {\n return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],\n +a[5], +a[6]));\n }\n }\n return value;\n });\n\n This is a reference implementation. You are free to copy, modify, or\n redistribute.\n\n This code should be minified before deployment.\n See http://javascript.crockford.com/jsmin.html\n\n USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO\n NOT CONTROL.\n*/\n\n/*members \"\", \"\\\"\", \"\\/\", \"\\\\\", at, b, call, charAt, f, fromCharCode,\n hasOwnProperty, message, n, name, prototype, push, r, t, text\n*/\n\nvar json_parse = function (options) {\n \"use strict\";\n\n// This is a function that can parse a JSON text, producing a JavaScript\n// data structure. It is a simple, recursive descent parser. It does not use\n// eval or regular expressions, so it can be used as a model for implementing\n// a JSON parser in other languages.\n\n// We are defining the function inside of another function to avoid creating\n// global variables.\n\n\n// Default options one can override by passing options to the parse()\n var _options = {\n \"strict\": false, // not being strict means do not generate syntax errors for \"duplicate key\"\n \"storeAsString\": false // toggles whether the values should be stored as BigNumber (default) or a string\n };\n\n\n// If there are options, then use them to override the default _options\n if (options !== undefined && options !== null) {\n if (options.strict === true) {\n _options.strict = true;\n }\n if (options.storeAsString === true) {\n _options.storeAsString = true;\n }\n }\n\n\n var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n\n// Call error when something is wrong.\n\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n\n next = function (c) {\n\n// If a c parameter is provided, verify that it matches the current character.\n\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n\n// Get the next character. When there are no more characters,\n// return the empty string.\n\n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n\n number = function () {\n// Parse a number value.\n\n var number,\n string = '';\n\n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n if (BigNumber == null)\n BigNumber = require('bignumber.js');\n //if (number > 9007199254740992 || number < -9007199254740992)\n // Bignumber has stricter check: everything with length > 15 digits disallowed\n if (string.length > 15)\n return (_options.storeAsString === true) ? string : new BigNumber(string);\n return number;\n }\n },\n\n string = function () {\n\n// Parse a string value.\n\n var hex,\n i,\n string = '',\n uffff;\n\n// When parsing for string values, we must look for \" and \\ characters.\n\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n }\n if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (_options.strict === true && Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\n value = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n };\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\n return function (source, reviver) {\n var result;\n\n text = source + '';\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n// If there is a reviver function, we recursively walk the new structure,\n// passing each name/value pair to the reviver function for possible\n// transformation, starting with a temporary root object that holds the result\n// in an empty key. If there is not a reviver function, we simply return the\n// result.\n\n return typeof reviver === 'function'\n ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n Object.keys(value).forEach(function(k) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n });\n }\n return reviver.call(holder, key, value);\n }({'': result}, ''))\n : result;\n };\n}\n\nmodule.exports = json_parse;\n","var BigNumber = require('bignumber.js');\n\n/*\n json2.js\n 2013-05-26\n\n Public Domain.\n\n NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.\n\n See http://www.JSON.org/js.html\n\n\n This code should be minified before deployment.\n See http://javascript.crockford.com/jsmin.html\n\n USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO\n NOT CONTROL.\n\n\n This file creates a global JSON object containing two methods: stringify\n and parse.\n\n JSON.stringify(value, replacer, space)\n value any JavaScript value, usually an object or array.\n\n replacer an optional parameter that determines how object\n values are stringified for objects. It can be a\n function or an array of strings.\n\n space an optional parameter that specifies the indentation\n of nested structures. If it is omitted, the text will\n be packed without extra whitespace. If it is a number,\n it will specify the number of spaces to indent at each\n level. If it is a string (such as '\\t' or ' '),\n it contains the characters used to indent at each level.\n\n This method produces a JSON text from a JavaScript value.\n\n When an object value is found, if the object contains a toJSON\n method, its toJSON method will be called and the result will be\n stringified. A toJSON method does not serialize: it returns the\n value represented by the name/value pair that should be serialized,\n or undefined if nothing should be serialized. The toJSON method\n will be passed the key associated with the value, and this will be\n bound to the value\n\n For example, this would serialize Dates as ISO strings.\n\n Date.prototype.toJSON = function (key) {\n function f(n) {\n // Format integers to have at least two digits.\n return n < 10 ? '0' + n : n;\n }\n\n return this.getUTCFullYear() + '-' +\n f(this.getUTCMonth() + 1) + '-' +\n f(this.getUTCDate()) + 'T' +\n f(this.getUTCHours()) + ':' +\n f(this.getUTCMinutes()) + ':' +\n f(this.getUTCSeconds()) + 'Z';\n };\n\n You can provide an optional replacer method. It will be passed the\n key and value of each member, with this bound to the containing\n object. The value that is returned from your method will be\n serialized. If your method returns undefined, then the member will\n be excluded from the serialization.\n\n If the replacer parameter is an array of strings, then it will be\n used to select the members to be serialized. It filters the results\n such that only members with keys listed in the replacer array are\n stringified.\n\n Values that do not have JSON representations, such as undefined or\n functions, will not be serialized. Such values in objects will be\n dropped; in arrays they will be replaced with null. You can use\n a replacer function to replace those with JSON values.\n JSON.stringify(undefined) returns undefined.\n\n The optional space parameter produces a stringification of the\n value that is filled with line breaks and indentation to make it\n easier to read.\n\n If the space parameter is a non-empty string, then that string will\n be used for indentation. If the space parameter is a number, then\n the indentation will be that many spaces.\n\n Example:\n\n text = JSON.stringify(['e', {pluribus: 'unum'}]);\n // text is '[\"e\",{\"pluribus\":\"unum\"}]'\n\n\n text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\\t');\n // text is '[\\n\\t\"e\",\\n\\t{\\n\\t\\t\"pluribus\": \"unum\"\\n\\t}\\n]'\n\n text = JSON.stringify([new Date()], function (key, value) {\n return this[key] instanceof Date ?\n 'Date(' + this[key] + ')' : value;\n });\n // text is '[\"Date(---current time---)\"]'\n\n\n JSON.parse(text, reviver)\n This method parses a JSON text to produce an object or array.\n It can throw a SyntaxError exception.\n\n The optional reviver parameter is a function that can filter and\n transform the results. It receives each of the keys and values,\n and its return value is used instead of the original value.\n If it returns what it received, then the structure is not modified.\n If it returns undefined then the member is deleted.\n\n Example:\n\n // Parse the text. Values that look like ISO date strings will\n // be converted to Date objects.\n\n myData = JSON.parse(text, function (key, value) {\n var a;\n if (typeof value === 'string') {\n a =\n/^(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):(\\d{2}(?:\\.\\d*)?)Z$/.exec(value);\n if (a) {\n return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],\n +a[5], +a[6]));\n }\n }\n return value;\n });\n\n myData = JSON.parse('[\"Date(09/09/2001)\"]', function (key, value) {\n var d;\n if (typeof value === 'string' &&\n value.slice(0, 5) === 'Date(' &&\n value.slice(-1) === ')') {\n d = new Date(value.slice(5, -1));\n if (d) {\n return d;\n }\n }\n return value;\n });\n\n\n This is a reference implementation. You are free to copy, modify, or\n redistribute.\n*/\n\n/*jslint evil: true, regexp: true */\n\n/*members \"\", \"\\b\", \"\\t\", \"\\n\", \"\\f\", \"\\r\", \"\\\"\", JSON, \"\\\\\", apply,\n call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours,\n getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join,\n lastIndex, length, parse, prototype, push, replace, slice, stringify,\n test, toJSON, toString, valueOf\n*/\n\n\n// Create a JSON object only if one does not already exist. We create the\n// methods in a closure to avoid creating global variables.\n\nvar JSON = module.exports;\n\n(function () {\n 'use strict';\n\n function f(n) {\n // Format integers to have at least two digits.\n return n < 10 ? '0' + n : n;\n }\n\n var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\n\n function quote(string) {\n\n// If the string contains no control characters, no quote characters, and no\n// backslash characters, then we can safely slap some quotes around it.\n// Otherwise we must also replace the offending characters with safe escape\n// sequences.\n\n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string'\n ? c\n : '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n }\n\n\n function str(key, holder) {\n\n// Produce a string from holder[key].\n\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key],\n isBigNumber = value != null && (value instanceof BigNumber || BigNumber.isBigNumber(value));\n\n// If the value has a toJSON method, call it to obtain a replacement value.\n\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n\n// If we were called with a replacer function, then call the replacer to\n// obtain a replacement value.\n\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n\n// What happens next depends on the value's type.\n\n switch (typeof value) {\n case 'string':\n if (isBigNumber) {\n return value;\n } else {\n return quote(value);\n }\n\n case 'number':\n\n// JSON numbers must be finite. Encode non-finite numbers as null.\n\n return isFinite(value) ? String(value) : 'null';\n\n case 'boolean':\n case 'null':\n\n// If the value is a boolean or null, convert it to a string. Note:\n// typeof null does not produce 'null'. The case is included here in\n// the remote chance that this gets fixed someday.\n\n return String(value);\n\n// If the type is 'object', we might be dealing with an object or an array or\n// null.\n\n case 'object':\n\n// Due to a specification blunder in ECMAScript, typeof null is 'object',\n// so watch out for that case.\n\n if (!value) {\n return 'null';\n }\n\n// Make an array to hold the partial results of stringifying this object value.\n\n gap += indent;\n partial = [];\n\n// Is the value an array?\n\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n\n// The value is an array. Stringify every element. Use null as a placeholder\n// for non-JSON values.\n\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n\n// Join all of the elements together, separated with commas, and wrap them in\n// brackets.\n\n v = partial.length === 0\n ? '[]'\n : gap\n ? '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']'\n : '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n\n// If the replacer is an array, use it to select the members to be stringified.\n\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n if (typeof rep[i] === 'string') {\n k = rep[i];\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n } else {\n\n// Otherwise, iterate through all of the keys in the object.\n\n Object.keys(value).forEach(function(k) {\n var v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n });\n }\n\n// Join all of the member texts together, separated with commas,\n// and wrap them in braces.\n\n v = partial.length === 0\n ? '{}'\n : gap\n ? '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}'\n : '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n }\n\n// If the JSON object does not yet have a stringify method, give it one.\n\n if (typeof JSON.stringify !== 'function') {\n JSON.stringify = function (value, replacer, space) {\n\n// The stringify method takes a value and an optional replacer, and an optional\n// space parameter, and returns a JSON text. The replacer can be a function\n// that can replace values, or an array of strings that will select the keys.\n// A default replacer method can be provided. Use of the space parameter can\n// produce text that is more easily readable.\n\n var i;\n gap = '';\n indent = '';\n\n// If the space parameter is a number, make an indent string containing that\n// many spaces.\n\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n\n// If the space parameter is a string, it will be used as the indent string.\n\n } else if (typeof space === 'string') {\n indent = space;\n }\n\n// If there is a replacer, it must be a function or an array.\n// Otherwise, throw an error.\n\n rep = replacer;\n if (replacer && typeof replacer !== 'function' &&\n (typeof replacer !== 'object' ||\n typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n\n// Make a fake root object containing our value under the key of ''.\n// Return the result of stringifying the value.\n\n return str('', {'': value});\n };\n }\n}());\n","var bufferEqual = require('buffer-equal-constant-time');\nvar Buffer = require('safe-buffer').Buffer;\nvar crypto = require('crypto');\nvar formatEcdsa = require('ecdsa-sig-formatter');\nvar util = require('util');\n\nvar MSG_INVALID_ALGORITHM = '\"%s\" is not a valid algorithm.\\n Supported algorithms are:\\n \"HS256\", \"HS384\", \"HS512\", \"RS256\", \"RS384\", \"RS512\", \"PS256\", \"PS384\", \"PS512\", \"ES256\", \"ES384\", \"ES512\" and \"none\".'\nvar MSG_INVALID_SECRET = 'secret must be a string or buffer';\nvar MSG_INVALID_VERIFIER_KEY = 'key must be a string or a buffer';\nvar MSG_INVALID_SIGNER_KEY = 'key must be a string, a buffer or an object';\n\nvar supportsKeyObjects = typeof crypto.createPublicKey === 'function';\nif (supportsKeyObjects) {\n MSG_INVALID_VERIFIER_KEY += ' or a KeyObject';\n MSG_INVALID_SECRET += 'or a KeyObject';\n}\n\nfunction checkIsPublicKey(key) {\n if (Buffer.isBuffer(key)) {\n return;\n }\n\n if (typeof key === 'string') {\n return;\n }\n\n if (!supportsKeyObjects) {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key !== 'object') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key.type !== 'string') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key.asymmetricKeyType !== 'string') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n\n if (typeof key.export !== 'function') {\n throw typeError(MSG_INVALID_VERIFIER_KEY);\n }\n};\n\nfunction checkIsPrivateKey(key) {\n if (Buffer.isBuffer(key)) {\n return;\n }\n\n if (typeof key === 'string') {\n return;\n }\n\n if (typeof key === 'object') {\n return;\n }\n\n throw typeError(MSG_INVALID_SIGNER_KEY);\n};\n\nfunction checkIsSecretKey(key) {\n if (Buffer.isBuffer(key)) {\n return;\n }\n\n if (typeof key === 'string') {\n return key;\n }\n\n if (!supportsKeyObjects) {\n throw typeError(MSG_INVALID_SECRET);\n }\n\n if (typeof key !== 'object') {\n throw typeError(MSG_INVALID_SECRET);\n }\n\n if (key.type !== 'secret') {\n throw typeError(MSG_INVALID_SECRET);\n }\n\n if (typeof key.export !== 'function') {\n throw typeError(MSG_INVALID_SECRET);\n }\n}\n\nfunction fromBase64(base64) {\n return base64\n .replace(/=/g, '')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_');\n}\n\nfunction toBase64(base64url) {\n base64url = base64url.toString();\n\n var padding = 4 - base64url.length % 4;\n if (padding !== 4) {\n for (var i = 0; i < padding; ++i) {\n base64url += '=';\n }\n }\n\n return base64url\n .replace(/\\-/g, '+')\n .replace(/_/g, '/');\n}\n\nfunction typeError(template) {\n var args = [].slice.call(arguments, 1);\n var errMsg = util.format.bind(util, template).apply(null, args);\n return new TypeError(errMsg);\n}\n\nfunction bufferOrString(obj) {\n return Buffer.isBuffer(obj) || typeof obj === 'string';\n}\n\nfunction normalizeInput(thing) {\n if (!bufferOrString(thing))\n thing = JSON.stringify(thing);\n return thing;\n}\n\nfunction createHmacSigner(bits) {\n return function sign(thing, secret) {\n checkIsSecretKey(secret);\n thing = normalizeInput(thing);\n var hmac = crypto.createHmac('sha' + bits, secret);\n var sig = (hmac.update(thing), hmac.digest('base64'))\n return fromBase64(sig);\n }\n}\n\nfunction createHmacVerifier(bits) {\n return function verify(thing, signature, secret) {\n var computedSig = createHmacSigner(bits)(thing, secret);\n return bufferEqual(Buffer.from(signature), Buffer.from(computedSig));\n }\n}\n\nfunction createKeySigner(bits) {\n return function sign(thing, privateKey) {\n checkIsPrivateKey(privateKey);\n thing = normalizeInput(thing);\n // Even though we are specifying \"RSA\" here, this works with ECDSA\n // keys as well.\n var signer = crypto.createSign('RSA-SHA' + bits);\n var sig = (signer.update(thing), signer.sign(privateKey, 'base64'));\n return fromBase64(sig);\n }\n}\n\nfunction createKeyVerifier(bits) {\n return function verify(thing, signature, publicKey) {\n checkIsPublicKey(publicKey);\n thing = normalizeInput(thing);\n signature = toBase64(signature);\n var verifier = crypto.createVerify('RSA-SHA' + bits);\n verifier.update(thing);\n return verifier.verify(publicKey, signature, 'base64');\n }\n}\n\nfunction createPSSKeySigner(bits) {\n return function sign(thing, privateKey) {\n checkIsPrivateKey(privateKey);\n thing = normalizeInput(thing);\n var signer = crypto.createSign('RSA-SHA' + bits);\n var sig = (signer.update(thing), signer.sign({\n key: privateKey,\n padding: crypto.constants.RSA_PKCS1_PSS_PADDING,\n saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST\n }, 'base64'));\n return fromBase64(sig);\n }\n}\n\nfunction createPSSKeyVerifier(bits) {\n return function verify(thing, signature, publicKey) {\n checkIsPublicKey(publicKey);\n thing = normalizeInput(thing);\n signature = toBase64(signature);\n var verifier = crypto.createVerify('RSA-SHA' + bits);\n verifier.update(thing);\n return verifier.verify({\n key: publicKey,\n padding: crypto.constants.RSA_PKCS1_PSS_PADDING,\n saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST\n }, signature, 'base64');\n }\n}\n\nfunction createECDSASigner(bits) {\n var inner = createKeySigner(bits);\n return function sign() {\n var signature = inner.apply(null, arguments);\n signature = formatEcdsa.derToJose(signature, 'ES' + bits);\n return signature;\n };\n}\n\nfunction createECDSAVerifer(bits) {\n var inner = createKeyVerifier(bits);\n return function verify(thing, signature, publicKey) {\n signature = formatEcdsa.joseToDer(signature, 'ES' + bits).toString('base64');\n var result = inner(thing, signature, publicKey);\n return result;\n };\n}\n\nfunction createNoneSigner() {\n return function sign() {\n return '';\n }\n}\n\nfunction createNoneVerifier() {\n return function verify(thing, signature) {\n return signature === '';\n }\n}\n\nmodule.exports = function jwa(algorithm) {\n var signerFactories = {\n hs: createHmacSigner,\n rs: createKeySigner,\n ps: createPSSKeySigner,\n es: createECDSASigner,\n none: createNoneSigner,\n }\n var verifierFactories = {\n hs: createHmacVerifier,\n rs: createKeyVerifier,\n ps: createPSSKeyVerifier,\n es: createECDSAVerifer,\n none: createNoneVerifier,\n }\n var match = algorithm.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);\n if (!match)\n throw typeError(MSG_INVALID_ALGORITHM, algorithm);\n var algo = (match[1] || match[3]).toLowerCase();\n var bits = match[2];\n\n return {\n sign: signerFactories[algo](bits),\n verify: verifierFactories[algo](bits),\n }\n};\n","/*global exports*/\nvar SignStream = require('./lib/sign-stream');\nvar VerifyStream = require('./lib/verify-stream');\n\nvar ALGORITHMS = [\n 'HS256', 'HS384', 'HS512',\n 'RS256', 'RS384', 'RS512',\n 'PS256', 'PS384', 'PS512',\n 'ES256', 'ES384', 'ES512'\n];\n\nexports.ALGORITHMS = ALGORITHMS;\nexports.sign = SignStream.sign;\nexports.verify = VerifyStream.verify;\nexports.decode = VerifyStream.decode;\nexports.isValid = VerifyStream.isValid;\nexports.createSign = function createSign(opts) {\n return new SignStream(opts);\n};\nexports.createVerify = function createVerify(opts) {\n return new VerifyStream(opts);\n};\n","/*global module, process*/\nvar Buffer = require('safe-buffer').Buffer;\nvar Stream = require('stream');\nvar util = require('util');\n\nfunction DataStream(data) {\n this.buffer = null;\n this.writable = true;\n this.readable = true;\n\n // No input\n if (!data) {\n this.buffer = Buffer.alloc(0);\n return this;\n }\n\n // Stream\n if (typeof data.pipe === 'function') {\n this.buffer = Buffer.alloc(0);\n data.pipe(this);\n return this;\n }\n\n // Buffer or String\n // or Object (assumedly a passworded key)\n if (data.length || typeof data === 'object') {\n this.buffer = data;\n this.writable = false;\n process.nextTick(function () {\n this.emit('end', data);\n this.readable = false;\n this.emit('close');\n }.bind(this));\n return this;\n }\n\n throw new TypeError('Unexpected data type ('+ typeof data + ')');\n}\nutil.inherits(DataStream, Stream);\n\nDataStream.prototype.write = function write(data) {\n this.buffer = Buffer.concat([this.buffer, Buffer.from(data)]);\n this.emit('data', data);\n};\n\nDataStream.prototype.end = function end(data) {\n if (data)\n this.write(data);\n this.emit('end', data);\n this.emit('close');\n this.writable = false;\n this.readable = false;\n};\n\nmodule.exports = DataStream;\n","/*global module*/\nvar Buffer = require('safe-buffer').Buffer;\nvar DataStream = require('./data-stream');\nvar jwa = require('jwa');\nvar Stream = require('stream');\nvar toString = require('./tostring');\nvar util = require('util');\n\nfunction base64url(string, encoding) {\n return Buffer\n .from(string, encoding)\n .toString('base64')\n .replace(/=/g, '')\n .replace(/\\+/g, '-')\n .replace(/\\//g, '_');\n}\n\nfunction jwsSecuredInput(header, payload, encoding) {\n encoding = encoding || 'utf8';\n var encodedHeader = base64url(toString(header), 'binary');\n var encodedPayload = base64url(toString(payload), encoding);\n return util.format('%s.%s', encodedHeader, encodedPayload);\n}\n\nfunction jwsSign(opts) {\n var header = opts.header;\n var payload = opts.payload;\n var secretOrKey = opts.secret || opts.privateKey;\n var encoding = opts.encoding;\n var algo = jwa(header.alg);\n var securedInput = jwsSecuredInput(header, payload, encoding);\n var signature = algo.sign(securedInput, secretOrKey);\n return util.format('%s.%s', securedInput, signature);\n}\n\nfunction SignStream(opts) {\n var secret = opts.secret||opts.privateKey||opts.key;\n var secretStream = new DataStream(secret);\n this.readable = true;\n this.header = opts.header;\n this.encoding = opts.encoding;\n this.secret = this.privateKey = this.key = secretStream;\n this.payload = new DataStream(opts.payload);\n this.secret.once('close', function () {\n if (!this.payload.writable && this.readable)\n this.sign();\n }.bind(this));\n\n this.payload.once('close', function () {\n if (!this.secret.writable && this.readable)\n this.sign();\n }.bind(this));\n}\nutil.inherits(SignStream, Stream);\n\nSignStream.prototype.sign = function sign() {\n try {\n var signature = jwsSign({\n header: this.header,\n payload: this.payload.buffer,\n secret: this.secret.buffer,\n encoding: this.encoding\n });\n this.emit('done', signature);\n this.emit('data', signature);\n this.emit('end');\n this.readable = false;\n return signature;\n } catch (e) {\n this.readable = false;\n this.emit('error', e);\n this.emit('close');\n }\n};\n\nSignStream.sign = jwsSign;\n\nmodule.exports = SignStream;\n","/*global module*/\nvar Buffer = require('buffer').Buffer;\n\nmodule.exports = function toString(obj) {\n if (typeof obj === 'string')\n return obj;\n if (typeof obj === 'number' || Buffer.isBuffer(obj))\n return obj.toString();\n return JSON.stringify(obj);\n};\n","/*global module*/\nvar Buffer = require('safe-buffer').Buffer;\nvar DataStream = require('./data-stream');\nvar jwa = require('jwa');\nvar Stream = require('stream');\nvar toString = require('./tostring');\nvar util = require('util');\nvar JWS_REGEX = /^[a-zA-Z0-9\\-_]+?\\.[a-zA-Z0-9\\-_]+?\\.([a-zA-Z0-9\\-_]+)?$/;\n\nfunction isObject(thing) {\n return Object.prototype.toString.call(thing) === '[object Object]';\n}\n\nfunction safeJsonParse(thing) {\n if (isObject(thing))\n return thing;\n try { return JSON.parse(thing); }\n catch (e) { return undefined; }\n}\n\nfunction headerFromJWS(jwsSig) {\n var encodedHeader = jwsSig.split('.', 1)[0];\n return safeJsonParse(Buffer.from(encodedHeader, 'base64').toString('binary'));\n}\n\nfunction securedInputFromJWS(jwsSig) {\n return jwsSig.split('.', 2).join('.');\n}\n\nfunction signatureFromJWS(jwsSig) {\n return jwsSig.split('.')[2];\n}\n\nfunction payloadFromJWS(jwsSig, encoding) {\n encoding = encoding || 'utf8';\n var payload = jwsSig.split('.')[1];\n return Buffer.from(payload, 'base64').toString(encoding);\n}\n\nfunction isValidJws(string) {\n return JWS_REGEX.test(string) && !!headerFromJWS(string);\n}\n\nfunction jwsVerify(jwsSig, algorithm, secretOrKey) {\n if (!algorithm) {\n var err = new Error(\"Missing algorithm parameter for jws.verify\");\n err.code = \"MISSING_ALGORITHM\";\n throw err;\n }\n jwsSig = toString(jwsSig);\n var signature = signatureFromJWS(jwsSig);\n var securedInput = securedInputFromJWS(jwsSig);\n var algo = jwa(algorithm);\n return algo.verify(securedInput, signature, secretOrKey);\n}\n\nfunction jwsDecode(jwsSig, opts) {\n opts = opts || {};\n jwsSig = toString(jwsSig);\n\n if (!isValidJws(jwsSig))\n return null;\n\n var header = headerFromJWS(jwsSig);\n\n if (!header)\n return null;\n\n var payload = payloadFromJWS(jwsSig);\n if (header.typ === 'JWT' || opts.json)\n payload = JSON.parse(payload, opts.encoding);\n\n return {\n header: header,\n payload: payload,\n signature: signatureFromJWS(jwsSig)\n };\n}\n\nfunction VerifyStream(opts) {\n opts = opts || {};\n var secretOrKey = opts.secret||opts.publicKey||opts.key;\n var secretStream = new DataStream(secretOrKey);\n this.readable = true;\n this.algorithm = opts.algorithm;\n this.encoding = opts.encoding;\n this.secret = this.publicKey = this.key = secretStream;\n this.signature = new DataStream(opts.signature);\n this.secret.once('close', function () {\n if (!this.signature.writable && this.readable)\n this.verify();\n }.bind(this));\n\n this.signature.once('close', function () {\n if (!this.secret.writable && this.readable)\n this.verify();\n }.bind(this));\n}\nutil.inherits(VerifyStream, Stream);\nVerifyStream.prototype.verify = function verify() {\n try {\n var valid = jwsVerify(this.signature.buffer, this.algorithm, this.key.buffer);\n var obj = jwsDecode(this.signature.buffer, this.encoding);\n this.emit('done', valid, obj);\n this.emit('data', valid);\n this.emit('end');\n this.readable = false;\n return valid;\n } catch (e) {\n this.readable = false;\n this.emit('error', e);\n this.emit('close');\n }\n};\n\nVerifyStream.decode = jwsDecode;\nVerifyStream.isValid = isValidJws;\nVerifyStream.verify = jwsVerify;\n\nmodule.exports = VerifyStream;\n","'use strict';\n\n/**\n * @param typeMap [Object] Map of MIME type -> Array[extensions]\n * @param ...\n */\nfunction Mime() {\n this._types = Object.create(null);\n this._extensions = Object.create(null);\n\n for (let i = 0; i < arguments.length; i++) {\n this.define(arguments[i]);\n }\n\n this.define = this.define.bind(this);\n this.getType = this.getType.bind(this);\n this.getExtension = this.getExtension.bind(this);\n}\n\n/**\n * Define mimetype -> extension mappings. Each key is a mime-type that maps\n * to an array of extensions associated with the type. The first extension is\n * used as the default extension for the type.\n *\n * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']});\n *\n * If a type declares an extension that has already been defined, an error will\n * be thrown. To suppress this error and force the extension to be associated\n * with the new type, pass `force`=true. Alternatively, you may prefix the\n * extension with \"*\" to map the type to extension, without mapping the\n * extension to the type.\n *\n * e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']});\n *\n *\n * @param map (Object) type definitions\n * @param force (Boolean) if true, force overriding of existing definitions\n */\nMime.prototype.define = function(typeMap, force) {\n for (let type in typeMap) {\n let extensions = typeMap[type].map(function(t) {\n return t.toLowerCase();\n });\n type = type.toLowerCase();\n\n for (let i = 0; i < extensions.length; i++) {\n const ext = extensions[i];\n\n // '*' prefix = not the preferred type for this extension. So fixup the\n // extension, and skip it.\n if (ext[0] === '*') {\n continue;\n }\n\n if (!force && (ext in this._types)) {\n throw new Error(\n 'Attempt to change mapping for \"' + ext +\n '\" extension from \"' + this._types[ext] + '\" to \"' + type +\n '\". Pass `force=true` to allow this, otherwise remove \"' + ext +\n '\" from the list of extensions for \"' + type + '\".'\n );\n }\n\n this._types[ext] = type;\n }\n\n // Use first extension as default\n if (force || !this._extensions[type]) {\n const ext = extensions[0];\n this._extensions[type] = (ext[0] !== '*') ? ext : ext.substr(1);\n }\n }\n};\n\n/**\n * Lookup a mime type based on extension\n */\nMime.prototype.getType = function(path) {\n path = String(path);\n let last = path.replace(/^.*[/\\\\]/, '').toLowerCase();\n let ext = last.replace(/^.*\\./, '').toLowerCase();\n\n let hasPath = last.length < path.length;\n let hasDot = ext.length < last.length - 1;\n\n return (hasDot || !hasPath) && this._types[ext] || null;\n};\n\n/**\n * Return file extension associated with a mime type\n */\nMime.prototype.getExtension = function(type) {\n type = /^\\s*([^;\\s]*)/.test(type) && RegExp.$1;\n return type && this._extensions[type.toLowerCase()] || null;\n};\n\nmodule.exports = Mime;\n","'use strict';\n\nlet Mime = require('./Mime');\nmodule.exports = new Mime(require('./types/standard'), require('./types/other'));\n","module.exports = {\"application/prs.cww\":[\"cww\"],\"application/vnd.1000minds.decision-model+xml\":[\"1km\"],\"application/vnd.3gpp.pic-bw-large\":[\"plb\"],\"application/vnd.3gpp.pic-bw-small\":[\"psb\"],\"application/vnd.3gpp.pic-bw-var\":[\"pvb\"],\"application/vnd.3gpp2.tcap\":[\"tcap\"],\"application/vnd.3m.post-it-notes\":[\"pwn\"],\"application/vnd.accpac.simply.aso\":[\"aso\"],\"application/vnd.accpac.simply.imp\":[\"imp\"],\"application/vnd.acucobol\":[\"acu\"],\"application/vnd.acucorp\":[\"atc\",\"acutc\"],\"application/vnd.adobe.air-application-installer-package+zip\":[\"air\"],\"application/vnd.adobe.formscentral.fcdt\":[\"fcdt\"],\"application/vnd.adobe.fxp\":[\"fxp\",\"fxpl\"],\"application/vnd.adobe.xdp+xml\":[\"xdp\"],\"application/vnd.adobe.xfdf\":[\"xfdf\"],\"application/vnd.ahead.space\":[\"ahead\"],\"application/vnd.airzip.filesecure.azf\":[\"azf\"],\"application/vnd.airzip.filesecure.azs\":[\"azs\"],\"application/vnd.amazon.ebook\":[\"azw\"],\"application/vnd.americandynamics.acc\":[\"acc\"],\"application/vnd.amiga.ami\":[\"ami\"],\"application/vnd.android.package-archive\":[\"apk\"],\"application/vnd.anser-web-certificate-issue-initiation\":[\"cii\"],\"application/vnd.anser-web-funds-transfer-initiation\":[\"fti\"],\"application/vnd.antix.game-component\":[\"atx\"],\"application/vnd.apple.installer+xml\":[\"mpkg\"],\"application/vnd.apple.keynote\":[\"key\"],\"application/vnd.apple.mpegurl\":[\"m3u8\"],\"application/vnd.apple.numbers\":[\"numbers\"],\"application/vnd.apple.pages\":[\"pages\"],\"application/vnd.apple.pkpass\":[\"pkpass\"],\"application/vnd.aristanetworks.swi\":[\"swi\"],\"application/vnd.astraea-software.iota\":[\"iota\"],\"application/vnd.audiograph\":[\"aep\"],\"application/vnd.balsamiq.bmml+xml\":[\"bmml\"],\"application/vnd.blueice.multipass\":[\"mpm\"],\"application/vnd.bmi\":[\"bmi\"],\"application/vnd.businessobjects\":[\"rep\"],\"application/vnd.chemdraw+xml\":[\"cdxml\"],\"application/vnd.chipnuts.karaoke-mmd\":[\"mmd\"],\"application/vnd.cinderella\":[\"cdy\"],\"application/vnd.citationstyles.style+xml\":[\"csl\"],\"application/vnd.claymore\":[\"cla\"],\"application/vnd.cloanto.rp9\":[\"rp9\"],\"application/vnd.clonk.c4group\":[\"c4g\",\"c4d\",\"c4f\",\"c4p\",\"c4u\"],\"application/vnd.cluetrust.cartomobile-config\":[\"c11amc\"],\"application/vnd.cluetrust.cartomobile-config-pkg\":[\"c11amz\"],\"application/vnd.commonspace\":[\"csp\"],\"application/vnd.contact.cmsg\":[\"cdbcmsg\"],\"application/vnd.cosmocaller\":[\"cmc\"],\"application/vnd.crick.clicker\":[\"clkx\"],\"application/vnd.crick.clicker.keyboard\":[\"clkk\"],\"application/vnd.crick.clicker.palette\":[\"clkp\"],\"application/vnd.crick.clicker.template\":[\"clkt\"],\"application/vnd.crick.clicker.wordbank\":[\"clkw\"],\"application/vnd.criticaltools.wbs+xml\":[\"wbs\"],\"application/vnd.ctc-posml\":[\"pml\"],\"application/vnd.cups-ppd\":[\"ppd\"],\"application/vnd.curl.car\":[\"car\"],\"application/vnd.curl.pcurl\":[\"pcurl\"],\"application/vnd.dart\":[\"dart\"],\"application/vnd.data-vision.rdz\":[\"rdz\"],\"application/vnd.dbf\":[\"dbf\"],\"application/vnd.dece.data\":[\"uvf\",\"uvvf\",\"uvd\",\"uvvd\"],\"application/vnd.dece.ttml+xml\":[\"uvt\",\"uvvt\"],\"application/vnd.dece.unspecified\":[\"uvx\",\"uvvx\"],\"application/vnd.dece.zip\":[\"uvz\",\"uvvz\"],\"application/vnd.denovo.fcselayout-link\":[\"fe_launch\"],\"application/vnd.dna\":[\"dna\"],\"application/vnd.dolby.mlp\":[\"mlp\"],\"application/vnd.dpgraph\":[\"dpg\"],\"application/vnd.dreamfactory\":[\"dfac\"],\"application/vnd.ds-keypoint\":[\"kpxx\"],\"application/vnd.dvb.ait\":[\"ait\"],\"application/vnd.dvb.service\":[\"svc\"],\"application/vnd.dynageo\":[\"geo\"],\"application/vnd.ecowin.chart\":[\"mag\"],\"application/vnd.enliven\":[\"nml\"],\"application/vnd.epson.esf\":[\"esf\"],\"application/vnd.epson.msf\":[\"msf\"],\"application/vnd.epson.quickanime\":[\"qam\"],\"application/vnd.epson.salt\":[\"slt\"],\"application/vnd.epson.ssf\":[\"ssf\"],\"application/vnd.eszigno3+xml\":[\"es3\",\"et3\"],\"application/vnd.ezpix-album\":[\"ez2\"],\"application/vnd.ezpix-package\":[\"ez3\"],\"application/vnd.fdf\":[\"fdf\"],\"application/vnd.fdsn.mseed\":[\"mseed\"],\"application/vnd.fdsn.seed\":[\"seed\",\"dataless\"],\"application/vnd.flographit\":[\"gph\"],\"application/vnd.fluxtime.clip\":[\"ftc\"],\"application/vnd.framemaker\":[\"fm\",\"frame\",\"maker\",\"book\"],\"application/vnd.frogans.fnc\":[\"fnc\"],\"application/vnd.frogans.ltf\":[\"ltf\"],\"application/vnd.fsc.weblaunch\":[\"fsc\"],\"application/vnd.fujitsu.oasys\":[\"oas\"],\"application/vnd.fujitsu.oasys2\":[\"oa2\"],\"application/vnd.fujitsu.oasys3\":[\"oa3\"],\"application/vnd.fujitsu.oasysgp\":[\"fg5\"],\"application/vnd.fujitsu.oasysprs\":[\"bh2\"],\"application/vnd.fujixerox.ddd\":[\"ddd\"],\"application/vnd.fujixerox.docuworks\":[\"xdw\"],\"application/vnd.fujixerox.docuworks.binder\":[\"xbd\"],\"application/vnd.fuzzysheet\":[\"fzs\"],\"application/vnd.genomatix.tuxedo\":[\"txd\"],\"application/vnd.geogebra.file\":[\"ggb\"],\"application/vnd.geogebra.tool\":[\"ggt\"],\"application/vnd.geometry-explorer\":[\"gex\",\"gre\"],\"application/vnd.geonext\":[\"gxt\"],\"application/vnd.geoplan\":[\"g2w\"],\"application/vnd.geospace\":[\"g3w\"],\"application/vnd.gmx\":[\"gmx\"],\"application/vnd.google-apps.document\":[\"gdoc\"],\"application/vnd.google-apps.presentation\":[\"gslides\"],\"application/vnd.google-apps.spreadsheet\":[\"gsheet\"],\"application/vnd.google-earth.kml+xml\":[\"kml\"],\"application/vnd.google-earth.kmz\":[\"kmz\"],\"application/vnd.grafeq\":[\"gqf\",\"gqs\"],\"application/vnd.groove-account\":[\"gac\"],\"application/vnd.groove-help\":[\"ghf\"],\"application/vnd.groove-identity-message\":[\"gim\"],\"application/vnd.groove-injector\":[\"grv\"],\"application/vnd.groove-tool-message\":[\"gtm\"],\"application/vnd.groove-tool-template\":[\"tpl\"],\"application/vnd.groove-vcard\":[\"vcg\"],\"application/vnd.hal+xml\":[\"hal\"],\"application/vnd.handheld-entertainment+xml\":[\"zmm\"],\"application/vnd.hbci\":[\"hbci\"],\"application/vnd.hhe.lesson-player\":[\"les\"],\"application/vnd.hp-hpgl\":[\"hpgl\"],\"application/vnd.hp-hpid\":[\"hpid\"],\"application/vnd.hp-hps\":[\"hps\"],\"application/vnd.hp-jlyt\":[\"jlt\"],\"application/vnd.hp-pcl\":[\"pcl\"],\"application/vnd.hp-pclxl\":[\"pclxl\"],\"application/vnd.hydrostatix.sof-data\":[\"sfd-hdstx\"],\"application/vnd.ibm.minipay\":[\"mpy\"],\"application/vnd.ibm.modcap\":[\"afp\",\"listafp\",\"list3820\"],\"application/vnd.ibm.rights-management\":[\"irm\"],\"application/vnd.ibm.secure-container\":[\"sc\"],\"application/vnd.iccprofile\":[\"icc\",\"icm\"],\"application/vnd.igloader\":[\"igl\"],\"application/vnd.immervision-ivp\":[\"ivp\"],\"application/vnd.immervision-ivu\":[\"ivu\"],\"application/vnd.insors.igm\":[\"igm\"],\"application/vnd.intercon.formnet\":[\"xpw\",\"xpx\"],\"application/vnd.intergeo\":[\"i2g\"],\"application/vnd.intu.qbo\":[\"qbo\"],\"application/vnd.intu.qfx\":[\"qfx\"],\"application/vnd.ipunplugged.rcprofile\":[\"rcprofile\"],\"application/vnd.irepository.package+xml\":[\"irp\"],\"application/vnd.is-xpr\":[\"xpr\"],\"application/vnd.isac.fcs\":[\"fcs\"],\"application/vnd.jam\":[\"jam\"],\"application/vnd.jcp.javame.midlet-rms\":[\"rms\"],\"application/vnd.jisp\":[\"jisp\"],\"application/vnd.joost.joda-archive\":[\"joda\"],\"application/vnd.kahootz\":[\"ktz\",\"ktr\"],\"application/vnd.kde.karbon\":[\"karbon\"],\"application/vnd.kde.kchart\":[\"chrt\"],\"application/vnd.kde.kformula\":[\"kfo\"],\"application/vnd.kde.kivio\":[\"flw\"],\"application/vnd.kde.kontour\":[\"kon\"],\"application/vnd.kde.kpresenter\":[\"kpr\",\"kpt\"],\"application/vnd.kde.kspread\":[\"ksp\"],\"application/vnd.kde.kword\":[\"kwd\",\"kwt\"],\"application/vnd.kenameaapp\":[\"htke\"],\"application/vnd.kidspiration\":[\"kia\"],\"application/vnd.kinar\":[\"kne\",\"knp\"],\"application/vnd.koan\":[\"skp\",\"skd\",\"skt\",\"skm\"],\"application/vnd.kodak-descriptor\":[\"sse\"],\"application/vnd.las.las+xml\":[\"lasxml\"],\"application/vnd.llamagraphics.life-balance.desktop\":[\"lbd\"],\"application/vnd.llamagraphics.life-balance.exchange+xml\":[\"lbe\"],\"application/vnd.lotus-1-2-3\":[\"123\"],\"application/vnd.lotus-approach\":[\"apr\"],\"application/vnd.lotus-freelance\":[\"pre\"],\"application/vnd.lotus-notes\":[\"nsf\"],\"application/vnd.lotus-organizer\":[\"org\"],\"application/vnd.lotus-screencam\":[\"scm\"],\"application/vnd.lotus-wordpro\":[\"lwp\"],\"application/vnd.macports.portpkg\":[\"portpkg\"],\"application/vnd.mapbox-vector-tile\":[\"mvt\"],\"application/vnd.mcd\":[\"mcd\"],\"application/vnd.medcalcdata\":[\"mc1\"],\"application/vnd.mediastation.cdkey\":[\"cdkey\"],\"application/vnd.mfer\":[\"mwf\"],\"application/vnd.mfmp\":[\"mfm\"],\"application/vnd.micrografx.flo\":[\"flo\"],\"application/vnd.micrografx.igx\":[\"igx\"],\"application/vnd.mif\":[\"mif\"],\"application/vnd.mobius.daf\":[\"daf\"],\"application/vnd.mobius.dis\":[\"dis\"],\"application/vnd.mobius.mbk\":[\"mbk\"],\"application/vnd.mobius.mqy\":[\"mqy\"],\"application/vnd.mobius.msl\":[\"msl\"],\"application/vnd.mobius.plc\":[\"plc\"],\"application/vnd.mobius.txf\":[\"txf\"],\"application/vnd.mophun.application\":[\"mpn\"],\"application/vnd.mophun.certificate\":[\"mpc\"],\"application/vnd.mozilla.xul+xml\":[\"xul\"],\"application/vnd.ms-artgalry\":[\"cil\"],\"application/vnd.ms-cab-compressed\":[\"cab\"],\"application/vnd.ms-excel\":[\"xls\",\"xlm\",\"xla\",\"xlc\",\"xlt\",\"xlw\"],\"application/vnd.ms-excel.addin.macroenabled.12\":[\"xlam\"],\"application/vnd.ms-excel.sheet.binary.macroenabled.12\":[\"xlsb\"],\"application/vnd.ms-excel.sheet.macroenabled.12\":[\"xlsm\"],\"application/vnd.ms-excel.template.macroenabled.12\":[\"xltm\"],\"application/vnd.ms-fontobject\":[\"eot\"],\"application/vnd.ms-htmlhelp\":[\"chm\"],\"application/vnd.ms-ims\":[\"ims\"],\"application/vnd.ms-lrm\":[\"lrm\"],\"application/vnd.ms-officetheme\":[\"thmx\"],\"application/vnd.ms-outlook\":[\"msg\"],\"application/vnd.ms-pki.seccat\":[\"cat\"],\"application/vnd.ms-pki.stl\":[\"*stl\"],\"application/vnd.ms-powerpoint\":[\"ppt\",\"pps\",\"pot\"],\"application/vnd.ms-powerpoint.addin.macroenabled.12\":[\"ppam\"],\"application/vnd.ms-powerpoint.presentation.macroenabled.12\":[\"pptm\"],\"application/vnd.ms-powerpoint.slide.macroenabled.12\":[\"sldm\"],\"application/vnd.ms-powerpoint.slideshow.macroenabled.12\":[\"ppsm\"],\"application/vnd.ms-powerpoint.template.macroenabled.12\":[\"potm\"],\"application/vnd.ms-project\":[\"mpp\",\"mpt\"],\"application/vnd.ms-word.document.macroenabled.12\":[\"docm\"],\"application/vnd.ms-word.template.macroenabled.12\":[\"dotm\"],\"application/vnd.ms-works\":[\"wps\",\"wks\",\"wcm\",\"wdb\"],\"application/vnd.ms-wpl\":[\"wpl\"],\"application/vnd.ms-xpsdocument\":[\"xps\"],\"application/vnd.mseq\":[\"mseq\"],\"application/vnd.musician\":[\"mus\"],\"application/vnd.muvee.style\":[\"msty\"],\"application/vnd.mynfc\":[\"taglet\"],\"application/vnd.neurolanguage.nlu\":[\"nlu\"],\"application/vnd.nitf\":[\"ntf\",\"nitf\"],\"application/vnd.noblenet-directory\":[\"nnd\"],\"application/vnd.noblenet-sealer\":[\"nns\"],\"application/vnd.noblenet-web\":[\"nnw\"],\"application/vnd.nokia.n-gage.ac+xml\":[\"*ac\"],\"application/vnd.nokia.n-gage.data\":[\"ngdat\"],\"application/vnd.nokia.n-gage.symbian.install\":[\"n-gage\"],\"application/vnd.nokia.radio-preset\":[\"rpst\"],\"application/vnd.nokia.radio-presets\":[\"rpss\"],\"application/vnd.novadigm.edm\":[\"edm\"],\"application/vnd.novadigm.edx\":[\"edx\"],\"application/vnd.novadigm.ext\":[\"ext\"],\"application/vnd.oasis.opendocument.chart\":[\"odc\"],\"application/vnd.oasis.opendocument.chart-template\":[\"otc\"],\"application/vnd.oasis.opendocument.database\":[\"odb\"],\"application/vnd.oasis.opendocument.formula\":[\"odf\"],\"application/vnd.oasis.opendocument.formula-template\":[\"odft\"],\"application/vnd.oasis.opendocument.graphics\":[\"odg\"],\"application/vnd.oasis.opendocument.graphics-template\":[\"otg\"],\"application/vnd.oasis.opendocument.image\":[\"odi\"],\"application/vnd.oasis.opendocument.image-template\":[\"oti\"],\"application/vnd.oasis.opendocument.presentation\":[\"odp\"],\"application/vnd.oasis.opendocument.presentation-template\":[\"otp\"],\"application/vnd.oasis.opendocument.spreadsheet\":[\"ods\"],\"application/vnd.oasis.opendocument.spreadsheet-template\":[\"ots\"],\"application/vnd.oasis.opendocument.text\":[\"odt\"],\"application/vnd.oasis.opendocument.text-master\":[\"odm\"],\"application/vnd.oasis.opendocument.text-template\":[\"ott\"],\"application/vnd.oasis.opendocument.text-web\":[\"oth\"],\"application/vnd.olpc-sugar\":[\"xo\"],\"application/vnd.oma.dd2+xml\":[\"dd2\"],\"application/vnd.openblox.game+xml\":[\"obgx\"],\"application/vnd.openofficeorg.extension\":[\"oxt\"],\"application/vnd.openstreetmap.data+xml\":[\"osm\"],\"application/vnd.openxmlformats-officedocument.presentationml.presentation\":[\"pptx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slide\":[\"sldx\"],\"application/vnd.openxmlformats-officedocument.presentationml.slideshow\":[\"ppsx\"],\"application/vnd.openxmlformats-officedocument.presentationml.template\":[\"potx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\":[\"xlsx\"],\"application/vnd.openxmlformats-officedocument.spreadsheetml.template\":[\"xltx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\":[\"docx\"],\"application/vnd.openxmlformats-officedocument.wordprocessingml.template\":[\"dotx\"],\"application/vnd.osgeo.mapguide.package\":[\"mgp\"],\"application/vnd.osgi.dp\":[\"dp\"],\"application/vnd.osgi.subsystem\":[\"esa\"],\"application/vnd.palm\":[\"pdb\",\"pqa\",\"oprc\"],\"application/vnd.pawaafile\":[\"paw\"],\"application/vnd.pg.format\":[\"str\"],\"application/vnd.pg.osasli\":[\"ei6\"],\"application/vnd.picsel\":[\"efif\"],\"application/vnd.pmi.widget\":[\"wg\"],\"application/vnd.pocketlearn\":[\"plf\"],\"application/vnd.powerbuilder6\":[\"pbd\"],\"application/vnd.previewsystems.box\":[\"box\"],\"application/vnd.proteus.magazine\":[\"mgz\"],\"application/vnd.publishare-delta-tree\":[\"qps\"],\"application/vnd.pvi.ptid1\":[\"ptid\"],\"application/vnd.quark.quarkxpress\":[\"qxd\",\"qxt\",\"qwd\",\"qwt\",\"qxl\",\"qxb\"],\"application/vnd.rar\":[\"rar\"],\"application/vnd.realvnc.bed\":[\"bed\"],\"application/vnd.recordare.musicxml\":[\"mxl\"],\"application/vnd.recordare.musicxml+xml\":[\"musicxml\"],\"application/vnd.rig.cryptonote\":[\"cryptonote\"],\"application/vnd.rim.cod\":[\"cod\"],\"application/vnd.rn-realmedia\":[\"rm\"],\"application/vnd.rn-realmedia-vbr\":[\"rmvb\"],\"application/vnd.route66.link66+xml\":[\"link66\"],\"application/vnd.sailingtracker.track\":[\"st\"],\"application/vnd.seemail\":[\"see\"],\"application/vnd.sema\":[\"sema\"],\"application/vnd.semd\":[\"semd\"],\"application/vnd.semf\":[\"semf\"],\"application/vnd.shana.informed.formdata\":[\"ifm\"],\"application/vnd.shana.informed.formtemplate\":[\"itp\"],\"application/vnd.shana.informed.interchange\":[\"iif\"],\"application/vnd.shana.informed.package\":[\"ipk\"],\"application/vnd.simtech-mindmapper\":[\"twd\",\"twds\"],\"application/vnd.smaf\":[\"mmf\"],\"application/vnd.smart.teacher\":[\"teacher\"],\"application/vnd.software602.filler.form+xml\":[\"fo\"],\"application/vnd.solent.sdkm+xml\":[\"sdkm\",\"sdkd\"],\"application/vnd.spotfire.dxp\":[\"dxp\"],\"application/vnd.spotfire.sfs\":[\"sfs\"],\"application/vnd.stardivision.calc\":[\"sdc\"],\"application/vnd.stardivision.draw\":[\"sda\"],\"application/vnd.stardivision.impress\":[\"sdd\"],\"application/vnd.stardivision.math\":[\"smf\"],\"application/vnd.stardivision.writer\":[\"sdw\",\"vor\"],\"application/vnd.stardivision.writer-global\":[\"sgl\"],\"application/vnd.stepmania.package\":[\"smzip\"],\"application/vnd.stepmania.stepchart\":[\"sm\"],\"application/vnd.sun.wadl+xml\":[\"wadl\"],\"application/vnd.sun.xml.calc\":[\"sxc\"],\"application/vnd.sun.xml.calc.template\":[\"stc\"],\"application/vnd.sun.xml.draw\":[\"sxd\"],\"application/vnd.sun.xml.draw.template\":[\"std\"],\"application/vnd.sun.xml.impress\":[\"sxi\"],\"application/vnd.sun.xml.impress.template\":[\"sti\"],\"application/vnd.sun.xml.math\":[\"sxm\"],\"application/vnd.sun.xml.writer\":[\"sxw\"],\"application/vnd.sun.xml.writer.global\":[\"sxg\"],\"application/vnd.sun.xml.writer.template\":[\"stw\"],\"application/vnd.sus-calendar\":[\"sus\",\"susp\"],\"application/vnd.svd\":[\"svd\"],\"application/vnd.symbian.install\":[\"sis\",\"sisx\"],\"application/vnd.syncml+xml\":[\"xsm\"],\"application/vnd.syncml.dm+wbxml\":[\"bdm\"],\"application/vnd.syncml.dm+xml\":[\"xdm\"],\"application/vnd.syncml.dmddf+xml\":[\"ddf\"],\"application/vnd.tao.intent-module-archive\":[\"tao\"],\"application/vnd.tcpdump.pcap\":[\"pcap\",\"cap\",\"dmp\"],\"application/vnd.tmobile-livetv\":[\"tmo\"],\"application/vnd.trid.tpt\":[\"tpt\"],\"application/vnd.triscape.mxs\":[\"mxs\"],\"application/vnd.trueapp\":[\"tra\"],\"application/vnd.ufdl\":[\"ufd\",\"ufdl\"],\"application/vnd.uiq.theme\":[\"utz\"],\"application/vnd.umajin\":[\"umj\"],\"application/vnd.unity\":[\"unityweb\"],\"application/vnd.uoml+xml\":[\"uoml\"],\"application/vnd.vcx\":[\"vcx\"],\"application/vnd.visio\":[\"vsd\",\"vst\",\"vss\",\"vsw\"],\"application/vnd.visionary\":[\"vis\"],\"application/vnd.vsf\":[\"vsf\"],\"application/vnd.wap.wbxml\":[\"wbxml\"],\"application/vnd.wap.wmlc\":[\"wmlc\"],\"application/vnd.wap.wmlscriptc\":[\"wmlsc\"],\"application/vnd.webturbo\":[\"wtb\"],\"application/vnd.wolfram.player\":[\"nbp\"],\"application/vnd.wordperfect\":[\"wpd\"],\"application/vnd.wqd\":[\"wqd\"],\"application/vnd.wt.stf\":[\"stf\"],\"application/vnd.xara\":[\"xar\"],\"application/vnd.xfdl\":[\"xfdl\"],\"application/vnd.yamaha.hv-dic\":[\"hvd\"],\"application/vnd.yamaha.hv-script\":[\"hvs\"],\"application/vnd.yamaha.hv-voice\":[\"hvp\"],\"application/vnd.yamaha.openscoreformat\":[\"osf\"],\"application/vnd.yamaha.openscoreformat.osfpvg+xml\":[\"osfpvg\"],\"application/vnd.yamaha.smaf-audio\":[\"saf\"],\"application/vnd.yamaha.smaf-phrase\":[\"spf\"],\"application/vnd.yellowriver-custom-menu\":[\"cmp\"],\"application/vnd.zul\":[\"zir\",\"zirz\"],\"application/vnd.zzazz.deck+xml\":[\"zaz\"],\"application/x-7z-compressed\":[\"7z\"],\"application/x-abiword\":[\"abw\"],\"application/x-ace-compressed\":[\"ace\"],\"application/x-apple-diskimage\":[\"*dmg\"],\"application/x-arj\":[\"arj\"],\"application/x-authorware-bin\":[\"aab\",\"x32\",\"u32\",\"vox\"],\"application/x-authorware-map\":[\"aam\"],\"application/x-authorware-seg\":[\"aas\"],\"application/x-bcpio\":[\"bcpio\"],\"application/x-bdoc\":[\"*bdoc\"],\"application/x-bittorrent\":[\"torrent\"],\"application/x-blorb\":[\"blb\",\"blorb\"],\"application/x-bzip\":[\"bz\"],\"application/x-bzip2\":[\"bz2\",\"boz\"],\"application/x-cbr\":[\"cbr\",\"cba\",\"cbt\",\"cbz\",\"cb7\"],\"application/x-cdlink\":[\"vcd\"],\"application/x-cfs-compressed\":[\"cfs\"],\"application/x-chat\":[\"chat\"],\"application/x-chess-pgn\":[\"pgn\"],\"application/x-chrome-extension\":[\"crx\"],\"application/x-cocoa\":[\"cco\"],\"application/x-conference\":[\"nsc\"],\"application/x-cpio\":[\"cpio\"],\"application/x-csh\":[\"csh\"],\"application/x-debian-package\":[\"*deb\",\"udeb\"],\"application/x-dgc-compressed\":[\"dgc\"],\"application/x-director\":[\"dir\",\"dcr\",\"dxr\",\"cst\",\"cct\",\"cxt\",\"w3d\",\"fgd\",\"swa\"],\"application/x-doom\":[\"wad\"],\"application/x-dtbncx+xml\":[\"ncx\"],\"application/x-dtbook+xml\":[\"dtb\"],\"application/x-dtbresource+xml\":[\"res\"],\"application/x-dvi\":[\"dvi\"],\"application/x-envoy\":[\"evy\"],\"application/x-eva\":[\"eva\"],\"application/x-font-bdf\":[\"bdf\"],\"application/x-font-ghostscript\":[\"gsf\"],\"application/x-font-linux-psf\":[\"psf\"],\"application/x-font-pcf\":[\"pcf\"],\"application/x-font-snf\":[\"snf\"],\"application/x-font-type1\":[\"pfa\",\"pfb\",\"pfm\",\"afm\"],\"application/x-freearc\":[\"arc\"],\"application/x-futuresplash\":[\"spl\"],\"application/x-gca-compressed\":[\"gca\"],\"application/x-glulx\":[\"ulx\"],\"application/x-gnumeric\":[\"gnumeric\"],\"application/x-gramps-xml\":[\"gramps\"],\"application/x-gtar\":[\"gtar\"],\"application/x-hdf\":[\"hdf\"],\"application/x-httpd-php\":[\"php\"],\"application/x-install-instructions\":[\"install\"],\"application/x-iso9660-image\":[\"*iso\"],\"application/x-iwork-keynote-sffkey\":[\"*key\"],\"application/x-iwork-numbers-sffnumbers\":[\"*numbers\"],\"application/x-iwork-pages-sffpages\":[\"*pages\"],\"application/x-java-archive-diff\":[\"jardiff\"],\"application/x-java-jnlp-file\":[\"jnlp\"],\"application/x-keepass2\":[\"kdbx\"],\"application/x-latex\":[\"latex\"],\"application/x-lua-bytecode\":[\"luac\"],\"application/x-lzh-compressed\":[\"lzh\",\"lha\"],\"application/x-makeself\":[\"run\"],\"application/x-mie\":[\"mie\"],\"application/x-mobipocket-ebook\":[\"prc\",\"mobi\"],\"application/x-ms-application\":[\"application\"],\"application/x-ms-shortcut\":[\"lnk\"],\"application/x-ms-wmd\":[\"wmd\"],\"application/x-ms-wmz\":[\"wmz\"],\"application/x-ms-xbap\":[\"xbap\"],\"application/x-msaccess\":[\"mdb\"],\"application/x-msbinder\":[\"obd\"],\"application/x-mscardfile\":[\"crd\"],\"application/x-msclip\":[\"clp\"],\"application/x-msdos-program\":[\"*exe\"],\"application/x-msdownload\":[\"*exe\",\"*dll\",\"com\",\"bat\",\"*msi\"],\"application/x-msmediaview\":[\"mvb\",\"m13\",\"m14\"],\"application/x-msmetafile\":[\"*wmf\",\"*wmz\",\"*emf\",\"emz\"],\"application/x-msmoney\":[\"mny\"],\"application/x-mspublisher\":[\"pub\"],\"application/x-msschedule\":[\"scd\"],\"application/x-msterminal\":[\"trm\"],\"application/x-mswrite\":[\"wri\"],\"application/x-netcdf\":[\"nc\",\"cdf\"],\"application/x-ns-proxy-autoconfig\":[\"pac\"],\"application/x-nzb\":[\"nzb\"],\"application/x-perl\":[\"pl\",\"pm\"],\"application/x-pilot\":[\"*prc\",\"*pdb\"],\"application/x-pkcs12\":[\"p12\",\"pfx\"],\"application/x-pkcs7-certificates\":[\"p7b\",\"spc\"],\"application/x-pkcs7-certreqresp\":[\"p7r\"],\"application/x-rar-compressed\":[\"*rar\"],\"application/x-redhat-package-manager\":[\"rpm\"],\"application/x-research-info-systems\":[\"ris\"],\"application/x-sea\":[\"sea\"],\"application/x-sh\":[\"sh\"],\"application/x-shar\":[\"shar\"],\"application/x-shockwave-flash\":[\"swf\"],\"application/x-silverlight-app\":[\"xap\"],\"application/x-sql\":[\"sql\"],\"application/x-stuffit\":[\"sit\"],\"application/x-stuffitx\":[\"sitx\"],\"application/x-subrip\":[\"srt\"],\"application/x-sv4cpio\":[\"sv4cpio\"],\"application/x-sv4crc\":[\"sv4crc\"],\"application/x-t3vm-image\":[\"t3\"],\"application/x-tads\":[\"gam\"],\"application/x-tar\":[\"tar\"],\"application/x-tcl\":[\"tcl\",\"tk\"],\"application/x-tex\":[\"tex\"],\"application/x-tex-tfm\":[\"tfm\"],\"application/x-texinfo\":[\"texinfo\",\"texi\"],\"application/x-tgif\":[\"*obj\"],\"application/x-ustar\":[\"ustar\"],\"application/x-virtualbox-hdd\":[\"hdd\"],\"application/x-virtualbox-ova\":[\"ova\"],\"application/x-virtualbox-ovf\":[\"ovf\"],\"application/x-virtualbox-vbox\":[\"vbox\"],\"application/x-virtualbox-vbox-extpack\":[\"vbox-extpack\"],\"application/x-virtualbox-vdi\":[\"vdi\"],\"application/x-virtualbox-vhd\":[\"vhd\"],\"application/x-virtualbox-vmdk\":[\"vmdk\"],\"application/x-wais-source\":[\"src\"],\"application/x-web-app-manifest+json\":[\"webapp\"],\"application/x-x509-ca-cert\":[\"der\",\"crt\",\"pem\"],\"application/x-xfig\":[\"fig\"],\"application/x-xliff+xml\":[\"*xlf\"],\"application/x-xpinstall\":[\"xpi\"],\"application/x-xz\":[\"xz\"],\"application/x-zmachine\":[\"z1\",\"z2\",\"z3\",\"z4\",\"z5\",\"z6\",\"z7\",\"z8\"],\"audio/vnd.dece.audio\":[\"uva\",\"uvva\"],\"audio/vnd.digital-winds\":[\"eol\"],\"audio/vnd.dra\":[\"dra\"],\"audio/vnd.dts\":[\"dts\"],\"audio/vnd.dts.hd\":[\"dtshd\"],\"audio/vnd.lucent.voice\":[\"lvp\"],\"audio/vnd.ms-playready.media.pya\":[\"pya\"],\"audio/vnd.nuera.ecelp4800\":[\"ecelp4800\"],\"audio/vnd.nuera.ecelp7470\":[\"ecelp7470\"],\"audio/vnd.nuera.ecelp9600\":[\"ecelp9600\"],\"audio/vnd.rip\":[\"rip\"],\"audio/x-aac\":[\"aac\"],\"audio/x-aiff\":[\"aif\",\"aiff\",\"aifc\"],\"audio/x-caf\":[\"caf\"],\"audio/x-flac\":[\"flac\"],\"audio/x-m4a\":[\"*m4a\"],\"audio/x-matroska\":[\"mka\"],\"audio/x-mpegurl\":[\"m3u\"],\"audio/x-ms-wax\":[\"wax\"],\"audio/x-ms-wma\":[\"wma\"],\"audio/x-pn-realaudio\":[\"ram\",\"ra\"],\"audio/x-pn-realaudio-plugin\":[\"rmp\"],\"audio/x-realaudio\":[\"*ra\"],\"audio/x-wav\":[\"*wav\"],\"chemical/x-cdx\":[\"cdx\"],\"chemical/x-cif\":[\"cif\"],\"chemical/x-cmdf\":[\"cmdf\"],\"chemical/x-cml\":[\"cml\"],\"chemical/x-csml\":[\"csml\"],\"chemical/x-xyz\":[\"xyz\"],\"image/prs.btif\":[\"btif\"],\"image/prs.pti\":[\"pti\"],\"image/vnd.adobe.photoshop\":[\"psd\"],\"image/vnd.airzip.accelerator.azv\":[\"azv\"],\"image/vnd.dece.graphic\":[\"uvi\",\"uvvi\",\"uvg\",\"uvvg\"],\"image/vnd.djvu\":[\"djvu\",\"djv\"],\"image/vnd.dvb.subtitle\":[\"*sub\"],\"image/vnd.dwg\":[\"dwg\"],\"image/vnd.dxf\":[\"dxf\"],\"image/vnd.fastbidsheet\":[\"fbs\"],\"image/vnd.fpx\":[\"fpx\"],\"image/vnd.fst\":[\"fst\"],\"image/vnd.fujixerox.edmics-mmr\":[\"mmr\"],\"image/vnd.fujixerox.edmics-rlc\":[\"rlc\"],\"image/vnd.microsoft.icon\":[\"ico\"],\"image/vnd.ms-dds\":[\"dds\"],\"image/vnd.ms-modi\":[\"mdi\"],\"image/vnd.ms-photo\":[\"wdp\"],\"image/vnd.net-fpx\":[\"npx\"],\"image/vnd.pco.b16\":[\"b16\"],\"image/vnd.tencent.tap\":[\"tap\"],\"image/vnd.valve.source.texture\":[\"vtf\"],\"image/vnd.wap.wbmp\":[\"wbmp\"],\"image/vnd.xiff\":[\"xif\"],\"image/vnd.zbrush.pcx\":[\"pcx\"],\"image/x-3ds\":[\"3ds\"],\"image/x-cmu-raster\":[\"ras\"],\"image/x-cmx\":[\"cmx\"],\"image/x-freehand\":[\"fh\",\"fhc\",\"fh4\",\"fh5\",\"fh7\"],\"image/x-icon\":[\"*ico\"],\"image/x-jng\":[\"jng\"],\"image/x-mrsid-image\":[\"sid\"],\"image/x-ms-bmp\":[\"*bmp\"],\"image/x-pcx\":[\"*pcx\"],\"image/x-pict\":[\"pic\",\"pct\"],\"image/x-portable-anymap\":[\"pnm\"],\"image/x-portable-bitmap\":[\"pbm\"],\"image/x-portable-graymap\":[\"pgm\"],\"image/x-portable-pixmap\":[\"ppm\"],\"image/x-rgb\":[\"rgb\"],\"image/x-tga\":[\"tga\"],\"image/x-xbitmap\":[\"xbm\"],\"image/x-xpixmap\":[\"xpm\"],\"image/x-xwindowdump\":[\"xwd\"],\"message/vnd.wfa.wsc\":[\"wsc\"],\"model/vnd.collada+xml\":[\"dae\"],\"model/vnd.dwf\":[\"dwf\"],\"model/vnd.gdl\":[\"gdl\"],\"model/vnd.gtw\":[\"gtw\"],\"model/vnd.mts\":[\"mts\"],\"model/vnd.opengex\":[\"ogex\"],\"model/vnd.parasolid.transmit.binary\":[\"x_b\"],\"model/vnd.parasolid.transmit.text\":[\"x_t\"],\"model/vnd.sap.vds\":[\"vds\"],\"model/vnd.usdz+zip\":[\"usdz\"],\"model/vnd.valve.source.compiled-map\":[\"bsp\"],\"model/vnd.vtu\":[\"vtu\"],\"text/prs.lines.tag\":[\"dsc\"],\"text/vnd.curl\":[\"curl\"],\"text/vnd.curl.dcurl\":[\"dcurl\"],\"text/vnd.curl.mcurl\":[\"mcurl\"],\"text/vnd.curl.scurl\":[\"scurl\"],\"text/vnd.dvb.subtitle\":[\"sub\"],\"text/vnd.fly\":[\"fly\"],\"text/vnd.fmi.flexstor\":[\"flx\"],\"text/vnd.graphviz\":[\"gv\"],\"text/vnd.in3d.3dml\":[\"3dml\"],\"text/vnd.in3d.spot\":[\"spot\"],\"text/vnd.sun.j2me.app-descriptor\":[\"jad\"],\"text/vnd.wap.wml\":[\"wml\"],\"text/vnd.wap.wmlscript\":[\"wmls\"],\"text/x-asm\":[\"s\",\"asm\"],\"text/x-c\":[\"c\",\"cc\",\"cxx\",\"cpp\",\"h\",\"hh\",\"dic\"],\"text/x-component\":[\"htc\"],\"text/x-fortran\":[\"f\",\"for\",\"f77\",\"f90\"],\"text/x-handlebars-template\":[\"hbs\"],\"text/x-java-source\":[\"java\"],\"text/x-lua\":[\"lua\"],\"text/x-markdown\":[\"mkd\"],\"text/x-nfo\":[\"nfo\"],\"text/x-opml\":[\"opml\"],\"text/x-org\":[\"*org\"],\"text/x-pascal\":[\"p\",\"pas\"],\"text/x-processing\":[\"pde\"],\"text/x-sass\":[\"sass\"],\"text/x-scss\":[\"scss\"],\"text/x-setext\":[\"etx\"],\"text/x-sfv\":[\"sfv\"],\"text/x-suse-ymp\":[\"ymp\"],\"text/x-uuencode\":[\"uu\"],\"text/x-vcalendar\":[\"vcs\"],\"text/x-vcard\":[\"vcf\"],\"video/vnd.dece.hd\":[\"uvh\",\"uvvh\"],\"video/vnd.dece.mobile\":[\"uvm\",\"uvvm\"],\"video/vnd.dece.pd\":[\"uvp\",\"uvvp\"],\"video/vnd.dece.sd\":[\"uvs\",\"uvvs\"],\"video/vnd.dece.video\":[\"uvv\",\"uvvv\"],\"video/vnd.dvb.file\":[\"dvb\"],\"video/vnd.fvt\":[\"fvt\"],\"video/vnd.mpegurl\":[\"mxu\",\"m4u\"],\"video/vnd.ms-playready.media.pyv\":[\"pyv\"],\"video/vnd.uvvu.mp4\":[\"uvu\",\"uvvu\"],\"video/vnd.vivo\":[\"viv\"],\"video/x-f4v\":[\"f4v\"],\"video/x-fli\":[\"fli\"],\"video/x-flv\":[\"flv\"],\"video/x-m4v\":[\"m4v\"],\"video/x-matroska\":[\"mkv\",\"mk3d\",\"mks\"],\"video/x-mng\":[\"mng\"],\"video/x-ms-asf\":[\"asf\",\"asx\"],\"video/x-ms-vob\":[\"vob\"],\"video/x-ms-wm\":[\"wm\"],\"video/x-ms-wmv\":[\"wmv\"],\"video/x-ms-wmx\":[\"wmx\"],\"video/x-ms-wvx\":[\"wvx\"],\"video/x-msvideo\":[\"avi\"],\"video/x-sgi-movie\":[\"movie\"],\"video/x-smv\":[\"smv\"],\"x-conference/x-cooltalk\":[\"ice\"]};","module.exports = {\"application/andrew-inset\":[\"ez\"],\"application/applixware\":[\"aw\"],\"application/atom+xml\":[\"atom\"],\"application/atomcat+xml\":[\"atomcat\"],\"application/atomdeleted+xml\":[\"atomdeleted\"],\"application/atomsvc+xml\":[\"atomsvc\"],\"application/atsc-dwd+xml\":[\"dwd\"],\"application/atsc-held+xml\":[\"held\"],\"application/atsc-rsat+xml\":[\"rsat\"],\"application/bdoc\":[\"bdoc\"],\"application/calendar+xml\":[\"xcs\"],\"application/ccxml+xml\":[\"ccxml\"],\"application/cdfx+xml\":[\"cdfx\"],\"application/cdmi-capability\":[\"cdmia\"],\"application/cdmi-container\":[\"cdmic\"],\"application/cdmi-domain\":[\"cdmid\"],\"application/cdmi-object\":[\"cdmio\"],\"application/cdmi-queue\":[\"cdmiq\"],\"application/cu-seeme\":[\"cu\"],\"application/dash+xml\":[\"mpd\"],\"application/davmount+xml\":[\"davmount\"],\"application/docbook+xml\":[\"dbk\"],\"application/dssc+der\":[\"dssc\"],\"application/dssc+xml\":[\"xdssc\"],\"application/ecmascript\":[\"es\",\"ecma\"],\"application/emma+xml\":[\"emma\"],\"application/emotionml+xml\":[\"emotionml\"],\"application/epub+zip\":[\"epub\"],\"application/exi\":[\"exi\"],\"application/express\":[\"exp\"],\"application/fdt+xml\":[\"fdt\"],\"application/font-tdpfr\":[\"pfr\"],\"application/geo+json\":[\"geojson\"],\"application/gml+xml\":[\"gml\"],\"application/gpx+xml\":[\"gpx\"],\"application/gxf\":[\"gxf\"],\"application/gzip\":[\"gz\"],\"application/hjson\":[\"hjson\"],\"application/hyperstudio\":[\"stk\"],\"application/inkml+xml\":[\"ink\",\"inkml\"],\"application/ipfix\":[\"ipfix\"],\"application/its+xml\":[\"its\"],\"application/java-archive\":[\"jar\",\"war\",\"ear\"],\"application/java-serialized-object\":[\"ser\"],\"application/java-vm\":[\"class\"],\"application/javascript\":[\"js\",\"mjs\"],\"application/json\":[\"json\",\"map\"],\"application/json5\":[\"json5\"],\"application/jsonml+json\":[\"jsonml\"],\"application/ld+json\":[\"jsonld\"],\"application/lgr+xml\":[\"lgr\"],\"application/lost+xml\":[\"lostxml\"],\"application/mac-binhex40\":[\"hqx\"],\"application/mac-compactpro\":[\"cpt\"],\"application/mads+xml\":[\"mads\"],\"application/manifest+json\":[\"webmanifest\"],\"application/marc\":[\"mrc\"],\"application/marcxml+xml\":[\"mrcx\"],\"application/mathematica\":[\"ma\",\"nb\",\"mb\"],\"application/mathml+xml\":[\"mathml\"],\"application/mbox\":[\"mbox\"],\"application/mediaservercontrol+xml\":[\"mscml\"],\"application/metalink+xml\":[\"metalink\"],\"application/metalink4+xml\":[\"meta4\"],\"application/mets+xml\":[\"mets\"],\"application/mmt-aei+xml\":[\"maei\"],\"application/mmt-usd+xml\":[\"musd\"],\"application/mods+xml\":[\"mods\"],\"application/mp21\":[\"m21\",\"mp21\"],\"application/mp4\":[\"mp4s\",\"m4p\"],\"application/msword\":[\"doc\",\"dot\"],\"application/mxf\":[\"mxf\"],\"application/n-quads\":[\"nq\"],\"application/n-triples\":[\"nt\"],\"application/node\":[\"cjs\"],\"application/octet-stream\":[\"bin\",\"dms\",\"lrf\",\"mar\",\"so\",\"dist\",\"distz\",\"pkg\",\"bpk\",\"dump\",\"elc\",\"deploy\",\"exe\",\"dll\",\"deb\",\"dmg\",\"iso\",\"img\",\"msi\",\"msp\",\"msm\",\"buffer\"],\"application/oda\":[\"oda\"],\"application/oebps-package+xml\":[\"opf\"],\"application/ogg\":[\"ogx\"],\"application/omdoc+xml\":[\"omdoc\"],\"application/onenote\":[\"onetoc\",\"onetoc2\",\"onetmp\",\"onepkg\"],\"application/oxps\":[\"oxps\"],\"application/p2p-overlay+xml\":[\"relo\"],\"application/patch-ops-error+xml\":[\"xer\"],\"application/pdf\":[\"pdf\"],\"application/pgp-encrypted\":[\"pgp\"],\"application/pgp-signature\":[\"asc\",\"sig\"],\"application/pics-rules\":[\"prf\"],\"application/pkcs10\":[\"p10\"],\"application/pkcs7-mime\":[\"p7m\",\"p7c\"],\"application/pkcs7-signature\":[\"p7s\"],\"application/pkcs8\":[\"p8\"],\"application/pkix-attr-cert\":[\"ac\"],\"application/pkix-cert\":[\"cer\"],\"application/pkix-crl\":[\"crl\"],\"application/pkix-pkipath\":[\"pkipath\"],\"application/pkixcmp\":[\"pki\"],\"application/pls+xml\":[\"pls\"],\"application/postscript\":[\"ai\",\"eps\",\"ps\"],\"application/provenance+xml\":[\"provx\"],\"application/pskc+xml\":[\"pskcxml\"],\"application/raml+yaml\":[\"raml\"],\"application/rdf+xml\":[\"rdf\",\"owl\"],\"application/reginfo+xml\":[\"rif\"],\"application/relax-ng-compact-syntax\":[\"rnc\"],\"application/resource-lists+xml\":[\"rl\"],\"application/resource-lists-diff+xml\":[\"rld\"],\"application/rls-services+xml\":[\"rs\"],\"application/route-apd+xml\":[\"rapd\"],\"application/route-s-tsid+xml\":[\"sls\"],\"application/route-usd+xml\":[\"rusd\"],\"application/rpki-ghostbusters\":[\"gbr\"],\"application/rpki-manifest\":[\"mft\"],\"application/rpki-roa\":[\"roa\"],\"application/rsd+xml\":[\"rsd\"],\"application/rss+xml\":[\"rss\"],\"application/rtf\":[\"rtf\"],\"application/sbml+xml\":[\"sbml\"],\"application/scvp-cv-request\":[\"scq\"],\"application/scvp-cv-response\":[\"scs\"],\"application/scvp-vp-request\":[\"spq\"],\"application/scvp-vp-response\":[\"spp\"],\"application/sdp\":[\"sdp\"],\"application/senml+xml\":[\"senmlx\"],\"application/sensml+xml\":[\"sensmlx\"],\"application/set-payment-initiation\":[\"setpay\"],\"application/set-registration-initiation\":[\"setreg\"],\"application/shf+xml\":[\"shf\"],\"application/sieve\":[\"siv\",\"sieve\"],\"application/smil+xml\":[\"smi\",\"smil\"],\"application/sparql-query\":[\"rq\"],\"application/sparql-results+xml\":[\"srx\"],\"application/srgs\":[\"gram\"],\"application/srgs+xml\":[\"grxml\"],\"application/sru+xml\":[\"sru\"],\"application/ssdl+xml\":[\"ssdl\"],\"application/ssml+xml\":[\"ssml\"],\"application/swid+xml\":[\"swidtag\"],\"application/tei+xml\":[\"tei\",\"teicorpus\"],\"application/thraud+xml\":[\"tfi\"],\"application/timestamped-data\":[\"tsd\"],\"application/toml\":[\"toml\"],\"application/trig\":[\"trig\"],\"application/ttml+xml\":[\"ttml\"],\"application/ubjson\":[\"ubj\"],\"application/urc-ressheet+xml\":[\"rsheet\"],\"application/urc-targetdesc+xml\":[\"td\"],\"application/voicexml+xml\":[\"vxml\"],\"application/wasm\":[\"wasm\"],\"application/widget\":[\"wgt\"],\"application/winhlp\":[\"hlp\"],\"application/wsdl+xml\":[\"wsdl\"],\"application/wspolicy+xml\":[\"wspolicy\"],\"application/xaml+xml\":[\"xaml\"],\"application/xcap-att+xml\":[\"xav\"],\"application/xcap-caps+xml\":[\"xca\"],\"application/xcap-diff+xml\":[\"xdf\"],\"application/xcap-el+xml\":[\"xel\"],\"application/xcap-ns+xml\":[\"xns\"],\"application/xenc+xml\":[\"xenc\"],\"application/xhtml+xml\":[\"xhtml\",\"xht\"],\"application/xliff+xml\":[\"xlf\"],\"application/xml\":[\"xml\",\"xsl\",\"xsd\",\"rng\"],\"application/xml-dtd\":[\"dtd\"],\"application/xop+xml\":[\"xop\"],\"application/xproc+xml\":[\"xpl\"],\"application/xslt+xml\":[\"*xsl\",\"xslt\"],\"application/xspf+xml\":[\"xspf\"],\"application/xv+xml\":[\"mxml\",\"xhvml\",\"xvml\",\"xvm\"],\"application/yang\":[\"yang\"],\"application/yin+xml\":[\"yin\"],\"application/zip\":[\"zip\"],\"audio/3gpp\":[\"*3gpp\"],\"audio/adpcm\":[\"adp\"],\"audio/amr\":[\"amr\"],\"audio/basic\":[\"au\",\"snd\"],\"audio/midi\":[\"mid\",\"midi\",\"kar\",\"rmi\"],\"audio/mobile-xmf\":[\"mxmf\"],\"audio/mp3\":[\"*mp3\"],\"audio/mp4\":[\"m4a\",\"mp4a\"],\"audio/mpeg\":[\"mpga\",\"mp2\",\"mp2a\",\"mp3\",\"m2a\",\"m3a\"],\"audio/ogg\":[\"oga\",\"ogg\",\"spx\",\"opus\"],\"audio/s3m\":[\"s3m\"],\"audio/silk\":[\"sil\"],\"audio/wav\":[\"wav\"],\"audio/wave\":[\"*wav\"],\"audio/webm\":[\"weba\"],\"audio/xm\":[\"xm\"],\"font/collection\":[\"ttc\"],\"font/otf\":[\"otf\"],\"font/ttf\":[\"ttf\"],\"font/woff\":[\"woff\"],\"font/woff2\":[\"woff2\"],\"image/aces\":[\"exr\"],\"image/apng\":[\"apng\"],\"image/avif\":[\"avif\"],\"image/bmp\":[\"bmp\"],\"image/cgm\":[\"cgm\"],\"image/dicom-rle\":[\"drle\"],\"image/emf\":[\"emf\"],\"image/fits\":[\"fits\"],\"image/g3fax\":[\"g3\"],\"image/gif\":[\"gif\"],\"image/heic\":[\"heic\"],\"image/heic-sequence\":[\"heics\"],\"image/heif\":[\"heif\"],\"image/heif-sequence\":[\"heifs\"],\"image/hej2k\":[\"hej2\"],\"image/hsj2\":[\"hsj2\"],\"image/ief\":[\"ief\"],\"image/jls\":[\"jls\"],\"image/jp2\":[\"jp2\",\"jpg2\"],\"image/jpeg\":[\"jpeg\",\"jpg\",\"jpe\"],\"image/jph\":[\"jph\"],\"image/jphc\":[\"jhc\"],\"image/jpm\":[\"jpm\"],\"image/jpx\":[\"jpx\",\"jpf\"],\"image/jxr\":[\"jxr\"],\"image/jxra\":[\"jxra\"],\"image/jxrs\":[\"jxrs\"],\"image/jxs\":[\"jxs\"],\"image/jxsc\":[\"jxsc\"],\"image/jxsi\":[\"jxsi\"],\"image/jxss\":[\"jxss\"],\"image/ktx\":[\"ktx\"],\"image/ktx2\":[\"ktx2\"],\"image/png\":[\"png\"],\"image/sgi\":[\"sgi\"],\"image/svg+xml\":[\"svg\",\"svgz\"],\"image/t38\":[\"t38\"],\"image/tiff\":[\"tif\",\"tiff\"],\"image/tiff-fx\":[\"tfx\"],\"image/webp\":[\"webp\"],\"image/wmf\":[\"wmf\"],\"message/disposition-notification\":[\"disposition-notification\"],\"message/global\":[\"u8msg\"],\"message/global-delivery-status\":[\"u8dsn\"],\"message/global-disposition-notification\":[\"u8mdn\"],\"message/global-headers\":[\"u8hdr\"],\"message/rfc822\":[\"eml\",\"mime\"],\"model/3mf\":[\"3mf\"],\"model/gltf+json\":[\"gltf\"],\"model/gltf-binary\":[\"glb\"],\"model/iges\":[\"igs\",\"iges\"],\"model/mesh\":[\"msh\",\"mesh\",\"silo\"],\"model/mtl\":[\"mtl\"],\"model/obj\":[\"obj\"],\"model/step+xml\":[\"stpx\"],\"model/step+zip\":[\"stpz\"],\"model/step-xml+zip\":[\"stpxz\"],\"model/stl\":[\"stl\"],\"model/vrml\":[\"wrl\",\"vrml\"],\"model/x3d+binary\":[\"*x3db\",\"x3dbz\"],\"model/x3d+fastinfoset\":[\"x3db\"],\"model/x3d+vrml\":[\"*x3dv\",\"x3dvz\"],\"model/x3d+xml\":[\"x3d\",\"x3dz\"],\"model/x3d-vrml\":[\"x3dv\"],\"text/cache-manifest\":[\"appcache\",\"manifest\"],\"text/calendar\":[\"ics\",\"ifb\"],\"text/coffeescript\":[\"coffee\",\"litcoffee\"],\"text/css\":[\"css\"],\"text/csv\":[\"csv\"],\"text/html\":[\"html\",\"htm\",\"shtml\"],\"text/jade\":[\"jade\"],\"text/jsx\":[\"jsx\"],\"text/less\":[\"less\"],\"text/markdown\":[\"markdown\",\"md\"],\"text/mathml\":[\"mml\"],\"text/mdx\":[\"mdx\"],\"text/n3\":[\"n3\"],\"text/plain\":[\"txt\",\"text\",\"conf\",\"def\",\"list\",\"log\",\"in\",\"ini\"],\"text/richtext\":[\"rtx\"],\"text/rtf\":[\"*rtf\"],\"text/sgml\":[\"sgml\",\"sgm\"],\"text/shex\":[\"shex\"],\"text/slim\":[\"slim\",\"slm\"],\"text/spdx\":[\"spdx\"],\"text/stylus\":[\"stylus\",\"styl\"],\"text/tab-separated-values\":[\"tsv\"],\"text/troff\":[\"t\",\"tr\",\"roff\",\"man\",\"me\",\"ms\"],\"text/turtle\":[\"ttl\"],\"text/uri-list\":[\"uri\",\"uris\",\"urls\"],\"text/vcard\":[\"vcard\"],\"text/vtt\":[\"vtt\"],\"text/xml\":[\"*xml\"],\"text/yaml\":[\"yaml\",\"yml\"],\"video/3gpp\":[\"3gp\",\"3gpp\"],\"video/3gpp2\":[\"3g2\"],\"video/h261\":[\"h261\"],\"video/h263\":[\"h263\"],\"video/h264\":[\"h264\"],\"video/iso.segment\":[\"m4s\"],\"video/jpeg\":[\"jpgv\"],\"video/jpm\":[\"*jpm\",\"jpgm\"],\"video/mj2\":[\"mj2\",\"mjp2\"],\"video/mp2t\":[\"ts\"],\"video/mp4\":[\"mp4\",\"mp4v\",\"mpg4\"],\"video/mpeg\":[\"mpeg\",\"mpg\",\"mpe\",\"m1v\",\"m2v\"],\"video/ogg\":[\"ogv\"],\"video/quicktime\":[\"qt\",\"mov\"],\"video/webm\":[\"webm\"]};","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar Stream = _interopDefault(require('stream'));\nvar http = _interopDefault(require('http'));\nvar Url = _interopDefault(require('url'));\nvar whatwgUrl = _interopDefault(require('whatwg-url'));\nvar https = _interopDefault(require('https'));\nvar zlib = _interopDefault(require('zlib'));\n\n// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js\n\n// fix for \"Readable\" isn't a named export issue\nconst Readable = Stream.Readable;\n\nconst BUFFER = Symbol('buffer');\nconst TYPE = Symbol('type');\n\nclass Blob {\n\tconstructor() {\n\t\tthis[TYPE] = '';\n\n\t\tconst blobParts = arguments[0];\n\t\tconst options = arguments[1];\n\n\t\tconst buffers = [];\n\t\tlet size = 0;\n\n\t\tif (blobParts) {\n\t\t\tconst a = blobParts;\n\t\t\tconst length = Number(a.length);\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tconst element = a[i];\n\t\t\t\tlet buffer;\n\t\t\t\tif (element instanceof Buffer) {\n\t\t\t\t\tbuffer = element;\n\t\t\t\t} else if (ArrayBuffer.isView(element)) {\n\t\t\t\t\tbuffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);\n\t\t\t\t} else if (element instanceof ArrayBuffer) {\n\t\t\t\t\tbuffer = Buffer.from(element);\n\t\t\t\t} else if (element instanceof Blob) {\n\t\t\t\t\tbuffer = element[BUFFER];\n\t\t\t\t} else {\n\t\t\t\t\tbuffer = Buffer.from(typeof element === 'string' ? element : String(element));\n\t\t\t\t}\n\t\t\t\tsize += buffer.length;\n\t\t\t\tbuffers.push(buffer);\n\t\t\t}\n\t\t}\n\n\t\tthis[BUFFER] = Buffer.concat(buffers);\n\n\t\tlet type = options && options.type !== undefined && String(options.type).toLowerCase();\n\t\tif (type && !/[^\\u0020-\\u007E]/.test(type)) {\n\t\t\tthis[TYPE] = type;\n\t\t}\n\t}\n\tget size() {\n\t\treturn this[BUFFER].length;\n\t}\n\tget type() {\n\t\treturn this[TYPE];\n\t}\n\ttext() {\n\t\treturn Promise.resolve(this[BUFFER].toString());\n\t}\n\tarrayBuffer() {\n\t\tconst buf = this[BUFFER];\n\t\tconst ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\treturn Promise.resolve(ab);\n\t}\n\tstream() {\n\t\tconst readable = new Readable();\n\t\treadable._read = function () {};\n\t\treadable.push(this[BUFFER]);\n\t\treadable.push(null);\n\t\treturn readable;\n\t}\n\ttoString() {\n\t\treturn '[object Blob]';\n\t}\n\tslice() {\n\t\tconst size = this.size;\n\n\t\tconst start = arguments[0];\n\t\tconst end = arguments[1];\n\t\tlet relativeStart, relativeEnd;\n\t\tif (start === undefined) {\n\t\t\trelativeStart = 0;\n\t\t} else if (start < 0) {\n\t\t\trelativeStart = Math.max(size + start, 0);\n\t\t} else {\n\t\t\trelativeStart = Math.min(start, size);\n\t\t}\n\t\tif (end === undefined) {\n\t\t\trelativeEnd = size;\n\t\t} else if (end < 0) {\n\t\t\trelativeEnd = Math.max(size + end, 0);\n\t\t} else {\n\t\t\trelativeEnd = Math.min(end, size);\n\t\t}\n\t\tconst span = Math.max(relativeEnd - relativeStart, 0);\n\n\t\tconst buffer = this[BUFFER];\n\t\tconst slicedBuffer = buffer.slice(relativeStart, relativeStart + span);\n\t\tconst blob = new Blob([], { type: arguments[2] });\n\t\tblob[BUFFER] = slicedBuffer;\n\t\treturn blob;\n\t}\n}\n\nObject.defineProperties(Blob.prototype, {\n\tsize: { enumerable: true },\n\ttype: { enumerable: true },\n\tslice: { enumerable: true }\n});\n\nObject.defineProperty(Blob.prototype, Symbol.toStringTag, {\n\tvalue: 'Blob',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * fetch-error.js\n *\n * FetchError interface for operational errors\n */\n\n/**\n * Create FetchError instance\n *\n * @param String message Error message for human\n * @param String type Error type for machine\n * @param String systemError For Node.js system error\n * @return FetchError\n */\nfunction FetchError(message, type, systemError) {\n Error.call(this, message);\n\n this.message = message;\n this.type = type;\n\n // when err.type is `system`, err.code contains system error code\n if (systemError) {\n this.code = this.errno = systemError.code;\n }\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nFetchError.prototype = Object.create(Error.prototype);\nFetchError.prototype.constructor = FetchError;\nFetchError.prototype.name = 'FetchError';\n\nlet convert;\ntry {\n\tconvert = require('encoding').convert;\n} catch (e) {}\n\nconst INTERNALS = Symbol('Body internals');\n\n// fix an issue where \"PassThrough\" isn't a named export for node <10\nconst PassThrough = Stream.PassThrough;\n\n/**\n * Body mixin\n *\n * Ref: https://fetch.spec.whatwg.org/#body\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nfunction Body(body) {\n\tvar _this = this;\n\n\tvar _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n\t _ref$size = _ref.size;\n\n\tlet size = _ref$size === undefined ? 0 : _ref$size;\n\tvar _ref$timeout = _ref.timeout;\n\tlet timeout = _ref$timeout === undefined ? 0 : _ref$timeout;\n\n\tif (body == null) {\n\t\t// body is undefined or null\n\t\tbody = null;\n\t} else if (isURLSearchParams(body)) {\n\t\t// body is a URLSearchParams\n\t\tbody = Buffer.from(body.toString());\n\t} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {\n\t\t// body is ArrayBuffer\n\t\tbody = Buffer.from(body);\n\t} else if (ArrayBuffer.isView(body)) {\n\t\t// body is ArrayBufferView\n\t\tbody = Buffer.from(body.buffer, body.byteOffset, body.byteLength);\n\t} else if (body instanceof Stream) ; else {\n\t\t// none of the above\n\t\t// coerce to string then buffer\n\t\tbody = Buffer.from(String(body));\n\t}\n\tthis[INTERNALS] = {\n\t\tbody,\n\t\tdisturbed: false,\n\t\terror: null\n\t};\n\tthis.size = size;\n\tthis.timeout = timeout;\n\n\tif (body instanceof Stream) {\n\t\tbody.on('error', function (err) {\n\t\t\tconst error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);\n\t\t\t_this[INTERNALS].error = error;\n\t\t});\n\t}\n}\n\nBody.prototype = {\n\tget body() {\n\t\treturn this[INTERNALS].body;\n\t},\n\n\tget bodyUsed() {\n\t\treturn this[INTERNALS].disturbed;\n\t},\n\n\t/**\n * Decode response as ArrayBuffer\n *\n * @return Promise\n */\n\tarrayBuffer() {\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n\t\t});\n\t},\n\n\t/**\n * Return raw response as Blob\n *\n * @return Promise\n */\n\tblob() {\n\t\tlet ct = this.headers && this.headers.get('content-type') || '';\n\t\treturn consumeBody.call(this).then(function (buf) {\n\t\t\treturn Object.assign(\n\t\t\t// Prevent copying\n\t\t\tnew Blob([], {\n\t\t\t\ttype: ct.toLowerCase()\n\t\t\t}), {\n\t\t\t\t[BUFFER]: buf\n\t\t\t});\n\t\t});\n\t},\n\n\t/**\n * Decode response as json\n *\n * @return Promise\n */\n\tjson() {\n\t\tvar _this2 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\ttry {\n\t\t\t\treturn JSON.parse(buffer.toString());\n\t\t\t} catch (err) {\n\t\t\t\treturn Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));\n\t\t\t}\n\t\t});\n\t},\n\n\t/**\n * Decode response as text\n *\n * @return Promise\n */\n\ttext() {\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn buffer.toString();\n\t\t});\n\t},\n\n\t/**\n * Decode response as buffer (non-spec api)\n *\n * @return Promise\n */\n\tbuffer() {\n\t\treturn consumeBody.call(this);\n\t},\n\n\t/**\n * Decode response as text, while automatically detecting the encoding and\n * trying to decode to UTF-8 (non-spec api)\n *\n * @return Promise\n */\n\ttextConverted() {\n\t\tvar _this3 = this;\n\n\t\treturn consumeBody.call(this).then(function (buffer) {\n\t\t\treturn convertBody(buffer, _this3.headers);\n\t\t});\n\t}\n};\n\n// In browsers, all properties are enumerable.\nObject.defineProperties(Body.prototype, {\n\tbody: { enumerable: true },\n\tbodyUsed: { enumerable: true },\n\tarrayBuffer: { enumerable: true },\n\tblob: { enumerable: true },\n\tjson: { enumerable: true },\n\ttext: { enumerable: true }\n});\n\nBody.mixIn = function (proto) {\n\tfor (const name of Object.getOwnPropertyNames(Body.prototype)) {\n\t\t// istanbul ignore else: future proof\n\t\tif (!(name in proto)) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(Body.prototype, name);\n\t\t\tObject.defineProperty(proto, name, desc);\n\t\t}\n\t}\n};\n\n/**\n * Consume and convert an entire Body to a Buffer.\n *\n * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body\n *\n * @return Promise\n */\nfunction consumeBody() {\n\tvar _this4 = this;\n\n\tif (this[INTERNALS].disturbed) {\n\t\treturn Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));\n\t}\n\n\tthis[INTERNALS].disturbed = true;\n\n\tif (this[INTERNALS].error) {\n\t\treturn Body.Promise.reject(this[INTERNALS].error);\n\t}\n\n\tlet body = this.body;\n\n\t// body is null\n\tif (body === null) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is blob\n\tif (isBlob(body)) {\n\t\tbody = body.stream();\n\t}\n\n\t// body is buffer\n\tif (Buffer.isBuffer(body)) {\n\t\treturn Body.Promise.resolve(body);\n\t}\n\n\t// istanbul ignore if: should never happen\n\tif (!(body instanceof Stream)) {\n\t\treturn Body.Promise.resolve(Buffer.alloc(0));\n\t}\n\n\t// body is stream\n\t// get ready to actually consume the body\n\tlet accum = [];\n\tlet accumBytes = 0;\n\tlet abort = false;\n\n\treturn new Body.Promise(function (resolve, reject) {\n\t\tlet resTimeout;\n\n\t\t// allow timeout on slow response body\n\t\tif (_this4.timeout) {\n\t\t\tresTimeout = setTimeout(function () {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));\n\t\t\t}, _this4.timeout);\n\t\t}\n\n\t\t// handle stream errors\n\t\tbody.on('error', function (err) {\n\t\t\tif (err.name === 'AbortError') {\n\t\t\t\t// if the request was aborted, reject with this Error\n\t\t\t\tabort = true;\n\t\t\t\treject(err);\n\t\t\t} else {\n\t\t\t\t// other errors, such as incorrect content-encoding\n\t\t\t\treject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\n\t\tbody.on('data', function (chunk) {\n\t\t\tif (abort || chunk === null) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_this4.size && accumBytes + chunk.length > _this4.size) {\n\t\t\t\tabort = true;\n\t\t\t\treject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\taccumBytes += chunk.length;\n\t\t\taccum.push(chunk);\n\t\t});\n\n\t\tbody.on('end', function () {\n\t\t\tif (abort) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tclearTimeout(resTimeout);\n\n\t\t\ttry {\n\t\t\t\tresolve(Buffer.concat(accum, accumBytes));\n\t\t\t} catch (err) {\n\t\t\t\t// handle streams that have accumulated too much data (issue #414)\n\t\t\t\treject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Detect buffer encoding and convert to target encoding\n * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding\n *\n * @param Buffer buffer Incoming buffer\n * @param String encoding Target encoding\n * @return String\n */\nfunction convertBody(buffer, headers) {\n\tif (typeof convert !== 'function') {\n\t\tthrow new Error('The package `encoding` must be installed to use the textConverted() function');\n\t}\n\n\tconst ct = headers.get('content-type');\n\tlet charset = 'utf-8';\n\tlet res, str;\n\n\t// header\n\tif (ct) {\n\t\tres = /charset=([^;]*)/i.exec(ct);\n\t}\n\n\t// no charset in content type, peek at response body for at most 1024 bytes\n\tstr = buffer.slice(0, 1024).toString();\n\n\t// html5\n\tif (!res && str) {\n\t\tres = / 0 && arguments[0] !== undefined ? arguments[0] : undefined;\n\n\t\tthis[MAP] = Object.create(null);\n\n\t\tif (init instanceof Headers) {\n\t\t\tconst rawHeaders = init.raw();\n\t\t\tconst headerNames = Object.keys(rawHeaders);\n\n\t\t\tfor (const headerName of headerNames) {\n\t\t\t\tfor (const value of rawHeaders[headerName]) {\n\t\t\t\t\tthis.append(headerName, value);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\t// We don't worry about converting prop to ByteString here as append()\n\t\t// will handle it.\n\t\tif (init == null) ; else if (typeof init === 'object') {\n\t\t\tconst method = init[Symbol.iterator];\n\t\t\tif (method != null) {\n\t\t\t\tif (typeof method !== 'function') {\n\t\t\t\t\tthrow new TypeError('Header pairs must be iterable');\n\t\t\t\t}\n\n\t\t\t\t// sequence>\n\t\t\t\t// Note: per spec we have to first exhaust the lists then process them\n\t\t\t\tconst pairs = [];\n\t\t\t\tfor (const pair of init) {\n\t\t\t\t\tif (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be iterable');\n\t\t\t\t\t}\n\t\t\t\t\tpairs.push(Array.from(pair));\n\t\t\t\t}\n\n\t\t\t\tfor (const pair of pairs) {\n\t\t\t\t\tif (pair.length !== 2) {\n\t\t\t\t\t\tthrow new TypeError('Each header pair must be a name/value tuple');\n\t\t\t\t\t}\n\t\t\t\t\tthis.append(pair[0], pair[1]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// record\n\t\t\t\tfor (const key of Object.keys(init)) {\n\t\t\t\t\tconst value = init[key];\n\t\t\t\t\tthis.append(key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tthrow new TypeError('Provided initializer must be an object');\n\t\t}\n\t}\n\n\t/**\n * Return combined header value given name\n *\n * @param String name Header name\n * @return Mixed\n */\n\tget(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key === undefined) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this[MAP][key].join(', ');\n\t}\n\n\t/**\n * Iterate over all headers\n *\n * @param Function callback Executed for each item with parameters (value, name, thisArg)\n * @param Boolean thisArg `this` context for callback function\n * @return Void\n */\n\tforEach(callback) {\n\t\tlet thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;\n\n\t\tlet pairs = getHeaders(this);\n\t\tlet i = 0;\n\t\twhile (i < pairs.length) {\n\t\t\tvar _pairs$i = pairs[i];\n\t\t\tconst name = _pairs$i[0],\n\t\t\t value = _pairs$i[1];\n\n\t\t\tcallback.call(thisArg, value, name, this);\n\t\t\tpairs = getHeaders(this);\n\t\t\ti++;\n\t\t}\n\t}\n\n\t/**\n * Overwrite header values given name\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tset(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tthis[MAP][key !== undefined ? key : name] = [value];\n\t}\n\n\t/**\n * Append a value onto existing header\n *\n * @param String name Header name\n * @param String value Header value\n * @return Void\n */\n\tappend(name, value) {\n\t\tname = `${name}`;\n\t\tvalue = `${value}`;\n\t\tvalidateName(name);\n\t\tvalidateValue(value);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tthis[MAP][key].push(value);\n\t\t} else {\n\t\t\tthis[MAP][name] = [value];\n\t\t}\n\t}\n\n\t/**\n * Check for header name existence\n *\n * @param String name Header name\n * @return Boolean\n */\n\thas(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\treturn find(this[MAP], name) !== undefined;\n\t}\n\n\t/**\n * Delete all header values given name\n *\n * @param String name Header name\n * @return Void\n */\n\tdelete(name) {\n\t\tname = `${name}`;\n\t\tvalidateName(name);\n\t\tconst key = find(this[MAP], name);\n\t\tif (key !== undefined) {\n\t\t\tdelete this[MAP][key];\n\t\t}\n\t}\n\n\t/**\n * Return raw headers (non-spec api)\n *\n * @return Object\n */\n\traw() {\n\t\treturn this[MAP];\n\t}\n\n\t/**\n * Get an iterator on keys.\n *\n * @return Iterator\n */\n\tkeys() {\n\t\treturn createHeadersIterator(this, 'key');\n\t}\n\n\t/**\n * Get an iterator on values.\n *\n * @return Iterator\n */\n\tvalues() {\n\t\treturn createHeadersIterator(this, 'value');\n\t}\n\n\t/**\n * Get an iterator on entries.\n *\n * This is the default iterator of the Headers object.\n *\n * @return Iterator\n */\n\t[Symbol.iterator]() {\n\t\treturn createHeadersIterator(this, 'key+value');\n\t}\n}\nHeaders.prototype.entries = Headers.prototype[Symbol.iterator];\n\nObject.defineProperty(Headers.prototype, Symbol.toStringTag, {\n\tvalue: 'Headers',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Headers.prototype, {\n\tget: { enumerable: true },\n\tforEach: { enumerable: true },\n\tset: { enumerable: true },\n\tappend: { enumerable: true },\n\thas: { enumerable: true },\n\tdelete: { enumerable: true },\n\tkeys: { enumerable: true },\n\tvalues: { enumerable: true },\n\tentries: { enumerable: true }\n});\n\nfunction getHeaders(headers) {\n\tlet kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';\n\n\tconst keys = Object.keys(headers[MAP]).sort();\n\treturn keys.map(kind === 'key' ? function (k) {\n\t\treturn k.toLowerCase();\n\t} : kind === 'value' ? function (k) {\n\t\treturn headers[MAP][k].join(', ');\n\t} : function (k) {\n\t\treturn [k.toLowerCase(), headers[MAP][k].join(', ')];\n\t});\n}\n\nconst INTERNAL = Symbol('internal');\n\nfunction createHeadersIterator(target, kind) {\n\tconst iterator = Object.create(HeadersIteratorPrototype);\n\titerator[INTERNAL] = {\n\t\ttarget,\n\t\tkind,\n\t\tindex: 0\n\t};\n\treturn iterator;\n}\n\nconst HeadersIteratorPrototype = Object.setPrototypeOf({\n\tnext() {\n\t\t// istanbul ignore if\n\t\tif (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {\n\t\t\tthrow new TypeError('Value of `this` is not a HeadersIterator');\n\t\t}\n\n\t\tvar _INTERNAL = this[INTERNAL];\n\t\tconst target = _INTERNAL.target,\n\t\t kind = _INTERNAL.kind,\n\t\t index = _INTERNAL.index;\n\n\t\tconst values = getHeaders(target, kind);\n\t\tconst len = values.length;\n\t\tif (index >= len) {\n\t\t\treturn {\n\t\t\t\tvalue: undefined,\n\t\t\t\tdone: true\n\t\t\t};\n\t\t}\n\n\t\tthis[INTERNAL].index = index + 1;\n\n\t\treturn {\n\t\t\tvalue: values[index],\n\t\t\tdone: false\n\t\t};\n\t}\n}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));\n\nObject.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {\n\tvalue: 'HeadersIterator',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\n/**\n * Export the Headers object in a form that Node.js can consume.\n *\n * @param Headers headers\n * @return Object\n */\nfunction exportNodeCompatibleHeaders(headers) {\n\tconst obj = Object.assign({ __proto__: null }, headers[MAP]);\n\n\t// http.request() only supports string as Host header. This hack makes\n\t// specifying custom Host header possible.\n\tconst hostHeaderKey = find(headers[MAP], 'Host');\n\tif (hostHeaderKey !== undefined) {\n\t\tobj[hostHeaderKey] = obj[hostHeaderKey][0];\n\t}\n\n\treturn obj;\n}\n\n/**\n * Create a Headers object from an object of headers, ignoring those that do\n * not conform to HTTP grammar productions.\n *\n * @param Object obj Object of headers\n * @return Headers\n */\nfunction createHeadersLenient(obj) {\n\tconst headers = new Headers();\n\tfor (const name of Object.keys(obj)) {\n\t\tif (invalidTokenRegex.test(name)) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (Array.isArray(obj[name])) {\n\t\t\tfor (const val of obj[name]) {\n\t\t\t\tif (invalidHeaderCharRegex.test(val)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (headers[MAP][name] === undefined) {\n\t\t\t\t\theaders[MAP][name] = [val];\n\t\t\t\t} else {\n\t\t\t\t\theaders[MAP][name].push(val);\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (!invalidHeaderCharRegex.test(obj[name])) {\n\t\t\theaders[MAP][name] = [obj[name]];\n\t\t}\n\t}\n\treturn headers;\n}\n\nconst INTERNALS$1 = Symbol('Response internals');\n\n// fix an issue where \"STATUS_CODES\" aren't a named export for node <10\nconst STATUS_CODES = http.STATUS_CODES;\n\n/**\n * Response class\n *\n * @param Stream body Readable stream\n * @param Object opts Response options\n * @return Void\n */\nclass Response {\n\tconstructor() {\n\t\tlet body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\t\tlet opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tBody.call(this, body, opts);\n\n\t\tconst status = opts.status || 200;\n\t\tconst headers = new Headers(opts.headers);\n\n\t\tif (body != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(body);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tthis[INTERNALS$1] = {\n\t\t\turl: opts.url,\n\t\t\tstatus,\n\t\t\tstatusText: opts.statusText || STATUS_CODES[status],\n\t\t\theaders,\n\t\t\tcounter: opts.counter\n\t\t};\n\t}\n\n\tget url() {\n\t\treturn this[INTERNALS$1].url || '';\n\t}\n\n\tget status() {\n\t\treturn this[INTERNALS$1].status;\n\t}\n\n\t/**\n * Convenience property representing if the request ended normally\n */\n\tget ok() {\n\t\treturn this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;\n\t}\n\n\tget redirected() {\n\t\treturn this[INTERNALS$1].counter > 0;\n\t}\n\n\tget statusText() {\n\t\treturn this[INTERNALS$1].statusText;\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$1].headers;\n\t}\n\n\t/**\n * Clone this response\n *\n * @return Response\n */\n\tclone() {\n\t\treturn new Response(clone(this), {\n\t\t\turl: this.url,\n\t\t\tstatus: this.status,\n\t\t\tstatusText: this.statusText,\n\t\t\theaders: this.headers,\n\t\t\tok: this.ok,\n\t\t\tredirected: this.redirected\n\t\t});\n\t}\n}\n\nBody.mixIn(Response.prototype);\n\nObject.defineProperties(Response.prototype, {\n\turl: { enumerable: true },\n\tstatus: { enumerable: true },\n\tok: { enumerable: true },\n\tredirected: { enumerable: true },\n\tstatusText: { enumerable: true },\n\theaders: { enumerable: true },\n\tclone: { enumerable: true }\n});\n\nObject.defineProperty(Response.prototype, Symbol.toStringTag, {\n\tvalue: 'Response',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nconst INTERNALS$2 = Symbol('Request internals');\nconst URL = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"format\", \"parse\" aren't a named export for node <10\nconst parse_url = Url.parse;\nconst format_url = Url.format;\n\n/**\n * Wrapper around `new URL` to handle arbitrary URLs\n *\n * @param {string} urlStr\n * @return {void}\n */\nfunction parseURL(urlStr) {\n\t/*\n \tCheck whether the URL is absolute or not\n \t\tScheme: https://tools.ietf.org/html/rfc3986#section-3.1\n \tAbsolute URL: https://tools.ietf.org/html/rfc3986#section-4.3\n */\n\tif (/^[a-zA-Z][a-zA-Z\\d+\\-.]*:/.exec(urlStr)) {\n\t\turlStr = new URL(urlStr).toString();\n\t}\n\n\t// Fallback to old implementation for arbitrary URLs\n\treturn parse_url(urlStr);\n}\n\nconst streamDestructionSupported = 'destroy' in Stream.Readable.prototype;\n\n/**\n * Check if a value is an instance of Request.\n *\n * @param Mixed input\n * @return Boolean\n */\nfunction isRequest(input) {\n\treturn typeof input === 'object' && typeof input[INTERNALS$2] === 'object';\n}\n\nfunction isAbortSignal(signal) {\n\tconst proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);\n\treturn !!(proto && proto.constructor.name === 'AbortSignal');\n}\n\n/**\n * Request class\n *\n * @param Mixed input Url or Request instance\n * @param Object init Custom options\n * @return Void\n */\nclass Request {\n\tconstructor(input) {\n\t\tlet init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tlet parsedURL;\n\n\t\t// normalize input\n\t\tif (!isRequest(input)) {\n\t\t\tif (input && input.href) {\n\t\t\t\t// in order to support Node.js' Url objects; though WHATWG's URL objects\n\t\t\t\t// will fall into this branch also (since their `toString()` will return\n\t\t\t\t// `href` property anyway)\n\t\t\t\tparsedURL = parseURL(input.href);\n\t\t\t} else {\n\t\t\t\t// coerce input to a string before attempting to parse\n\t\t\t\tparsedURL = parseURL(`${input}`);\n\t\t\t}\n\t\t\tinput = {};\n\t\t} else {\n\t\t\tparsedURL = parseURL(input.url);\n\t\t}\n\n\t\tlet method = init.method || input.method || 'GET';\n\t\tmethod = method.toUpperCase();\n\n\t\tif ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {\n\t\t\tthrow new TypeError('Request with GET/HEAD method cannot have body');\n\t\t}\n\n\t\tlet inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;\n\n\t\tBody.call(this, inputBody, {\n\t\t\ttimeout: init.timeout || input.timeout || 0,\n\t\t\tsize: init.size || input.size || 0\n\t\t});\n\n\t\tconst headers = new Headers(init.headers || input.headers || {});\n\n\t\tif (inputBody != null && !headers.has('Content-Type')) {\n\t\t\tconst contentType = extractContentType(inputBody);\n\t\t\tif (contentType) {\n\t\t\t\theaders.append('Content-Type', contentType);\n\t\t\t}\n\t\t}\n\n\t\tlet signal = isRequest(input) ? input.signal : null;\n\t\tif ('signal' in init) signal = init.signal;\n\n\t\tif (signal != null && !isAbortSignal(signal)) {\n\t\t\tthrow new TypeError('Expected signal to be an instanceof AbortSignal');\n\t\t}\n\n\t\tthis[INTERNALS$2] = {\n\t\t\tmethod,\n\t\t\tredirect: init.redirect || input.redirect || 'follow',\n\t\t\theaders,\n\t\t\tparsedURL,\n\t\t\tsignal\n\t\t};\n\n\t\t// node-fetch-only options\n\t\tthis.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;\n\t\tthis.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;\n\t\tthis.counter = init.counter || input.counter || 0;\n\t\tthis.agent = init.agent || input.agent;\n\t}\n\n\tget method() {\n\t\treturn this[INTERNALS$2].method;\n\t}\n\n\tget url() {\n\t\treturn format_url(this[INTERNALS$2].parsedURL);\n\t}\n\n\tget headers() {\n\t\treturn this[INTERNALS$2].headers;\n\t}\n\n\tget redirect() {\n\t\treturn this[INTERNALS$2].redirect;\n\t}\n\n\tget signal() {\n\t\treturn this[INTERNALS$2].signal;\n\t}\n\n\t/**\n * Clone this request\n *\n * @return Request\n */\n\tclone() {\n\t\treturn new Request(this);\n\t}\n}\n\nBody.mixIn(Request.prototype);\n\nObject.defineProperty(Request.prototype, Symbol.toStringTag, {\n\tvalue: 'Request',\n\twritable: false,\n\tenumerable: false,\n\tconfigurable: true\n});\n\nObject.defineProperties(Request.prototype, {\n\tmethod: { enumerable: true },\n\turl: { enumerable: true },\n\theaders: { enumerable: true },\n\tredirect: { enumerable: true },\n\tclone: { enumerable: true },\n\tsignal: { enumerable: true }\n});\n\n/**\n * Convert a Request to Node.js http request options.\n *\n * @param Request A Request instance\n * @return Object The options object to be passed to http.request\n */\nfunction getNodeRequestOptions(request) {\n\tconst parsedURL = request[INTERNALS$2].parsedURL;\n\tconst headers = new Headers(request[INTERNALS$2].headers);\n\n\t// fetch step 1.3\n\tif (!headers.has('Accept')) {\n\t\theaders.set('Accept', '*/*');\n\t}\n\n\t// Basic fetch\n\tif (!parsedURL.protocol || !parsedURL.hostname) {\n\t\tthrow new TypeError('Only absolute URLs are supported');\n\t}\n\n\tif (!/^https?:$/.test(parsedURL.protocol)) {\n\t\tthrow new TypeError('Only HTTP(S) protocols are supported');\n\t}\n\n\tif (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {\n\t\tthrow new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');\n\t}\n\n\t// HTTP-network-or-cache fetch steps 2.4-2.7\n\tlet contentLengthValue = null;\n\tif (request.body == null && /^(POST|PUT)$/i.test(request.method)) {\n\t\tcontentLengthValue = '0';\n\t}\n\tif (request.body != null) {\n\t\tconst totalBytes = getTotalBytes(request);\n\t\tif (typeof totalBytes === 'number') {\n\t\t\tcontentLengthValue = String(totalBytes);\n\t\t}\n\t}\n\tif (contentLengthValue) {\n\t\theaders.set('Content-Length', contentLengthValue);\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.11\n\tif (!headers.has('User-Agent')) {\n\t\theaders.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');\n\t}\n\n\t// HTTP-network-or-cache fetch step 2.15\n\tif (request.compress && !headers.has('Accept-Encoding')) {\n\t\theaders.set('Accept-Encoding', 'gzip,deflate');\n\t}\n\n\tlet agent = request.agent;\n\tif (typeof agent === 'function') {\n\t\tagent = agent(parsedURL);\n\t}\n\n\tif (!headers.has('Connection') && !agent) {\n\t\theaders.set('Connection', 'close');\n\t}\n\n\t// HTTP-network fetch step 4.2\n\t// chunked encoding is handled by Node.js\n\n\treturn Object.assign({}, parsedURL, {\n\t\tmethod: request.method,\n\t\theaders: exportNodeCompatibleHeaders(headers),\n\t\tagent\n\t});\n}\n\n/**\n * abort-error.js\n *\n * AbortError interface for cancelled requests\n */\n\n/**\n * Create AbortError instance\n *\n * @param String message Error message for human\n * @return AbortError\n */\nfunction AbortError(message) {\n Error.call(this, message);\n\n this.type = 'aborted';\n this.message = message;\n\n // hide custom error implementation details from end-users\n Error.captureStackTrace(this, this.constructor);\n}\n\nAbortError.prototype = Object.create(Error.prototype);\nAbortError.prototype.constructor = AbortError;\nAbortError.prototype.name = 'AbortError';\n\nconst URL$1 = Url.URL || whatwgUrl.URL;\n\n// fix an issue where \"PassThrough\", \"resolve\" aren't a named export for node <10\nconst PassThrough$1 = Stream.PassThrough;\n\nconst isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {\n\tconst orig = new URL$1(original).hostname;\n\tconst dest = new URL$1(destination).hostname;\n\n\treturn orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);\n};\n\n/**\n * Fetch function\n *\n * @param Mixed url Absolute url or Request instance\n * @param Object opts Fetch options\n * @return Promise\n */\nfunction fetch(url, opts) {\n\n\t// allow custom promise\n\tif (!fetch.Promise) {\n\t\tthrow new Error('native promise missing, set fetch.Promise to your favorite alternative');\n\t}\n\n\tBody.Promise = fetch.Promise;\n\n\t// wrap http.request into fetch\n\treturn new fetch.Promise(function (resolve, reject) {\n\t\t// build request object\n\t\tconst request = new Request(url, opts);\n\t\tconst options = getNodeRequestOptions(request);\n\n\t\tconst send = (options.protocol === 'https:' ? https : http).request;\n\t\tconst signal = request.signal;\n\n\t\tlet response = null;\n\n\t\tconst abort = function abort() {\n\t\t\tlet error = new AbortError('The user aborted a request.');\n\t\t\treject(error);\n\t\t\tif (request.body && request.body instanceof Stream.Readable) {\n\t\t\t\trequest.body.destroy(error);\n\t\t\t}\n\t\t\tif (!response || !response.body) return;\n\t\t\tresponse.body.emit('error', error);\n\t\t};\n\n\t\tif (signal && signal.aborted) {\n\t\t\tabort();\n\t\t\treturn;\n\t\t}\n\n\t\tconst abortAndFinalize = function abortAndFinalize() {\n\t\t\tabort();\n\t\t\tfinalize();\n\t\t};\n\n\t\t// send request\n\t\tconst req = send(options);\n\t\tlet reqTimeout;\n\n\t\tif (signal) {\n\t\t\tsignal.addEventListener('abort', abortAndFinalize);\n\t\t}\n\n\t\tfunction finalize() {\n\t\t\treq.abort();\n\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\tclearTimeout(reqTimeout);\n\t\t}\n\n\t\tif (request.timeout) {\n\t\t\treq.once('socket', function (socket) {\n\t\t\t\treqTimeout = setTimeout(function () {\n\t\t\t\t\treject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));\n\t\t\t\t\tfinalize();\n\t\t\t\t}, request.timeout);\n\t\t\t});\n\t\t}\n\n\t\treq.on('error', function (err) {\n\t\t\treject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));\n\t\t\tfinalize();\n\t\t});\n\n\t\treq.on('response', function (res) {\n\t\t\tclearTimeout(reqTimeout);\n\n\t\t\tconst headers = createHeadersLenient(res.headers);\n\n\t\t\t// HTTP fetch step 5\n\t\t\tif (fetch.isRedirect(res.statusCode)) {\n\t\t\t\t// HTTP fetch step 5.2\n\t\t\t\tconst location = headers.get('Location');\n\n\t\t\t\t// HTTP fetch step 5.3\n\t\t\t\tlet locationURL = null;\n\t\t\t\ttry {\n\t\t\t\t\tlocationURL = location === null ? null : new URL$1(location, request.url).toString();\n\t\t\t\t} catch (err) {\n\t\t\t\t\t// error here can only be invalid URL in Location: header\n\t\t\t\t\t// do not throw when options.redirect == manual\n\t\t\t\t\t// let the user extract the errorneous redirect URL\n\t\t\t\t\tif (request.redirect !== 'manual') {\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// HTTP fetch step 5.5\n\t\t\t\tswitch (request.redirect) {\n\t\t\t\t\tcase 'error':\n\t\t\t\t\t\treject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t\tcase 'manual':\n\t\t\t\t\t\t// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.\n\t\t\t\t\t\tif (locationURL !== null) {\n\t\t\t\t\t\t\t// handle corrupted header\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\theaders.set('Location', locationURL);\n\t\t\t\t\t\t\t} catch (err) {\n\t\t\t\t\t\t\t\t// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request\n\t\t\t\t\t\t\t\treject(err);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 'follow':\n\t\t\t\t\t\t// HTTP-redirect fetch step 2\n\t\t\t\t\t\tif (locationURL === null) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 5\n\t\t\t\t\t\tif (request.counter >= request.follow) {\n\t\t\t\t\t\t\treject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 6 (counter increment)\n\t\t\t\t\t\t// Create a new Request object.\n\t\t\t\t\t\tconst requestOpts = {\n\t\t\t\t\t\t\theaders: new Headers(request.headers),\n\t\t\t\t\t\t\tfollow: request.follow,\n\t\t\t\t\t\t\tcounter: request.counter + 1,\n\t\t\t\t\t\t\tagent: request.agent,\n\t\t\t\t\t\t\tcompress: request.compress,\n\t\t\t\t\t\t\tmethod: request.method,\n\t\t\t\t\t\t\tbody: request.body,\n\t\t\t\t\t\t\tsignal: request.signal,\n\t\t\t\t\t\t\ttimeout: request.timeout,\n\t\t\t\t\t\t\tsize: request.size\n\t\t\t\t\t\t};\n\n\t\t\t\t\t\tif (!isDomainOrSubdomain(request.url, locationURL)) {\n\t\t\t\t\t\t\tfor (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {\n\t\t\t\t\t\t\t\trequestOpts.headers.delete(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 9\n\t\t\t\t\t\tif (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {\n\t\t\t\t\t\t\treject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));\n\t\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 11\n\t\t\t\t\t\tif (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {\n\t\t\t\t\t\t\trequestOpts.method = 'GET';\n\t\t\t\t\t\t\trequestOpts.body = undefined;\n\t\t\t\t\t\t\trequestOpts.headers.delete('content-length');\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// HTTP-redirect fetch step 15\n\t\t\t\t\t\tresolve(fetch(new Request(locationURL, requestOpts)));\n\t\t\t\t\t\tfinalize();\n\t\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// prepare response\n\t\t\tres.once('end', function () {\n\t\t\t\tif (signal) signal.removeEventListener('abort', abortAndFinalize);\n\t\t\t});\n\t\t\tlet body = res.pipe(new PassThrough$1());\n\n\t\t\tconst response_options = {\n\t\t\t\turl: request.url,\n\t\t\t\tstatus: res.statusCode,\n\t\t\t\tstatusText: res.statusMessage,\n\t\t\t\theaders: headers,\n\t\t\t\tsize: request.size,\n\t\t\t\ttimeout: request.timeout,\n\t\t\t\tcounter: request.counter\n\t\t\t};\n\n\t\t\t// HTTP-network fetch step 12.1.1.3\n\t\t\tconst codings = headers.get('Content-Encoding');\n\n\t\t\t// HTTP-network fetch step 12.1.1.4: handle content codings\n\n\t\t\t// in following scenarios we ignore compression support\n\t\t\t// 1. compression support is disabled\n\t\t\t// 2. HEAD request\n\t\t\t// 3. no Content-Encoding header\n\t\t\t// 4. no content response (204)\n\t\t\t// 5. content not modified response (304)\n\t\t\tif (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// For Node v6+\n\t\t\t// Be less strict when decoding compressed responses, since sometimes\n\t\t\t// servers send slightly invalid responses that are still accepted\n\t\t\t// by common browsers.\n\t\t\t// Always using Z_SYNC_FLUSH is what cURL does.\n\t\t\tconst zlibOptions = {\n\t\t\t\tflush: zlib.Z_SYNC_FLUSH,\n\t\t\t\tfinishFlush: zlib.Z_SYNC_FLUSH\n\t\t\t};\n\n\t\t\t// for gzip\n\t\t\tif (codings == 'gzip' || codings == 'x-gzip') {\n\t\t\t\tbody = body.pipe(zlib.createGunzip(zlibOptions));\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for deflate\n\t\t\tif (codings == 'deflate' || codings == 'x-deflate') {\n\t\t\t\t// handle the infamous raw deflate response from old servers\n\t\t\t\t// a hack for old IIS and Apache servers\n\t\t\t\tconst raw = res.pipe(new PassThrough$1());\n\t\t\t\traw.once('data', function (chunk) {\n\t\t\t\t\t// see http://stackoverflow.com/questions/37519828\n\t\t\t\t\tif ((chunk[0] & 0x0F) === 0x08) {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflate());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbody = body.pipe(zlib.createInflateRaw());\n\t\t\t\t\t}\n\t\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\t\tresolve(response);\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// for br\n\t\t\tif (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {\n\t\t\t\tbody = body.pipe(zlib.createBrotliDecompress());\n\t\t\t\tresponse = new Response(body, response_options);\n\t\t\t\tresolve(response);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// otherwise, use response as-is\n\t\t\tresponse = new Response(body, response_options);\n\t\t\tresolve(response);\n\t\t});\n\n\t\twriteToStream(req, request);\n\t});\n}\n/**\n * Redirect code matching\n *\n * @param Number code Status code\n * @return Boolean\n */\nfetch.isRedirect = function (code) {\n\treturn code === 301 || code === 302 || code === 303 || code === 307 || code === 308;\n};\n\n// expose Promise\nfetch.Promise = global.Promise;\n\nmodule.exports = exports = fetch;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = exports;\nexports.Headers = Headers;\nexports.Request = Request;\nexports.Response = Response;\nexports.FetchError = FetchError;\n","\"use strict\";\n\nvar punycode = require(\"punycode\");\nvar mappingTable = require(\"./lib/mappingTable.json\");\n\nvar PROCESSING_OPTIONS = {\n TRANSITIONAL: 0,\n NONTRANSITIONAL: 1\n};\n\nfunction normalize(str) { // fix bug in v8\n return str.split('\\u0000').map(function (s) { return s.normalize('NFC'); }).join('\\u0000');\n}\n\nfunction findStatus(val) {\n var start = 0;\n var end = mappingTable.length - 1;\n\n while (start <= end) {\n var mid = Math.floor((start + end) / 2);\n\n var target = mappingTable[mid];\n if (target[0][0] <= val && target[0][1] >= val) {\n return target;\n } else if (target[0][0] > val) {\n end = mid - 1;\n } else {\n start = mid + 1;\n }\n }\n\n return null;\n}\n\nvar regexAstralSymbols = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\nfunction countSymbols(string) {\n return string\n // replace every surrogate pair with a BMP symbol\n .replace(regexAstralSymbols, '_')\n // then get the length\n .length;\n}\n\nfunction mapChars(domain_name, useSTD3, processing_option) {\n var hasError = false;\n var processed = \"\";\n\n var len = countSymbols(domain_name);\n for (var i = 0; i < len; ++i) {\n var codePoint = domain_name.codePointAt(i);\n var status = findStatus(codePoint);\n\n switch (status[1]) {\n case \"disallowed\":\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n break;\n case \"ignored\":\n break;\n case \"mapped\":\n processed += String.fromCodePoint.apply(String, status[2]);\n break;\n case \"deviation\":\n if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) {\n processed += String.fromCodePoint.apply(String, status[2]);\n } else {\n processed += String.fromCodePoint(codePoint);\n }\n break;\n case \"valid\":\n processed += String.fromCodePoint(codePoint);\n break;\n case \"disallowed_STD3_mapped\":\n if (useSTD3) {\n hasError = true;\n processed += String.fromCodePoint(codePoint);\n } else {\n processed += String.fromCodePoint.apply(String, status[2]);\n }\n break;\n case \"disallowed_STD3_valid\":\n if (useSTD3) {\n hasError = true;\n }\n\n processed += String.fromCodePoint(codePoint);\n break;\n }\n }\n\n return {\n string: processed,\n error: hasError\n };\n}\n\nvar combiningMarksRegex = /[\\u0300-\\u036F\\u0483-\\u0489\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065F\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0859-\\u085B\\u08E4-\\u0903\\u093A-\\u093C\\u093E-\\u094F\\u0951-\\u0957\\u0962\\u0963\\u0981-\\u0983\\u09BC\\u09BE-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CD\\u09D7\\u09E2\\u09E3\\u0A01-\\u0A03\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81-\\u0A83\\u0ABC\\u0ABE-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AE2\\u0AE3\\u0B01-\\u0B03\\u0B3C\\u0B3E-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B62\\u0B63\\u0B82\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD7\\u0C00-\\u0C03\\u0C3E-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0C81-\\u0C83\\u0CBC\\u0CBE-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CE2\\u0CE3\\u0D01-\\u0D03\\u0D3E-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4D\\u0D57\\u0D62\\u0D63\\u0D82\\u0D83\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F3E\\u0F3F\\u0F71-\\u0F84\\u0F86\\u0F87\\u0F8D-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102B-\\u103E\\u1056-\\u1059\\u105E-\\u1060\\u1062-\\u1064\\u1067-\\u106D\\u1071-\\u1074\\u1082-\\u108D\\u108F\\u109A-\\u109D\\u135D-\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B4-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u192B\\u1930-\\u193B\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A17-\\u1A1B\\u1A55-\\u1A5E\\u1A60-\\u1A7C\\u1A7F\\u1AB0-\\u1ABE\\u1B00-\\u1B04\\u1B34-\\u1B44\\u1B6B-\\u1B73\\u1B80-\\u1B82\\u1BA1-\\u1BAD\\u1BE6-\\u1BF3\\u1C24-\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE8\\u1CED\\u1CF2-\\u1CF4\\u1CF8\\u1CF9\\u1DC0-\\u1DF5\\u1DFC-\\u1DFF\\u20D0-\\u20F0\\u2CEF-\\u2CF1\\u2D7F\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F-\\uA672\\uA674-\\uA67D\\uA69F\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA823-\\uA827\\uA880\\uA881\\uA8B4-\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA953\\uA980-\\uA983\\uA9B3-\\uA9C0\\uA9E5\\uAA29-\\uAA36\\uAA43\\uAA4C\\uAA4D\\uAA7B-\\uAA7D\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uAAEB-\\uAAEF\\uAAF5\\uAAF6\\uABE3-\\uABEA\\uABEC\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE2D]|\\uD800[\\uDDFD\\uDEE0\\uDF76-\\uDF7A]|\\uD802[\\uDE01-\\uDE03\\uDE05\\uDE06\\uDE0C-\\uDE0F\\uDE38-\\uDE3A\\uDE3F\\uDEE5\\uDEE6]|\\uD804[\\uDC00-\\uDC02\\uDC38-\\uDC46\\uDC7F-\\uDC82\\uDCB0-\\uDCBA\\uDD00-\\uDD02\\uDD27-\\uDD34\\uDD73\\uDD80-\\uDD82\\uDDB3-\\uDDC0\\uDE2C-\\uDE37\\uDEDF-\\uDEEA\\uDF01-\\uDF03\\uDF3C\\uDF3E-\\uDF44\\uDF47\\uDF48\\uDF4B-\\uDF4D\\uDF57\\uDF62\\uDF63\\uDF66-\\uDF6C\\uDF70-\\uDF74]|\\uD805[\\uDCB0-\\uDCC3\\uDDAF-\\uDDB5\\uDDB8-\\uDDC0\\uDE30-\\uDE40\\uDEAB-\\uDEB7]|\\uD81A[\\uDEF0-\\uDEF4\\uDF30-\\uDF36]|\\uD81B[\\uDF51-\\uDF7E\\uDF8F-\\uDF92]|\\uD82F[\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uDD69\\uDD6D-\\uDD72\\uDD7B-\\uDD82\\uDD85-\\uDD8B\\uDDAA-\\uDDAD\\uDE42-\\uDE44]|\\uD83A[\\uDCD0-\\uDCD6]|\\uDB40[\\uDD00-\\uDDEF]/;\n\nfunction validateLabel(label, processing_option) {\n if (label.substr(0, 4) === \"xn--\") {\n label = punycode.toUnicode(label);\n processing_option = PROCESSING_OPTIONS.NONTRANSITIONAL;\n }\n\n var error = false;\n\n if (normalize(label) !== label ||\n (label[3] === \"-\" && label[4] === \"-\") ||\n label[0] === \"-\" || label[label.length - 1] === \"-\" ||\n label.indexOf(\".\") !== -1 ||\n label.search(combiningMarksRegex) === 0) {\n error = true;\n }\n\n var len = countSymbols(label);\n for (var i = 0; i < len; ++i) {\n var status = findStatus(label.codePointAt(i));\n if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== \"valid\") ||\n (processing === PROCESSING_OPTIONS.NONTRANSITIONAL &&\n status[1] !== \"valid\" && status[1] !== \"deviation\")) {\n error = true;\n break;\n }\n }\n\n return {\n label: label,\n error: error\n };\n}\n\nfunction processing(domain_name, useSTD3, processing_option) {\n var result = mapChars(domain_name, useSTD3, processing_option);\n result.string = normalize(result.string);\n\n var labels = result.string.split(\".\");\n for (var i = 0; i < labels.length; ++i) {\n try {\n var validation = validateLabel(labels[i]);\n labels[i] = validation.label;\n result.error = result.error || validation.error;\n } catch(e) {\n result.error = true;\n }\n }\n\n return {\n string: labels.join(\".\"),\n error: result.error\n };\n}\n\nmodule.exports.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) {\n var result = processing(domain_name, useSTD3, processing_option);\n var labels = result.string.split(\".\");\n labels = labels.map(function(l) {\n try {\n return punycode.toASCII(l);\n } catch(e) {\n result.error = true;\n return l;\n }\n });\n\n if (verifyDnsLength) {\n var total = labels.slice(0, labels.length - 1).join(\".\").length;\n if (total.length > 253 || total.length === 0) {\n result.error = true;\n }\n\n for (var i=0; i < labels.length; ++i) {\n if (labels.length > 63 || labels.length === 0) {\n result.error = true;\n break;\n }\n }\n }\n\n if (result.error) return null;\n return labels.join(\".\");\n};\n\nmodule.exports.toUnicode = function(domain_name, useSTD3) {\n var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);\n\n return {\n domain: result.string,\n error: result.error\n };\n};\n\nmodule.exports.PROCESSING_OPTIONS = PROCESSING_OPTIONS;\n","\"use strict\";\n\nvar conversions = {};\nmodule.exports = conversions;\n\nfunction sign(x) {\n return x < 0 ? -1 : 1;\n}\n\nfunction evenRound(x) {\n // Round x to the nearest integer, choosing the even integer if it lies halfway between two.\n if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor)\n return Math.floor(x);\n } else {\n return Math.round(x);\n }\n}\n\nfunction createNumberConversion(bitLength, typeOpts) {\n if (!typeOpts.unsigned) {\n --bitLength;\n }\n const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength);\n const upperBound = Math.pow(2, bitLength) - 1;\n\n const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength);\n const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1);\n\n return function(V, opts) {\n if (!opts) opts = {};\n\n let x = +V;\n\n if (opts.enforceRange) {\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite number\");\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n if (x < lowerBound || x > upperBound) {\n throw new TypeError(\"Argument is not in byte range\");\n }\n\n return x;\n }\n\n if (!isNaN(x) && opts.clamp) {\n x = evenRound(x);\n\n if (x < lowerBound) x = lowerBound;\n if (x > upperBound) x = upperBound;\n return x;\n }\n\n if (!Number.isFinite(x) || x === 0) {\n return 0;\n }\n\n x = sign(x) * Math.floor(Math.abs(x));\n x = x % moduloVal;\n\n if (!typeOpts.unsigned && x >= moduloBound) {\n return x - moduloVal;\n } else if (typeOpts.unsigned) {\n if (x < 0) {\n x += moduloVal;\n } else if (x === -0) { // don't return negative zero\n return 0;\n }\n }\n\n return x;\n }\n}\n\nconversions[\"void\"] = function () {\n return undefined;\n};\n\nconversions[\"boolean\"] = function (val) {\n return !!val;\n};\n\nconversions[\"byte\"] = createNumberConversion(8, { unsigned: false });\nconversions[\"octet\"] = createNumberConversion(8, { unsigned: true });\n\nconversions[\"short\"] = createNumberConversion(16, { unsigned: false });\nconversions[\"unsigned short\"] = createNumberConversion(16, { unsigned: true });\n\nconversions[\"long\"] = createNumberConversion(32, { unsigned: false });\nconversions[\"unsigned long\"] = createNumberConversion(32, { unsigned: true });\n\nconversions[\"long long\"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 });\nconversions[\"unsigned long long\"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 });\n\nconversions[\"double\"] = function (V) {\n const x = +V;\n\n if (!Number.isFinite(x)) {\n throw new TypeError(\"Argument is not a finite floating-point value\");\n }\n\n return x;\n};\n\nconversions[\"unrestricted double\"] = function (V) {\n const x = +V;\n\n if (isNaN(x)) {\n throw new TypeError(\"Argument is NaN\");\n }\n\n return x;\n};\n\n// not quite valid, but good enough for JS\nconversions[\"float\"] = conversions[\"double\"];\nconversions[\"unrestricted float\"] = conversions[\"unrestricted double\"];\n\nconversions[\"DOMString\"] = function (V, opts) {\n if (!opts) opts = {};\n\n if (opts.treatNullAsEmptyString && V === null) {\n return \"\";\n }\n\n return String(V);\n};\n\nconversions[\"ByteString\"] = function (V, opts) {\n const x = String(V);\n let c = undefined;\n for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) {\n if (c > 255) {\n throw new TypeError(\"Argument is not a valid bytestring\");\n }\n }\n\n return x;\n};\n\nconversions[\"USVString\"] = function (V) {\n const S = String(V);\n const n = S.length;\n const U = [];\n for (let i = 0; i < n; ++i) {\n const c = S.charCodeAt(i);\n if (c < 0xD800 || c > 0xDFFF) {\n U.push(String.fromCodePoint(c));\n } else if (0xDC00 <= c && c <= 0xDFFF) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n if (i === n - 1) {\n U.push(String.fromCodePoint(0xFFFD));\n } else {\n const d = S.charCodeAt(i + 1);\n if (0xDC00 <= d && d <= 0xDFFF) {\n const a = c & 0x3FF;\n const b = d & 0x3FF;\n U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b));\n ++i;\n } else {\n U.push(String.fromCodePoint(0xFFFD));\n }\n }\n }\n }\n\n return U.join('');\n};\n\nconversions[\"Date\"] = function (V, opts) {\n if (!(V instanceof Date)) {\n throw new TypeError(\"Argument is not a Date object\");\n }\n if (isNaN(V)) {\n return undefined;\n }\n\n return V;\n};\n\nconversions[\"RegExp\"] = function (V, opts) {\n if (!(V instanceof RegExp)) {\n V = new RegExp(V);\n }\n\n return V;\n};\n","\"use strict\";\nconst usm = require(\"./url-state-machine\");\n\nexports.implementation = class URLImpl {\n constructor(constructorArgs) {\n const url = constructorArgs[0];\n const base = constructorArgs[1];\n\n let parsedBase = null;\n if (base !== undefined) {\n parsedBase = usm.basicURLParse(base);\n if (parsedBase === \"failure\") {\n throw new TypeError(\"Invalid base URL\");\n }\n }\n\n const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase });\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n\n // TODO: query stuff\n }\n\n get href() {\n return usm.serializeURL(this._url);\n }\n\n set href(v) {\n const parsedURL = usm.basicURLParse(v);\n if (parsedURL === \"failure\") {\n throw new TypeError(\"Invalid URL\");\n }\n\n this._url = parsedURL;\n }\n\n get origin() {\n return usm.serializeURLOrigin(this._url);\n }\n\n get protocol() {\n return this._url.scheme + \":\";\n }\n\n set protocol(v) {\n usm.basicURLParse(v + \":\", { url: this._url, stateOverride: \"scheme start\" });\n }\n\n get username() {\n return this._url.username;\n }\n\n set username(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setTheUsername(this._url, v);\n }\n\n get password() {\n return this._url.password;\n }\n\n set password(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n usm.setThePassword(this._url, v);\n }\n\n get host() {\n const url = this._url;\n\n if (url.host === null) {\n return \"\";\n }\n\n if (url.port === null) {\n return usm.serializeHost(url.host);\n }\n\n return usm.serializeHost(url.host) + \":\" + usm.serializeInteger(url.port);\n }\n\n set host(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"host\" });\n }\n\n get hostname() {\n if (this._url.host === null) {\n return \"\";\n }\n\n return usm.serializeHost(this._url.host);\n }\n\n set hostname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n usm.basicURLParse(v, { url: this._url, stateOverride: \"hostname\" });\n }\n\n get port() {\n if (this._url.port === null) {\n return \"\";\n }\n\n return usm.serializeInteger(this._url.port);\n }\n\n set port(v) {\n if (usm.cannotHaveAUsernamePasswordPort(this._url)) {\n return;\n }\n\n if (v === \"\") {\n this._url.port = null;\n } else {\n usm.basicURLParse(v, { url: this._url, stateOverride: \"port\" });\n }\n }\n\n get pathname() {\n if (this._url.cannotBeABaseURL) {\n return this._url.path[0];\n }\n\n if (this._url.path.length === 0) {\n return \"\";\n }\n\n return \"/\" + this._url.path.join(\"/\");\n }\n\n set pathname(v) {\n if (this._url.cannotBeABaseURL) {\n return;\n }\n\n this._url.path = [];\n usm.basicURLParse(v, { url: this._url, stateOverride: \"path start\" });\n }\n\n get search() {\n if (this._url.query === null || this._url.query === \"\") {\n return \"\";\n }\n\n return \"?\" + this._url.query;\n }\n\n set search(v) {\n // TODO: query stuff\n\n const url = this._url;\n\n if (v === \"\") {\n url.query = null;\n return;\n }\n\n const input = v[0] === \"?\" ? v.substring(1) : v;\n url.query = \"\";\n usm.basicURLParse(input, { url, stateOverride: \"query\" });\n }\n\n get hash() {\n if (this._url.fragment === null || this._url.fragment === \"\") {\n return \"\";\n }\n\n return \"#\" + this._url.fragment;\n }\n\n set hash(v) {\n if (v === \"\") {\n this._url.fragment = null;\n return;\n }\n\n const input = v[0] === \"#\" ? v.substring(1) : v;\n this._url.fragment = \"\";\n usm.basicURLParse(input, { url: this._url, stateOverride: \"fragment\" });\n }\n\n toJSON() {\n return this.href;\n }\n};\n","\"use strict\";\n\nconst conversions = require(\"webidl-conversions\");\nconst utils = require(\"./utils.js\");\nconst Impl = require(\".//URL-impl.js\");\n\nconst impl = utils.implSymbol;\n\nfunction URL(url) {\n if (!this || this[impl] || !(this instanceof URL)) {\n throw new TypeError(\"Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.\");\n }\n if (arguments.length < 1) {\n throw new TypeError(\"Failed to construct 'URL': 1 argument required, but only \" + arguments.length + \" present.\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 2; ++i) {\n args[i] = arguments[i];\n }\n args[0] = conversions[\"USVString\"](args[0]);\n if (args[1] !== undefined) {\n args[1] = conversions[\"USVString\"](args[1]);\n }\n\n module.exports.setup(this, args);\n}\n\nURL.prototype.toJSON = function toJSON() {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n const args = [];\n for (let i = 0; i < arguments.length && i < 0; ++i) {\n args[i] = arguments[i];\n }\n return this[impl].toJSON.apply(this[impl], args);\n};\nObject.defineProperty(URL.prototype, \"href\", {\n get() {\n return this[impl].href;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].href = V;\n },\n enumerable: true,\n configurable: true\n});\n\nURL.prototype.toString = function () {\n if (!this || !module.exports.is(this)) {\n throw new TypeError(\"Illegal invocation\");\n }\n return this.href;\n};\n\nObject.defineProperty(URL.prototype, \"origin\", {\n get() {\n return this[impl].origin;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"protocol\", {\n get() {\n return this[impl].protocol;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].protocol = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"username\", {\n get() {\n return this[impl].username;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].username = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"password\", {\n get() {\n return this[impl].password;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].password = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"host\", {\n get() {\n return this[impl].host;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].host = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hostname\", {\n get() {\n return this[impl].hostname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hostname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"port\", {\n get() {\n return this[impl].port;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].port = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"pathname\", {\n get() {\n return this[impl].pathname;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].pathname = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"search\", {\n get() {\n return this[impl].search;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].search = V;\n },\n enumerable: true,\n configurable: true\n});\n\nObject.defineProperty(URL.prototype, \"hash\", {\n get() {\n return this[impl].hash;\n },\n set(V) {\n V = conversions[\"USVString\"](V);\n this[impl].hash = V;\n },\n enumerable: true,\n configurable: true\n});\n\n\nmodule.exports = {\n is(obj) {\n return !!obj && obj[impl] instanceof Impl.implementation;\n },\n create(constructorArgs, privateData) {\n let obj = Object.create(URL.prototype);\n this.setup(obj, constructorArgs, privateData);\n return obj;\n },\n setup(obj, constructorArgs, privateData) {\n if (!privateData) privateData = {};\n privateData.wrapper = obj;\n\n obj[impl] = new Impl.implementation(constructorArgs, privateData);\n obj[impl][utils.wrapperSymbol] = obj;\n },\n interface: URL,\n expose: {\n Window: { URL: URL },\n Worker: { URL: URL }\n }\n};\n\n","\"use strict\";\n\nexports.URL = require(\"./URL\").interface;\nexports.serializeURL = require(\"./url-state-machine\").serializeURL;\nexports.serializeURLOrigin = require(\"./url-state-machine\").serializeURLOrigin;\nexports.basicURLParse = require(\"./url-state-machine\").basicURLParse;\nexports.setTheUsername = require(\"./url-state-machine\").setTheUsername;\nexports.setThePassword = require(\"./url-state-machine\").setThePassword;\nexports.serializeHost = require(\"./url-state-machine\").serializeHost;\nexports.serializeInteger = require(\"./url-state-machine\").serializeInteger;\nexports.parseURL = require(\"./url-state-machine\").parseURL;\n","\"use strict\";\r\nconst punycode = require(\"punycode\");\r\nconst tr46 = require(\"tr46\");\r\n\r\nconst specialSchemes = {\r\n ftp: 21,\r\n file: null,\r\n gopher: 70,\r\n http: 80,\r\n https: 443,\r\n ws: 80,\r\n wss: 443\r\n};\r\n\r\nconst failure = Symbol(\"failure\");\r\n\r\nfunction countSymbols(str) {\r\n return punycode.ucs2.decode(str).length;\r\n}\r\n\r\nfunction at(input, idx) {\r\n const c = input[idx];\r\n return isNaN(c) ? undefined : String.fromCodePoint(c);\r\n}\r\n\r\nfunction isASCIIDigit(c) {\r\n return c >= 0x30 && c <= 0x39;\r\n}\r\n\r\nfunction isASCIIAlpha(c) {\r\n return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A);\r\n}\r\n\r\nfunction isASCIIAlphanumeric(c) {\r\n return isASCIIAlpha(c) || isASCIIDigit(c);\r\n}\r\n\r\nfunction isASCIIHex(c) {\r\n return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66);\r\n}\r\n\r\nfunction isSingleDot(buffer) {\r\n return buffer === \".\" || buffer.toLowerCase() === \"%2e\";\r\n}\r\n\r\nfunction isDoubleDot(buffer) {\r\n buffer = buffer.toLowerCase();\r\n return buffer === \"..\" || buffer === \"%2e.\" || buffer === \".%2e\" || buffer === \"%2e%2e\";\r\n}\r\n\r\nfunction isWindowsDriveLetterCodePoints(cp1, cp2) {\r\n return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124);\r\n}\r\n\r\nfunction isWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === \":\" || string[1] === \"|\");\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetterString(string) {\r\n return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === \":\";\r\n}\r\n\r\nfunction containsForbiddenHostCodePoint(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|%|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction containsForbiddenHostCodePointExcludingPercent(string) {\r\n return string.search(/\\u0000|\\u0009|\\u000A|\\u000D|\\u0020|#|\\/|:|\\?|@|\\[|\\\\|\\]/) !== -1;\r\n}\r\n\r\nfunction isSpecialScheme(scheme) {\r\n return specialSchemes[scheme] !== undefined;\r\n}\r\n\r\nfunction isSpecial(url) {\r\n return isSpecialScheme(url.scheme);\r\n}\r\n\r\nfunction defaultPort(scheme) {\r\n return specialSchemes[scheme];\r\n}\r\n\r\nfunction percentEncode(c) {\r\n let hex = c.toString(16).toUpperCase();\r\n if (hex.length === 1) {\r\n hex = \"0\" + hex;\r\n }\r\n\r\n return \"%\" + hex;\r\n}\r\n\r\nfunction utf8PercentEncode(c) {\r\n const buf = new Buffer(c);\r\n\r\n let str = \"\";\r\n\r\n for (let i = 0; i < buf.length; ++i) {\r\n str += percentEncode(buf[i]);\r\n }\r\n\r\n return str;\r\n}\r\n\r\nfunction utf8PercentDecode(str) {\r\n const input = new Buffer(str);\r\n const output = [];\r\n for (let i = 0; i < input.length; ++i) {\r\n if (input[i] !== 37) {\r\n output.push(input[i]);\r\n } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) {\r\n output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16));\r\n i += 2;\r\n } else {\r\n output.push(input[i]);\r\n }\r\n }\r\n return new Buffer(output).toString();\r\n}\r\n\r\nfunction isC0ControlPercentEncode(c) {\r\n return c <= 0x1F || c > 0x7E;\r\n}\r\n\r\nconst extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]);\r\nfunction isPathPercentEncode(c) {\r\n return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c);\r\n}\r\n\r\nconst extraUserinfoPercentEncodeSet =\r\n new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]);\r\nfunction isUserinfoPercentEncode(c) {\r\n return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c);\r\n}\r\n\r\nfunction percentEncodeChar(c, encodeSetPredicate) {\r\n const cStr = String.fromCodePoint(c);\r\n\r\n if (encodeSetPredicate(c)) {\r\n return utf8PercentEncode(cStr);\r\n }\r\n\r\n return cStr;\r\n}\r\n\r\nfunction parseIPv4Number(input) {\r\n let R = 10;\r\n\r\n if (input.length >= 2 && input.charAt(0) === \"0\" && input.charAt(1).toLowerCase() === \"x\") {\r\n input = input.substring(2);\r\n R = 16;\r\n } else if (input.length >= 2 && input.charAt(0) === \"0\") {\r\n input = input.substring(1);\r\n R = 8;\r\n }\r\n\r\n if (input === \"\") {\r\n return 0;\r\n }\r\n\r\n const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/);\r\n if (regex.test(input)) {\r\n return failure;\r\n }\r\n\r\n return parseInt(input, R);\r\n}\r\n\r\nfunction parseIPv4(input) {\r\n const parts = input.split(\".\");\r\n if (parts[parts.length - 1] === \"\") {\r\n if (parts.length > 1) {\r\n parts.pop();\r\n }\r\n }\r\n\r\n if (parts.length > 4) {\r\n return input;\r\n }\r\n\r\n const numbers = [];\r\n for (const part of parts) {\r\n if (part === \"\") {\r\n return input;\r\n }\r\n const n = parseIPv4Number(part);\r\n if (n === failure) {\r\n return input;\r\n }\r\n\r\n numbers.push(n);\r\n }\r\n\r\n for (let i = 0; i < numbers.length - 1; ++i) {\r\n if (numbers[i] > 255) {\r\n return failure;\r\n }\r\n }\r\n if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) {\r\n return failure;\r\n }\r\n\r\n let ipv4 = numbers.pop();\r\n let counter = 0;\r\n\r\n for (const n of numbers) {\r\n ipv4 += n * Math.pow(256, 3 - counter);\r\n ++counter;\r\n }\r\n\r\n return ipv4;\r\n}\r\n\r\nfunction serializeIPv4(address) {\r\n let output = \"\";\r\n let n = address;\r\n\r\n for (let i = 1; i <= 4; ++i) {\r\n output = String(n % 256) + output;\r\n if (i !== 4) {\r\n output = \".\" + output;\r\n }\r\n n = Math.floor(n / 256);\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseIPv6(input) {\r\n const address = [0, 0, 0, 0, 0, 0, 0, 0];\r\n let pieceIndex = 0;\r\n let compress = null;\r\n let pointer = 0;\r\n\r\n input = punycode.ucs2.decode(input);\r\n\r\n if (input[pointer] === 58) {\r\n if (input[pointer + 1] !== 58) {\r\n return failure;\r\n }\r\n\r\n pointer += 2;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n }\r\n\r\n while (pointer < input.length) {\r\n if (pieceIndex === 8) {\r\n return failure;\r\n }\r\n\r\n if (input[pointer] === 58) {\r\n if (compress !== null) {\r\n return failure;\r\n }\r\n ++pointer;\r\n ++pieceIndex;\r\n compress = pieceIndex;\r\n continue;\r\n }\r\n\r\n let value = 0;\r\n let length = 0;\r\n\r\n while (length < 4 && isASCIIHex(input[pointer])) {\r\n value = value * 0x10 + parseInt(at(input, pointer), 16);\r\n ++pointer;\r\n ++length;\r\n }\r\n\r\n if (input[pointer] === 46) {\r\n if (length === 0) {\r\n return failure;\r\n }\r\n\r\n pointer -= length;\r\n\r\n if (pieceIndex > 6) {\r\n return failure;\r\n }\r\n\r\n let numbersSeen = 0;\r\n\r\n while (input[pointer] !== undefined) {\r\n let ipv4Piece = null;\r\n\r\n if (numbersSeen > 0) {\r\n if (input[pointer] === 46 && numbersSeen < 4) {\r\n ++pointer;\r\n } else {\r\n return failure;\r\n }\r\n }\r\n\r\n if (!isASCIIDigit(input[pointer])) {\r\n return failure;\r\n }\r\n\r\n while (isASCIIDigit(input[pointer])) {\r\n const number = parseInt(at(input, pointer));\r\n if (ipv4Piece === null) {\r\n ipv4Piece = number;\r\n } else if (ipv4Piece === 0) {\r\n return failure;\r\n } else {\r\n ipv4Piece = ipv4Piece * 10 + number;\r\n }\r\n if (ipv4Piece > 255) {\r\n return failure;\r\n }\r\n ++pointer;\r\n }\r\n\r\n address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece;\r\n\r\n ++numbersSeen;\r\n\r\n if (numbersSeen === 2 || numbersSeen === 4) {\r\n ++pieceIndex;\r\n }\r\n }\r\n\r\n if (numbersSeen !== 4) {\r\n return failure;\r\n }\r\n\r\n break;\r\n } else if (input[pointer] === 58) {\r\n ++pointer;\r\n if (input[pointer] === undefined) {\r\n return failure;\r\n }\r\n } else if (input[pointer] !== undefined) {\r\n return failure;\r\n }\r\n\r\n address[pieceIndex] = value;\r\n ++pieceIndex;\r\n }\r\n\r\n if (compress !== null) {\r\n let swaps = pieceIndex - compress;\r\n pieceIndex = 7;\r\n while (pieceIndex !== 0 && swaps > 0) {\r\n const temp = address[compress + swaps - 1];\r\n address[compress + swaps - 1] = address[pieceIndex];\r\n address[pieceIndex] = temp;\r\n --pieceIndex;\r\n --swaps;\r\n }\r\n } else if (compress === null && pieceIndex !== 8) {\r\n return failure;\r\n }\r\n\r\n return address;\r\n}\r\n\r\nfunction serializeIPv6(address) {\r\n let output = \"\";\r\n const seqResult = findLongestZeroSequence(address);\r\n const compress = seqResult.idx;\r\n let ignore0 = false;\r\n\r\n for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) {\r\n if (ignore0 && address[pieceIndex] === 0) {\r\n continue;\r\n } else if (ignore0) {\r\n ignore0 = false;\r\n }\r\n\r\n if (compress === pieceIndex) {\r\n const separator = pieceIndex === 0 ? \"::\" : \":\";\r\n output += separator;\r\n ignore0 = true;\r\n continue;\r\n }\r\n\r\n output += address[pieceIndex].toString(16);\r\n\r\n if (pieceIndex !== 7) {\r\n output += \":\";\r\n }\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction parseHost(input, isSpecialArg) {\r\n if (input[0] === \"[\") {\r\n if (input[input.length - 1] !== \"]\") {\r\n return failure;\r\n }\r\n\r\n return parseIPv6(input.substring(1, input.length - 1));\r\n }\r\n\r\n if (!isSpecialArg) {\r\n return parseOpaqueHost(input);\r\n }\r\n\r\n const domain = utf8PercentDecode(input);\r\n const asciiDomain = tr46.toASCII(domain, false, tr46.PROCESSING_OPTIONS.NONTRANSITIONAL, false);\r\n if (asciiDomain === null) {\r\n return failure;\r\n }\r\n\r\n if (containsForbiddenHostCodePoint(asciiDomain)) {\r\n return failure;\r\n }\r\n\r\n const ipv4Host = parseIPv4(asciiDomain);\r\n if (typeof ipv4Host === \"number\" || ipv4Host === failure) {\r\n return ipv4Host;\r\n }\r\n\r\n return asciiDomain;\r\n}\r\n\r\nfunction parseOpaqueHost(input) {\r\n if (containsForbiddenHostCodePointExcludingPercent(input)) {\r\n return failure;\r\n }\r\n\r\n let output = \"\";\r\n const decoded = punycode.ucs2.decode(input);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n output += percentEncodeChar(decoded[i], isC0ControlPercentEncode);\r\n }\r\n return output;\r\n}\r\n\r\nfunction findLongestZeroSequence(arr) {\r\n let maxIdx = null;\r\n let maxLen = 1; // only find elements > 1\r\n let currStart = null;\r\n let currLen = 0;\r\n\r\n for (let i = 0; i < arr.length; ++i) {\r\n if (arr[i] !== 0) {\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n currStart = null;\r\n currLen = 0;\r\n } else {\r\n if (currStart === null) {\r\n currStart = i;\r\n }\r\n ++currLen;\r\n }\r\n }\r\n\r\n // if trailing zeros\r\n if (currLen > maxLen) {\r\n maxIdx = currStart;\r\n maxLen = currLen;\r\n }\r\n\r\n return {\r\n idx: maxIdx,\r\n len: maxLen\r\n };\r\n}\r\n\r\nfunction serializeHost(host) {\r\n if (typeof host === \"number\") {\r\n return serializeIPv4(host);\r\n }\r\n\r\n // IPv6 serializer\r\n if (host instanceof Array) {\r\n return \"[\" + serializeIPv6(host) + \"]\";\r\n }\r\n\r\n return host;\r\n}\r\n\r\nfunction trimControlChars(url) {\r\n return url.replace(/^[\\u0000-\\u001F\\u0020]+|[\\u0000-\\u001F\\u0020]+$/g, \"\");\r\n}\r\n\r\nfunction trimTabAndNewline(url) {\r\n return url.replace(/\\u0009|\\u000A|\\u000D/g, \"\");\r\n}\r\n\r\nfunction shortenPath(url) {\r\n const path = url.path;\r\n if (path.length === 0) {\r\n return;\r\n }\r\n if (url.scheme === \"file\" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) {\r\n return;\r\n }\r\n\r\n path.pop();\r\n}\r\n\r\nfunction includesCredentials(url) {\r\n return url.username !== \"\" || url.password !== \"\";\r\n}\r\n\r\nfunction cannotHaveAUsernamePasswordPort(url) {\r\n return url.host === null || url.host === \"\" || url.cannotBeABaseURL || url.scheme === \"file\";\r\n}\r\n\r\nfunction isNormalizedWindowsDriveLetter(string) {\r\n return /^[A-Za-z]:$/.test(string);\r\n}\r\n\r\nfunction URLStateMachine(input, base, encodingOverride, url, stateOverride) {\r\n this.pointer = 0;\r\n this.input = input;\r\n this.base = base || null;\r\n this.encodingOverride = encodingOverride || \"utf-8\";\r\n this.stateOverride = stateOverride;\r\n this.url = url;\r\n this.failure = false;\r\n this.parseError = false;\r\n\r\n if (!this.url) {\r\n this.url = {\r\n scheme: \"\",\r\n username: \"\",\r\n password: \"\",\r\n host: null,\r\n port: null,\r\n path: [],\r\n query: null,\r\n fragment: null,\r\n\r\n cannotBeABaseURL: false\r\n };\r\n\r\n const res = trimControlChars(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n }\r\n\r\n const res = trimTabAndNewline(this.input);\r\n if (res !== this.input) {\r\n this.parseError = true;\r\n }\r\n this.input = res;\r\n\r\n this.state = stateOverride || \"scheme start\";\r\n\r\n this.buffer = \"\";\r\n this.atFlag = false;\r\n this.arrFlag = false;\r\n this.passwordTokenSeenFlag = false;\r\n\r\n this.input = punycode.ucs2.decode(this.input);\r\n\r\n for (; this.pointer <= this.input.length; ++this.pointer) {\r\n const c = this.input[this.pointer];\r\n const cStr = isNaN(c) ? undefined : String.fromCodePoint(c);\r\n\r\n // exec state machine\r\n const ret = this[\"parse \" + this.state](c, cStr);\r\n if (!ret) {\r\n break; // terminate algorithm\r\n } else if (ret === failure) {\r\n this.failure = true;\r\n break;\r\n }\r\n }\r\n}\r\n\r\nURLStateMachine.prototype[\"parse scheme start\"] = function parseSchemeStart(c, cStr) {\r\n if (isASCIIAlpha(c)) {\r\n this.buffer += cStr.toLowerCase();\r\n this.state = \"scheme\";\r\n } else if (!this.stateOverride) {\r\n this.state = \"no scheme\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse scheme\"] = function parseScheme(c, cStr) {\r\n if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) {\r\n this.buffer += cStr.toLowerCase();\r\n } else if (c === 58) {\r\n if (this.stateOverride) {\r\n if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) {\r\n return false;\r\n }\r\n\r\n if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === \"file\") {\r\n return false;\r\n }\r\n\r\n if (this.url.scheme === \"file\" && (this.url.host === \"\" || this.url.host === null)) {\r\n return false;\r\n }\r\n }\r\n this.url.scheme = this.buffer;\r\n this.buffer = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n if (this.url.scheme === \"file\") {\r\n if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file\";\r\n } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) {\r\n this.state = \"special relative or authority\";\r\n } else if (isSpecial(this.url)) {\r\n this.state = \"special authority slashes\";\r\n } else if (this.input[this.pointer + 1] === 47) {\r\n this.state = \"path or authority\";\r\n ++this.pointer;\r\n } else {\r\n this.url.cannotBeABaseURL = true;\r\n this.url.path.push(\"\");\r\n this.state = \"cannot-be-a-base-URL path\";\r\n }\r\n } else if (!this.stateOverride) {\r\n this.buffer = \"\";\r\n this.state = \"no scheme\";\r\n this.pointer = -1;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse no scheme\"] = function parseNoScheme(c) {\r\n if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) {\r\n return failure;\r\n } else if (this.base.cannotBeABaseURL && c === 35) {\r\n this.url.scheme = this.base.scheme;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.url.cannotBeABaseURL = true;\r\n this.state = \"fragment\";\r\n } else if (this.base.scheme === \"file\") {\r\n this.state = \"file\";\r\n --this.pointer;\r\n } else {\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special relative or authority\"] = function parseSpecialRelativeOrAuthority(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"relative\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path or authority\"] = function parsePathOrAuthority(c) {\r\n if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative\"] = function parseRelative(c) {\r\n this.url.scheme = this.base.scheme;\r\n if (isNaN(c)) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 47) {\r\n this.state = \"relative slash\";\r\n } else if (c === 63) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n this.state = \"relative slash\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.url.path = this.base.path.slice(0, this.base.path.length - 1);\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse relative slash\"] = function parseRelativeSlash(c) {\r\n if (isSpecial(this.url) && (c === 47 || c === 92)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"special authority ignore slashes\";\r\n } else if (c === 47) {\r\n this.state = \"authority\";\r\n } else {\r\n this.url.username = this.base.username;\r\n this.url.password = this.base.password;\r\n this.url.host = this.base.host;\r\n this.url.port = this.base.port;\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority slashes\"] = function parseSpecialAuthoritySlashes(c) {\r\n if (c === 47 && this.input[this.pointer + 1] === 47) {\r\n this.state = \"special authority ignore slashes\";\r\n ++this.pointer;\r\n } else {\r\n this.parseError = true;\r\n this.state = \"special authority ignore slashes\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse special authority ignore slashes\"] = function parseSpecialAuthorityIgnoreSlashes(c) {\r\n if (c !== 47 && c !== 92) {\r\n this.state = \"authority\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse authority\"] = function parseAuthority(c, cStr) {\r\n if (c === 64) {\r\n this.parseError = true;\r\n if (this.atFlag) {\r\n this.buffer = \"%40\" + this.buffer;\r\n }\r\n this.atFlag = true;\r\n\r\n // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars\r\n const len = countSymbols(this.buffer);\r\n for (let pointer = 0; pointer < len; ++pointer) {\r\n const codePoint = this.buffer.codePointAt(pointer);\r\n\r\n if (codePoint === 58 && !this.passwordTokenSeenFlag) {\r\n this.passwordTokenSeenFlag = true;\r\n continue;\r\n }\r\n const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode);\r\n if (this.passwordTokenSeenFlag) {\r\n this.url.password += encodedCodePoints;\r\n } else {\r\n this.url.username += encodedCodePoints;\r\n }\r\n }\r\n this.buffer = \"\";\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n if (this.atFlag && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.pointer -= countSymbols(this.buffer) + 1;\r\n this.buffer = \"\";\r\n this.state = \"host\";\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse hostname\"] =\r\nURLStateMachine.prototype[\"parse host\"] = function parseHostName(c, cStr) {\r\n if (this.stateOverride && this.url.scheme === \"file\") {\r\n --this.pointer;\r\n this.state = \"file host\";\r\n } else if (c === 58 && !this.arrFlag) {\r\n if (this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"port\";\r\n if (this.stateOverride === \"hostname\") {\r\n return false;\r\n }\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92)) {\r\n --this.pointer;\r\n if (isSpecial(this.url) && this.buffer === \"\") {\r\n this.parseError = true;\r\n return failure;\r\n } else if (this.stateOverride && this.buffer === \"\" &&\r\n (includesCredentials(this.url) || this.url.port !== null)) {\r\n this.parseError = true;\r\n return false;\r\n }\r\n\r\n const host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n\r\n this.url.host = host;\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n } else {\r\n if (c === 91) {\r\n this.arrFlag = true;\r\n } else if (c === 93) {\r\n this.arrFlag = false;\r\n }\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse port\"] = function parsePort(c, cStr) {\r\n if (isASCIIDigit(c)) {\r\n this.buffer += cStr;\r\n } else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||\r\n (isSpecial(this.url) && c === 92) ||\r\n this.stateOverride) {\r\n if (this.buffer !== \"\") {\r\n const port = parseInt(this.buffer);\r\n if (port > Math.pow(2, 16) - 1) {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n this.url.port = port === defaultPort(this.url.scheme) ? null : port;\r\n this.buffer = \"\";\r\n }\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n --this.pointer;\r\n } else {\r\n this.parseError = true;\r\n return failure;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nconst fileOtherwiseCodePoints = new Set([47, 92, 63, 35]);\r\n\r\nURLStateMachine.prototype[\"parse file\"] = function parseFile(c) {\r\n this.url.scheme = \"file\";\r\n\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file slash\";\r\n } else if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNaN(c)) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n } else if (c === 63) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n this.url.query = this.base.query;\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points\r\n !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) ||\r\n (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points\r\n !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) {\r\n this.url.host = this.base.host;\r\n this.url.path = this.base.path.slice();\r\n shortenPath(this.url);\r\n } else {\r\n this.parseError = true;\r\n }\r\n\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n } else {\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file slash\"] = function parseFileSlash(c) {\r\n if (c === 47 || c === 92) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"file host\";\r\n } else {\r\n if (this.base !== null && this.base.scheme === \"file\") {\r\n if (isNormalizedWindowsDriveLetterString(this.base.path[0])) {\r\n this.url.path.push(this.base.path[0]);\r\n } else {\r\n this.url.host = this.base.host;\r\n }\r\n }\r\n this.state = \"path\";\r\n --this.pointer;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse file host\"] = function parseFileHost(c, cStr) {\r\n if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) {\r\n --this.pointer;\r\n if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) {\r\n this.parseError = true;\r\n this.state = \"path\";\r\n } else if (this.buffer === \"\") {\r\n this.url.host = \"\";\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n this.state = \"path start\";\r\n } else {\r\n let host = parseHost(this.buffer, isSpecial(this.url));\r\n if (host === failure) {\r\n return failure;\r\n }\r\n if (host === \"localhost\") {\r\n host = \"\";\r\n }\r\n this.url.host = host;\r\n\r\n if (this.stateOverride) {\r\n return false;\r\n }\r\n\r\n this.buffer = \"\";\r\n this.state = \"path start\";\r\n }\r\n } else {\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path start\"] = function parsePathStart(c) {\r\n if (isSpecial(this.url)) {\r\n if (c === 92) {\r\n this.parseError = true;\r\n }\r\n this.state = \"path\";\r\n\r\n if (c !== 47 && c !== 92) {\r\n --this.pointer;\r\n }\r\n } else if (!this.stateOverride && c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (!this.stateOverride && c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else if (c !== undefined) {\r\n this.state = \"path\";\r\n if (c !== 47) {\r\n --this.pointer;\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse path\"] = function parsePath(c) {\r\n if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) ||\r\n (!this.stateOverride && (c === 63 || c === 35))) {\r\n if (isSpecial(this.url) && c === 92) {\r\n this.parseError = true;\r\n }\r\n\r\n if (isDoubleDot(this.buffer)) {\r\n shortenPath(this.url);\r\n if (c !== 47 && !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n }\r\n } else if (isSingleDot(this.buffer) && c !== 47 &&\r\n !(isSpecial(this.url) && c === 92)) {\r\n this.url.path.push(\"\");\r\n } else if (!isSingleDot(this.buffer)) {\r\n if (this.url.scheme === \"file\" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) {\r\n if (this.url.host !== \"\" && this.url.host !== null) {\r\n this.parseError = true;\r\n this.url.host = \"\";\r\n }\r\n this.buffer = this.buffer[0] + \":\";\r\n }\r\n this.url.path.push(this.buffer);\r\n }\r\n this.buffer = \"\";\r\n if (this.url.scheme === \"file\" && (c === undefined || c === 63 || c === 35)) {\r\n while (this.url.path.length > 1 && this.url.path[0] === \"\") {\r\n this.parseError = true;\r\n this.url.path.shift();\r\n }\r\n }\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n }\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += percentEncodeChar(c, isPathPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse cannot-be-a-base-URL path\"] = function parseCannotBeABaseURLPath(c) {\r\n if (c === 63) {\r\n this.url.query = \"\";\r\n this.state = \"query\";\r\n } else if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n } else {\r\n // TODO: Add: not a URL code point\r\n if (!isNaN(c) && c !== 37) {\r\n this.parseError = true;\r\n }\r\n\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n if (!isNaN(c)) {\r\n this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse query\"] = function parseQuery(c, cStr) {\r\n if (isNaN(c) || (!this.stateOverride && c === 35)) {\r\n if (!isSpecial(this.url) || this.url.scheme === \"ws\" || this.url.scheme === \"wss\") {\r\n this.encodingOverride = \"utf-8\";\r\n }\r\n\r\n const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead\r\n for (let i = 0; i < buffer.length; ++i) {\r\n if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 ||\r\n buffer[i] === 0x3C || buffer[i] === 0x3E) {\r\n this.url.query += percentEncode(buffer[i]);\r\n } else {\r\n this.url.query += String.fromCodePoint(buffer[i]);\r\n }\r\n }\r\n\r\n this.buffer = \"\";\r\n if (c === 35) {\r\n this.url.fragment = \"\";\r\n this.state = \"fragment\";\r\n }\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.buffer += cStr;\r\n }\r\n\r\n return true;\r\n};\r\n\r\nURLStateMachine.prototype[\"parse fragment\"] = function parseFragment(c) {\r\n if (isNaN(c)) { // do nothing\r\n } else if (c === 0x0) {\r\n this.parseError = true;\r\n } else {\r\n // TODO: If c is not a URL code point and not \"%\", parse error.\r\n if (c === 37 &&\r\n (!isASCIIHex(this.input[this.pointer + 1]) ||\r\n !isASCIIHex(this.input[this.pointer + 2]))) {\r\n this.parseError = true;\r\n }\r\n\r\n this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode);\r\n }\r\n\r\n return true;\r\n};\r\n\r\nfunction serializeURL(url, excludeFragment) {\r\n let output = url.scheme + \":\";\r\n if (url.host !== null) {\r\n output += \"//\";\r\n\r\n if (url.username !== \"\" || url.password !== \"\") {\r\n output += url.username;\r\n if (url.password !== \"\") {\r\n output += \":\" + url.password;\r\n }\r\n output += \"@\";\r\n }\r\n\r\n output += serializeHost(url.host);\r\n\r\n if (url.port !== null) {\r\n output += \":\" + url.port;\r\n }\r\n } else if (url.host === null && url.scheme === \"file\") {\r\n output += \"//\";\r\n }\r\n\r\n if (url.cannotBeABaseURL) {\r\n output += url.path[0];\r\n } else {\r\n for (const string of url.path) {\r\n output += \"/\" + string;\r\n }\r\n }\r\n\r\n if (url.query !== null) {\r\n output += \"?\" + url.query;\r\n }\r\n\r\n if (!excludeFragment && url.fragment !== null) {\r\n output += \"#\" + url.fragment;\r\n }\r\n\r\n return output;\r\n}\r\n\r\nfunction serializeOrigin(tuple) {\r\n let result = tuple.scheme + \"://\";\r\n result += serializeHost(tuple.host);\r\n\r\n if (tuple.port !== null) {\r\n result += \":\" + tuple.port;\r\n }\r\n\r\n return result;\r\n}\r\n\r\nmodule.exports.serializeURL = serializeURL;\r\n\r\nmodule.exports.serializeURLOrigin = function (url) {\r\n // https://url.spec.whatwg.org/#concept-url-origin\r\n switch (url.scheme) {\r\n case \"blob\":\r\n try {\r\n return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0]));\r\n } catch (e) {\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n case \"ftp\":\r\n case \"gopher\":\r\n case \"http\":\r\n case \"https\":\r\n case \"ws\":\r\n case \"wss\":\r\n return serializeOrigin({\r\n scheme: url.scheme,\r\n host: url.host,\r\n port: url.port\r\n });\r\n case \"file\":\r\n // spec says \"exercise to the reader\", chrome says \"file://\"\r\n return \"file://\";\r\n default:\r\n // serializing an opaque origin returns \"null\"\r\n return \"null\";\r\n }\r\n};\r\n\r\nmodule.exports.basicURLParse = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride);\r\n if (usm.failure) {\r\n return \"failure\";\r\n }\r\n\r\n return usm.url;\r\n};\r\n\r\nmodule.exports.setTheUsername = function (url, username) {\r\n url.username = \"\";\r\n const decoded = punycode.ucs2.decode(username);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.setThePassword = function (url, password) {\r\n url.password = \"\";\r\n const decoded = punycode.ucs2.decode(password);\r\n for (let i = 0; i < decoded.length; ++i) {\r\n url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode);\r\n }\r\n};\r\n\r\nmodule.exports.serializeHost = serializeHost;\r\n\r\nmodule.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort;\r\n\r\nmodule.exports.serializeInteger = function (integer) {\r\n return String(integer);\r\n};\r\n\r\nmodule.exports.parseURL = function (input, options) {\r\n if (options === undefined) {\r\n options = {};\r\n }\r\n\r\n // We don't handle blobs, so this just delegates:\r\n return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride });\r\n};\r\n","\"use strict\";\n\nmodule.exports.mixin = function mixin(target, source) {\n const keys = Object.getOwnPropertyNames(source);\n for (let i = 0; i < keys.length; ++i) {\n Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));\n }\n};\n\nmodule.exports.wrapperSymbol = Symbol(\"wrapper\");\nmodule.exports.implSymbol = Symbol(\"impl\");\n\nmodule.exports.wrapperForImpl = function (impl) {\n return impl[module.exports.wrapperSymbol];\n};\n\nmodule.exports.implForWrapper = function (wrapper) {\n return wrapper[module.exports.implSymbol];\n};\n\n","/**\n * Advanced Encryption Standard (AES) implementation.\n *\n * This implementation is based on the public domain library 'jscrypto' which\n * was written by:\n *\n * Emily Stark (estark@stanford.edu)\n * Mike Hamburg (mhamburg@stanford.edu)\n * Dan Boneh (dabo@cs.stanford.edu)\n *\n * Parts of this code are based on the OpenSSL implementation of AES:\n * http://www.openssl.org\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./cipher');\nrequire('./cipherModes');\nrequire('./util');\n\n/* AES API */\nmodule.exports = forge.aes = forge.aes || {};\n\n/**\n * Deprecated. Instead, use:\n *\n * var cipher = forge.cipher.createCipher('AES-', key);\n * cipher.start({iv: iv});\n *\n * Creates an AES cipher object to encrypt data using the given symmetric key.\n * The output will be stored in the 'output' member of the returned cipher.\n *\n * The key and iv may be given as a string of bytes, an array of bytes,\n * a byte buffer, or an array of 32-bit words.\n *\n * @param key the symmetric key to use.\n * @param iv the initialization vector to use.\n * @param output the buffer to write to, null to create one.\n * @param mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nforge.aes.startEncrypting = function(key, iv, output, mode) {\n var cipher = _createCipher({\n key: key,\n output: output,\n decrypt: false,\n mode: mode\n });\n cipher.start(iv);\n return cipher;\n};\n\n/**\n * Deprecated. Instead, use:\n *\n * var cipher = forge.cipher.createCipher('AES-', key);\n *\n * Creates an AES cipher object to encrypt data using the given symmetric key.\n *\n * The key may be given as a string of bytes, an array of bytes, a\n * byte buffer, or an array of 32-bit words.\n *\n * @param key the symmetric key to use.\n * @param mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nforge.aes.createEncryptionCipher = function(key, mode) {\n return _createCipher({\n key: key,\n output: null,\n decrypt: false,\n mode: mode\n });\n};\n\n/**\n * Deprecated. Instead, use:\n *\n * var decipher = forge.cipher.createDecipher('AES-', key);\n * decipher.start({iv: iv});\n *\n * Creates an AES cipher object to decrypt data using the given symmetric key.\n * The output will be stored in the 'output' member of the returned cipher.\n *\n * The key and iv may be given as a string of bytes, an array of bytes,\n * a byte buffer, or an array of 32-bit words.\n *\n * @param key the symmetric key to use.\n * @param iv the initialization vector to use.\n * @param output the buffer to write to, null to create one.\n * @param mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nforge.aes.startDecrypting = function(key, iv, output, mode) {\n var cipher = _createCipher({\n key: key,\n output: output,\n decrypt: true,\n mode: mode\n });\n cipher.start(iv);\n return cipher;\n};\n\n/**\n * Deprecated. Instead, use:\n *\n * var decipher = forge.cipher.createDecipher('AES-', key);\n *\n * Creates an AES cipher object to decrypt data using the given symmetric key.\n *\n * The key may be given as a string of bytes, an array of bytes, a\n * byte buffer, or an array of 32-bit words.\n *\n * @param key the symmetric key to use.\n * @param mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nforge.aes.createDecryptionCipher = function(key, mode) {\n return _createCipher({\n key: key,\n output: null,\n decrypt: true,\n mode: mode\n });\n};\n\n/**\n * Creates a new AES cipher algorithm object.\n *\n * @param name the name of the algorithm.\n * @param mode the mode factory function.\n *\n * @return the AES algorithm object.\n */\nforge.aes.Algorithm = function(name, mode) {\n if(!init) {\n initialize();\n }\n var self = this;\n self.name = name;\n self.mode = new mode({\n blockSize: 16,\n cipher: {\n encrypt: function(inBlock, outBlock) {\n return _updateBlock(self._w, inBlock, outBlock, false);\n },\n decrypt: function(inBlock, outBlock) {\n return _updateBlock(self._w, inBlock, outBlock, true);\n }\n }\n });\n self._init = false;\n};\n\n/**\n * Initializes this AES algorithm by expanding its key.\n *\n * @param options the options to use.\n * key the key to use with this algorithm.\n * decrypt true if the algorithm should be initialized for decryption,\n * false for encryption.\n */\nforge.aes.Algorithm.prototype.initialize = function(options) {\n if(this._init) {\n return;\n }\n\n var key = options.key;\n var tmp;\n\n /* Note: The key may be a string of bytes, an array of bytes, a byte\n buffer, or an array of 32-bit integers. If the key is in bytes, then\n it must be 16, 24, or 32 bytes in length. If it is in 32-bit\n integers, it must be 4, 6, or 8 integers long. */\n\n if(typeof key === 'string' &&\n (key.length === 16 || key.length === 24 || key.length === 32)) {\n // convert key string into byte buffer\n key = forge.util.createBuffer(key);\n } else if(forge.util.isArray(key) &&\n (key.length === 16 || key.length === 24 || key.length === 32)) {\n // convert key integer array into byte buffer\n tmp = key;\n key = forge.util.createBuffer();\n for(var i = 0; i < tmp.length; ++i) {\n key.putByte(tmp[i]);\n }\n }\n\n // convert key byte buffer into 32-bit integer array\n if(!forge.util.isArray(key)) {\n tmp = key;\n key = [];\n\n // key lengths of 16, 24, 32 bytes allowed\n var len = tmp.length();\n if(len === 16 || len === 24 || len === 32) {\n len = len >>> 2;\n for(var i = 0; i < len; ++i) {\n key.push(tmp.getInt32());\n }\n }\n }\n\n // key must be an array of 32-bit integers by now\n if(!forge.util.isArray(key) ||\n !(key.length === 4 || key.length === 6 || key.length === 8)) {\n throw new Error('Invalid key parameter.');\n }\n\n // encryption operation is always used for these modes\n var mode = this.mode.name;\n var encryptOp = (['CFB', 'OFB', 'CTR', 'GCM'].indexOf(mode) !== -1);\n\n // do key expansion\n this._w = _expandKey(key, options.decrypt && !encryptOp);\n this._init = true;\n};\n\n/**\n * Expands a key. Typically only used for testing.\n *\n * @param key the symmetric key to expand, as an array of 32-bit words.\n * @param decrypt true to expand for decryption, false for encryption.\n *\n * @return the expanded key.\n */\nforge.aes._expandKey = function(key, decrypt) {\n if(!init) {\n initialize();\n }\n return _expandKey(key, decrypt);\n};\n\n/**\n * Updates a single block. Typically only used for testing.\n *\n * @param w the expanded key to use.\n * @param input an array of block-size 32-bit words.\n * @param output an array of block-size 32-bit words.\n * @param decrypt true to decrypt, false to encrypt.\n */\nforge.aes._updateBlock = _updateBlock;\n\n/** Register AES algorithms **/\n\nregisterAlgorithm('AES-ECB', forge.cipher.modes.ecb);\nregisterAlgorithm('AES-CBC', forge.cipher.modes.cbc);\nregisterAlgorithm('AES-CFB', forge.cipher.modes.cfb);\nregisterAlgorithm('AES-OFB', forge.cipher.modes.ofb);\nregisterAlgorithm('AES-CTR', forge.cipher.modes.ctr);\nregisterAlgorithm('AES-GCM', forge.cipher.modes.gcm);\n\nfunction registerAlgorithm(name, mode) {\n var factory = function() {\n return new forge.aes.Algorithm(name, mode);\n };\n forge.cipher.registerAlgorithm(name, factory);\n}\n\n/** AES implementation **/\n\nvar init = false; // not yet initialized\nvar Nb = 4; // number of words comprising the state (AES = 4)\nvar sbox; // non-linear substitution table used in key expansion\nvar isbox; // inversion of sbox\nvar rcon; // round constant word array\nvar mix; // mix-columns table\nvar imix; // inverse mix-columns table\n\n/**\n * Performs initialization, ie: precomputes tables to optimize for speed.\n *\n * One way to understand how AES works is to imagine that 'addition' and\n * 'multiplication' are interfaces that require certain mathematical\n * properties to hold true (ie: they are associative) but they might have\n * different implementations and produce different kinds of results ...\n * provided that their mathematical properties remain true. AES defines\n * its own methods of addition and multiplication but keeps some important\n * properties the same, ie: associativity and distributivity. The\n * explanation below tries to shed some light on how AES defines addition\n * and multiplication of bytes and 32-bit words in order to perform its\n * encryption and decryption algorithms.\n *\n * The basics:\n *\n * The AES algorithm views bytes as binary representations of polynomials\n * that have either 1 or 0 as the coefficients. It defines the addition\n * or subtraction of two bytes as the XOR operation. It also defines the\n * multiplication of two bytes as a finite field referred to as GF(2^8)\n * (Note: 'GF' means \"Galois Field\" which is a field that contains a finite\n * number of elements so GF(2^8) has 256 elements).\n *\n * This means that any two bytes can be represented as binary polynomials;\n * when they multiplied together and modularly reduced by an irreducible\n * polynomial of the 8th degree, the results are the field GF(2^8). The\n * specific irreducible polynomial that AES uses in hexadecimal is 0x11b.\n * This multiplication is associative with 0x01 as the identity:\n *\n * (b * 0x01 = GF(b, 0x01) = b).\n *\n * The operation GF(b, 0x02) can be performed at the byte level by left\n * shifting b once and then XOR'ing it (to perform the modular reduction)\n * with 0x11b if b is >= 128. Repeated application of the multiplication\n * of 0x02 can be used to implement the multiplication of any two bytes.\n *\n * For instance, multiplying 0x57 and 0x13, denoted as GF(0x57, 0x13), can\n * be performed by factoring 0x13 into 0x01, 0x02, and 0x10. Then these\n * factors can each be multiplied by 0x57 and then added together. To do\n * the multiplication, values for 0x57 multiplied by each of these 3 factors\n * can be precomputed and stored in a table. To add them, the values from\n * the table are XOR'd together.\n *\n * AES also defines addition and multiplication of words, that is 4-byte\n * numbers represented as polynomials of 3 degrees where the coefficients\n * are the values of the bytes.\n *\n * The word [a0, a1, a2, a3] is a polynomial a3x^3 + a2x^2 + a1x + a0.\n *\n * Addition is performed by XOR'ing like powers of x. Multiplication\n * is performed in two steps, the first is an algebriac expansion as\n * you would do normally (where addition is XOR). But the result is\n * a polynomial larger than 3 degrees and thus it cannot fit in a word. So\n * next the result is modularly reduced by an AES-specific polynomial of\n * degree 4 which will always produce a polynomial of less than 4 degrees\n * such that it will fit in a word. In AES, this polynomial is x^4 + 1.\n *\n * The modular product of two polynomials 'a' and 'b' is thus:\n *\n * d(x) = d3x^3 + d2x^2 + d1x + d0\n * with\n * d0 = GF(a0, b0) ^ GF(a3, b1) ^ GF(a2, b2) ^ GF(a1, b3)\n * d1 = GF(a1, b0) ^ GF(a0, b1) ^ GF(a3, b2) ^ GF(a2, b3)\n * d2 = GF(a2, b0) ^ GF(a1, b1) ^ GF(a0, b2) ^ GF(a3, b3)\n * d3 = GF(a3, b0) ^ GF(a2, b1) ^ GF(a1, b2) ^ GF(a0, b3)\n *\n * As a matrix:\n *\n * [d0] = [a0 a3 a2 a1][b0]\n * [d1] [a1 a0 a3 a2][b1]\n * [d2] [a2 a1 a0 a3][b2]\n * [d3] [a3 a2 a1 a0][b3]\n *\n * Special polynomials defined by AES (0x02 == {02}):\n * a(x) = {03}x^3 + {01}x^2 + {01}x + {02}\n * a^-1(x) = {0b}x^3 + {0d}x^2 + {09}x + {0e}.\n *\n * These polynomials are used in the MixColumns() and InverseMixColumns()\n * operations, respectively, to cause each element in the state to affect\n * the output (referred to as diffusing).\n *\n * RotWord() uses: a0 = a1 = a2 = {00} and a3 = {01}, which is the\n * polynomial x3.\n *\n * The ShiftRows() method modifies the last 3 rows in the state (where\n * the state is 4 words with 4 bytes per word) by shifting bytes cyclically.\n * The 1st byte in the second row is moved to the end of the row. The 1st\n * and 2nd bytes in the third row are moved to the end of the row. The 1st,\n * 2nd, and 3rd bytes are moved in the fourth row.\n *\n * More details on how AES arithmetic works:\n *\n * In the polynomial representation of binary numbers, XOR performs addition\n * and subtraction and multiplication in GF(2^8) denoted as GF(a, b)\n * corresponds with the multiplication of polynomials modulo an irreducible\n * polynomial of degree 8. In other words, for AES, GF(a, b) will multiply\n * polynomial 'a' with polynomial 'b' and then do a modular reduction by\n * an AES-specific irreducible polynomial of degree 8.\n *\n * A polynomial is irreducible if its only divisors are one and itself. For\n * the AES algorithm, this irreducible polynomial is:\n *\n * m(x) = x^8 + x^4 + x^3 + x + 1,\n *\n * or {01}{1b} in hexadecimal notation, where each coefficient is a bit:\n * 100011011 = 283 = 0x11b.\n *\n * For example, GF(0x57, 0x83) = 0xc1 because\n *\n * 0x57 = 87 = 01010111 = x^6 + x^4 + x^2 + x + 1\n * 0x85 = 131 = 10000101 = x^7 + x + 1\n *\n * (x^6 + x^4 + x^2 + x + 1) * (x^7 + x + 1)\n * = x^13 + x^11 + x^9 + x^8 + x^7 +\n * x^7 + x^5 + x^3 + x^2 + x +\n * x^6 + x^4 + x^2 + x + 1\n * = x^13 + x^11 + x^9 + x^8 + x^6 + x^5 + x^4 + x^3 + 1 = y\n * y modulo (x^8 + x^4 + x^3 + x + 1)\n * = x^7 + x^6 + 1.\n *\n * The modular reduction by m(x) guarantees the result will be a binary\n * polynomial of less than degree 8, so that it can fit in a byte.\n *\n * The operation to multiply a binary polynomial b with x (the polynomial\n * x in binary representation is 00000010) is:\n *\n * b_7x^8 + b_6x^7 + b_5x^6 + b_4x^5 + b_3x^4 + b_2x^3 + b_1x^2 + b_0x^1\n *\n * To get GF(b, x) we must reduce that by m(x). If b_7 is 0 (that is the\n * most significant bit is 0 in b) then the result is already reduced. If\n * it is 1, then we can reduce it by subtracting m(x) via an XOR.\n *\n * It follows that multiplication by x (00000010 or 0x02) can be implemented\n * by performing a left shift followed by a conditional bitwise XOR with\n * 0x1b. This operation on bytes is denoted by xtime(). Multiplication by\n * higher powers of x can be implemented by repeated application of xtime().\n *\n * By adding intermediate results, multiplication by any constant can be\n * implemented. For instance:\n *\n * GF(0x57, 0x13) = 0xfe because:\n *\n * xtime(b) = (b & 128) ? (b << 1 ^ 0x11b) : (b << 1)\n *\n * Note: We XOR with 0x11b instead of 0x1b because in javascript our\n * datatype for b can be larger than 1 byte, so a left shift will not\n * automatically eliminate bits that overflow a byte ... by XOR'ing the\n * overflow bit with 1 (the extra one from 0x11b) we zero it out.\n *\n * GF(0x57, 0x02) = xtime(0x57) = 0xae\n * GF(0x57, 0x04) = xtime(0xae) = 0x47\n * GF(0x57, 0x08) = xtime(0x47) = 0x8e\n * GF(0x57, 0x10) = xtime(0x8e) = 0x07\n *\n * GF(0x57, 0x13) = GF(0x57, (0x01 ^ 0x02 ^ 0x10))\n *\n * And by the distributive property (since XOR is addition and GF() is\n * multiplication):\n *\n * = GF(0x57, 0x01) ^ GF(0x57, 0x02) ^ GF(0x57, 0x10)\n * = 0x57 ^ 0xae ^ 0x07\n * = 0xfe.\n */\nfunction initialize() {\n init = true;\n\n /* Populate the Rcon table. These are the values given by\n [x^(i-1),{00},{00},{00}] where x^(i-1) are powers of x (and x = 0x02)\n in the field of GF(2^8), where i starts at 1.\n\n rcon[0] = [0x00, 0x00, 0x00, 0x00]\n rcon[1] = [0x01, 0x00, 0x00, 0x00] 2^(1-1) = 2^0 = 1\n rcon[2] = [0x02, 0x00, 0x00, 0x00] 2^(2-1) = 2^1 = 2\n ...\n rcon[9] = [0x1B, 0x00, 0x00, 0x00] 2^(9-1) = 2^8 = 0x1B\n rcon[10] = [0x36, 0x00, 0x00, 0x00] 2^(10-1) = 2^9 = 0x36\n\n We only store the first byte because it is the only one used.\n */\n rcon = [0x00, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1B, 0x36];\n\n // compute xtime table which maps i onto GF(i, 0x02)\n var xtime = new Array(256);\n for(var i = 0; i < 128; ++i) {\n xtime[i] = i << 1;\n xtime[i + 128] = (i + 128) << 1 ^ 0x11B;\n }\n\n // compute all other tables\n sbox = new Array(256);\n isbox = new Array(256);\n mix = new Array(4);\n imix = new Array(4);\n for(var i = 0; i < 4; ++i) {\n mix[i] = new Array(256);\n imix[i] = new Array(256);\n }\n var e = 0, ei = 0, e2, e4, e8, sx, sx2, me, ime;\n for(var i = 0; i < 256; ++i) {\n /* We need to generate the SubBytes() sbox and isbox tables so that\n we can perform byte substitutions. This requires us to traverse\n all of the elements in GF, find their multiplicative inverses,\n and apply to each the following affine transformation:\n\n bi' = bi ^ b(i + 4) mod 8 ^ b(i + 5) mod 8 ^ b(i + 6) mod 8 ^\n b(i + 7) mod 8 ^ ci\n for 0 <= i < 8, where bi is the ith bit of the byte, and ci is the\n ith bit of a byte c with the value {63} or {01100011}.\n\n It is possible to traverse every possible value in a Galois field\n using what is referred to as a 'generator'. There are many\n generators (128 out of 256): 3,5,6,9,11,82 to name a few. To fully\n traverse GF we iterate 255 times, multiplying by our generator\n each time.\n\n On each iteration we can determine the multiplicative inverse for\n the current element.\n\n Suppose there is an element in GF 'e'. For a given generator 'g',\n e = g^x. The multiplicative inverse of e is g^(255 - x). It turns\n out that if use the inverse of a generator as another generator\n it will produce all of the corresponding multiplicative inverses\n at the same time. For this reason, we choose 5 as our inverse\n generator because it only requires 2 multiplies and 1 add and its\n inverse, 82, requires relatively few operations as well.\n\n In order to apply the affine transformation, the multiplicative\n inverse 'ei' of 'e' can be repeatedly XOR'd (4 times) with a\n bit-cycling of 'ei'. To do this 'ei' is first stored in 's' and\n 'x'. Then 's' is left shifted and the high bit of 's' is made the\n low bit. The resulting value is stored in 's'. Then 'x' is XOR'd\n with 's' and stored in 'x'. On each subsequent iteration the same\n operation is performed. When 4 iterations are complete, 'x' is\n XOR'd with 'c' (0x63) and the transformed value is stored in 'x'.\n For example:\n\n s = 01000001\n x = 01000001\n\n iteration 1: s = 10000010, x ^= s\n iteration 2: s = 00000101, x ^= s\n iteration 3: s = 00001010, x ^= s\n iteration 4: s = 00010100, x ^= s\n x ^= 0x63\n\n This can be done with a loop where s = (s << 1) | (s >> 7). However,\n it can also be done by using a single 16-bit (in this case 32-bit)\n number 'sx'. Since XOR is an associative operation, we can set 'sx'\n to 'ei' and then XOR it with 'sx' left-shifted 1,2,3, and 4 times.\n The most significant bits will flow into the high 8 bit positions\n and be correctly XOR'd with one another. All that remains will be\n to cycle the high 8 bits by XOR'ing them all with the lower 8 bits\n afterwards.\n\n At the same time we're populating sbox and isbox we can precompute\n the multiplication we'll need to do to do MixColumns() later.\n */\n\n // apply affine transformation\n sx = ei ^ (ei << 1) ^ (ei << 2) ^ (ei << 3) ^ (ei << 4);\n sx = (sx >> 8) ^ (sx & 255) ^ 0x63;\n\n // update tables\n sbox[e] = sx;\n isbox[sx] = e;\n\n /* Mixing columns is done using matrix multiplication. The columns\n that are to be mixed are each a single word in the current state.\n The state has Nb columns (4 columns). Therefore each column is a\n 4 byte word. So to mix the columns in a single column 'c' where\n its rows are r0, r1, r2, and r3, we use the following matrix\n multiplication:\n\n [2 3 1 1]*[r0,c]=[r'0,c]\n [1 2 3 1] [r1,c] [r'1,c]\n [1 1 2 3] [r2,c] [r'2,c]\n [3 1 1 2] [r3,c] [r'3,c]\n\n r0, r1, r2, and r3 are each 1 byte of one of the words in the\n state (a column). To do matrix multiplication for each mixed\n column c' we multiply the corresponding row from the left matrix\n with the corresponding column from the right matrix. In total, we\n get 4 equations:\n\n r0,c' = 2*r0,c + 3*r1,c + 1*r2,c + 1*r3,c\n r1,c' = 1*r0,c + 2*r1,c + 3*r2,c + 1*r3,c\n r2,c' = 1*r0,c + 1*r1,c + 2*r2,c + 3*r3,c\n r3,c' = 3*r0,c + 1*r1,c + 1*r2,c + 2*r3,c\n\n As usual, the multiplication is as previously defined and the\n addition is XOR. In order to optimize mixing columns we can store\n the multiplication results in tables. If you think of the whole\n column as a word (it might help to visualize by mentally rotating\n the equations above by counterclockwise 90 degrees) then you can\n see that it would be useful to map the multiplications performed on\n each byte (r0, r1, r2, r3) onto a word as well. For instance, we\n could map 2*r0,1*r0,1*r0,3*r0 onto a word by storing 2*r0 in the\n highest 8 bits and 3*r0 in the lowest 8 bits (with the other two\n respectively in the middle). This means that a table can be\n constructed that uses r0 as an index to the word. We can do the\n same with r1, r2, and r3, creating a total of 4 tables.\n\n To construct a full c', we can just look up each byte of c in\n their respective tables and XOR the results together.\n\n Also, to build each table we only have to calculate the word\n for 2,1,1,3 for every byte ... which we can do on each iteration\n of this loop since we will iterate over every byte. After we have\n calculated 2,1,1,3 we can get the results for the other tables\n by cycling the byte at the end to the beginning. For instance\n we can take the result of table 2,1,1,3 and produce table 3,2,1,1\n by moving the right most byte to the left most position just like\n how you can imagine the 3 moved out of 2,1,1,3 and to the front\n to produce 3,2,1,1.\n\n There is another optimization in that the same multiples of\n the current element we need in order to advance our generator\n to the next iteration can be reused in performing the 2,1,1,3\n calculation. We also calculate the inverse mix column tables,\n with e,9,d,b being the inverse of 2,1,1,3.\n\n When we're done, and we need to actually mix columns, the first\n byte of each state word should be put through mix[0] (2,1,1,3),\n the second through mix[1] (3,2,1,1) and so forth. Then they should\n be XOR'd together to produce the fully mixed column.\n */\n\n // calculate mix and imix table values\n sx2 = xtime[sx];\n e2 = xtime[e];\n e4 = xtime[e2];\n e8 = xtime[e4];\n me =\n (sx2 << 24) ^ // 2\n (sx << 16) ^ // 1\n (sx << 8) ^ // 1\n (sx ^ sx2); // 3\n ime =\n (e2 ^ e4 ^ e8) << 24 ^ // E (14)\n (e ^ e8) << 16 ^ // 9\n (e ^ e4 ^ e8) << 8 ^ // D (13)\n (e ^ e2 ^ e8); // B (11)\n // produce each of the mix tables by rotating the 2,1,1,3 value\n for(var n = 0; n < 4; ++n) {\n mix[n][e] = me;\n imix[n][sx] = ime;\n // cycle the right most byte to the left most position\n // ie: 2,1,1,3 becomes 3,2,1,1\n me = me << 24 | me >>> 8;\n ime = ime << 24 | ime >>> 8;\n }\n\n // get next element and inverse\n if(e === 0) {\n // 1 is the inverse of 1\n e = ei = 1;\n } else {\n // e = 2e + 2*2*2*(10e)) = multiply e by 82 (chosen generator)\n // ei = ei + 2*2*ei = multiply ei by 5 (inverse generator)\n e = e2 ^ xtime[xtime[xtime[e2 ^ e8]]];\n ei ^= xtime[xtime[ei]];\n }\n }\n}\n\n/**\n * Generates a key schedule using the AES key expansion algorithm.\n *\n * The AES algorithm takes the Cipher Key, K, and performs a Key Expansion\n * routine to generate a key schedule. The Key Expansion generates a total\n * of Nb*(Nr + 1) words: the algorithm requires an initial set of Nb words,\n * and each of the Nr rounds requires Nb words of key data. The resulting\n * key schedule consists of a linear array of 4-byte words, denoted [wi ],\n * with i in the range 0 <= i < Nb(Nr + 1).\n *\n * KeyExpansion(byte key[4*Nk], word w[Nb*(Nr+1)], Nk)\n * AES-128 (Nb=4, Nk=4, Nr=10)\n * AES-192 (Nb=4, Nk=6, Nr=12)\n * AES-256 (Nb=4, Nk=8, Nr=14)\n * Note: Nr=Nk+6.\n *\n * Nb is the number of columns (32-bit words) comprising the State (or\n * number of bytes in a block). For AES, Nb=4.\n *\n * @param key the key to schedule (as an array of 32-bit words).\n * @param decrypt true to modify the key schedule to decrypt, false not to.\n *\n * @return the generated key schedule.\n */\nfunction _expandKey(key, decrypt) {\n // copy the key's words to initialize the key schedule\n var w = key.slice(0);\n\n /* RotWord() will rotate a word, moving the first byte to the last\n byte's position (shifting the other bytes left).\n\n We will be getting the value of Rcon at i / Nk. 'i' will iterate\n from Nk to (Nb * Nr+1). Nk = 4 (4 byte key), Nb = 4 (4 words in\n a block), Nr = Nk + 6 (10). Therefore 'i' will iterate from\n 4 to 44 (exclusive). Each time we iterate 4 times, i / Nk will\n increase by 1. We use a counter iNk to keep track of this.\n */\n\n // go through the rounds expanding the key\n var temp, iNk = 1;\n var Nk = w.length;\n var Nr1 = Nk + 6 + 1;\n var end = Nb * Nr1;\n for(var i = Nk; i < end; ++i) {\n temp = w[i - 1];\n if(i % Nk === 0) {\n // temp = SubWord(RotWord(temp)) ^ Rcon[i / Nk]\n temp =\n sbox[temp >>> 16 & 255] << 24 ^\n sbox[temp >>> 8 & 255] << 16 ^\n sbox[temp & 255] << 8 ^\n sbox[temp >>> 24] ^ (rcon[iNk] << 24);\n iNk++;\n } else if(Nk > 6 && (i % Nk === 4)) {\n // temp = SubWord(temp)\n temp =\n sbox[temp >>> 24] << 24 ^\n sbox[temp >>> 16 & 255] << 16 ^\n sbox[temp >>> 8 & 255] << 8 ^\n sbox[temp & 255];\n }\n w[i] = w[i - Nk] ^ temp;\n }\n\n /* When we are updating a cipher block we always use the code path for\n encryption whether we are decrypting or not (to shorten code and\n simplify the generation of look up tables). However, because there\n are differences in the decryption algorithm, other than just swapping\n in different look up tables, we must transform our key schedule to\n account for these changes:\n\n 1. The decryption algorithm gets its key rounds in reverse order.\n 2. The decryption algorithm adds the round key before mixing columns\n instead of afterwards.\n\n We don't need to modify our key schedule to handle the first case,\n we can just traverse the key schedule in reverse order when decrypting.\n\n The second case requires a little work.\n\n The tables we built for performing rounds will take an input and then\n perform SubBytes() and MixColumns() or, for the decrypt version,\n InvSubBytes() and InvMixColumns(). But the decrypt algorithm requires\n us to AddRoundKey() before InvMixColumns(). This means we'll need to\n apply some transformations to the round key to inverse-mix its columns\n so they'll be correct for moving AddRoundKey() to after the state has\n had its columns inverse-mixed.\n\n To inverse-mix the columns of the state when we're decrypting we use a\n lookup table that will apply InvSubBytes() and InvMixColumns() at the\n same time. However, the round key's bytes are not inverse-substituted\n in the decryption algorithm. To get around this problem, we can first\n substitute the bytes in the round key so that when we apply the\n transformation via the InvSubBytes()+InvMixColumns() table, it will\n undo our substitution leaving us with the original value that we\n want -- and then inverse-mix that value.\n\n This change will correctly alter our key schedule so that we can XOR\n each round key with our already transformed decryption state. This\n allows us to use the same code path as the encryption algorithm.\n\n We make one more change to the decryption key. Since the decryption\n algorithm runs in reverse from the encryption algorithm, we reverse\n the order of the round keys to avoid having to iterate over the key\n schedule backwards when running the encryption algorithm later in\n decryption mode. In addition to reversing the order of the round keys,\n we also swap each round key's 2nd and 4th rows. See the comments\n section where rounds are performed for more details about why this is\n done. These changes are done inline with the other substitution\n described above.\n */\n if(decrypt) {\n var tmp;\n var m0 = imix[0];\n var m1 = imix[1];\n var m2 = imix[2];\n var m3 = imix[3];\n var wnew = w.slice(0);\n end = w.length;\n for(var i = 0, wi = end - Nb; i < end; i += Nb, wi -= Nb) {\n // do not sub the first or last round key (round keys are Nb\n // words) as no column mixing is performed before they are added,\n // but do change the key order\n if(i === 0 || i === (end - Nb)) {\n wnew[i] = w[wi];\n wnew[i + 1] = w[wi + 3];\n wnew[i + 2] = w[wi + 2];\n wnew[i + 3] = w[wi + 1];\n } else {\n // substitute each round key byte because the inverse-mix\n // table will inverse-substitute it (effectively cancel the\n // substitution because round key bytes aren't sub'd in\n // decryption mode) and swap indexes 3 and 1\n for(var n = 0; n < Nb; ++n) {\n tmp = w[wi + n];\n wnew[i + (3&-n)] =\n m0[sbox[tmp >>> 24]] ^\n m1[sbox[tmp >>> 16 & 255]] ^\n m2[sbox[tmp >>> 8 & 255]] ^\n m3[sbox[tmp & 255]];\n }\n }\n }\n w = wnew;\n }\n\n return w;\n}\n\n/**\n * Updates a single block (16 bytes) using AES. The update will either\n * encrypt or decrypt the block.\n *\n * @param w the key schedule.\n * @param input the input block (an array of 32-bit words).\n * @param output the updated output block.\n * @param decrypt true to decrypt the block, false to encrypt it.\n */\nfunction _updateBlock(w, input, output, decrypt) {\n /*\n Cipher(byte in[4*Nb], byte out[4*Nb], word w[Nb*(Nr+1)])\n begin\n byte state[4,Nb]\n state = in\n AddRoundKey(state, w[0, Nb-1])\n for round = 1 step 1 to Nr-1\n SubBytes(state)\n ShiftRows(state)\n MixColumns(state)\n AddRoundKey(state, w[round*Nb, (round+1)*Nb-1])\n end for\n SubBytes(state)\n ShiftRows(state)\n AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1])\n out = state\n end\n\n InvCipher(byte in[4*Nb], byte out[4*Nb], word w[Nb*(Nr+1)])\n begin\n byte state[4,Nb]\n state = in\n AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1])\n for round = Nr-1 step -1 downto 1\n InvShiftRows(state)\n InvSubBytes(state)\n AddRoundKey(state, w[round*Nb, (round+1)*Nb-1])\n InvMixColumns(state)\n end for\n InvShiftRows(state)\n InvSubBytes(state)\n AddRoundKey(state, w[0, Nb-1])\n out = state\n end\n */\n\n // Encrypt: AddRoundKey(state, w[0, Nb-1])\n // Decrypt: AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1])\n var Nr = w.length / 4 - 1;\n var m0, m1, m2, m3, sub;\n if(decrypt) {\n m0 = imix[0];\n m1 = imix[1];\n m2 = imix[2];\n m3 = imix[3];\n sub = isbox;\n } else {\n m0 = mix[0];\n m1 = mix[1];\n m2 = mix[2];\n m3 = mix[3];\n sub = sbox;\n }\n var a, b, c, d, a2, b2, c2;\n a = input[0] ^ w[0];\n b = input[decrypt ? 3 : 1] ^ w[1];\n c = input[2] ^ w[2];\n d = input[decrypt ? 1 : 3] ^ w[3];\n var i = 3;\n\n /* In order to share code we follow the encryption algorithm when both\n encrypting and decrypting. To account for the changes required in the\n decryption algorithm, we use different lookup tables when decrypting\n and use a modified key schedule to account for the difference in the\n order of transformations applied when performing rounds. We also get\n key rounds in reverse order (relative to encryption). */\n for(var round = 1; round < Nr; ++round) {\n /* As described above, we'll be using table lookups to perform the\n column mixing. Each column is stored as a word in the state (the\n array 'input' has one column as a word at each index). In order to\n mix a column, we perform these transformations on each row in c,\n which is 1 byte in each word. The new column for c0 is c'0:\n\n m0 m1 m2 m3\n r0,c'0 = 2*r0,c0 + 3*r1,c0 + 1*r2,c0 + 1*r3,c0\n r1,c'0 = 1*r0,c0 + 2*r1,c0 + 3*r2,c0 + 1*r3,c0\n r2,c'0 = 1*r0,c0 + 1*r1,c0 + 2*r2,c0 + 3*r3,c0\n r3,c'0 = 3*r0,c0 + 1*r1,c0 + 1*r2,c0 + 2*r3,c0\n\n So using mix tables where c0 is a word with r0 being its upper\n 8 bits and r3 being its lower 8 bits:\n\n m0[c0 >> 24] will yield this word: [2*r0,1*r0,1*r0,3*r0]\n ...\n m3[c0 & 255] will yield this word: [1*r3,1*r3,3*r3,2*r3]\n\n Therefore to mix the columns in each word in the state we\n do the following (& 255 omitted for brevity):\n c'0,r0 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3]\n c'0,r1 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3]\n c'0,r2 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3]\n c'0,r3 = m0[c0 >> 24] ^ m1[c1 >> 16] ^ m2[c2 >> 8] ^ m3[c3]\n\n However, before mixing, the algorithm requires us to perform\n ShiftRows(). The ShiftRows() transformation cyclically shifts the\n last 3 rows of the state over different offsets. The first row\n (r = 0) is not shifted.\n\n s'_r,c = s_r,(c + shift(r, Nb) mod Nb\n for 0 < r < 4 and 0 <= c < Nb and\n shift(1, 4) = 1\n shift(2, 4) = 2\n shift(3, 4) = 3.\n\n This causes the first byte in r = 1 to be moved to the end of\n the row, the first 2 bytes in r = 2 to be moved to the end of\n the row, the first 3 bytes in r = 3 to be moved to the end of\n the row:\n\n r1: [c0 c1 c2 c3] => [c1 c2 c3 c0]\n r2: [c0 c1 c2 c3] [c2 c3 c0 c1]\n r3: [c0 c1 c2 c3] [c3 c0 c1 c2]\n\n We can make these substitutions inline with our column mixing to\n generate an updated set of equations to produce each word in the\n state (note the columns have changed positions):\n\n c0 c1 c2 c3 => c0 c1 c2 c3\n c0 c1 c2 c3 c1 c2 c3 c0 (cycled 1 byte)\n c0 c1 c2 c3 c2 c3 c0 c1 (cycled 2 bytes)\n c0 c1 c2 c3 c3 c0 c1 c2 (cycled 3 bytes)\n\n Therefore:\n\n c'0 = 2*r0,c0 + 3*r1,c1 + 1*r2,c2 + 1*r3,c3\n c'0 = 1*r0,c0 + 2*r1,c1 + 3*r2,c2 + 1*r3,c3\n c'0 = 1*r0,c0 + 1*r1,c1 + 2*r2,c2 + 3*r3,c3\n c'0 = 3*r0,c0 + 1*r1,c1 + 1*r2,c2 + 2*r3,c3\n\n c'1 = 2*r0,c1 + 3*r1,c2 + 1*r2,c3 + 1*r3,c0\n c'1 = 1*r0,c1 + 2*r1,c2 + 3*r2,c3 + 1*r3,c0\n c'1 = 1*r0,c1 + 1*r1,c2 + 2*r2,c3 + 3*r3,c0\n c'1 = 3*r0,c1 + 1*r1,c2 + 1*r2,c3 + 2*r3,c0\n\n ... and so forth for c'2 and c'3. The important distinction is\n that the columns are cycling, with c0 being used with the m0\n map when calculating c0, but c1 being used with the m0 map when\n calculating c1 ... and so forth.\n\n When performing the inverse we transform the mirror image and\n skip the bottom row, instead of the top one, and move upwards:\n\n c3 c2 c1 c0 => c0 c3 c2 c1 (cycled 3 bytes) *same as encryption\n c3 c2 c1 c0 c1 c0 c3 c2 (cycled 2 bytes)\n c3 c2 c1 c0 c2 c1 c0 c3 (cycled 1 byte) *same as encryption\n c3 c2 c1 c0 c3 c2 c1 c0\n\n If you compare the resulting matrices for ShiftRows()+MixColumns()\n and for InvShiftRows()+InvMixColumns() the 2nd and 4th columns are\n different (in encrypt mode vs. decrypt mode). So in order to use\n the same code to handle both encryption and decryption, we will\n need to do some mapping.\n\n If in encryption mode we let a=c0, b=c1, c=c2, d=c3, and r be\n a row number in the state, then the resulting matrix in encryption\n mode for applying the above transformations would be:\n\n r1: a b c d\n r2: b c d a\n r3: c d a b\n r4: d a b c\n\n If we did the same in decryption mode we would get:\n\n r1: a d c b\n r2: b a d c\n r3: c b a d\n r4: d c b a\n\n If instead we swap d and b (set b=c3 and d=c1), then we get:\n\n r1: a b c d\n r2: d a b c\n r3: c d a b\n r4: b c d a\n\n Now the 1st and 3rd rows are the same as the encryption matrix. All\n we need to do then to make the mapping exactly the same is to swap\n the 2nd and 4th rows when in decryption mode. To do this without\n having to do it on each iteration, we swapped the 2nd and 4th rows\n in the decryption key schedule. We also have to do the swap above\n when we first pull in the input and when we set the final output. */\n a2 =\n m0[a >>> 24] ^\n m1[b >>> 16 & 255] ^\n m2[c >>> 8 & 255] ^\n m3[d & 255] ^ w[++i];\n b2 =\n m0[b >>> 24] ^\n m1[c >>> 16 & 255] ^\n m2[d >>> 8 & 255] ^\n m3[a & 255] ^ w[++i];\n c2 =\n m0[c >>> 24] ^\n m1[d >>> 16 & 255] ^\n m2[a >>> 8 & 255] ^\n m3[b & 255] ^ w[++i];\n d =\n m0[d >>> 24] ^\n m1[a >>> 16 & 255] ^\n m2[b >>> 8 & 255] ^\n m3[c & 255] ^ w[++i];\n a = a2;\n b = b2;\n c = c2;\n }\n\n /*\n Encrypt:\n SubBytes(state)\n ShiftRows(state)\n AddRoundKey(state, w[Nr*Nb, (Nr+1)*Nb-1])\n\n Decrypt:\n InvShiftRows(state)\n InvSubBytes(state)\n AddRoundKey(state, w[0, Nb-1])\n */\n // Note: rows are shifted inline\n output[0] =\n (sub[a >>> 24] << 24) ^\n (sub[b >>> 16 & 255] << 16) ^\n (sub[c >>> 8 & 255] << 8) ^\n (sub[d & 255]) ^ w[++i];\n output[decrypt ? 3 : 1] =\n (sub[b >>> 24] << 24) ^\n (sub[c >>> 16 & 255] << 16) ^\n (sub[d >>> 8 & 255] << 8) ^\n (sub[a & 255]) ^ w[++i];\n output[2] =\n (sub[c >>> 24] << 24) ^\n (sub[d >>> 16 & 255] << 16) ^\n (sub[a >>> 8 & 255] << 8) ^\n (sub[b & 255]) ^ w[++i];\n output[decrypt ? 1 : 3] =\n (sub[d >>> 24] << 24) ^\n (sub[a >>> 16 & 255] << 16) ^\n (sub[b >>> 8 & 255] << 8) ^\n (sub[c & 255]) ^ w[++i];\n}\n\n/**\n * Deprecated. Instead, use:\n *\n * forge.cipher.createCipher('AES-', key);\n * forge.cipher.createDecipher('AES-', key);\n *\n * Creates a deprecated AES cipher object. This object's mode will default to\n * CBC (cipher-block-chaining).\n *\n * The key and iv may be given as a string of bytes, an array of bytes, a\n * byte buffer, or an array of 32-bit words.\n *\n * @param options the options to use.\n * key the symmetric key to use.\n * output the buffer to write to.\n * decrypt true for decryption, false for encryption.\n * mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nfunction _createCipher(options) {\n options = options || {};\n var mode = (options.mode || 'CBC').toUpperCase();\n var algorithm = 'AES-' + mode;\n\n var cipher;\n if(options.decrypt) {\n cipher = forge.cipher.createDecipher(algorithm, options.key);\n } else {\n cipher = forge.cipher.createCipher(algorithm, options.key);\n }\n\n // backwards compatible start API\n var start = cipher.start;\n cipher.start = function(iv, options) {\n // backwards compatibility: support second arg as output buffer\n var output = null;\n if(options instanceof forge.util.ByteBuffer) {\n output = options;\n options = {};\n }\n options = options || {};\n options.output = output;\n options.iv = iv;\n start.call(cipher, options);\n };\n\n return cipher;\n}\n","/**\n * A Javascript implementation of AES Cipher Suites for TLS.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2009-2015 Digital Bazaar, Inc.\n *\n */\nvar forge = require('./forge');\nrequire('./aes');\nrequire('./tls');\n\nvar tls = module.exports = forge.tls;\n\n/**\n * Supported cipher suites.\n */\ntls.CipherSuites['TLS_RSA_WITH_AES_128_CBC_SHA'] = {\n id: [0x00, 0x2f],\n name: 'TLS_RSA_WITH_AES_128_CBC_SHA',\n initSecurityParameters: function(sp) {\n sp.bulk_cipher_algorithm = tls.BulkCipherAlgorithm.aes;\n sp.cipher_type = tls.CipherType.block;\n sp.enc_key_length = 16;\n sp.block_length = 16;\n sp.fixed_iv_length = 16;\n sp.record_iv_length = 16;\n sp.mac_algorithm = tls.MACAlgorithm.hmac_sha1;\n sp.mac_length = 20;\n sp.mac_key_length = 20;\n },\n initConnectionState: initConnectionState\n};\ntls.CipherSuites['TLS_RSA_WITH_AES_256_CBC_SHA'] = {\n id: [0x00, 0x35],\n name: 'TLS_RSA_WITH_AES_256_CBC_SHA',\n initSecurityParameters: function(sp) {\n sp.bulk_cipher_algorithm = tls.BulkCipherAlgorithm.aes;\n sp.cipher_type = tls.CipherType.block;\n sp.enc_key_length = 32;\n sp.block_length = 16;\n sp.fixed_iv_length = 16;\n sp.record_iv_length = 16;\n sp.mac_algorithm = tls.MACAlgorithm.hmac_sha1;\n sp.mac_length = 20;\n sp.mac_key_length = 20;\n },\n initConnectionState: initConnectionState\n};\n\nfunction initConnectionState(state, c, sp) {\n var client = (c.entity === forge.tls.ConnectionEnd.client);\n\n // cipher setup\n state.read.cipherState = {\n init: false,\n cipher: forge.cipher.createDecipher('AES-CBC', client ?\n sp.keys.server_write_key : sp.keys.client_write_key),\n iv: client ? sp.keys.server_write_IV : sp.keys.client_write_IV\n };\n state.write.cipherState = {\n init: false,\n cipher: forge.cipher.createCipher('AES-CBC', client ?\n sp.keys.client_write_key : sp.keys.server_write_key),\n iv: client ? sp.keys.client_write_IV : sp.keys.server_write_IV\n };\n state.read.cipherFunction = decrypt_aes_cbc_sha1;\n state.write.cipherFunction = encrypt_aes_cbc_sha1;\n\n // MAC setup\n state.read.macLength = state.write.macLength = sp.mac_length;\n state.read.macFunction = state.write.macFunction = tls.hmac_sha1;\n}\n\n/**\n * Encrypts the TLSCompressed record into a TLSCipherText record using AES\n * in CBC mode.\n *\n * @param record the TLSCompressed record to encrypt.\n * @param s the ConnectionState to use.\n *\n * @return true on success, false on failure.\n */\nfunction encrypt_aes_cbc_sha1(record, s) {\n var rval = false;\n\n // append MAC to fragment, update sequence number\n var mac = s.macFunction(s.macKey, s.sequenceNumber, record);\n record.fragment.putBytes(mac);\n s.updateSequenceNumber();\n\n // TLS 1.1+ use an explicit IV every time to protect against CBC attacks\n var iv;\n if(record.version.minor === tls.Versions.TLS_1_0.minor) {\n // use the pre-generated IV when initializing for TLS 1.0, otherwise use\n // the residue from the previous encryption\n iv = s.cipherState.init ? null : s.cipherState.iv;\n } else {\n iv = forge.random.getBytesSync(16);\n }\n\n s.cipherState.init = true;\n\n // start cipher\n var cipher = s.cipherState.cipher;\n cipher.start({iv: iv});\n\n // TLS 1.1+ write IV into output\n if(record.version.minor >= tls.Versions.TLS_1_1.minor) {\n cipher.output.putBytes(iv);\n }\n\n // do encryption (default padding is appropriate)\n cipher.update(record.fragment);\n if(cipher.finish(encrypt_aes_cbc_sha1_padding)) {\n // set record fragment to encrypted output\n record.fragment = cipher.output;\n record.length = record.fragment.length();\n rval = true;\n }\n\n return rval;\n}\n\n/**\n * Handles padding for aes_cbc_sha1 in encrypt mode.\n *\n * @param blockSize the block size.\n * @param input the input buffer.\n * @param decrypt true in decrypt mode, false in encrypt mode.\n *\n * @return true on success, false on failure.\n */\nfunction encrypt_aes_cbc_sha1_padding(blockSize, input, decrypt) {\n /* The encrypted data length (TLSCiphertext.length) is one more than the sum\n of SecurityParameters.block_length, TLSCompressed.length,\n SecurityParameters.mac_length, and padding_length.\n\n The padding may be any length up to 255 bytes long, as long as it results in\n the TLSCiphertext.length being an integral multiple of the block length.\n Lengths longer than necessary might be desirable to frustrate attacks on a\n protocol based on analysis of the lengths of exchanged messages. Each uint8\n in the padding data vector must be filled with the padding length value.\n\n The padding length should be such that the total size of the\n GenericBlockCipher structure is a multiple of the cipher's block length.\n Legal values range from zero to 255, inclusive. This length specifies the\n length of the padding field exclusive of the padding_length field itself.\n\n This is slightly different from PKCS#7 because the padding value is 1\n less than the actual number of padding bytes if you include the\n padding_length uint8 itself as a padding byte. */\n if(!decrypt) {\n // get the number of padding bytes required to reach the blockSize and\n // subtract 1 for the padding value (to make room for the padding_length\n // uint8)\n var padding = blockSize - (input.length() % blockSize);\n input.fillWithByte(padding - 1, padding);\n }\n return true;\n}\n\n/**\n * Handles padding for aes_cbc_sha1 in decrypt mode.\n *\n * @param blockSize the block size.\n * @param output the output buffer.\n * @param decrypt true in decrypt mode, false in encrypt mode.\n *\n * @return true on success, false on failure.\n */\nfunction decrypt_aes_cbc_sha1_padding(blockSize, output, decrypt) {\n var rval = true;\n if(decrypt) {\n /* The last byte in the output specifies the number of padding bytes not\n including itself. Each of the padding bytes has the same value as that\n last byte (known as the padding_length). Here we check all padding\n bytes to ensure they have the value of padding_length even if one of\n them is bad in order to ward-off timing attacks. */\n var len = output.length();\n var paddingLength = output.last();\n for(var i = len - 1 - paddingLength; i < len - 1; ++i) {\n rval = rval && (output.at(i) == paddingLength);\n }\n if(rval) {\n // trim off padding bytes and last padding length byte\n output.truncate(paddingLength + 1);\n }\n }\n return rval;\n}\n\n/**\n * Decrypts a TLSCipherText record into a TLSCompressed record using\n * AES in CBC mode.\n *\n * @param record the TLSCipherText record to decrypt.\n * @param s the ConnectionState to use.\n *\n * @return true on success, false on failure.\n */\nfunction decrypt_aes_cbc_sha1(record, s) {\n var rval = false;\n\n var iv;\n if(record.version.minor === tls.Versions.TLS_1_0.minor) {\n // use pre-generated IV when initializing for TLS 1.0, otherwise use the\n // residue from the previous decryption\n iv = s.cipherState.init ? null : s.cipherState.iv;\n } else {\n // TLS 1.1+ use an explicit IV every time to protect against CBC attacks\n // that is appended to the record fragment\n iv = record.fragment.getBytes(16);\n }\n\n s.cipherState.init = true;\n\n // start cipher\n var cipher = s.cipherState.cipher;\n cipher.start({iv: iv});\n\n // do decryption\n cipher.update(record.fragment);\n rval = cipher.finish(decrypt_aes_cbc_sha1_padding);\n\n // even if decryption fails, keep going to minimize timing attacks\n\n // decrypted data:\n // first (len - 20) bytes = application data\n // last 20 bytes = MAC\n var macLen = s.macLength;\n\n // create a random MAC to check against should the mac length check fail\n // Note: do this regardless of the failure to keep timing consistent\n var mac = forge.random.getBytesSync(macLen);\n\n // get fragment and mac\n var len = cipher.output.length();\n if(len >= macLen) {\n record.fragment = cipher.output.getBytes(len - macLen);\n mac = cipher.output.getBytes(macLen);\n } else {\n // bad data, but get bytes anyway to try to keep timing consistent\n record.fragment = cipher.output.getBytes();\n }\n record.fragment = forge.util.createBuffer(record.fragment);\n record.length = record.fragment.length();\n\n // see if data integrity checks out, update sequence number\n var mac2 = s.macFunction(s.macKey, s.sequenceNumber, record);\n s.updateSequenceNumber();\n rval = compareMacs(s.macKey, mac, mac2) && rval;\n return rval;\n}\n\n/**\n * Safely compare two MACs. This function will compare two MACs in a way\n * that protects against timing attacks.\n *\n * TODO: Expose elsewhere as a utility API.\n *\n * See: https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2011/february/double-hmac-verification/\n *\n * @param key the MAC key to use.\n * @param mac1 as a binary-encoded string of bytes.\n * @param mac2 as a binary-encoded string of bytes.\n *\n * @return true if the MACs are the same, false if not.\n */\nfunction compareMacs(key, mac1, mac2) {\n var hmac = forge.hmac.create();\n\n hmac.start('SHA1', key);\n hmac.update(mac1);\n mac1 = hmac.digest().getBytes();\n\n hmac.start(null, null);\n hmac.update(mac2);\n mac2 = hmac.digest().getBytes();\n\n return mac1 === mac2;\n}\n","/**\n * Copyright (c) 2019 Digital Bazaar, Inc.\n */\n\nvar forge = require('./forge');\nrequire('./asn1');\nvar asn1 = forge.asn1;\n\nexports.privateKeyValidator = {\n // PrivateKeyInfo\n name: 'PrivateKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n // Version (INTEGER)\n name: 'PrivateKeyInfo.version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyVersion'\n }, {\n // privateKeyAlgorithm\n name: 'PrivateKeyInfo.privateKeyAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'privateKeyOid'\n }]\n }, {\n // PrivateKey\n name: 'PrivateKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'privateKey'\n }]\n};\n\nexports.publicKeyValidator = {\n name: 'SubjectPublicKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'subjectPublicKeyInfo',\n value: [{\n name: 'SubjectPublicKeyInfo.AlgorithmIdentifier',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'publicKeyOid'\n }]\n },\n // capture group for ed25519PublicKey\n {\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n composed: true,\n captureBitStringValue: 'ed25519PublicKey'\n }\n // FIXME: this is capture group for rsaPublicKey, use it in this API or\n // discard?\n /* {\n // subjectPublicKey\n name: 'SubjectPublicKeyInfo.subjectPublicKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n value: [{\n // RSAPublicKey\n name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n optional: true,\n captureAsn1: 'rsaPublicKey'\n }]\n } */\n ]\n};\n","/**\n * Javascript implementation of Abstract Syntax Notation Number One.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2015 Digital Bazaar, Inc.\n *\n * An API for storing data using the Abstract Syntax Notation Number One\n * format using DER (Distinguished Encoding Rules) encoding. This encoding is\n * commonly used to store data for PKI, i.e. X.509 Certificates, and this\n * implementation exists for that purpose.\n *\n * Abstract Syntax Notation Number One (ASN.1) is used to define the abstract\n * syntax of information without restricting the way the information is encoded\n * for transmission. It provides a standard that allows for open systems\n * communication. ASN.1 defines the syntax of information data and a number of\n * simple data types as well as a notation for describing them and specifying\n * values for them.\n *\n * The RSA algorithm creates public and private keys that are often stored in\n * X.509 or PKCS#X formats -- which use ASN.1 (encoded in DER format). This\n * class provides the most basic functionality required to store and load DSA\n * keys that are encoded according to ASN.1.\n *\n * The most common binary encodings for ASN.1 are BER (Basic Encoding Rules)\n * and DER (Distinguished Encoding Rules). DER is just a subset of BER that\n * has stricter requirements for how data must be encoded.\n *\n * Each ASN.1 structure has a tag (a byte identifying the ASN.1 structure type)\n * and a byte array for the value of this ASN1 structure which may be data or a\n * list of ASN.1 structures.\n *\n * Each ASN.1 structure using BER is (Tag-Length-Value):\n *\n * | byte 0 | bytes X | bytes Y |\n * |--------|---------|----------\n * | tag | length | value |\n *\n * ASN.1 allows for tags to be of \"High-tag-number form\" which allows a tag to\n * be two or more octets, but that is not supported by this class. A tag is\n * only 1 byte. Bits 1-5 give the tag number (ie the data type within a\n * particular 'class'), 6 indicates whether or not the ASN.1 value is\n * constructed from other ASN.1 values, and bits 7 and 8 give the 'class'. If\n * bits 7 and 8 are both zero, the class is UNIVERSAL. If only bit 7 is set,\n * then the class is APPLICATION. If only bit 8 is set, then the class is\n * CONTEXT_SPECIFIC. If both bits 7 and 8 are set, then the class is PRIVATE.\n * The tag numbers for the data types for the class UNIVERSAL are listed below:\n *\n * UNIVERSAL 0 Reserved for use by the encoding rules\n * UNIVERSAL 1 Boolean type\n * UNIVERSAL 2 Integer type\n * UNIVERSAL 3 Bitstring type\n * UNIVERSAL 4 Octetstring type\n * UNIVERSAL 5 Null type\n * UNIVERSAL 6 Object identifier type\n * UNIVERSAL 7 Object descriptor type\n * UNIVERSAL 8 External type and Instance-of type\n * UNIVERSAL 9 Real type\n * UNIVERSAL 10 Enumerated type\n * UNIVERSAL 11 Embedded-pdv type\n * UNIVERSAL 12 UTF8String type\n * UNIVERSAL 13 Relative object identifier type\n * UNIVERSAL 14-15 Reserved for future editions\n * UNIVERSAL 16 Sequence and Sequence-of types\n * UNIVERSAL 17 Set and Set-of types\n * UNIVERSAL 18-22, 25-30 Character string types\n * UNIVERSAL 23-24 Time types\n *\n * The length of an ASN.1 structure is specified after the tag identifier.\n * There is a definite form and an indefinite form. The indefinite form may\n * be used if the encoding is constructed and not all immediately available.\n * The indefinite form is encoded using a length byte with only the 8th bit\n * set. The end of the constructed object is marked using end-of-contents\n * octets (two zero bytes).\n *\n * The definite form looks like this:\n *\n * The length may take up 1 or more bytes, it depends on the length of the\n * value of the ASN.1 structure. DER encoding requires that if the ASN.1\n * structure has a value that has a length greater than 127, more than 1 byte\n * will be used to store its length, otherwise just one byte will be used.\n * This is strict.\n *\n * In the case that the length of the ASN.1 value is less than 127, 1 octet\n * (byte) is used to store the \"short form\" length. The 8th bit has a value of\n * 0 indicating the length is \"short form\" and not \"long form\" and bits 7-1\n * give the length of the data. (The 8th bit is the left-most, most significant\n * bit: also known as big endian or network format).\n *\n * In the case that the length of the ASN.1 value is greater than 127, 2 to\n * 127 octets (bytes) are used to store the \"long form\" length. The first\n * byte's 8th bit is set to 1 to indicate the length is \"long form.\" Bits 7-1\n * give the number of additional octets. All following octets are in base 256\n * with the most significant digit first (typical big-endian binary unsigned\n * integer storage). So, for instance, if the length of a value was 257, the\n * first byte would be set to:\n *\n * 10000010 = 130 = 0x82.\n *\n * This indicates there are 2 octets (base 256) for the length. The second and\n * third bytes (the octets just mentioned) would store the length in base 256:\n *\n * octet 2: 00000001 = 1 * 256^1 = 256\n * octet 3: 00000001 = 1 * 256^0 = 1\n * total = 257\n *\n * The algorithm for converting a js integer value of 257 to base-256 is:\n *\n * var value = 257;\n * var bytes = [];\n * bytes[0] = (value >>> 8) & 0xFF; // most significant byte first\n * bytes[1] = value & 0xFF; // least significant byte last\n *\n * On the ASN.1 UNIVERSAL Object Identifier (OID) type:\n *\n * An OID can be written like: \"value1.value2.value3...valueN\"\n *\n * The DER encoding rules:\n *\n * The first byte has the value 40 * value1 + value2.\n * The following bytes, if any, encode the remaining values. Each value is\n * encoded in base 128, most significant digit first (big endian), with as\n * few digits as possible, and the most significant bit of each byte set\n * to 1 except the last in each value's encoding. For example: Given the\n * OID \"1.2.840.113549\", its DER encoding is (remember each byte except the\n * last one in each encoding is OR'd with 0x80):\n *\n * byte 1: 40 * 1 + 2 = 42 = 0x2A.\n * bytes 2-3: 128 * 6 + 72 = 840 = 6 72 = 6 72 = 0x0648 = 0x8648\n * bytes 4-6: 16384 * 6 + 128 * 119 + 13 = 6 119 13 = 0x06770D = 0x86F70D\n *\n * The final value is: 0x2A864886F70D.\n * The full OID (including ASN.1 tag and length of 6 bytes) is:\n * 0x06062A864886F70D\n */\nvar forge = require('./forge');\nrequire('./util');\nrequire('./oids');\n\n/* ASN.1 API */\nvar asn1 = module.exports = forge.asn1 = forge.asn1 || {};\n\n/**\n * ASN.1 classes.\n */\nasn1.Class = {\n UNIVERSAL: 0x00,\n APPLICATION: 0x40,\n CONTEXT_SPECIFIC: 0x80,\n PRIVATE: 0xC0\n};\n\n/**\n * ASN.1 types. Not all types are supported by this implementation, only\n * those necessary to implement a simple PKI are implemented.\n */\nasn1.Type = {\n NONE: 0,\n BOOLEAN: 1,\n INTEGER: 2,\n BITSTRING: 3,\n OCTETSTRING: 4,\n NULL: 5,\n OID: 6,\n ODESC: 7,\n EXTERNAL: 8,\n REAL: 9,\n ENUMERATED: 10,\n EMBEDDED: 11,\n UTF8: 12,\n ROID: 13,\n SEQUENCE: 16,\n SET: 17,\n PRINTABLESTRING: 19,\n IA5STRING: 22,\n UTCTIME: 23,\n GENERALIZEDTIME: 24,\n BMPSTRING: 30\n};\n\n/**\n * Creates a new asn1 object.\n *\n * @param tagClass the tag class for the object.\n * @param type the data type (tag number) for the object.\n * @param constructed true if the asn1 object is in constructed form.\n * @param value the value for the object, if it is not constructed.\n * @param [options] the options to use:\n * [bitStringContents] the plain BIT STRING content including padding\n * byte.\n *\n * @return the asn1 object.\n */\nasn1.create = function(tagClass, type, constructed, value, options) {\n /* An asn1 object has a tagClass, a type, a constructed flag, and a\n value. The value's type depends on the constructed flag. If\n constructed, it will contain a list of other asn1 objects. If not,\n it will contain the ASN.1 value as an array of bytes formatted\n according to the ASN.1 data type. */\n\n // remove undefined values\n if(forge.util.isArray(value)) {\n var tmp = [];\n for(var i = 0; i < value.length; ++i) {\n if(value[i] !== undefined) {\n tmp.push(value[i]);\n }\n }\n value = tmp;\n }\n\n var obj = {\n tagClass: tagClass,\n type: type,\n constructed: constructed,\n composed: constructed || forge.util.isArray(value),\n value: value\n };\n if(options && 'bitStringContents' in options) {\n // TODO: copy byte buffer if it's a buffer not a string\n obj.bitStringContents = options.bitStringContents;\n // TODO: add readonly flag to avoid this overhead\n // save copy to detect changes\n obj.original = asn1.copy(obj);\n }\n return obj;\n};\n\n/**\n * Copies an asn1 object.\n *\n * @param obj the asn1 object.\n * @param [options] copy options:\n * [excludeBitStringContents] true to not copy bitStringContents\n *\n * @return the a copy of the asn1 object.\n */\nasn1.copy = function(obj, options) {\n var copy;\n\n if(forge.util.isArray(obj)) {\n copy = [];\n for(var i = 0; i < obj.length; ++i) {\n copy.push(asn1.copy(obj[i], options));\n }\n return copy;\n }\n\n if(typeof obj === 'string') {\n // TODO: copy byte buffer if it's a buffer not a string\n return obj;\n }\n\n copy = {\n tagClass: obj.tagClass,\n type: obj.type,\n constructed: obj.constructed,\n composed: obj.composed,\n value: asn1.copy(obj.value, options)\n };\n if(options && !options.excludeBitStringContents) {\n // TODO: copy byte buffer if it's a buffer not a string\n copy.bitStringContents = obj.bitStringContents;\n }\n return copy;\n};\n\n/**\n * Compares asn1 objects for equality.\n *\n * Note this function does not run in constant time.\n *\n * @param obj1 the first asn1 object.\n * @param obj2 the second asn1 object.\n * @param [options] compare options:\n * [includeBitStringContents] true to compare bitStringContents\n *\n * @return true if the asn1 objects are equal.\n */\nasn1.equals = function(obj1, obj2, options) {\n if(forge.util.isArray(obj1)) {\n if(!forge.util.isArray(obj2)) {\n return false;\n }\n if(obj1.length !== obj2.length) {\n return false;\n }\n for(var i = 0; i < obj1.length; ++i) {\n if(!asn1.equals(obj1[i], obj2[i])) {\n return false;\n }\n }\n return true;\n }\n\n if(typeof obj1 !== typeof obj2) {\n return false;\n }\n\n if(typeof obj1 === 'string') {\n return obj1 === obj2;\n }\n\n var equal = obj1.tagClass === obj2.tagClass &&\n obj1.type === obj2.type &&\n obj1.constructed === obj2.constructed &&\n obj1.composed === obj2.composed &&\n asn1.equals(obj1.value, obj2.value);\n if(options && options.includeBitStringContents) {\n equal = equal && (obj1.bitStringContents === obj2.bitStringContents);\n }\n\n return equal;\n};\n\n/**\n * Gets the length of a BER-encoded ASN.1 value.\n *\n * In case the length is not specified, undefined is returned.\n *\n * @param b the BER-encoded ASN.1 byte buffer, starting with the first\n * length byte.\n *\n * @return the length of the BER-encoded ASN.1 value or undefined.\n */\nasn1.getBerValueLength = function(b) {\n // TODO: move this function and related DER/BER functions to a der.js\n // file; better abstract ASN.1 away from der/ber.\n var b2 = b.getByte();\n if(b2 === 0x80) {\n return undefined;\n }\n\n // see if the length is \"short form\" or \"long form\" (bit 8 set)\n var length;\n var longForm = b2 & 0x80;\n if(!longForm) {\n // length is just the first byte\n length = b2;\n } else {\n // the number of bytes the length is specified in bits 7 through 1\n // and each length byte is in big-endian base-256\n length = b.getInt((b2 & 0x7F) << 3);\n }\n return length;\n};\n\n/**\n * Check if the byte buffer has enough bytes. Throws an Error if not.\n *\n * @param bytes the byte buffer to parse from.\n * @param remaining the bytes remaining in the current parsing state.\n * @param n the number of bytes the buffer must have.\n */\nfunction _checkBufferLength(bytes, remaining, n) {\n if(n > remaining) {\n var error = new Error('Too few bytes to parse DER.');\n error.available = bytes.length();\n error.remaining = remaining;\n error.requested = n;\n throw error;\n }\n}\n\n/**\n * Gets the length of a BER-encoded ASN.1 value.\n *\n * In case the length is not specified, undefined is returned.\n *\n * @param bytes the byte buffer to parse from.\n * @param remaining the bytes remaining in the current parsing state.\n *\n * @return the length of the BER-encoded ASN.1 value or undefined.\n */\nvar _getValueLength = function(bytes, remaining) {\n // TODO: move this function and related DER/BER functions to a der.js\n // file; better abstract ASN.1 away from der/ber.\n // fromDer already checked that this byte exists\n var b2 = bytes.getByte();\n remaining--;\n if(b2 === 0x80) {\n return undefined;\n }\n\n // see if the length is \"short form\" or \"long form\" (bit 8 set)\n var length;\n var longForm = b2 & 0x80;\n if(!longForm) {\n // length is just the first byte\n length = b2;\n } else {\n // the number of bytes the length is specified in bits 7 through 1\n // and each length byte is in big-endian base-256\n var longFormBytes = b2 & 0x7F;\n _checkBufferLength(bytes, remaining, longFormBytes);\n length = bytes.getInt(longFormBytes << 3);\n }\n // FIXME: this will only happen for 32 bit getInt with high bit set\n if(length < 0) {\n throw new Error('Negative length: ' + length);\n }\n return length;\n};\n\n/**\n * Parses an asn1 object from a byte buffer in DER format.\n *\n * @param bytes the byte buffer to parse from.\n * @param [strict] true to be strict when checking value lengths, false to\n * allow truncated values (default: true).\n * @param [options] object with options or boolean strict flag\n * [strict] true to be strict when checking value lengths, false to\n * allow truncated values (default: true).\n * [decodeBitStrings] true to attempt to decode the content of\n * BIT STRINGs (not OCTET STRINGs) using strict mode. Note that\n * without schema support to understand the data context this can\n * erroneously decode values that happen to be valid ASN.1. This\n * flag will be deprecated or removed as soon as schema support is\n * available. (default: true)\n *\n * @return the parsed asn1 object.\n */\nasn1.fromDer = function(bytes, options) {\n if(options === undefined) {\n options = {\n strict: true,\n decodeBitStrings: true\n };\n }\n if(typeof options === 'boolean') {\n options = {\n strict: options,\n decodeBitStrings: true\n };\n }\n if(!('strict' in options)) {\n options.strict = true;\n }\n if(!('decodeBitStrings' in options)) {\n options.decodeBitStrings = true;\n }\n\n // wrap in buffer if needed\n if(typeof bytes === 'string') {\n bytes = forge.util.createBuffer(bytes);\n }\n\n return _fromDer(bytes, bytes.length(), 0, options);\n};\n\n/**\n * Internal function to parse an asn1 object from a byte buffer in DER format.\n *\n * @param bytes the byte buffer to parse from.\n * @param remaining the number of bytes remaining for this chunk.\n * @param depth the current parsing depth.\n * @param options object with same options as fromDer().\n *\n * @return the parsed asn1 object.\n */\nfunction _fromDer(bytes, remaining, depth, options) {\n // temporary storage for consumption calculations\n var start;\n\n // minimum length for ASN.1 DER structure is 2\n _checkBufferLength(bytes, remaining, 2);\n\n // get the first byte\n var b1 = bytes.getByte();\n // consumed one byte\n remaining--;\n\n // get the tag class\n var tagClass = (b1 & 0xC0);\n\n // get the type (bits 1-5)\n var type = b1 & 0x1F;\n\n // get the variable value length and adjust remaining bytes\n start = bytes.length();\n var length = _getValueLength(bytes, remaining);\n remaining -= start - bytes.length();\n\n // ensure there are enough bytes to get the value\n if(length !== undefined && length > remaining) {\n if(options.strict) {\n var error = new Error('Too few bytes to read ASN.1 value.');\n error.available = bytes.length();\n error.remaining = remaining;\n error.requested = length;\n throw error;\n }\n // Note: be lenient with truncated values and use remaining state bytes\n length = remaining;\n }\n\n // value storage\n var value;\n // possible BIT STRING contents storage\n var bitStringContents;\n\n // constructed flag is bit 6 (32 = 0x20) of the first byte\n var constructed = ((b1 & 0x20) === 0x20);\n if(constructed) {\n // parse child asn1 objects from the value\n value = [];\n if(length === undefined) {\n // asn1 object of indefinite length, read until end tag\n for(;;) {\n _checkBufferLength(bytes, remaining, 2);\n if(bytes.bytes(2) === String.fromCharCode(0, 0)) {\n bytes.getBytes(2);\n remaining -= 2;\n break;\n }\n start = bytes.length();\n value.push(_fromDer(bytes, remaining, depth + 1, options));\n remaining -= start - bytes.length();\n }\n } else {\n // parsing asn1 object of definite length\n while(length > 0) {\n start = bytes.length();\n value.push(_fromDer(bytes, length, depth + 1, options));\n remaining -= start - bytes.length();\n length -= start - bytes.length();\n }\n }\n }\n\n // if a BIT STRING, save the contents including padding\n if(value === undefined && tagClass === asn1.Class.UNIVERSAL &&\n type === asn1.Type.BITSTRING) {\n bitStringContents = bytes.bytes(length);\n }\n\n // determine if a non-constructed value should be decoded as a composed\n // value that contains other ASN.1 objects. BIT STRINGs (and OCTET STRINGs)\n // can be used this way.\n if(value === undefined && options.decodeBitStrings &&\n tagClass === asn1.Class.UNIVERSAL &&\n // FIXME: OCTET STRINGs not yet supported here\n // .. other parts of forge expect to decode OCTET STRINGs manually\n (type === asn1.Type.BITSTRING /*|| type === asn1.Type.OCTETSTRING*/) &&\n length > 1) {\n // save read position\n var savedRead = bytes.read;\n var savedRemaining = remaining;\n var unused = 0;\n if(type === asn1.Type.BITSTRING) {\n /* The first octet gives the number of bits by which the length of the\n bit string is less than the next multiple of eight (this is called\n the \"number of unused bits\").\n\n The second and following octets give the value of the bit string\n converted to an octet string. */\n _checkBufferLength(bytes, remaining, 1);\n unused = bytes.getByte();\n remaining--;\n }\n // if all bits are used, maybe the BIT/OCTET STRING holds ASN.1 objs\n if(unused === 0) {\n try {\n // attempt to parse child asn1 object from the value\n // (stored in array to signal composed value)\n start = bytes.length();\n var subOptions = {\n // enforce strict mode to avoid parsing ASN.1 from plain data\n verbose: options.verbose,\n strict: true,\n decodeBitStrings: true\n };\n var composed = _fromDer(bytes, remaining, depth + 1, subOptions);\n var used = start - bytes.length();\n remaining -= used;\n if(type == asn1.Type.BITSTRING) {\n used++;\n }\n\n // if the data all decoded and the class indicates UNIVERSAL or\n // CONTEXT_SPECIFIC then assume we've got an encapsulated ASN.1 object\n var tc = composed.tagClass;\n if(used === length &&\n (tc === asn1.Class.UNIVERSAL || tc === asn1.Class.CONTEXT_SPECIFIC)) {\n value = [composed];\n }\n } catch(ex) {\n }\n }\n if(value === undefined) {\n // restore read position\n bytes.read = savedRead;\n remaining = savedRemaining;\n }\n }\n\n if(value === undefined) {\n // asn1 not constructed or composed, get raw value\n // TODO: do DER to OID conversion and vice-versa in .toDer?\n\n if(length === undefined) {\n if(options.strict) {\n throw new Error('Non-constructed ASN.1 object of indefinite length.');\n }\n // be lenient and use remaining state bytes\n length = remaining;\n }\n\n if(type === asn1.Type.BMPSTRING) {\n value = '';\n for(; length > 0; length -= 2) {\n _checkBufferLength(bytes, remaining, 2);\n value += String.fromCharCode(bytes.getInt16());\n remaining -= 2;\n }\n } else {\n value = bytes.getBytes(length);\n }\n }\n\n // add BIT STRING contents if available\n var asn1Options = bitStringContents === undefined ? null : {\n bitStringContents: bitStringContents\n };\n\n // create and return asn1 object\n return asn1.create(tagClass, type, constructed, value, asn1Options);\n}\n\n/**\n * Converts the given asn1 object to a buffer of bytes in DER format.\n *\n * @param asn1 the asn1 object to convert to bytes.\n *\n * @return the buffer of bytes.\n */\nasn1.toDer = function(obj) {\n var bytes = forge.util.createBuffer();\n\n // build the first byte\n var b1 = obj.tagClass | obj.type;\n\n // for storing the ASN.1 value\n var value = forge.util.createBuffer();\n\n // use BIT STRING contents if available and data not changed\n var useBitStringContents = false;\n if('bitStringContents' in obj) {\n useBitStringContents = true;\n if(obj.original) {\n useBitStringContents = asn1.equals(obj, obj.original);\n }\n }\n\n if(useBitStringContents) {\n value.putBytes(obj.bitStringContents);\n } else if(obj.composed) {\n // if composed, use each child asn1 object's DER bytes as value\n // turn on 6th bit (0x20 = 32) to indicate asn1 is constructed\n // from other asn1 objects\n if(obj.constructed) {\n b1 |= 0x20;\n } else {\n // type is a bit string, add unused bits of 0x00\n value.putByte(0x00);\n }\n\n // add all of the child DER bytes together\n for(var i = 0; i < obj.value.length; ++i) {\n if(obj.value[i] !== undefined) {\n value.putBuffer(asn1.toDer(obj.value[i]));\n }\n }\n } else {\n // use asn1.value directly\n if(obj.type === asn1.Type.BMPSTRING) {\n for(var i = 0; i < obj.value.length; ++i) {\n value.putInt16(obj.value.charCodeAt(i));\n }\n } else {\n // ensure integer is minimally-encoded\n // TODO: should all leading bytes be stripped vs just one?\n // .. ex '00 00 01' => '01'?\n if(obj.type === asn1.Type.INTEGER &&\n obj.value.length > 1 &&\n // leading 0x00 for positive integer\n ((obj.value.charCodeAt(0) === 0 &&\n (obj.value.charCodeAt(1) & 0x80) === 0) ||\n // leading 0xFF for negative integer\n (obj.value.charCodeAt(0) === 0xFF &&\n (obj.value.charCodeAt(1) & 0x80) === 0x80))) {\n value.putBytes(obj.value.substr(1));\n } else {\n value.putBytes(obj.value);\n }\n }\n }\n\n // add tag byte\n bytes.putByte(b1);\n\n // use \"short form\" encoding\n if(value.length() <= 127) {\n // one byte describes the length\n // bit 8 = 0 and bits 7-1 = length\n bytes.putByte(value.length() & 0x7F);\n } else {\n // use \"long form\" encoding\n // 2 to 127 bytes describe the length\n // first byte: bit 8 = 1 and bits 7-1 = # of additional bytes\n // other bytes: length in base 256, big-endian\n var len = value.length();\n var lenBytes = '';\n do {\n lenBytes += String.fromCharCode(len & 0xFF);\n len = len >>> 8;\n } while(len > 0);\n\n // set first byte to # bytes used to store the length and turn on\n // bit 8 to indicate long-form length is used\n bytes.putByte(lenBytes.length | 0x80);\n\n // concatenate length bytes in reverse since they were generated\n // little endian and we need big endian\n for(var i = lenBytes.length - 1; i >= 0; --i) {\n bytes.putByte(lenBytes.charCodeAt(i));\n }\n }\n\n // concatenate value bytes\n bytes.putBuffer(value);\n return bytes;\n};\n\n/**\n * Converts an OID dot-separated string to a byte buffer. The byte buffer\n * contains only the DER-encoded value, not any tag or length bytes.\n *\n * @param oid the OID dot-separated string.\n *\n * @return the byte buffer.\n */\nasn1.oidToDer = function(oid) {\n // split OID into individual values\n var values = oid.split('.');\n var bytes = forge.util.createBuffer();\n\n // first byte is 40 * value1 + value2\n bytes.putByte(40 * parseInt(values[0], 10) + parseInt(values[1], 10));\n // other bytes are each value in base 128 with 8th bit set except for\n // the last byte for each value\n var last, valueBytes, value, b;\n for(var i = 2; i < values.length; ++i) {\n // produce value bytes in reverse because we don't know how many\n // bytes it will take to store the value\n last = true;\n valueBytes = [];\n value = parseInt(values[i], 10);\n do {\n b = value & 0x7F;\n value = value >>> 7;\n // if value is not last, then turn on 8th bit\n if(!last) {\n b |= 0x80;\n }\n valueBytes.push(b);\n last = false;\n } while(value > 0);\n\n // add value bytes in reverse (needs to be in big endian)\n for(var n = valueBytes.length - 1; n >= 0; --n) {\n bytes.putByte(valueBytes[n]);\n }\n }\n\n return bytes;\n};\n\n/**\n * Converts a DER-encoded byte buffer to an OID dot-separated string. The\n * byte buffer should contain only the DER-encoded value, not any tag or\n * length bytes.\n *\n * @param bytes the byte buffer.\n *\n * @return the OID dot-separated string.\n */\nasn1.derToOid = function(bytes) {\n var oid;\n\n // wrap in buffer if needed\n if(typeof bytes === 'string') {\n bytes = forge.util.createBuffer(bytes);\n }\n\n // first byte is 40 * value1 + value2\n var b = bytes.getByte();\n oid = Math.floor(b / 40) + '.' + (b % 40);\n\n // other bytes are each value in base 128 with 8th bit set except for\n // the last byte for each value\n var value = 0;\n while(bytes.length() > 0) {\n b = bytes.getByte();\n value = value << 7;\n // not the last byte for the value\n if(b & 0x80) {\n value += b & 0x7F;\n } else {\n // last byte\n oid += '.' + (value + b);\n value = 0;\n }\n }\n\n return oid;\n};\n\n/**\n * Converts a UTCTime value to a date.\n *\n * Note: GeneralizedTime has 4 digits for the year and is used for X.509\n * dates past 2049. Parsing that structure hasn't been implemented yet.\n *\n * @param utc the UTCTime value to convert.\n *\n * @return the date.\n */\nasn1.utcTimeToDate = function(utc) {\n /* The following formats can be used:\n\n YYMMDDhhmmZ\n YYMMDDhhmm+hh'mm'\n YYMMDDhhmm-hh'mm'\n YYMMDDhhmmssZ\n YYMMDDhhmmss+hh'mm'\n YYMMDDhhmmss-hh'mm'\n\n Where:\n\n YY is the least significant two digits of the year\n MM is the month (01 to 12)\n DD is the day (01 to 31)\n hh is the hour (00 to 23)\n mm are the minutes (00 to 59)\n ss are the seconds (00 to 59)\n Z indicates that local time is GMT, + indicates that local time is\n later than GMT, and - indicates that local time is earlier than GMT\n hh' is the absolute value of the offset from GMT in hours\n mm' is the absolute value of the offset from GMT in minutes */\n var date = new Date();\n\n // if YY >= 50 use 19xx, if YY < 50 use 20xx\n var year = parseInt(utc.substr(0, 2), 10);\n year = (year >= 50) ? 1900 + year : 2000 + year;\n var MM = parseInt(utc.substr(2, 2), 10) - 1; // use 0-11 for month\n var DD = parseInt(utc.substr(4, 2), 10);\n var hh = parseInt(utc.substr(6, 2), 10);\n var mm = parseInt(utc.substr(8, 2), 10);\n var ss = 0;\n\n // not just YYMMDDhhmmZ\n if(utc.length > 11) {\n // get character after minutes\n var c = utc.charAt(10);\n var end = 10;\n\n // see if seconds are present\n if(c !== '+' && c !== '-') {\n // get seconds\n ss = parseInt(utc.substr(10, 2), 10);\n end += 2;\n }\n }\n\n // update date\n date.setUTCFullYear(year, MM, DD);\n date.setUTCHours(hh, mm, ss, 0);\n\n if(end) {\n // get +/- after end of time\n c = utc.charAt(end);\n if(c === '+' || c === '-') {\n // get hours+minutes offset\n var hhoffset = parseInt(utc.substr(end + 1, 2), 10);\n var mmoffset = parseInt(utc.substr(end + 4, 2), 10);\n\n // calculate offset in milliseconds\n var offset = hhoffset * 60 + mmoffset;\n offset *= 60000;\n\n // apply offset\n if(c === '+') {\n date.setTime(+date - offset);\n } else {\n date.setTime(+date + offset);\n }\n }\n }\n\n return date;\n};\n\n/**\n * Converts a GeneralizedTime value to a date.\n *\n * @param gentime the GeneralizedTime value to convert.\n *\n * @return the date.\n */\nasn1.generalizedTimeToDate = function(gentime) {\n /* The following formats can be used:\n\n YYYYMMDDHHMMSS\n YYYYMMDDHHMMSS.fff\n YYYYMMDDHHMMSSZ\n YYYYMMDDHHMMSS.fffZ\n YYYYMMDDHHMMSS+hh'mm'\n YYYYMMDDHHMMSS.fff+hh'mm'\n YYYYMMDDHHMMSS-hh'mm'\n YYYYMMDDHHMMSS.fff-hh'mm'\n\n Where:\n\n YYYY is the year\n MM is the month (01 to 12)\n DD is the day (01 to 31)\n hh is the hour (00 to 23)\n mm are the minutes (00 to 59)\n ss are the seconds (00 to 59)\n .fff is the second fraction, accurate to three decimal places\n Z indicates that local time is GMT, + indicates that local time is\n later than GMT, and - indicates that local time is earlier than GMT\n hh' is the absolute value of the offset from GMT in hours\n mm' is the absolute value of the offset from GMT in minutes */\n var date = new Date();\n\n var YYYY = parseInt(gentime.substr(0, 4), 10);\n var MM = parseInt(gentime.substr(4, 2), 10) - 1; // use 0-11 for month\n var DD = parseInt(gentime.substr(6, 2), 10);\n var hh = parseInt(gentime.substr(8, 2), 10);\n var mm = parseInt(gentime.substr(10, 2), 10);\n var ss = parseInt(gentime.substr(12, 2), 10);\n var fff = 0;\n var offset = 0;\n var isUTC = false;\n\n if(gentime.charAt(gentime.length - 1) === 'Z') {\n isUTC = true;\n }\n\n var end = gentime.length - 5, c = gentime.charAt(end);\n if(c === '+' || c === '-') {\n // get hours+minutes offset\n var hhoffset = parseInt(gentime.substr(end + 1, 2), 10);\n var mmoffset = parseInt(gentime.substr(end + 4, 2), 10);\n\n // calculate offset in milliseconds\n offset = hhoffset * 60 + mmoffset;\n offset *= 60000;\n\n // apply offset\n if(c === '+') {\n offset *= -1;\n }\n\n isUTC = true;\n }\n\n // check for second fraction\n if(gentime.charAt(14) === '.') {\n fff = parseFloat(gentime.substr(14), 10) * 1000;\n }\n\n if(isUTC) {\n date.setUTCFullYear(YYYY, MM, DD);\n date.setUTCHours(hh, mm, ss, fff);\n\n // apply offset\n date.setTime(+date + offset);\n } else {\n date.setFullYear(YYYY, MM, DD);\n date.setHours(hh, mm, ss, fff);\n }\n\n return date;\n};\n\n/**\n * Converts a date to a UTCTime value.\n *\n * Note: GeneralizedTime has 4 digits for the year and is used for X.509\n * dates past 2049. Converting to a GeneralizedTime hasn't been\n * implemented yet.\n *\n * @param date the date to convert.\n *\n * @return the UTCTime value.\n */\nasn1.dateToUtcTime = function(date) {\n // TODO: validate; currently assumes proper format\n if(typeof date === 'string') {\n return date;\n }\n\n var rval = '';\n\n // create format YYMMDDhhmmssZ\n var format = [];\n format.push(('' + date.getUTCFullYear()).substr(2));\n format.push('' + (date.getUTCMonth() + 1));\n format.push('' + date.getUTCDate());\n format.push('' + date.getUTCHours());\n format.push('' + date.getUTCMinutes());\n format.push('' + date.getUTCSeconds());\n\n // ensure 2 digits are used for each format entry\n for(var i = 0; i < format.length; ++i) {\n if(format[i].length < 2) {\n rval += '0';\n }\n rval += format[i];\n }\n rval += 'Z';\n\n return rval;\n};\n\n/**\n * Converts a date to a GeneralizedTime value.\n *\n * @param date the date to convert.\n *\n * @return the GeneralizedTime value as a string.\n */\nasn1.dateToGeneralizedTime = function(date) {\n // TODO: validate; currently assumes proper format\n if(typeof date === 'string') {\n return date;\n }\n\n var rval = '';\n\n // create format YYYYMMDDHHMMSSZ\n var format = [];\n format.push('' + date.getUTCFullYear());\n format.push('' + (date.getUTCMonth() + 1));\n format.push('' + date.getUTCDate());\n format.push('' + date.getUTCHours());\n format.push('' + date.getUTCMinutes());\n format.push('' + date.getUTCSeconds());\n\n // ensure 2 digits are used for each format entry\n for(var i = 0; i < format.length; ++i) {\n if(format[i].length < 2) {\n rval += '0';\n }\n rval += format[i];\n }\n rval += 'Z';\n\n return rval;\n};\n\n/**\n * Converts a javascript integer to a DER-encoded byte buffer to be used\n * as the value for an INTEGER type.\n *\n * @param x the integer.\n *\n * @return the byte buffer.\n */\nasn1.integerToDer = function(x) {\n var rval = forge.util.createBuffer();\n if(x >= -0x80 && x < 0x80) {\n return rval.putSignedInt(x, 8);\n }\n if(x >= -0x8000 && x < 0x8000) {\n return rval.putSignedInt(x, 16);\n }\n if(x >= -0x800000 && x < 0x800000) {\n return rval.putSignedInt(x, 24);\n }\n if(x >= -0x80000000 && x < 0x80000000) {\n return rval.putSignedInt(x, 32);\n }\n var error = new Error('Integer too large; max is 32-bits.');\n error.integer = x;\n throw error;\n};\n\n/**\n * Converts a DER-encoded byte buffer to a javascript integer. This is\n * typically used to decode the value of an INTEGER type.\n *\n * @param bytes the byte buffer.\n *\n * @return the integer.\n */\nasn1.derToInteger = function(bytes) {\n // wrap in buffer if needed\n if(typeof bytes === 'string') {\n bytes = forge.util.createBuffer(bytes);\n }\n\n var n = bytes.length() * 8;\n if(n > 32) {\n throw new Error('Integer too large; max is 32-bits.');\n }\n return bytes.getSignedInt(n);\n};\n\n/**\n * Validates that the given ASN.1 object is at least a super set of the\n * given ASN.1 structure. Only tag classes and types are checked. An\n * optional map may also be provided to capture ASN.1 values while the\n * structure is checked.\n *\n * To capture an ASN.1 value, set an object in the validator's 'capture'\n * parameter to the key to use in the capture map. To capture the full\n * ASN.1 object, specify 'captureAsn1'. To capture BIT STRING bytes, including\n * the leading unused bits counter byte, specify 'captureBitStringContents'.\n * To capture BIT STRING bytes, without the leading unused bits counter byte,\n * specify 'captureBitStringValue'.\n *\n * Objects in the validator may set a field 'optional' to true to indicate\n * that it isn't necessary to pass validation.\n *\n * @param obj the ASN.1 object to validate.\n * @param v the ASN.1 structure validator.\n * @param capture an optional map to capture values in.\n * @param errors an optional array for storing validation errors.\n *\n * @return true on success, false on failure.\n */\nasn1.validate = function(obj, v, capture, errors) {\n var rval = false;\n\n // ensure tag class and type are the same if specified\n if((obj.tagClass === v.tagClass || typeof(v.tagClass) === 'undefined') &&\n (obj.type === v.type || typeof(v.type) === 'undefined')) {\n // ensure constructed flag is the same if specified\n if(obj.constructed === v.constructed ||\n typeof(v.constructed) === 'undefined') {\n rval = true;\n\n // handle sub values\n if(v.value && forge.util.isArray(v.value)) {\n var j = 0;\n for(var i = 0; rval && i < v.value.length; ++i) {\n rval = v.value[i].optional || false;\n if(obj.value[j]) {\n rval = asn1.validate(obj.value[j], v.value[i], capture, errors);\n if(rval) {\n ++j;\n } else if(v.value[i].optional) {\n rval = true;\n }\n }\n if(!rval && errors) {\n errors.push(\n '[' + v.name + '] ' +\n 'Tag class \"' + v.tagClass + '\", type \"' +\n v.type + '\" expected value length \"' +\n v.value.length + '\", got \"' +\n obj.value.length + '\"');\n }\n }\n }\n\n if(rval && capture) {\n if(v.capture) {\n capture[v.capture] = obj.value;\n }\n if(v.captureAsn1) {\n capture[v.captureAsn1] = obj;\n }\n if(v.captureBitStringContents && 'bitStringContents' in obj) {\n capture[v.captureBitStringContents] = obj.bitStringContents;\n }\n if(v.captureBitStringValue && 'bitStringContents' in obj) {\n var value;\n if(obj.bitStringContents.length < 2) {\n capture[v.captureBitStringValue] = '';\n } else {\n // FIXME: support unused bits with data shifting\n var unused = obj.bitStringContents.charCodeAt(0);\n if(unused !== 0) {\n throw new Error(\n 'captureBitStringValue only supported for zero unused bits');\n }\n capture[v.captureBitStringValue] = obj.bitStringContents.slice(1);\n }\n }\n }\n } else if(errors) {\n errors.push(\n '[' + v.name + '] ' +\n 'Expected constructed \"' + v.constructed + '\", got \"' +\n obj.constructed + '\"');\n }\n } else if(errors) {\n if(obj.tagClass !== v.tagClass) {\n errors.push(\n '[' + v.name + '] ' +\n 'Expected tag class \"' + v.tagClass + '\", got \"' +\n obj.tagClass + '\"');\n }\n if(obj.type !== v.type) {\n errors.push(\n '[' + v.name + '] ' +\n 'Expected type \"' + v.type + '\", got \"' + obj.type + '\"');\n }\n }\n return rval;\n};\n\n// regex for testing for non-latin characters\nvar _nonLatinRegex = /[^\\\\u0000-\\\\u00ff]/;\n\n/**\n * Pretty prints an ASN.1 object to a string.\n *\n * @param obj the object to write out.\n * @param level the level in the tree.\n * @param indentation the indentation to use.\n *\n * @return the string.\n */\nasn1.prettyPrint = function(obj, level, indentation) {\n var rval = '';\n\n // set default level and indentation\n level = level || 0;\n indentation = indentation || 2;\n\n // start new line for deep levels\n if(level > 0) {\n rval += '\\n';\n }\n\n // create indent\n var indent = '';\n for(var i = 0; i < level * indentation; ++i) {\n indent += ' ';\n }\n\n // print class:type\n rval += indent + 'Tag: ';\n switch(obj.tagClass) {\n case asn1.Class.UNIVERSAL:\n rval += 'Universal:';\n break;\n case asn1.Class.APPLICATION:\n rval += 'Application:';\n break;\n case asn1.Class.CONTEXT_SPECIFIC:\n rval += 'Context-Specific:';\n break;\n case asn1.Class.PRIVATE:\n rval += 'Private:';\n break;\n }\n\n if(obj.tagClass === asn1.Class.UNIVERSAL) {\n rval += obj.type;\n\n // known types\n switch(obj.type) {\n case asn1.Type.NONE:\n rval += ' (None)';\n break;\n case asn1.Type.BOOLEAN:\n rval += ' (Boolean)';\n break;\n case asn1.Type.INTEGER:\n rval += ' (Integer)';\n break;\n case asn1.Type.BITSTRING:\n rval += ' (Bit string)';\n break;\n case asn1.Type.OCTETSTRING:\n rval += ' (Octet string)';\n break;\n case asn1.Type.NULL:\n rval += ' (Null)';\n break;\n case asn1.Type.OID:\n rval += ' (Object Identifier)';\n break;\n case asn1.Type.ODESC:\n rval += ' (Object Descriptor)';\n break;\n case asn1.Type.EXTERNAL:\n rval += ' (External or Instance of)';\n break;\n case asn1.Type.REAL:\n rval += ' (Real)';\n break;\n case asn1.Type.ENUMERATED:\n rval += ' (Enumerated)';\n break;\n case asn1.Type.EMBEDDED:\n rval += ' (Embedded PDV)';\n break;\n case asn1.Type.UTF8:\n rval += ' (UTF8)';\n break;\n case asn1.Type.ROID:\n rval += ' (Relative Object Identifier)';\n break;\n case asn1.Type.SEQUENCE:\n rval += ' (Sequence)';\n break;\n case asn1.Type.SET:\n rval += ' (Set)';\n break;\n case asn1.Type.PRINTABLESTRING:\n rval += ' (Printable String)';\n break;\n case asn1.Type.IA5String:\n rval += ' (IA5String (ASCII))';\n break;\n case asn1.Type.UTCTIME:\n rval += ' (UTC time)';\n break;\n case asn1.Type.GENERALIZEDTIME:\n rval += ' (Generalized time)';\n break;\n case asn1.Type.BMPSTRING:\n rval += ' (BMP String)';\n break;\n }\n } else {\n rval += obj.type;\n }\n\n rval += '\\n';\n rval += indent + 'Constructed: ' + obj.constructed + '\\n';\n\n if(obj.composed) {\n var subvalues = 0;\n var sub = '';\n for(var i = 0; i < obj.value.length; ++i) {\n if(obj.value[i] !== undefined) {\n subvalues += 1;\n sub += asn1.prettyPrint(obj.value[i], level + 1, indentation);\n if((i + 1) < obj.value.length) {\n sub += ',';\n }\n }\n }\n rval += indent + 'Sub values: ' + subvalues + sub;\n } else {\n rval += indent + 'Value: ';\n if(obj.type === asn1.Type.OID) {\n var oid = asn1.derToOid(obj.value);\n rval += oid;\n if(forge.pki && forge.pki.oids) {\n if(oid in forge.pki.oids) {\n rval += ' (' + forge.pki.oids[oid] + ') ';\n }\n }\n }\n if(obj.type === asn1.Type.INTEGER) {\n try {\n rval += asn1.derToInteger(obj.value);\n } catch(ex) {\n rval += '0x' + forge.util.bytesToHex(obj.value);\n }\n } else if(obj.type === asn1.Type.BITSTRING) {\n // TODO: shift bits as needed to display without padding\n if(obj.value.length > 1) {\n // remove unused bits field\n rval += '0x' + forge.util.bytesToHex(obj.value.slice(1));\n } else {\n rval += '(none)';\n }\n // show unused bit count\n if(obj.value.length > 0) {\n var unused = obj.value.charCodeAt(0);\n if(unused == 1) {\n rval += ' (1 unused bit shown)';\n } else if(unused > 1) {\n rval += ' (' + unused + ' unused bits shown)';\n }\n }\n } else if(obj.type === asn1.Type.OCTETSTRING) {\n if(!_nonLatinRegex.test(obj.value)) {\n rval += '(' + obj.value + ') ';\n }\n rval += '0x' + forge.util.bytesToHex(obj.value);\n } else if(obj.type === asn1.Type.UTF8) {\n rval += forge.util.decodeUtf8(obj.value);\n } else if(obj.type === asn1.Type.PRINTABLESTRING ||\n obj.type === asn1.Type.IA5String) {\n rval += obj.value;\n } else if(_nonLatinRegex.test(obj.value)) {\n rval += '0x' + forge.util.bytesToHex(obj.value);\n } else if(obj.value.length === 0) {\n rval += '[null]';\n } else {\n rval += obj.value;\n }\n }\n\n return rval;\n};\n","/**\n * Base-N/Base-X encoding/decoding functions.\n *\n * Original implementation from base-x:\n * https://github.com/cryptocoinjs/base-x\n *\n * Which is MIT licensed:\n *\n * The MIT License (MIT)\n *\n * Copyright base-x contributors (c) 2016\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n * DEALINGS IN THE SOFTWARE.\n */\nvar api = {};\nmodule.exports = api;\n\n// baseN alphabet indexes\nvar _reverseAlphabets = {};\n\n/**\n * BaseN-encodes a Uint8Array using the given alphabet.\n *\n * @param input the Uint8Array to encode.\n * @param maxline the maximum number of encoded characters per line to use,\n * defaults to none.\n *\n * @return the baseN-encoded output string.\n */\napi.encode = function(input, alphabet, maxline) {\n if(typeof alphabet !== 'string') {\n throw new TypeError('\"alphabet\" must be a string.');\n }\n if(maxline !== undefined && typeof maxline !== 'number') {\n throw new TypeError('\"maxline\" must be a number.');\n }\n\n var output = '';\n\n if(!(input instanceof Uint8Array)) {\n // assume forge byte buffer\n output = _encodeWithByteBuffer(input, alphabet);\n } else {\n var i = 0;\n var base = alphabet.length;\n var first = alphabet.charAt(0);\n var digits = [0];\n for(i = 0; i < input.length; ++i) {\n for(var j = 0, carry = input[i]; j < digits.length; ++j) {\n carry += digits[j] << 8;\n digits[j] = carry % base;\n carry = (carry / base) | 0;\n }\n\n while(carry > 0) {\n digits.push(carry % base);\n carry = (carry / base) | 0;\n }\n }\n\n // deal with leading zeros\n for(i = 0; input[i] === 0 && i < input.length - 1; ++i) {\n output += first;\n }\n // convert digits to a string\n for(i = digits.length - 1; i >= 0; --i) {\n output += alphabet[digits[i]];\n }\n }\n\n if(maxline) {\n var regex = new RegExp('.{1,' + maxline + '}', 'g');\n output = output.match(regex).join('\\r\\n');\n }\n\n return output;\n};\n\n/**\n * Decodes a baseN-encoded (using the given alphabet) string to a\n * Uint8Array.\n *\n * @param input the baseN-encoded input string.\n *\n * @return the Uint8Array.\n */\napi.decode = function(input, alphabet) {\n if(typeof input !== 'string') {\n throw new TypeError('\"input\" must be a string.');\n }\n if(typeof alphabet !== 'string') {\n throw new TypeError('\"alphabet\" must be a string.');\n }\n\n var table = _reverseAlphabets[alphabet];\n if(!table) {\n // compute reverse alphabet\n table = _reverseAlphabets[alphabet] = [];\n for(var i = 0; i < alphabet.length; ++i) {\n table[alphabet.charCodeAt(i)] = i;\n }\n }\n\n // remove whitespace characters\n input = input.replace(/\\s/g, '');\n\n var base = alphabet.length;\n var first = alphabet.charAt(0);\n var bytes = [0];\n for(var i = 0; i < input.length; i++) {\n var value = table[input.charCodeAt(i)];\n if(value === undefined) {\n return;\n }\n\n for(var j = 0, carry = value; j < bytes.length; ++j) {\n carry += bytes[j] * base;\n bytes[j] = carry & 0xff;\n carry >>= 8;\n }\n\n while(carry > 0) {\n bytes.push(carry & 0xff);\n carry >>= 8;\n }\n }\n\n // deal with leading zeros\n for(var k = 0; input[k] === first && k < input.length - 1; ++k) {\n bytes.push(0);\n }\n\n if(typeof Buffer !== 'undefined') {\n return Buffer.from(bytes.reverse());\n }\n\n return new Uint8Array(bytes.reverse());\n};\n\nfunction _encodeWithByteBuffer(input, alphabet) {\n var i = 0;\n var base = alphabet.length;\n var first = alphabet.charAt(0);\n var digits = [0];\n for(i = 0; i < input.length(); ++i) {\n for(var j = 0, carry = input.at(i); j < digits.length; ++j) {\n carry += digits[j] << 8;\n digits[j] = carry % base;\n carry = (carry / base) | 0;\n }\n\n while(carry > 0) {\n digits.push(carry % base);\n carry = (carry / base) | 0;\n }\n }\n\n var output = '';\n\n // deal with leading zeros\n for(i = 0; input.at(i) === 0 && i < input.length() - 1; ++i) {\n output += first;\n }\n // convert digits to a string\n for(i = digits.length - 1; i >= 0; --i) {\n output += alphabet[digits[i]];\n }\n\n return output;\n}\n","/**\n * Cipher base API.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\n\nmodule.exports = forge.cipher = forge.cipher || {};\n\n// registered algorithms\nforge.cipher.algorithms = forge.cipher.algorithms || {};\n\n/**\n * Creates a cipher object that can be used to encrypt data using the given\n * algorithm and key. The algorithm may be provided as a string value for a\n * previously registered algorithm or it may be given as a cipher algorithm\n * API object.\n *\n * @param algorithm the algorithm to use, either a string or an algorithm API\n * object.\n * @param key the key to use, as a binary-encoded string of bytes or a\n * byte buffer.\n *\n * @return the cipher.\n */\nforge.cipher.createCipher = function(algorithm, key) {\n var api = algorithm;\n if(typeof api === 'string') {\n api = forge.cipher.getAlgorithm(api);\n if(api) {\n api = api();\n }\n }\n if(!api) {\n throw new Error('Unsupported algorithm: ' + algorithm);\n }\n\n // assume block cipher\n return new forge.cipher.BlockCipher({\n algorithm: api,\n key: key,\n decrypt: false\n });\n};\n\n/**\n * Creates a decipher object that can be used to decrypt data using the given\n * algorithm and key. The algorithm may be provided as a string value for a\n * previously registered algorithm or it may be given as a cipher algorithm\n * API object.\n *\n * @param algorithm the algorithm to use, either a string or an algorithm API\n * object.\n * @param key the key to use, as a binary-encoded string of bytes or a\n * byte buffer.\n *\n * @return the cipher.\n */\nforge.cipher.createDecipher = function(algorithm, key) {\n var api = algorithm;\n if(typeof api === 'string') {\n api = forge.cipher.getAlgorithm(api);\n if(api) {\n api = api();\n }\n }\n if(!api) {\n throw new Error('Unsupported algorithm: ' + algorithm);\n }\n\n // assume block cipher\n return new forge.cipher.BlockCipher({\n algorithm: api,\n key: key,\n decrypt: true\n });\n};\n\n/**\n * Registers an algorithm by name. If the name was already registered, the\n * algorithm API object will be overwritten.\n *\n * @param name the name of the algorithm.\n * @param algorithm the algorithm API object.\n */\nforge.cipher.registerAlgorithm = function(name, algorithm) {\n name = name.toUpperCase();\n forge.cipher.algorithms[name] = algorithm;\n};\n\n/**\n * Gets a registered algorithm by name.\n *\n * @param name the name of the algorithm.\n *\n * @return the algorithm, if found, null if not.\n */\nforge.cipher.getAlgorithm = function(name) {\n name = name.toUpperCase();\n if(name in forge.cipher.algorithms) {\n return forge.cipher.algorithms[name];\n }\n return null;\n};\n\nvar BlockCipher = forge.cipher.BlockCipher = function(options) {\n this.algorithm = options.algorithm;\n this.mode = this.algorithm.mode;\n this.blockSize = this.mode.blockSize;\n this._finish = false;\n this._input = null;\n this.output = null;\n this._op = options.decrypt ? this.mode.decrypt : this.mode.encrypt;\n this._decrypt = options.decrypt;\n this.algorithm.initialize(options);\n};\n\n/**\n * Starts or restarts the encryption or decryption process, whichever\n * was previously configured.\n *\n * For non-GCM mode, the IV may be a binary-encoded string of bytes, an array\n * of bytes, a byte buffer, or an array of 32-bit integers. If the IV is in\n * bytes, then it must be Nb (16) bytes in length. If the IV is given in as\n * 32-bit integers, then it must be 4 integers long.\n *\n * Note: an IV is not required or used in ECB mode.\n *\n * For GCM-mode, the IV must be given as a binary-encoded string of bytes or\n * a byte buffer. The number of bytes should be 12 (96 bits) as recommended\n * by NIST SP-800-38D but another length may be given.\n *\n * @param options the options to use:\n * iv the initialization vector to use as a binary-encoded string of\n * bytes, null to reuse the last ciphered block from a previous\n * update() (this \"residue\" method is for legacy support only).\n * additionalData additional authentication data as a binary-encoded\n * string of bytes, for 'GCM' mode, (default: none).\n * tagLength desired length of authentication tag, in bits, for\n * 'GCM' mode (0-128, default: 128).\n * tag the authentication tag to check if decrypting, as a\n * binary-encoded string of bytes.\n * output the output the buffer to write to, null to create one.\n */\nBlockCipher.prototype.start = function(options) {\n options = options || {};\n var opts = {};\n for(var key in options) {\n opts[key] = options[key];\n }\n opts.decrypt = this._decrypt;\n this._finish = false;\n this._input = forge.util.createBuffer();\n this.output = options.output || forge.util.createBuffer();\n this.mode.start(opts);\n};\n\n/**\n * Updates the next block according to the cipher mode.\n *\n * @param input the buffer to read from.\n */\nBlockCipher.prototype.update = function(input) {\n if(input) {\n // input given, so empty it into the input buffer\n this._input.putBuffer(input);\n }\n\n // do cipher operation until it needs more input and not finished\n while(!this._op.call(this.mode, this._input, this.output, this._finish) &&\n !this._finish) {}\n\n // free consumed memory from input buffer\n this._input.compact();\n};\n\n/**\n * Finishes encrypting or decrypting.\n *\n * @param pad a padding function to use in CBC mode, null for default,\n * signature(blockSize, buffer, decrypt).\n *\n * @return true if successful, false on error.\n */\nBlockCipher.prototype.finish = function(pad) {\n // backwards-compatibility w/deprecated padding API\n // Note: will overwrite padding functions even after another start() call\n if(pad && (this.mode.name === 'ECB' || this.mode.name === 'CBC')) {\n this.mode.pad = function(input) {\n return pad(this.blockSize, input, false);\n };\n this.mode.unpad = function(output) {\n return pad(this.blockSize, output, true);\n };\n }\n\n // build options for padding and afterFinish functions\n var options = {};\n options.decrypt = this._decrypt;\n\n // get # of bytes that won't fill a block\n options.overflow = this._input.length() % this.blockSize;\n\n if(!this._decrypt && this.mode.pad) {\n if(!this.mode.pad(this._input, options)) {\n return false;\n }\n }\n\n // do final update\n this._finish = true;\n this.update();\n\n if(this._decrypt && this.mode.unpad) {\n if(!this.mode.unpad(this.output, options)) {\n return false;\n }\n }\n\n if(this.mode.afterFinish) {\n if(!this.mode.afterFinish(this.output, options)) {\n return false;\n }\n }\n\n return true;\n};\n","/**\n * Supported cipher modes.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\n\nforge.cipher = forge.cipher || {};\n\n// supported cipher modes\nvar modes = module.exports = forge.cipher.modes = forge.cipher.modes || {};\n\n/** Electronic codebook (ECB) (Don't use this; it's not secure) **/\n\nmodes.ecb = function(options) {\n options = options || {};\n this.name = 'ECB';\n this.cipher = options.cipher;\n this.blockSize = options.blockSize || 16;\n this._ints = this.blockSize / 4;\n this._inBlock = new Array(this._ints);\n this._outBlock = new Array(this._ints);\n};\n\nmodes.ecb.prototype.start = function(options) {};\n\nmodes.ecb.prototype.encrypt = function(input, output, finish) {\n // not enough input to encrypt\n if(input.length() < this.blockSize && !(finish && input.length() > 0)) {\n return true;\n }\n\n // get next block\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = input.getInt32();\n }\n\n // encrypt block\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // write output\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(this._outBlock[i]);\n }\n};\n\nmodes.ecb.prototype.decrypt = function(input, output, finish) {\n // not enough input to decrypt\n if(input.length() < this.blockSize && !(finish && input.length() > 0)) {\n return true;\n }\n\n // get next block\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = input.getInt32();\n }\n\n // decrypt block\n this.cipher.decrypt(this._inBlock, this._outBlock);\n\n // write output\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(this._outBlock[i]);\n }\n};\n\nmodes.ecb.prototype.pad = function(input, options) {\n // add PKCS#7 padding to block (each pad byte is the\n // value of the number of pad bytes)\n var padding = (input.length() === this.blockSize ?\n this.blockSize : (this.blockSize - input.length()));\n input.fillWithByte(padding, padding);\n return true;\n};\n\nmodes.ecb.prototype.unpad = function(output, options) {\n // check for error: input data not a multiple of blockSize\n if(options.overflow > 0) {\n return false;\n }\n\n // ensure padding byte count is valid\n var len = output.length();\n var count = output.at(len - 1);\n if(count > (this.blockSize << 2)) {\n return false;\n }\n\n // trim off padding bytes\n output.truncate(count);\n return true;\n};\n\n/** Cipher-block Chaining (CBC) **/\n\nmodes.cbc = function(options) {\n options = options || {};\n this.name = 'CBC';\n this.cipher = options.cipher;\n this.blockSize = options.blockSize || 16;\n this._ints = this.blockSize / 4;\n this._inBlock = new Array(this._ints);\n this._outBlock = new Array(this._ints);\n};\n\nmodes.cbc.prototype.start = function(options) {\n // Note: legacy support for using IV residue (has security flaws)\n // if IV is null, reuse block from previous processing\n if(options.iv === null) {\n // must have a previous block\n if(!this._prev) {\n throw new Error('Invalid IV parameter.');\n }\n this._iv = this._prev.slice(0);\n } else if(!('iv' in options)) {\n throw new Error('Invalid IV parameter.');\n } else {\n // save IV as \"previous\" block\n this._iv = transformIV(options.iv, this.blockSize);\n this._prev = this._iv.slice(0);\n }\n};\n\nmodes.cbc.prototype.encrypt = function(input, output, finish) {\n // not enough input to encrypt\n if(input.length() < this.blockSize && !(finish && input.length() > 0)) {\n return true;\n }\n\n // get next block\n // CBC XOR's IV (or previous block) with plaintext\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = this._prev[i] ^ input.getInt32();\n }\n\n // encrypt block\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // write output, save previous block\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(this._outBlock[i]);\n }\n this._prev = this._outBlock;\n};\n\nmodes.cbc.prototype.decrypt = function(input, output, finish) {\n // not enough input to decrypt\n if(input.length() < this.blockSize && !(finish && input.length() > 0)) {\n return true;\n }\n\n // get next block\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = input.getInt32();\n }\n\n // decrypt block\n this.cipher.decrypt(this._inBlock, this._outBlock);\n\n // write output, save previous ciphered block\n // CBC XOR's IV (or previous block) with ciphertext\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(this._prev[i] ^ this._outBlock[i]);\n }\n this._prev = this._inBlock.slice(0);\n};\n\nmodes.cbc.prototype.pad = function(input, options) {\n // add PKCS#7 padding to block (each pad byte is the\n // value of the number of pad bytes)\n var padding = (input.length() === this.blockSize ?\n this.blockSize : (this.blockSize - input.length()));\n input.fillWithByte(padding, padding);\n return true;\n};\n\nmodes.cbc.prototype.unpad = function(output, options) {\n // check for error: input data not a multiple of blockSize\n if(options.overflow > 0) {\n return false;\n }\n\n // ensure padding byte count is valid\n var len = output.length();\n var count = output.at(len - 1);\n if(count > (this.blockSize << 2)) {\n return false;\n }\n\n // trim off padding bytes\n output.truncate(count);\n return true;\n};\n\n/** Cipher feedback (CFB) **/\n\nmodes.cfb = function(options) {\n options = options || {};\n this.name = 'CFB';\n this.cipher = options.cipher;\n this.blockSize = options.blockSize || 16;\n this._ints = this.blockSize / 4;\n this._inBlock = null;\n this._outBlock = new Array(this._ints);\n this._partialBlock = new Array(this._ints);\n this._partialOutput = forge.util.createBuffer();\n this._partialBytes = 0;\n};\n\nmodes.cfb.prototype.start = function(options) {\n if(!('iv' in options)) {\n throw new Error('Invalid IV parameter.');\n }\n // use IV as first input\n this._iv = transformIV(options.iv, this.blockSize);\n this._inBlock = this._iv.slice(0);\n this._partialBytes = 0;\n};\n\nmodes.cfb.prototype.encrypt = function(input, output, finish) {\n // not enough input to encrypt\n var inputLength = input.length();\n if(inputLength === 0) {\n return true;\n }\n\n // encrypt block\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // handle full block\n if(this._partialBytes === 0 && inputLength >= this.blockSize) {\n // XOR input with output, write input as output\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = input.getInt32() ^ this._outBlock[i];\n output.putInt32(this._inBlock[i]);\n }\n return;\n }\n\n // handle partial block\n var partialBytes = (this.blockSize - inputLength) % this.blockSize;\n if(partialBytes > 0) {\n partialBytes = this.blockSize - partialBytes;\n }\n\n // XOR input with output, write input as partial output\n this._partialOutput.clear();\n for(var i = 0; i < this._ints; ++i) {\n this._partialBlock[i] = input.getInt32() ^ this._outBlock[i];\n this._partialOutput.putInt32(this._partialBlock[i]);\n }\n\n if(partialBytes > 0) {\n // block still incomplete, restore input buffer\n input.read -= this.blockSize;\n } else {\n // block complete, update input block\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = this._partialBlock[i];\n }\n }\n\n // skip any previous partial bytes\n if(this._partialBytes > 0) {\n this._partialOutput.getBytes(this._partialBytes);\n }\n\n if(partialBytes > 0 && !finish) {\n output.putBytes(this._partialOutput.getBytes(\n partialBytes - this._partialBytes));\n this._partialBytes = partialBytes;\n return true;\n }\n\n output.putBytes(this._partialOutput.getBytes(\n inputLength - this._partialBytes));\n this._partialBytes = 0;\n};\n\nmodes.cfb.prototype.decrypt = function(input, output, finish) {\n // not enough input to decrypt\n var inputLength = input.length();\n if(inputLength === 0) {\n return true;\n }\n\n // encrypt block (CFB always uses encryption mode)\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // handle full block\n if(this._partialBytes === 0 && inputLength >= this.blockSize) {\n // XOR input with output, write input as output\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = input.getInt32();\n output.putInt32(this._inBlock[i] ^ this._outBlock[i]);\n }\n return;\n }\n\n // handle partial block\n var partialBytes = (this.blockSize - inputLength) % this.blockSize;\n if(partialBytes > 0) {\n partialBytes = this.blockSize - partialBytes;\n }\n\n // XOR input with output, write input as partial output\n this._partialOutput.clear();\n for(var i = 0; i < this._ints; ++i) {\n this._partialBlock[i] = input.getInt32();\n this._partialOutput.putInt32(this._partialBlock[i] ^ this._outBlock[i]);\n }\n\n if(partialBytes > 0) {\n // block still incomplete, restore input buffer\n input.read -= this.blockSize;\n } else {\n // block complete, update input block\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = this._partialBlock[i];\n }\n }\n\n // skip any previous partial bytes\n if(this._partialBytes > 0) {\n this._partialOutput.getBytes(this._partialBytes);\n }\n\n if(partialBytes > 0 && !finish) {\n output.putBytes(this._partialOutput.getBytes(\n partialBytes - this._partialBytes));\n this._partialBytes = partialBytes;\n return true;\n }\n\n output.putBytes(this._partialOutput.getBytes(\n inputLength - this._partialBytes));\n this._partialBytes = 0;\n};\n\n/** Output feedback (OFB) **/\n\nmodes.ofb = function(options) {\n options = options || {};\n this.name = 'OFB';\n this.cipher = options.cipher;\n this.blockSize = options.blockSize || 16;\n this._ints = this.blockSize / 4;\n this._inBlock = null;\n this._outBlock = new Array(this._ints);\n this._partialOutput = forge.util.createBuffer();\n this._partialBytes = 0;\n};\n\nmodes.ofb.prototype.start = function(options) {\n if(!('iv' in options)) {\n throw new Error('Invalid IV parameter.');\n }\n // use IV as first input\n this._iv = transformIV(options.iv, this.blockSize);\n this._inBlock = this._iv.slice(0);\n this._partialBytes = 0;\n};\n\nmodes.ofb.prototype.encrypt = function(input, output, finish) {\n // not enough input to encrypt\n var inputLength = input.length();\n if(input.length() === 0) {\n return true;\n }\n\n // encrypt block (OFB always uses encryption mode)\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // handle full block\n if(this._partialBytes === 0 && inputLength >= this.blockSize) {\n // XOR input with output and update next input\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(input.getInt32() ^ this._outBlock[i]);\n this._inBlock[i] = this._outBlock[i];\n }\n return;\n }\n\n // handle partial block\n var partialBytes = (this.blockSize - inputLength) % this.blockSize;\n if(partialBytes > 0) {\n partialBytes = this.blockSize - partialBytes;\n }\n\n // XOR input with output\n this._partialOutput.clear();\n for(var i = 0; i < this._ints; ++i) {\n this._partialOutput.putInt32(input.getInt32() ^ this._outBlock[i]);\n }\n\n if(partialBytes > 0) {\n // block still incomplete, restore input buffer\n input.read -= this.blockSize;\n } else {\n // block complete, update input block\n for(var i = 0; i < this._ints; ++i) {\n this._inBlock[i] = this._outBlock[i];\n }\n }\n\n // skip any previous partial bytes\n if(this._partialBytes > 0) {\n this._partialOutput.getBytes(this._partialBytes);\n }\n\n if(partialBytes > 0 && !finish) {\n output.putBytes(this._partialOutput.getBytes(\n partialBytes - this._partialBytes));\n this._partialBytes = partialBytes;\n return true;\n }\n\n output.putBytes(this._partialOutput.getBytes(\n inputLength - this._partialBytes));\n this._partialBytes = 0;\n};\n\nmodes.ofb.prototype.decrypt = modes.ofb.prototype.encrypt;\n\n/** Counter (CTR) **/\n\nmodes.ctr = function(options) {\n options = options || {};\n this.name = 'CTR';\n this.cipher = options.cipher;\n this.blockSize = options.blockSize || 16;\n this._ints = this.blockSize / 4;\n this._inBlock = null;\n this._outBlock = new Array(this._ints);\n this._partialOutput = forge.util.createBuffer();\n this._partialBytes = 0;\n};\n\nmodes.ctr.prototype.start = function(options) {\n if(!('iv' in options)) {\n throw new Error('Invalid IV parameter.');\n }\n // use IV as first input\n this._iv = transformIV(options.iv, this.blockSize);\n this._inBlock = this._iv.slice(0);\n this._partialBytes = 0;\n};\n\nmodes.ctr.prototype.encrypt = function(input, output, finish) {\n // not enough input to encrypt\n var inputLength = input.length();\n if(inputLength === 0) {\n return true;\n }\n\n // encrypt block (CTR always uses encryption mode)\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // handle full block\n if(this._partialBytes === 0 && inputLength >= this.blockSize) {\n // XOR input with output\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(input.getInt32() ^ this._outBlock[i]);\n }\n } else {\n // handle partial block\n var partialBytes = (this.blockSize - inputLength) % this.blockSize;\n if(partialBytes > 0) {\n partialBytes = this.blockSize - partialBytes;\n }\n\n // XOR input with output\n this._partialOutput.clear();\n for(var i = 0; i < this._ints; ++i) {\n this._partialOutput.putInt32(input.getInt32() ^ this._outBlock[i]);\n }\n\n if(partialBytes > 0) {\n // block still incomplete, restore input buffer\n input.read -= this.blockSize;\n }\n\n // skip any previous partial bytes\n if(this._partialBytes > 0) {\n this._partialOutput.getBytes(this._partialBytes);\n }\n\n if(partialBytes > 0 && !finish) {\n output.putBytes(this._partialOutput.getBytes(\n partialBytes - this._partialBytes));\n this._partialBytes = partialBytes;\n return true;\n }\n\n output.putBytes(this._partialOutput.getBytes(\n inputLength - this._partialBytes));\n this._partialBytes = 0;\n }\n\n // block complete, increment counter (input block)\n inc32(this._inBlock);\n};\n\nmodes.ctr.prototype.decrypt = modes.ctr.prototype.encrypt;\n\n/** Galois/Counter Mode (GCM) **/\n\nmodes.gcm = function(options) {\n options = options || {};\n this.name = 'GCM';\n this.cipher = options.cipher;\n this.blockSize = options.blockSize || 16;\n this._ints = this.blockSize / 4;\n this._inBlock = new Array(this._ints);\n this._outBlock = new Array(this._ints);\n this._partialOutput = forge.util.createBuffer();\n this._partialBytes = 0;\n\n // R is actually this value concatenated with 120 more zero bits, but\n // we only XOR against R so the other zeros have no effect -- we just\n // apply this value to the first integer in a block\n this._R = 0xE1000000;\n};\n\nmodes.gcm.prototype.start = function(options) {\n if(!('iv' in options)) {\n throw new Error('Invalid IV parameter.');\n }\n // ensure IV is a byte buffer\n var iv = forge.util.createBuffer(options.iv);\n\n // no ciphered data processed yet\n this._cipherLength = 0;\n\n // default additional data is none\n var additionalData;\n if('additionalData' in options) {\n additionalData = forge.util.createBuffer(options.additionalData);\n } else {\n additionalData = forge.util.createBuffer();\n }\n\n // default tag length is 128 bits\n if('tagLength' in options) {\n this._tagLength = options.tagLength;\n } else {\n this._tagLength = 128;\n }\n\n // if tag is given, ensure tag matches tag length\n this._tag = null;\n if(options.decrypt) {\n // save tag to check later\n this._tag = forge.util.createBuffer(options.tag).getBytes();\n if(this._tag.length !== (this._tagLength / 8)) {\n throw new Error('Authentication tag does not match tag length.');\n }\n }\n\n // create tmp storage for hash calculation\n this._hashBlock = new Array(this._ints);\n\n // no tag generated yet\n this.tag = null;\n\n // generate hash subkey\n // (apply block cipher to \"zero\" block)\n this._hashSubkey = new Array(this._ints);\n this.cipher.encrypt([0, 0, 0, 0], this._hashSubkey);\n\n // generate table M\n // use 4-bit tables (32 component decomposition of a 16 byte value)\n // 8-bit tables take more space and are known to have security\n // vulnerabilities (in native implementations)\n this.componentBits = 4;\n this._m = this.generateHashTable(this._hashSubkey, this.componentBits);\n\n // Note: support IV length different from 96 bits? (only supporting\n // 96 bits is recommended by NIST SP-800-38D)\n // generate J_0\n var ivLength = iv.length();\n if(ivLength === 12) {\n // 96-bit IV\n this._j0 = [iv.getInt32(), iv.getInt32(), iv.getInt32(), 1];\n } else {\n // IV is NOT 96-bits\n this._j0 = [0, 0, 0, 0];\n while(iv.length() > 0) {\n this._j0 = this.ghash(\n this._hashSubkey, this._j0,\n [iv.getInt32(), iv.getInt32(), iv.getInt32(), iv.getInt32()]);\n }\n this._j0 = this.ghash(\n this._hashSubkey, this._j0, [0, 0].concat(from64To32(ivLength * 8)));\n }\n\n // generate ICB (initial counter block)\n this._inBlock = this._j0.slice(0);\n inc32(this._inBlock);\n this._partialBytes = 0;\n\n // consume authentication data\n additionalData = forge.util.createBuffer(additionalData);\n // save additional data length as a BE 64-bit number\n this._aDataLength = from64To32(additionalData.length() * 8);\n // pad additional data to 128 bit (16 byte) block size\n var overflow = additionalData.length() % this.blockSize;\n if(overflow) {\n additionalData.fillWithByte(0, this.blockSize - overflow);\n }\n this._s = [0, 0, 0, 0];\n while(additionalData.length() > 0) {\n this._s = this.ghash(this._hashSubkey, this._s, [\n additionalData.getInt32(),\n additionalData.getInt32(),\n additionalData.getInt32(),\n additionalData.getInt32()\n ]);\n }\n};\n\nmodes.gcm.prototype.encrypt = function(input, output, finish) {\n // not enough input to encrypt\n var inputLength = input.length();\n if(inputLength === 0) {\n return true;\n }\n\n // encrypt block\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // handle full block\n if(this._partialBytes === 0 && inputLength >= this.blockSize) {\n // XOR input with output\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(this._outBlock[i] ^= input.getInt32());\n }\n this._cipherLength += this.blockSize;\n } else {\n // handle partial block\n var partialBytes = (this.blockSize - inputLength) % this.blockSize;\n if(partialBytes > 0) {\n partialBytes = this.blockSize - partialBytes;\n }\n\n // XOR input with output\n this._partialOutput.clear();\n for(var i = 0; i < this._ints; ++i) {\n this._partialOutput.putInt32(input.getInt32() ^ this._outBlock[i]);\n }\n\n if(partialBytes <= 0 || finish) {\n // handle overflow prior to hashing\n if(finish) {\n // get block overflow\n var overflow = inputLength % this.blockSize;\n this._cipherLength += overflow;\n // truncate for hash function\n this._partialOutput.truncate(this.blockSize - overflow);\n } else {\n this._cipherLength += this.blockSize;\n }\n\n // get output block for hashing\n for(var i = 0; i < this._ints; ++i) {\n this._outBlock[i] = this._partialOutput.getInt32();\n }\n this._partialOutput.read -= this.blockSize;\n }\n\n // skip any previous partial bytes\n if(this._partialBytes > 0) {\n this._partialOutput.getBytes(this._partialBytes);\n }\n\n if(partialBytes > 0 && !finish) {\n // block still incomplete, restore input buffer, get partial output,\n // and return early\n input.read -= this.blockSize;\n output.putBytes(this._partialOutput.getBytes(\n partialBytes - this._partialBytes));\n this._partialBytes = partialBytes;\n return true;\n }\n\n output.putBytes(this._partialOutput.getBytes(\n inputLength - this._partialBytes));\n this._partialBytes = 0;\n }\n\n // update hash block S\n this._s = this.ghash(this._hashSubkey, this._s, this._outBlock);\n\n // increment counter (input block)\n inc32(this._inBlock);\n};\n\nmodes.gcm.prototype.decrypt = function(input, output, finish) {\n // not enough input to decrypt\n var inputLength = input.length();\n if(inputLength < this.blockSize && !(finish && inputLength > 0)) {\n return true;\n }\n\n // encrypt block (GCM always uses encryption mode)\n this.cipher.encrypt(this._inBlock, this._outBlock);\n\n // increment counter (input block)\n inc32(this._inBlock);\n\n // update hash block S\n this._hashBlock[0] = input.getInt32();\n this._hashBlock[1] = input.getInt32();\n this._hashBlock[2] = input.getInt32();\n this._hashBlock[3] = input.getInt32();\n this._s = this.ghash(this._hashSubkey, this._s, this._hashBlock);\n\n // XOR hash input with output\n for(var i = 0; i < this._ints; ++i) {\n output.putInt32(this._outBlock[i] ^ this._hashBlock[i]);\n }\n\n // increment cipher data length\n if(inputLength < this.blockSize) {\n this._cipherLength += inputLength % this.blockSize;\n } else {\n this._cipherLength += this.blockSize;\n }\n};\n\nmodes.gcm.prototype.afterFinish = function(output, options) {\n var rval = true;\n\n // handle overflow\n if(options.decrypt && options.overflow) {\n output.truncate(this.blockSize - options.overflow);\n }\n\n // handle authentication tag\n this.tag = forge.util.createBuffer();\n\n // concatenate additional data length with cipher length\n var lengths = this._aDataLength.concat(from64To32(this._cipherLength * 8));\n\n // include lengths in hash\n this._s = this.ghash(this._hashSubkey, this._s, lengths);\n\n // do GCTR(J_0, S)\n var tag = [];\n this.cipher.encrypt(this._j0, tag);\n for(var i = 0; i < this._ints; ++i) {\n this.tag.putInt32(this._s[i] ^ tag[i]);\n }\n\n // trim tag to length\n this.tag.truncate(this.tag.length() % (this._tagLength / 8));\n\n // check authentication tag\n if(options.decrypt && this.tag.bytes() !== this._tag) {\n rval = false;\n }\n\n return rval;\n};\n\n/**\n * See NIST SP-800-38D 6.3 (Algorithm 1). This function performs Galois\n * field multiplication. The field, GF(2^128), is defined by the polynomial:\n *\n * x^128 + x^7 + x^2 + x + 1\n *\n * Which is represented in little-endian binary form as: 11100001 (0xe1). When\n * the value of a coefficient is 1, a bit is set. The value R, is the\n * concatenation of this value and 120 zero bits, yielding a 128-bit value\n * which matches the block size.\n *\n * This function will multiply two elements (vectors of bytes), X and Y, in\n * the field GF(2^128). The result is initialized to zero. For each bit of\n * X (out of 128), x_i, if x_i is set, then the result is multiplied (XOR'd)\n * by the current value of Y. For each bit, the value of Y will be raised by\n * a power of x (multiplied by the polynomial x). This can be achieved by\n * shifting Y once to the right. If the current value of Y, prior to being\n * multiplied by x, has 0 as its LSB, then it is a 127th degree polynomial.\n * Otherwise, we must divide by R after shifting to find the remainder.\n *\n * @param x the first block to multiply by the second.\n * @param y the second block to multiply by the first.\n *\n * @return the block result of the multiplication.\n */\nmodes.gcm.prototype.multiply = function(x, y) {\n var z_i = [0, 0, 0, 0];\n var v_i = y.slice(0);\n\n // calculate Z_128 (block has 128 bits)\n for(var i = 0; i < 128; ++i) {\n // if x_i is 0, Z_{i+1} = Z_i (unchanged)\n // else Z_{i+1} = Z_i ^ V_i\n // get x_i by finding 32-bit int position, then left shift 1 by remainder\n var x_i = x[(i / 32) | 0] & (1 << (31 - i % 32));\n if(x_i) {\n z_i[0] ^= v_i[0];\n z_i[1] ^= v_i[1];\n z_i[2] ^= v_i[2];\n z_i[3] ^= v_i[3];\n }\n\n // if LSB(V_i) is 1, V_i = V_i >> 1\n // else V_i = (V_i >> 1) ^ R\n this.pow(v_i, v_i);\n }\n\n return z_i;\n};\n\nmodes.gcm.prototype.pow = function(x, out) {\n // if LSB(x) is 1, x = x >>> 1\n // else x = (x >>> 1) ^ R\n var lsb = x[3] & 1;\n\n // always do x >>> 1:\n // starting with the rightmost integer, shift each integer to the right\n // one bit, pulling in the bit from the integer to the left as its top\n // most bit (do this for the last 3 integers)\n for(var i = 3; i > 0; --i) {\n out[i] = (x[i] >>> 1) | ((x[i - 1] & 1) << 31);\n }\n // shift the first integer normally\n out[0] = x[0] >>> 1;\n\n // if lsb was not set, then polynomial had a degree of 127 and doesn't\n // need to divided; otherwise, XOR with R to find the remainder; we only\n // need to XOR the first integer since R technically ends w/120 zero bits\n if(lsb) {\n out[0] ^= this._R;\n }\n};\n\nmodes.gcm.prototype.tableMultiply = function(x) {\n // assumes 4-bit tables are used\n var z = [0, 0, 0, 0];\n for(var i = 0; i < 32; ++i) {\n var idx = (i / 8) | 0;\n var x_i = (x[idx] >>> ((7 - (i % 8)) * 4)) & 0xF;\n var ah = this._m[i][x_i];\n z[0] ^= ah[0];\n z[1] ^= ah[1];\n z[2] ^= ah[2];\n z[3] ^= ah[3];\n }\n return z;\n};\n\n/**\n * A continuing version of the GHASH algorithm that operates on a single\n * block. The hash block, last hash value (Ym) and the new block to hash\n * are given.\n *\n * @param h the hash block.\n * @param y the previous value for Ym, use [0, 0, 0, 0] for a new hash.\n * @param x the block to hash.\n *\n * @return the hashed value (Ym).\n */\nmodes.gcm.prototype.ghash = function(h, y, x) {\n y[0] ^= x[0];\n y[1] ^= x[1];\n y[2] ^= x[2];\n y[3] ^= x[3];\n return this.tableMultiply(y);\n //return this.multiply(y, h);\n};\n\n/**\n * Precomputes a table for multiplying against the hash subkey. This\n * mechanism provides a substantial speed increase over multiplication\n * performed without a table. The table-based multiplication this table is\n * for solves X * H by multiplying each component of X by H and then\n * composing the results together using XOR.\n *\n * This function can be used to generate tables with different bit sizes\n * for the components, however, this implementation assumes there are\n * 32 components of X (which is a 16 byte vector), therefore each component\n * takes 4-bits (so the table is constructed with bits=4).\n *\n * @param h the hash subkey.\n * @param bits the bit size for a component.\n */\nmodes.gcm.prototype.generateHashTable = function(h, bits) {\n // TODO: There are further optimizations that would use only the\n // first table M_0 (or some variant) along with a remainder table;\n // this can be explored in the future\n var multiplier = 8 / bits;\n var perInt = 4 * multiplier;\n var size = 16 * multiplier;\n var m = new Array(size);\n for(var i = 0; i < size; ++i) {\n var tmp = [0, 0, 0, 0];\n var idx = (i / perInt) | 0;\n var shft = ((perInt - 1 - (i % perInt)) * bits);\n tmp[idx] = (1 << (bits - 1)) << shft;\n m[i] = this.generateSubHashTable(this.multiply(tmp, h), bits);\n }\n return m;\n};\n\n/**\n * Generates a table for multiplying against the hash subkey for one\n * particular component (out of all possible component values).\n *\n * @param mid the pre-multiplied value for the middle key of the table.\n * @param bits the bit size for a component.\n */\nmodes.gcm.prototype.generateSubHashTable = function(mid, bits) {\n // compute the table quickly by minimizing the number of\n // POW operations -- they only need to be performed for powers of 2,\n // all other entries can be composed from those powers using XOR\n var size = 1 << bits;\n var half = size >>> 1;\n var m = new Array(size);\n m[half] = mid.slice(0);\n var i = half >>> 1;\n while(i > 0) {\n // raise m0[2 * i] and store in m0[i]\n this.pow(m[2 * i], m[i] = []);\n i >>= 1;\n }\n i = 2;\n while(i < half) {\n for(var j = 1; j < i; ++j) {\n var m_i = m[i];\n var m_j = m[j];\n m[i + j] = [\n m_i[0] ^ m_j[0],\n m_i[1] ^ m_j[1],\n m_i[2] ^ m_j[2],\n m_i[3] ^ m_j[3]\n ];\n }\n i *= 2;\n }\n m[0] = [0, 0, 0, 0];\n /* Note: We could avoid storing these by doing composition during multiply\n calculate top half using composition by speed is preferred. */\n for(i = half + 1; i < size; ++i) {\n var c = m[i ^ half];\n m[i] = [mid[0] ^ c[0], mid[1] ^ c[1], mid[2] ^ c[2], mid[3] ^ c[3]];\n }\n return m;\n};\n\n/** Utility functions */\n\nfunction transformIV(iv, blockSize) {\n if(typeof iv === 'string') {\n // convert iv string into byte buffer\n iv = forge.util.createBuffer(iv);\n }\n\n if(forge.util.isArray(iv) && iv.length > 4) {\n // convert iv byte array into byte buffer\n var tmp = iv;\n iv = forge.util.createBuffer();\n for(var i = 0; i < tmp.length; ++i) {\n iv.putByte(tmp[i]);\n }\n }\n\n if(iv.length() < blockSize) {\n throw new Error(\n 'Invalid IV length; got ' + iv.length() +\n ' bytes and expected ' + blockSize + ' bytes.');\n }\n\n if(!forge.util.isArray(iv)) {\n // convert iv byte buffer into 32-bit integer array\n var ints = [];\n var blocks = blockSize / 4;\n for(var i = 0; i < blocks; ++i) {\n ints.push(iv.getInt32());\n }\n iv = ints;\n }\n\n return iv;\n}\n\nfunction inc32(block) {\n // increment last 32 bits of block only\n block[block.length - 1] = (block[block.length - 1] + 1) & 0xFFFFFFFF;\n}\n\nfunction from64To32(num) {\n // convert 64-bit number to two BE Int32s\n return [(num / 0x100000000) | 0, num & 0xFFFFFFFF];\n}\n","/**\n * Debugging support for web applications.\n *\n * @author David I. Lehn \n *\n * Copyright 2008-2013 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\n\n/* DEBUG API */\nmodule.exports = forge.debug = forge.debug || {};\n\n// Private storage for debugging.\n// Useful to expose data that is otherwise unviewable behind closures.\n// NOTE: remember that this can hold references to data and cause leaks!\n// format is \"forge._debug.. = data\"\n// Example:\n// (function() {\n// var cat = 'forge.test.Test'; // debugging category\n// var sState = {...}; // local state\n// forge.debug.set(cat, 'sState', sState);\n// })();\nforge.debug.storage = {};\n\n/**\n * Gets debug data. Omit name for all cat data Omit name and cat for\n * all data.\n *\n * @param cat name of debugging category.\n * @param name name of data to get (optional).\n * @return object with requested debug data or undefined.\n */\nforge.debug.get = function(cat, name) {\n var rval;\n if(typeof(cat) === 'undefined') {\n rval = forge.debug.storage;\n } else if(cat in forge.debug.storage) {\n if(typeof(name) === 'undefined') {\n rval = forge.debug.storage[cat];\n } else {\n rval = forge.debug.storage[cat][name];\n }\n }\n return rval;\n};\n\n/**\n * Sets debug data.\n *\n * @param cat name of debugging category.\n * @param name name of data to set.\n * @param data data to set.\n */\nforge.debug.set = function(cat, name, data) {\n if(!(cat in forge.debug.storage)) {\n forge.debug.storage[cat] = {};\n }\n forge.debug.storage[cat][name] = data;\n};\n\n/**\n * Clears debug data. Omit name for all cat data. Omit name and cat for\n * all data.\n *\n * @param cat name of debugging category.\n * @param name name of data to clear or omit to clear entire category.\n */\nforge.debug.clear = function(cat, name) {\n if(typeof(cat) === 'undefined') {\n forge.debug.storage = {};\n } else if(cat in forge.debug.storage) {\n if(typeof(name) === 'undefined') {\n delete forge.debug.storage[cat];\n } else {\n delete forge.debug.storage[cat][name];\n }\n }\n};\n","/**\n * DES (Data Encryption Standard) implementation.\n *\n * This implementation supports DES as well as 3DES-EDE in ECB and CBC mode.\n * It is based on the BSD-licensed implementation by Paul Tero:\n *\n * Paul Tero, July 2001\n * http://www.tero.co.uk/des/\n *\n * Optimised for performance with large blocks by\n * Michael Hayworth, November 2001\n * http://www.netdealing.com\n *\n * THIS SOFTWARE IS PROVIDED \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\n * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\n * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\n * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\n * SUCH DAMAGE.\n *\n * @author Stefan Siegl\n * @author Dave Longley\n *\n * Copyright (c) 2012 Stefan Siegl \n * Copyright (c) 2012-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./cipher');\nrequire('./cipherModes');\nrequire('./util');\n\n/* DES API */\nmodule.exports = forge.des = forge.des || {};\n\n/**\n * Deprecated. Instead, use:\n *\n * var cipher = forge.cipher.createCipher('DES-', key);\n * cipher.start({iv: iv});\n *\n * Creates an DES cipher object to encrypt data using the given symmetric key.\n * The output will be stored in the 'output' member of the returned cipher.\n *\n * The key and iv may be given as binary-encoded strings of bytes or\n * byte buffers.\n *\n * @param key the symmetric key to use (64 or 192 bits).\n * @param iv the initialization vector to use.\n * @param output the buffer to write to, null to create one.\n * @param mode the cipher mode to use (default: 'CBC' if IV is\n * given, 'ECB' if null).\n *\n * @return the cipher.\n */\nforge.des.startEncrypting = function(key, iv, output, mode) {\n var cipher = _createCipher({\n key: key,\n output: output,\n decrypt: false,\n mode: mode || (iv === null ? 'ECB' : 'CBC')\n });\n cipher.start(iv);\n return cipher;\n};\n\n/**\n * Deprecated. Instead, use:\n *\n * var cipher = forge.cipher.createCipher('DES-', key);\n *\n * Creates an DES cipher object to encrypt data using the given symmetric key.\n *\n * The key may be given as a binary-encoded string of bytes or a byte buffer.\n *\n * @param key the symmetric key to use (64 or 192 bits).\n * @param mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nforge.des.createEncryptionCipher = function(key, mode) {\n return _createCipher({\n key: key,\n output: null,\n decrypt: false,\n mode: mode\n });\n};\n\n/**\n * Deprecated. Instead, use:\n *\n * var decipher = forge.cipher.createDecipher('DES-', key);\n * decipher.start({iv: iv});\n *\n * Creates an DES cipher object to decrypt data using the given symmetric key.\n * The output will be stored in the 'output' member of the returned cipher.\n *\n * The key and iv may be given as binary-encoded strings of bytes or\n * byte buffers.\n *\n * @param key the symmetric key to use (64 or 192 bits).\n * @param iv the initialization vector to use.\n * @param output the buffer to write to, null to create one.\n * @param mode the cipher mode to use (default: 'CBC' if IV is\n * given, 'ECB' if null).\n *\n * @return the cipher.\n */\nforge.des.startDecrypting = function(key, iv, output, mode) {\n var cipher = _createCipher({\n key: key,\n output: output,\n decrypt: true,\n mode: mode || (iv === null ? 'ECB' : 'CBC')\n });\n cipher.start(iv);\n return cipher;\n};\n\n/**\n * Deprecated. Instead, use:\n *\n * var decipher = forge.cipher.createDecipher('DES-', key);\n *\n * Creates an DES cipher object to decrypt data using the given symmetric key.\n *\n * The key may be given as a binary-encoded string of bytes or a byte buffer.\n *\n * @param key the symmetric key to use (64 or 192 bits).\n * @param mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nforge.des.createDecryptionCipher = function(key, mode) {\n return _createCipher({\n key: key,\n output: null,\n decrypt: true,\n mode: mode\n });\n};\n\n/**\n * Creates a new DES cipher algorithm object.\n *\n * @param name the name of the algorithm.\n * @param mode the mode factory function.\n *\n * @return the DES algorithm object.\n */\nforge.des.Algorithm = function(name, mode) {\n var self = this;\n self.name = name;\n self.mode = new mode({\n blockSize: 8,\n cipher: {\n encrypt: function(inBlock, outBlock) {\n return _updateBlock(self._keys, inBlock, outBlock, false);\n },\n decrypt: function(inBlock, outBlock) {\n return _updateBlock(self._keys, inBlock, outBlock, true);\n }\n }\n });\n self._init = false;\n};\n\n/**\n * Initializes this DES algorithm by expanding its key.\n *\n * @param options the options to use.\n * key the key to use with this algorithm.\n * decrypt true if the algorithm should be initialized for decryption,\n * false for encryption.\n */\nforge.des.Algorithm.prototype.initialize = function(options) {\n if(this._init) {\n return;\n }\n\n var key = forge.util.createBuffer(options.key);\n if(this.name.indexOf('3DES') === 0) {\n if(key.length() !== 24) {\n throw new Error('Invalid Triple-DES key size: ' + key.length() * 8);\n }\n }\n\n // do key expansion to 16 or 48 subkeys (single or triple DES)\n this._keys = _createKeys(key);\n this._init = true;\n};\n\n/** Register DES algorithms **/\n\nregisterAlgorithm('DES-ECB', forge.cipher.modes.ecb);\nregisterAlgorithm('DES-CBC', forge.cipher.modes.cbc);\nregisterAlgorithm('DES-CFB', forge.cipher.modes.cfb);\nregisterAlgorithm('DES-OFB', forge.cipher.modes.ofb);\nregisterAlgorithm('DES-CTR', forge.cipher.modes.ctr);\n\nregisterAlgorithm('3DES-ECB', forge.cipher.modes.ecb);\nregisterAlgorithm('3DES-CBC', forge.cipher.modes.cbc);\nregisterAlgorithm('3DES-CFB', forge.cipher.modes.cfb);\nregisterAlgorithm('3DES-OFB', forge.cipher.modes.ofb);\nregisterAlgorithm('3DES-CTR', forge.cipher.modes.ctr);\n\nfunction registerAlgorithm(name, mode) {\n var factory = function() {\n return new forge.des.Algorithm(name, mode);\n };\n forge.cipher.registerAlgorithm(name, factory);\n}\n\n/** DES implementation **/\n\nvar spfunction1 = [0x1010400,0,0x10000,0x1010404,0x1010004,0x10404,0x4,0x10000,0x400,0x1010400,0x1010404,0x400,0x1000404,0x1010004,0x1000000,0x4,0x404,0x1000400,0x1000400,0x10400,0x10400,0x1010000,0x1010000,0x1000404,0x10004,0x1000004,0x1000004,0x10004,0,0x404,0x10404,0x1000000,0x10000,0x1010404,0x4,0x1010000,0x1010400,0x1000000,0x1000000,0x400,0x1010004,0x10000,0x10400,0x1000004,0x400,0x4,0x1000404,0x10404,0x1010404,0x10004,0x1010000,0x1000404,0x1000004,0x404,0x10404,0x1010400,0x404,0x1000400,0x1000400,0,0x10004,0x10400,0,0x1010004];\nvar spfunction2 = [-0x7fef7fe0,-0x7fff8000,0x8000,0x108020,0x100000,0x20,-0x7fefffe0,-0x7fff7fe0,-0x7fffffe0,-0x7fef7fe0,-0x7fef8000,-0x80000000,-0x7fff8000,0x100000,0x20,-0x7fefffe0,0x108000,0x100020,-0x7fff7fe0,0,-0x80000000,0x8000,0x108020,-0x7ff00000,0x100020,-0x7fffffe0,0,0x108000,0x8020,-0x7fef8000,-0x7ff00000,0x8020,0,0x108020,-0x7fefffe0,0x100000,-0x7fff7fe0,-0x7ff00000,-0x7fef8000,0x8000,-0x7ff00000,-0x7fff8000,0x20,-0x7fef7fe0,0x108020,0x20,0x8000,-0x80000000,0x8020,-0x7fef8000,0x100000,-0x7fffffe0,0x100020,-0x7fff7fe0,-0x7fffffe0,0x100020,0x108000,0,-0x7fff8000,0x8020,-0x80000000,-0x7fefffe0,-0x7fef7fe0,0x108000];\nvar spfunction3 = [0x208,0x8020200,0,0x8020008,0x8000200,0,0x20208,0x8000200,0x20008,0x8000008,0x8000008,0x20000,0x8020208,0x20008,0x8020000,0x208,0x8000000,0x8,0x8020200,0x200,0x20200,0x8020000,0x8020008,0x20208,0x8000208,0x20200,0x20000,0x8000208,0x8,0x8020208,0x200,0x8000000,0x8020200,0x8000000,0x20008,0x208,0x20000,0x8020200,0x8000200,0,0x200,0x20008,0x8020208,0x8000200,0x8000008,0x200,0,0x8020008,0x8000208,0x20000,0x8000000,0x8020208,0x8,0x20208,0x20200,0x8000008,0x8020000,0x8000208,0x208,0x8020000,0x20208,0x8,0x8020008,0x20200];\nvar spfunction4 = [0x802001,0x2081,0x2081,0x80,0x802080,0x800081,0x800001,0x2001,0,0x802000,0x802000,0x802081,0x81,0,0x800080,0x800001,0x1,0x2000,0x800000,0x802001,0x80,0x800000,0x2001,0x2080,0x800081,0x1,0x2080,0x800080,0x2000,0x802080,0x802081,0x81,0x800080,0x800001,0x802000,0x802081,0x81,0,0,0x802000,0x2080,0x800080,0x800081,0x1,0x802001,0x2081,0x2081,0x80,0x802081,0x81,0x1,0x2000,0x800001,0x2001,0x802080,0x800081,0x2001,0x2080,0x800000,0x802001,0x80,0x800000,0x2000,0x802080];\nvar spfunction5 = [0x100,0x2080100,0x2080000,0x42000100,0x80000,0x100,0x40000000,0x2080000,0x40080100,0x80000,0x2000100,0x40080100,0x42000100,0x42080000,0x80100,0x40000000,0x2000000,0x40080000,0x40080000,0,0x40000100,0x42080100,0x42080100,0x2000100,0x42080000,0x40000100,0,0x42000000,0x2080100,0x2000000,0x42000000,0x80100,0x80000,0x42000100,0x100,0x2000000,0x40000000,0x2080000,0x42000100,0x40080100,0x2000100,0x40000000,0x42080000,0x2080100,0x40080100,0x100,0x2000000,0x42080000,0x42080100,0x80100,0x42000000,0x42080100,0x2080000,0,0x40080000,0x42000000,0x80100,0x2000100,0x40000100,0x80000,0,0x40080000,0x2080100,0x40000100];\nvar spfunction6 = [0x20000010,0x20400000,0x4000,0x20404010,0x20400000,0x10,0x20404010,0x400000,0x20004000,0x404010,0x400000,0x20000010,0x400010,0x20004000,0x20000000,0x4010,0,0x400010,0x20004010,0x4000,0x404000,0x20004010,0x10,0x20400010,0x20400010,0,0x404010,0x20404000,0x4010,0x404000,0x20404000,0x20000000,0x20004000,0x10,0x20400010,0x404000,0x20404010,0x400000,0x4010,0x20000010,0x400000,0x20004000,0x20000000,0x4010,0x20000010,0x20404010,0x404000,0x20400000,0x404010,0x20404000,0,0x20400010,0x10,0x4000,0x20400000,0x404010,0x4000,0x400010,0x20004010,0,0x20404000,0x20000000,0x400010,0x20004010];\nvar spfunction7 = [0x200000,0x4200002,0x4000802,0,0x800,0x4000802,0x200802,0x4200800,0x4200802,0x200000,0,0x4000002,0x2,0x4000000,0x4200002,0x802,0x4000800,0x200802,0x200002,0x4000800,0x4000002,0x4200000,0x4200800,0x200002,0x4200000,0x800,0x802,0x4200802,0x200800,0x2,0x4000000,0x200800,0x4000000,0x200800,0x200000,0x4000802,0x4000802,0x4200002,0x4200002,0x2,0x200002,0x4000000,0x4000800,0x200000,0x4200800,0x802,0x200802,0x4200800,0x802,0x4000002,0x4200802,0x4200000,0x200800,0,0x2,0x4200802,0,0x200802,0x4200000,0x800,0x4000002,0x4000800,0x800,0x200002];\nvar spfunction8 = [0x10001040,0x1000,0x40000,0x10041040,0x10000000,0x10001040,0x40,0x10000000,0x40040,0x10040000,0x10041040,0x41000,0x10041000,0x41040,0x1000,0x40,0x10040000,0x10000040,0x10001000,0x1040,0x41000,0x40040,0x10040040,0x10041000,0x1040,0,0,0x10040040,0x10000040,0x10001000,0x41040,0x40000,0x41040,0x40000,0x10041000,0x1000,0x40,0x10040040,0x1000,0x41040,0x10001000,0x40,0x10000040,0x10040000,0x10040040,0x10000000,0x40000,0x10001040,0,0x10041040,0x40040,0x10000040,0x10040000,0x10001000,0x10001040,0,0x10041040,0x41000,0x41000,0x1040,0x1040,0x40040,0x10000000,0x10041000];\n\n/**\n * Create necessary sub keys.\n *\n * @param key the 64-bit or 192-bit key.\n *\n * @return the expanded keys.\n */\nfunction _createKeys(key) {\n var pc2bytes0 = [0,0x4,0x20000000,0x20000004,0x10000,0x10004,0x20010000,0x20010004,0x200,0x204,0x20000200,0x20000204,0x10200,0x10204,0x20010200,0x20010204],\n pc2bytes1 = [0,0x1,0x100000,0x100001,0x4000000,0x4000001,0x4100000,0x4100001,0x100,0x101,0x100100,0x100101,0x4000100,0x4000101,0x4100100,0x4100101],\n pc2bytes2 = [0,0x8,0x800,0x808,0x1000000,0x1000008,0x1000800,0x1000808,0,0x8,0x800,0x808,0x1000000,0x1000008,0x1000800,0x1000808],\n pc2bytes3 = [0,0x200000,0x8000000,0x8200000,0x2000,0x202000,0x8002000,0x8202000,0x20000,0x220000,0x8020000,0x8220000,0x22000,0x222000,0x8022000,0x8222000],\n pc2bytes4 = [0,0x40000,0x10,0x40010,0,0x40000,0x10,0x40010,0x1000,0x41000,0x1010,0x41010,0x1000,0x41000,0x1010,0x41010],\n pc2bytes5 = [0,0x400,0x20,0x420,0,0x400,0x20,0x420,0x2000000,0x2000400,0x2000020,0x2000420,0x2000000,0x2000400,0x2000020,0x2000420],\n pc2bytes6 = [0,0x10000000,0x80000,0x10080000,0x2,0x10000002,0x80002,0x10080002,0,0x10000000,0x80000,0x10080000,0x2,0x10000002,0x80002,0x10080002],\n pc2bytes7 = [0,0x10000,0x800,0x10800,0x20000000,0x20010000,0x20000800,0x20010800,0x20000,0x30000,0x20800,0x30800,0x20020000,0x20030000,0x20020800,0x20030800],\n pc2bytes8 = [0,0x40000,0,0x40000,0x2,0x40002,0x2,0x40002,0x2000000,0x2040000,0x2000000,0x2040000,0x2000002,0x2040002,0x2000002,0x2040002],\n pc2bytes9 = [0,0x10000000,0x8,0x10000008,0,0x10000000,0x8,0x10000008,0x400,0x10000400,0x408,0x10000408,0x400,0x10000400,0x408,0x10000408],\n pc2bytes10 = [0,0x20,0,0x20,0x100000,0x100020,0x100000,0x100020,0x2000,0x2020,0x2000,0x2020,0x102000,0x102020,0x102000,0x102020],\n pc2bytes11 = [0,0x1000000,0x200,0x1000200,0x200000,0x1200000,0x200200,0x1200200,0x4000000,0x5000000,0x4000200,0x5000200,0x4200000,0x5200000,0x4200200,0x5200200],\n pc2bytes12 = [0,0x1000,0x8000000,0x8001000,0x80000,0x81000,0x8080000,0x8081000,0x10,0x1010,0x8000010,0x8001010,0x80010,0x81010,0x8080010,0x8081010],\n pc2bytes13 = [0,0x4,0x100,0x104,0,0x4,0x100,0x104,0x1,0x5,0x101,0x105,0x1,0x5,0x101,0x105];\n\n // how many iterations (1 for des, 3 for triple des)\n // changed by Paul 16/6/2007 to use Triple DES for 9+ byte keys\n var iterations = key.length() > 8 ? 3 : 1;\n\n // stores the return keys\n var keys = [];\n\n // now define the left shifts which need to be done\n var shifts = [0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0];\n\n var n = 0, tmp;\n for(var j = 0; j < iterations; j++) {\n var left = key.getInt32();\n var right = key.getInt32();\n\n tmp = ((left >>> 4) ^ right) & 0x0f0f0f0f;\n right ^= tmp;\n left ^= (tmp << 4);\n\n tmp = ((right >>> -16) ^ left) & 0x0000ffff;\n left ^= tmp;\n right ^= (tmp << -16);\n\n tmp = ((left >>> 2) ^ right) & 0x33333333;\n right ^= tmp;\n left ^= (tmp << 2);\n\n tmp = ((right >>> -16) ^ left) & 0x0000ffff;\n left ^= tmp;\n right ^= (tmp << -16);\n\n tmp = ((left >>> 1) ^ right) & 0x55555555;\n right ^= tmp;\n left ^= (tmp << 1);\n\n tmp = ((right >>> 8) ^ left) & 0x00ff00ff;\n left ^= tmp;\n right ^= (tmp << 8);\n\n tmp = ((left >>> 1) ^ right) & 0x55555555;\n right ^= tmp;\n left ^= (tmp << 1);\n\n // right needs to be shifted and OR'd with last four bits of left\n tmp = (left << 8) | ((right >>> 20) & 0x000000f0);\n\n // left needs to be put upside down\n left = ((right << 24) | ((right << 8) & 0xff0000) |\n ((right >>> 8) & 0xff00) | ((right >>> 24) & 0xf0));\n right = tmp;\n\n // now go through and perform these shifts on the left and right keys\n for(var i = 0; i < shifts.length; ++i) {\n //shift the keys either one or two bits to the left\n if(shifts[i]) {\n left = (left << 2) | (left >>> 26);\n right = (right << 2) | (right >>> 26);\n } else {\n left = (left << 1) | (left >>> 27);\n right = (right << 1) | (right >>> 27);\n }\n left &= -0xf;\n right &= -0xf;\n\n // now apply PC-2, in such a way that E is easier when encrypting or\n // decrypting this conversion will look like PC-2 except only the last 6\n // bits of each byte are used rather than 48 consecutive bits and the\n // order of lines will be according to how the S selection functions will\n // be applied: S2, S4, S6, S8, S1, S3, S5, S7\n var lefttmp = (\n pc2bytes0[left >>> 28] | pc2bytes1[(left >>> 24) & 0xf] |\n pc2bytes2[(left >>> 20) & 0xf] | pc2bytes3[(left >>> 16) & 0xf] |\n pc2bytes4[(left >>> 12) & 0xf] | pc2bytes5[(left >>> 8) & 0xf] |\n pc2bytes6[(left >>> 4) & 0xf]);\n var righttmp = (\n pc2bytes7[right >>> 28] | pc2bytes8[(right >>> 24) & 0xf] |\n pc2bytes9[(right >>> 20) & 0xf] | pc2bytes10[(right >>> 16) & 0xf] |\n pc2bytes11[(right >>> 12) & 0xf] | pc2bytes12[(right >>> 8) & 0xf] |\n pc2bytes13[(right >>> 4) & 0xf]);\n tmp = ((righttmp >>> 16) ^ lefttmp) & 0x0000ffff;\n keys[n++] = lefttmp ^ tmp;\n keys[n++] = righttmp ^ (tmp << 16);\n }\n }\n\n return keys;\n}\n\n/**\n * Updates a single block (1 byte) using DES. The update will either\n * encrypt or decrypt the block.\n *\n * @param keys the expanded keys.\n * @param input the input block (an array of 32-bit words).\n * @param output the updated output block.\n * @param decrypt true to decrypt the block, false to encrypt it.\n */\nfunction _updateBlock(keys, input, output, decrypt) {\n // set up loops for single or triple DES\n var iterations = keys.length === 32 ? 3 : 9;\n var looping;\n if(iterations === 3) {\n looping = decrypt ? [30, -2, -2] : [0, 32, 2];\n } else {\n looping = (decrypt ?\n [94, 62, -2, 32, 64, 2, 30, -2, -2] :\n [0, 32, 2, 62, 30, -2, 64, 96, 2]);\n }\n\n var tmp;\n\n var left = input[0];\n var right = input[1];\n\n // first each 64 bit chunk of the message must be permuted according to IP\n tmp = ((left >>> 4) ^ right) & 0x0f0f0f0f;\n right ^= tmp;\n left ^= (tmp << 4);\n\n tmp = ((left >>> 16) ^ right) & 0x0000ffff;\n right ^= tmp;\n left ^= (tmp << 16);\n\n tmp = ((right >>> 2) ^ left) & 0x33333333;\n left ^= tmp;\n right ^= (tmp << 2);\n\n tmp = ((right >>> 8) ^ left) & 0x00ff00ff;\n left ^= tmp;\n right ^= (tmp << 8);\n\n tmp = ((left >>> 1) ^ right) & 0x55555555;\n right ^= tmp;\n left ^= (tmp << 1);\n\n // rotate left 1 bit\n left = ((left << 1) | (left >>> 31));\n right = ((right << 1) | (right >>> 31));\n\n for(var j = 0; j < iterations; j += 3) {\n var endloop = looping[j + 1];\n var loopinc = looping[j + 2];\n\n // now go through and perform the encryption or decryption\n for(var i = looping[j]; i != endloop; i += loopinc) {\n var right1 = right ^ keys[i];\n var right2 = ((right >>> 4) | (right << 28)) ^ keys[i + 1];\n\n // passing these bytes through the S selection functions\n tmp = left;\n left = right;\n right = tmp ^ (\n spfunction2[(right1 >>> 24) & 0x3f] |\n spfunction4[(right1 >>> 16) & 0x3f] |\n spfunction6[(right1 >>> 8) & 0x3f] |\n spfunction8[right1 & 0x3f] |\n spfunction1[(right2 >>> 24) & 0x3f] |\n spfunction3[(right2 >>> 16) & 0x3f] |\n spfunction5[(right2 >>> 8) & 0x3f] |\n spfunction7[right2 & 0x3f]);\n }\n // unreverse left and right\n tmp = left;\n left = right;\n right = tmp;\n }\n\n // rotate right 1 bit\n left = ((left >>> 1) | (left << 31));\n right = ((right >>> 1) | (right << 31));\n\n // now perform IP-1, which is IP in the opposite direction\n tmp = ((left >>> 1) ^ right) & 0x55555555;\n right ^= tmp;\n left ^= (tmp << 1);\n\n tmp = ((right >>> 8) ^ left) & 0x00ff00ff;\n left ^= tmp;\n right ^= (tmp << 8);\n\n tmp = ((right >>> 2) ^ left) & 0x33333333;\n left ^= tmp;\n right ^= (tmp << 2);\n\n tmp = ((left >>> 16) ^ right) & 0x0000ffff;\n right ^= tmp;\n left ^= (tmp << 16);\n\n tmp = ((left >>> 4) ^ right) & 0x0f0f0f0f;\n right ^= tmp;\n left ^= (tmp << 4);\n\n output[0] = left;\n output[1] = right;\n}\n\n/**\n * Deprecated. Instead, use:\n *\n * forge.cipher.createCipher('DES-', key);\n * forge.cipher.createDecipher('DES-', key);\n *\n * Creates a deprecated DES cipher object. This object's mode will default to\n * CBC (cipher-block-chaining).\n *\n * The key may be given as a binary-encoded string of bytes or a byte buffer.\n *\n * @param options the options to use.\n * key the symmetric key to use (64 or 192 bits).\n * output the buffer to write to.\n * decrypt true for decryption, false for encryption.\n * mode the cipher mode to use (default: 'CBC').\n *\n * @return the cipher.\n */\nfunction _createCipher(options) {\n options = options || {};\n var mode = (options.mode || 'CBC').toUpperCase();\n var algorithm = 'DES-' + mode;\n\n var cipher;\n if(options.decrypt) {\n cipher = forge.cipher.createDecipher(algorithm, options.key);\n } else {\n cipher = forge.cipher.createCipher(algorithm, options.key);\n }\n\n // backwards compatible start API\n var start = cipher.start;\n cipher.start = function(iv, options) {\n // backwards compatibility: support second arg as output buffer\n var output = null;\n if(options instanceof forge.util.ByteBuffer) {\n output = options;\n options = {};\n }\n options = options || {};\n options.output = output;\n options.iv = iv;\n start.call(cipher, options);\n };\n\n return cipher;\n}\n","/**\n * JavaScript implementation of Ed25519.\n *\n * Copyright (c) 2017-2019 Digital Bazaar, Inc.\n *\n * This implementation is based on the most excellent TweetNaCl which is\n * in the public domain. Many thanks to its contributors:\n *\n * https://github.com/dchest/tweetnacl-js\n */\nvar forge = require('./forge');\nrequire('./jsbn');\nrequire('./random');\nrequire('./sha512');\nrequire('./util');\nvar asn1Validator = require('./asn1-validator');\nvar publicKeyValidator = asn1Validator.publicKeyValidator;\nvar privateKeyValidator = asn1Validator.privateKeyValidator;\n\nif(typeof BigInteger === 'undefined') {\n var BigInteger = forge.jsbn.BigInteger;\n}\n\nvar ByteBuffer = forge.util.ByteBuffer;\nvar NativeBuffer = typeof Buffer === 'undefined' ? Uint8Array : Buffer;\n\n/*\n * Ed25519 algorithms, see RFC 8032:\n * https://tools.ietf.org/html/rfc8032\n */\nforge.pki = forge.pki || {};\nmodule.exports = forge.pki.ed25519 = forge.ed25519 = forge.ed25519 || {};\nvar ed25519 = forge.ed25519;\n\ned25519.constants = {};\ned25519.constants.PUBLIC_KEY_BYTE_LENGTH = 32;\ned25519.constants.PRIVATE_KEY_BYTE_LENGTH = 64;\ned25519.constants.SEED_BYTE_LENGTH = 32;\ned25519.constants.SIGN_BYTE_LENGTH = 64;\ned25519.constants.HASH_BYTE_LENGTH = 64;\n\ned25519.generateKeyPair = function(options) {\n options = options || {};\n var seed = options.seed;\n if(seed === undefined) {\n // generate seed\n seed = forge.random.getBytesSync(ed25519.constants.SEED_BYTE_LENGTH);\n } else if(typeof seed === 'string') {\n if(seed.length !== ed25519.constants.SEED_BYTE_LENGTH) {\n throw new TypeError(\n '\"seed\" must be ' + ed25519.constants.SEED_BYTE_LENGTH +\n ' bytes in length.');\n }\n } else if(!(seed instanceof Uint8Array)) {\n throw new TypeError(\n '\"seed\" must be a node.js Buffer, Uint8Array, or a binary string.');\n }\n\n seed = messageToNativeBuffer({message: seed, encoding: 'binary'});\n\n var pk = new NativeBuffer(ed25519.constants.PUBLIC_KEY_BYTE_LENGTH);\n var sk = new NativeBuffer(ed25519.constants.PRIVATE_KEY_BYTE_LENGTH);\n for(var i = 0; i < 32; ++i) {\n sk[i] = seed[i];\n }\n crypto_sign_keypair(pk, sk);\n return {publicKey: pk, privateKey: sk};\n};\n\n/**\n * Converts a private key from a RFC8410 ASN.1 encoding.\n *\n * @param obj - The asn1 representation of a private key.\n *\n * @returns {Object} keyInfo - The key information.\n * @returns {Buffer|Uint8Array} keyInfo.privateKeyBytes - 32 private key bytes.\n */\ned25519.privateKeyFromAsn1 = function(obj) {\n var capture = {};\n var errors = [];\n var valid = forge.asn1.validate(obj, privateKeyValidator, capture, errors);\n if(!valid) {\n var error = new Error('Invalid Key.');\n error.errors = errors;\n throw error;\n }\n var oid = forge.asn1.derToOid(capture.privateKeyOid);\n var ed25519Oid = forge.oids.EdDSA25519;\n if(oid !== ed25519Oid) {\n throw new Error('Invalid OID \"' + oid + '\"; OID must be \"' +\n ed25519Oid + '\".');\n }\n var privateKey = capture.privateKey;\n // manually extract the private key bytes from nested octet string, see FIXME:\n // https://github.com/digitalbazaar/forge/blob/master/lib/asn1.js#L542\n var privateKeyBytes = messageToNativeBuffer({\n message: forge.asn1.fromDer(privateKey).value,\n encoding: 'binary'\n });\n // TODO: RFC8410 specifies a format for encoding the public key bytes along\n // with the private key bytes. `publicKeyBytes` can be returned in the\n // future. https://tools.ietf.org/html/rfc8410#section-10.3\n return {privateKeyBytes: privateKeyBytes};\n};\n\n/**\n * Converts a public key from a RFC8410 ASN.1 encoding.\n *\n * @param obj - The asn1 representation of a public key.\n *\n * @return {Buffer|Uint8Array} - 32 public key bytes.\n */\ned25519.publicKeyFromAsn1 = function(obj) {\n // get SubjectPublicKeyInfo\n var capture = {};\n var errors = [];\n var valid = forge.asn1.validate(obj, publicKeyValidator, capture, errors);\n if(!valid) {\n var error = new Error('Invalid Key.');\n error.errors = errors;\n throw error;\n }\n var oid = forge.asn1.derToOid(capture.publicKeyOid);\n var ed25519Oid = forge.oids.EdDSA25519;\n if(oid !== ed25519Oid) {\n throw new Error('Invalid OID \"' + oid + '\"; OID must be \"' +\n ed25519Oid + '\".');\n }\n var publicKeyBytes = capture.ed25519PublicKey;\n if(publicKeyBytes.length !== ed25519.constants.PUBLIC_KEY_BYTE_LENGTH) {\n throw new Error('Key length is invalid.');\n }\n return messageToNativeBuffer({\n message: publicKeyBytes,\n encoding: 'binary'\n });\n};\n\ned25519.publicKeyFromPrivateKey = function(options) {\n options = options || {};\n var privateKey = messageToNativeBuffer({\n message: options.privateKey, encoding: 'binary'\n });\n if(privateKey.length !== ed25519.constants.PRIVATE_KEY_BYTE_LENGTH) {\n throw new TypeError(\n '\"options.privateKey\" must have a byte length of ' +\n ed25519.constants.PRIVATE_KEY_BYTE_LENGTH);\n }\n\n var pk = new NativeBuffer(ed25519.constants.PUBLIC_KEY_BYTE_LENGTH);\n for(var i = 0; i < pk.length; ++i) {\n pk[i] = privateKey[32 + i];\n }\n return pk;\n};\n\ned25519.sign = function(options) {\n options = options || {};\n var msg = messageToNativeBuffer(options);\n var privateKey = messageToNativeBuffer({\n message: options.privateKey,\n encoding: 'binary'\n });\n if(privateKey.length === ed25519.constants.SEED_BYTE_LENGTH) {\n var keyPair = ed25519.generateKeyPair({seed: privateKey});\n privateKey = keyPair.privateKey;\n } else if(privateKey.length !== ed25519.constants.PRIVATE_KEY_BYTE_LENGTH) {\n throw new TypeError(\n '\"options.privateKey\" must have a byte length of ' +\n ed25519.constants.SEED_BYTE_LENGTH + ' or ' +\n ed25519.constants.PRIVATE_KEY_BYTE_LENGTH);\n }\n\n var signedMsg = new NativeBuffer(\n ed25519.constants.SIGN_BYTE_LENGTH + msg.length);\n crypto_sign(signedMsg, msg, msg.length, privateKey);\n\n var sig = new NativeBuffer(ed25519.constants.SIGN_BYTE_LENGTH);\n for(var i = 0; i < sig.length; ++i) {\n sig[i] = signedMsg[i];\n }\n return sig;\n};\n\ned25519.verify = function(options) {\n options = options || {};\n var msg = messageToNativeBuffer(options);\n if(options.signature === undefined) {\n throw new TypeError(\n '\"options.signature\" must be a node.js Buffer, a Uint8Array, a forge ' +\n 'ByteBuffer, or a binary string.');\n }\n var sig = messageToNativeBuffer({\n message: options.signature,\n encoding: 'binary'\n });\n if(sig.length !== ed25519.constants.SIGN_BYTE_LENGTH) {\n throw new TypeError(\n '\"options.signature\" must have a byte length of ' +\n ed25519.constants.SIGN_BYTE_LENGTH);\n }\n var publicKey = messageToNativeBuffer({\n message: options.publicKey,\n encoding: 'binary'\n });\n if(publicKey.length !== ed25519.constants.PUBLIC_KEY_BYTE_LENGTH) {\n throw new TypeError(\n '\"options.publicKey\" must have a byte length of ' +\n ed25519.constants.PUBLIC_KEY_BYTE_LENGTH);\n }\n\n var sm = new NativeBuffer(ed25519.constants.SIGN_BYTE_LENGTH + msg.length);\n var m = new NativeBuffer(ed25519.constants.SIGN_BYTE_LENGTH + msg.length);\n var i;\n for(i = 0; i < ed25519.constants.SIGN_BYTE_LENGTH; ++i) {\n sm[i] = sig[i];\n }\n for(i = 0; i < msg.length; ++i) {\n sm[i + ed25519.constants.SIGN_BYTE_LENGTH] = msg[i];\n }\n return (crypto_sign_open(m, sm, sm.length, publicKey) >= 0);\n};\n\nfunction messageToNativeBuffer(options) {\n var message = options.message;\n if(message instanceof Uint8Array || message instanceof NativeBuffer) {\n return message;\n }\n\n var encoding = options.encoding;\n if(message === undefined) {\n if(options.md) {\n // TODO: more rigorous validation that `md` is a MessageDigest\n message = options.md.digest().getBytes();\n encoding = 'binary';\n } else {\n throw new TypeError('\"options.message\" or \"options.md\" not specified.');\n }\n }\n\n if(typeof message === 'string' && !encoding) {\n throw new TypeError('\"options.encoding\" must be \"binary\" or \"utf8\".');\n }\n\n if(typeof message === 'string') {\n if(typeof Buffer !== 'undefined') {\n return Buffer.from(message, encoding);\n }\n message = new ByteBuffer(message, encoding);\n } else if(!(message instanceof ByteBuffer)) {\n throw new TypeError(\n '\"options.message\" must be a node.js Buffer, a Uint8Array, a forge ' +\n 'ByteBuffer, or a string with \"options.encoding\" specifying its ' +\n 'encoding.');\n }\n\n // convert to native buffer\n var buffer = new NativeBuffer(message.length());\n for(var i = 0; i < buffer.length; ++i) {\n buffer[i] = message.at(i);\n }\n return buffer;\n}\n\nvar gf0 = gf();\nvar gf1 = gf([1]);\nvar D = gf([\n 0x78a3, 0x1359, 0x4dca, 0x75eb, 0xd8ab, 0x4141, 0x0a4d, 0x0070,\n 0xe898, 0x7779, 0x4079, 0x8cc7, 0xfe73, 0x2b6f, 0x6cee, 0x5203]);\nvar D2 = gf([\n 0xf159, 0x26b2, 0x9b94, 0xebd6, 0xb156, 0x8283, 0x149a, 0x00e0,\n 0xd130, 0xeef3, 0x80f2, 0x198e, 0xfce7, 0x56df, 0xd9dc, 0x2406]);\nvar X = gf([\n 0xd51a, 0x8f25, 0x2d60, 0xc956, 0xa7b2, 0x9525, 0xc760, 0x692c,\n 0xdc5c, 0xfdd6, 0xe231, 0xc0a4, 0x53fe, 0xcd6e, 0x36d3, 0x2169]);\nvar Y = gf([\n 0x6658, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666,\n 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666, 0x6666]);\nvar L = new Float64Array([\n 0xed, 0xd3, 0xf5, 0x5c, 0x1a, 0x63, 0x12, 0x58,\n 0xd6, 0x9c, 0xf7, 0xa2, 0xde, 0xf9, 0xde, 0x14,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x10]);\nvar I = gf([\n 0xa0b0, 0x4a0e, 0x1b27, 0xc4ee, 0xe478, 0xad2f, 0x1806, 0x2f43,\n 0xd7a7, 0x3dfb, 0x0099, 0x2b4d, 0xdf0b, 0x4fc1, 0x2480, 0x2b83]);\n\n// TODO: update forge buffer implementation to use `Buffer` or `Uint8Array`,\n// whichever is available, to improve performance\nfunction sha512(msg, msgLen) {\n // Note: `out` and `msg` are NativeBuffer\n var md = forge.md.sha512.create();\n var buffer = new ByteBuffer(msg);\n md.update(buffer.getBytes(msgLen), 'binary');\n var hash = md.digest().getBytes();\n if(typeof Buffer !== 'undefined') {\n return Buffer.from(hash, 'binary');\n }\n var out = new NativeBuffer(ed25519.constants.HASH_BYTE_LENGTH);\n for(var i = 0; i < 64; ++i) {\n out[i] = hash.charCodeAt(i);\n }\n return out;\n}\n\nfunction crypto_sign_keypair(pk, sk) {\n var p = [gf(), gf(), gf(), gf()];\n var i;\n\n var d = sha512(sk, 32);\n d[0] &= 248;\n d[31] &= 127;\n d[31] |= 64;\n\n scalarbase(p, d);\n pack(pk, p);\n\n for(i = 0; i < 32; ++i) {\n sk[i + 32] = pk[i];\n }\n return 0;\n}\n\n// Note: difference from C - smlen returned, not passed as argument.\nfunction crypto_sign(sm, m, n, sk) {\n var i, j, x = new Float64Array(64);\n var p = [gf(), gf(), gf(), gf()];\n\n var d = sha512(sk, 32);\n d[0] &= 248;\n d[31] &= 127;\n d[31] |= 64;\n\n var smlen = n + 64;\n for(i = 0; i < n; ++i) {\n sm[64 + i] = m[i];\n }\n for(i = 0; i < 32; ++i) {\n sm[32 + i] = d[32 + i];\n }\n\n var r = sha512(sm.subarray(32), n + 32);\n reduce(r);\n scalarbase(p, r);\n pack(sm, p);\n\n for(i = 32; i < 64; ++i) {\n sm[i] = sk[i];\n }\n var h = sha512(sm, n + 64);\n reduce(h);\n\n for(i = 32; i < 64; ++i) {\n x[i] = 0;\n }\n for(i = 0; i < 32; ++i) {\n x[i] = r[i];\n }\n for(i = 0; i < 32; ++i) {\n for(j = 0; j < 32; j++) {\n x[i + j] += h[i] * d[j];\n }\n }\n\n modL(sm.subarray(32), x);\n return smlen;\n}\n\nfunction crypto_sign_open(m, sm, n, pk) {\n var i, mlen;\n var t = new NativeBuffer(32);\n var p = [gf(), gf(), gf(), gf()],\n q = [gf(), gf(), gf(), gf()];\n\n mlen = -1;\n if(n < 64) {\n return -1;\n }\n\n if(unpackneg(q, pk)) {\n return -1;\n }\n\n for(i = 0; i < n; ++i) {\n m[i] = sm[i];\n }\n for(i = 0; i < 32; ++i) {\n m[i + 32] = pk[i];\n }\n var h = sha512(m, n);\n reduce(h);\n scalarmult(p, q, h);\n\n scalarbase(q, sm.subarray(32));\n add(p, q);\n pack(t, p);\n\n n -= 64;\n if(crypto_verify_32(sm, 0, t, 0)) {\n for(i = 0; i < n; ++i) {\n m[i] = 0;\n }\n return -1;\n }\n\n for(i = 0; i < n; ++i) {\n m[i] = sm[i + 64];\n }\n mlen = n;\n return mlen;\n}\n\nfunction modL(r, x) {\n var carry, i, j, k;\n for(i = 63; i >= 32; --i) {\n carry = 0;\n for(j = i - 32, k = i - 12; j < k; ++j) {\n x[j] += carry - 16 * x[i] * L[j - (i - 32)];\n carry = (x[j] + 128) >> 8;\n x[j] -= carry * 256;\n }\n x[j] += carry;\n x[i] = 0;\n }\n carry = 0;\n for(j = 0; j < 32; ++j) {\n x[j] += carry - (x[31] >> 4) * L[j];\n carry = x[j] >> 8;\n x[j] &= 255;\n }\n for(j = 0; j < 32; ++j) {\n x[j] -= carry * L[j];\n }\n for(i = 0; i < 32; ++i) {\n x[i + 1] += x[i] >> 8;\n r[i] = x[i] & 255;\n }\n}\n\nfunction reduce(r) {\n var x = new Float64Array(64);\n for(var i = 0; i < 64; ++i) {\n x[i] = r[i];\n r[i] = 0;\n }\n modL(r, x);\n}\n\nfunction add(p, q) {\n var a = gf(), b = gf(), c = gf(),\n d = gf(), e = gf(), f = gf(),\n g = gf(), h = gf(), t = gf();\n\n Z(a, p[1], p[0]);\n Z(t, q[1], q[0]);\n M(a, a, t);\n A(b, p[0], p[1]);\n A(t, q[0], q[1]);\n M(b, b, t);\n M(c, p[3], q[3]);\n M(c, c, D2);\n M(d, p[2], q[2]);\n A(d, d, d);\n Z(e, b, a);\n Z(f, d, c);\n A(g, d, c);\n A(h, b, a);\n\n M(p[0], e, f);\n M(p[1], h, g);\n M(p[2], g, f);\n M(p[3], e, h);\n}\n\nfunction cswap(p, q, b) {\n for(var i = 0; i < 4; ++i) {\n sel25519(p[i], q[i], b);\n }\n}\n\nfunction pack(r, p) {\n var tx = gf(), ty = gf(), zi = gf();\n inv25519(zi, p[2]);\n M(tx, p[0], zi);\n M(ty, p[1], zi);\n pack25519(r, ty);\n r[31] ^= par25519(tx) << 7;\n}\n\nfunction pack25519(o, n) {\n var i, j, b;\n var m = gf(), t = gf();\n for(i = 0; i < 16; ++i) {\n t[i] = n[i];\n }\n car25519(t);\n car25519(t);\n car25519(t);\n for(j = 0; j < 2; ++j) {\n m[0] = t[0] - 0xffed;\n for(i = 1; i < 15; ++i) {\n m[i] = t[i] - 0xffff - ((m[i - 1] >> 16) & 1);\n m[i-1] &= 0xffff;\n }\n m[15] = t[15] - 0x7fff - ((m[14] >> 16) & 1);\n b = (m[15] >> 16) & 1;\n m[14] &= 0xffff;\n sel25519(t, m, 1 - b);\n }\n for (i = 0; i < 16; i++) {\n o[2 * i] = t[i] & 0xff;\n o[2 * i + 1] = t[i] >> 8;\n }\n}\n\nfunction unpackneg(r, p) {\n var t = gf(), chk = gf(), num = gf(),\n den = gf(), den2 = gf(), den4 = gf(),\n den6 = gf();\n\n set25519(r[2], gf1);\n unpack25519(r[1], p);\n S(num, r[1]);\n M(den, num, D);\n Z(num, num, r[2]);\n A(den, r[2], den);\n\n S(den2, den);\n S(den4, den2);\n M(den6, den4, den2);\n M(t, den6, num);\n M(t, t, den);\n\n pow2523(t, t);\n M(t, t, num);\n M(t, t, den);\n M(t, t, den);\n M(r[0], t, den);\n\n S(chk, r[0]);\n M(chk, chk, den);\n if(neq25519(chk, num)) {\n M(r[0], r[0], I);\n }\n\n S(chk, r[0]);\n M(chk, chk, den);\n if(neq25519(chk, num)) {\n return -1;\n }\n\n if(par25519(r[0]) === (p[31] >> 7)) {\n Z(r[0], gf0, r[0]);\n }\n\n M(r[3], r[0], r[1]);\n return 0;\n}\n\nfunction unpack25519(o, n) {\n var i;\n for(i = 0; i < 16; ++i) {\n o[i] = n[2 * i] + (n[2 * i + 1] << 8);\n }\n o[15] &= 0x7fff;\n}\n\nfunction pow2523(o, i) {\n var c = gf();\n var a;\n for(a = 0; a < 16; ++a) {\n c[a] = i[a];\n }\n for(a = 250; a >= 0; --a) {\n S(c, c);\n if(a !== 1) {\n M(c, c, i);\n }\n }\n for(a = 0; a < 16; ++a) {\n o[a] = c[a];\n }\n}\n\nfunction neq25519(a, b) {\n var c = new NativeBuffer(32);\n var d = new NativeBuffer(32);\n pack25519(c, a);\n pack25519(d, b);\n return crypto_verify_32(c, 0, d, 0);\n}\n\nfunction crypto_verify_32(x, xi, y, yi) {\n return vn(x, xi, y, yi, 32);\n}\n\nfunction vn(x, xi, y, yi, n) {\n var i, d = 0;\n for(i = 0; i < n; ++i) {\n d |= x[xi + i] ^ y[yi + i];\n }\n return (1 & ((d - 1) >>> 8)) - 1;\n}\n\nfunction par25519(a) {\n var d = new NativeBuffer(32);\n pack25519(d, a);\n return d[0] & 1;\n}\n\nfunction scalarmult(p, q, s) {\n var b, i;\n set25519(p[0], gf0);\n set25519(p[1], gf1);\n set25519(p[2], gf1);\n set25519(p[3], gf0);\n for(i = 255; i >= 0; --i) {\n b = (s[(i / 8)|0] >> (i & 7)) & 1;\n cswap(p, q, b);\n add(q, p);\n add(p, p);\n cswap(p, q, b);\n }\n}\n\nfunction scalarbase(p, s) {\n var q = [gf(), gf(), gf(), gf()];\n set25519(q[0], X);\n set25519(q[1], Y);\n set25519(q[2], gf1);\n M(q[3], X, Y);\n scalarmult(p, q, s);\n}\n\nfunction set25519(r, a) {\n var i;\n for(i = 0; i < 16; i++) {\n r[i] = a[i] | 0;\n }\n}\n\nfunction inv25519(o, i) {\n var c = gf();\n var a;\n for(a = 0; a < 16; ++a) {\n c[a] = i[a];\n }\n for(a = 253; a >= 0; --a) {\n S(c, c);\n if(a !== 2 && a !== 4) {\n M(c, c, i);\n }\n }\n for(a = 0; a < 16; ++a) {\n o[a] = c[a];\n }\n}\n\nfunction car25519(o) {\n var i, v, c = 1;\n for(i = 0; i < 16; ++i) {\n v = o[i] + c + 65535;\n c = Math.floor(v / 65536);\n o[i] = v - c * 65536;\n }\n o[0] += c - 1 + 37 * (c - 1);\n}\n\nfunction sel25519(p, q, b) {\n var t, c = ~(b - 1);\n for(var i = 0; i < 16; ++i) {\n t = c & (p[i] ^ q[i]);\n p[i] ^= t;\n q[i] ^= t;\n }\n}\n\nfunction gf(init) {\n var i, r = new Float64Array(16);\n if(init) {\n for(i = 0; i < init.length; ++i) {\n r[i] = init[i];\n }\n }\n return r;\n}\n\nfunction A(o, a, b) {\n for(var i = 0; i < 16; ++i) {\n o[i] = a[i] + b[i];\n }\n}\n\nfunction Z(o, a, b) {\n for(var i = 0; i < 16; ++i) {\n o[i] = a[i] - b[i];\n }\n}\n\nfunction S(o, a) {\n M(o, a, a);\n}\n\nfunction M(o, a, b) {\n var v, c,\n t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0, t5 = 0, t6 = 0, t7 = 0,\n t8 = 0, t9 = 0, t10 = 0, t11 = 0, t12 = 0, t13 = 0, t14 = 0, t15 = 0,\n t16 = 0, t17 = 0, t18 = 0, t19 = 0, t20 = 0, t21 = 0, t22 = 0, t23 = 0,\n t24 = 0, t25 = 0, t26 = 0, t27 = 0, t28 = 0, t29 = 0, t30 = 0,\n b0 = b[0],\n b1 = b[1],\n b2 = b[2],\n b3 = b[3],\n b4 = b[4],\n b5 = b[5],\n b6 = b[6],\n b7 = b[7],\n b8 = b[8],\n b9 = b[9],\n b10 = b[10],\n b11 = b[11],\n b12 = b[12],\n b13 = b[13],\n b14 = b[14],\n b15 = b[15];\n\n v = a[0];\n t0 += v * b0;\n t1 += v * b1;\n t2 += v * b2;\n t3 += v * b3;\n t4 += v * b4;\n t5 += v * b5;\n t6 += v * b6;\n t7 += v * b7;\n t8 += v * b8;\n t9 += v * b9;\n t10 += v * b10;\n t11 += v * b11;\n t12 += v * b12;\n t13 += v * b13;\n t14 += v * b14;\n t15 += v * b15;\n v = a[1];\n t1 += v * b0;\n t2 += v * b1;\n t3 += v * b2;\n t4 += v * b3;\n t5 += v * b4;\n t6 += v * b5;\n t7 += v * b6;\n t8 += v * b7;\n t9 += v * b8;\n t10 += v * b9;\n t11 += v * b10;\n t12 += v * b11;\n t13 += v * b12;\n t14 += v * b13;\n t15 += v * b14;\n t16 += v * b15;\n v = a[2];\n t2 += v * b0;\n t3 += v * b1;\n t4 += v * b2;\n t5 += v * b3;\n t6 += v * b4;\n t7 += v * b5;\n t8 += v * b6;\n t9 += v * b7;\n t10 += v * b8;\n t11 += v * b9;\n t12 += v * b10;\n t13 += v * b11;\n t14 += v * b12;\n t15 += v * b13;\n t16 += v * b14;\n t17 += v * b15;\n v = a[3];\n t3 += v * b0;\n t4 += v * b1;\n t5 += v * b2;\n t6 += v * b3;\n t7 += v * b4;\n t8 += v * b5;\n t9 += v * b6;\n t10 += v * b7;\n t11 += v * b8;\n t12 += v * b9;\n t13 += v * b10;\n t14 += v * b11;\n t15 += v * b12;\n t16 += v * b13;\n t17 += v * b14;\n t18 += v * b15;\n v = a[4];\n t4 += v * b0;\n t5 += v * b1;\n t6 += v * b2;\n t7 += v * b3;\n t8 += v * b4;\n t9 += v * b5;\n t10 += v * b6;\n t11 += v * b7;\n t12 += v * b8;\n t13 += v * b9;\n t14 += v * b10;\n t15 += v * b11;\n t16 += v * b12;\n t17 += v * b13;\n t18 += v * b14;\n t19 += v * b15;\n v = a[5];\n t5 += v * b0;\n t6 += v * b1;\n t7 += v * b2;\n t8 += v * b3;\n t9 += v * b4;\n t10 += v * b5;\n t11 += v * b6;\n t12 += v * b7;\n t13 += v * b8;\n t14 += v * b9;\n t15 += v * b10;\n t16 += v * b11;\n t17 += v * b12;\n t18 += v * b13;\n t19 += v * b14;\n t20 += v * b15;\n v = a[6];\n t6 += v * b0;\n t7 += v * b1;\n t8 += v * b2;\n t9 += v * b3;\n t10 += v * b4;\n t11 += v * b5;\n t12 += v * b6;\n t13 += v * b7;\n t14 += v * b8;\n t15 += v * b9;\n t16 += v * b10;\n t17 += v * b11;\n t18 += v * b12;\n t19 += v * b13;\n t20 += v * b14;\n t21 += v * b15;\n v = a[7];\n t7 += v * b0;\n t8 += v * b1;\n t9 += v * b2;\n t10 += v * b3;\n t11 += v * b4;\n t12 += v * b5;\n t13 += v * b6;\n t14 += v * b7;\n t15 += v * b8;\n t16 += v * b9;\n t17 += v * b10;\n t18 += v * b11;\n t19 += v * b12;\n t20 += v * b13;\n t21 += v * b14;\n t22 += v * b15;\n v = a[8];\n t8 += v * b0;\n t9 += v * b1;\n t10 += v * b2;\n t11 += v * b3;\n t12 += v * b4;\n t13 += v * b5;\n t14 += v * b6;\n t15 += v * b7;\n t16 += v * b8;\n t17 += v * b9;\n t18 += v * b10;\n t19 += v * b11;\n t20 += v * b12;\n t21 += v * b13;\n t22 += v * b14;\n t23 += v * b15;\n v = a[9];\n t9 += v * b0;\n t10 += v * b1;\n t11 += v * b2;\n t12 += v * b3;\n t13 += v * b4;\n t14 += v * b5;\n t15 += v * b6;\n t16 += v * b7;\n t17 += v * b8;\n t18 += v * b9;\n t19 += v * b10;\n t20 += v * b11;\n t21 += v * b12;\n t22 += v * b13;\n t23 += v * b14;\n t24 += v * b15;\n v = a[10];\n t10 += v * b0;\n t11 += v * b1;\n t12 += v * b2;\n t13 += v * b3;\n t14 += v * b4;\n t15 += v * b5;\n t16 += v * b6;\n t17 += v * b7;\n t18 += v * b8;\n t19 += v * b9;\n t20 += v * b10;\n t21 += v * b11;\n t22 += v * b12;\n t23 += v * b13;\n t24 += v * b14;\n t25 += v * b15;\n v = a[11];\n t11 += v * b0;\n t12 += v * b1;\n t13 += v * b2;\n t14 += v * b3;\n t15 += v * b4;\n t16 += v * b5;\n t17 += v * b6;\n t18 += v * b7;\n t19 += v * b8;\n t20 += v * b9;\n t21 += v * b10;\n t22 += v * b11;\n t23 += v * b12;\n t24 += v * b13;\n t25 += v * b14;\n t26 += v * b15;\n v = a[12];\n t12 += v * b0;\n t13 += v * b1;\n t14 += v * b2;\n t15 += v * b3;\n t16 += v * b4;\n t17 += v * b5;\n t18 += v * b6;\n t19 += v * b7;\n t20 += v * b8;\n t21 += v * b9;\n t22 += v * b10;\n t23 += v * b11;\n t24 += v * b12;\n t25 += v * b13;\n t26 += v * b14;\n t27 += v * b15;\n v = a[13];\n t13 += v * b0;\n t14 += v * b1;\n t15 += v * b2;\n t16 += v * b3;\n t17 += v * b4;\n t18 += v * b5;\n t19 += v * b6;\n t20 += v * b7;\n t21 += v * b8;\n t22 += v * b9;\n t23 += v * b10;\n t24 += v * b11;\n t25 += v * b12;\n t26 += v * b13;\n t27 += v * b14;\n t28 += v * b15;\n v = a[14];\n t14 += v * b0;\n t15 += v * b1;\n t16 += v * b2;\n t17 += v * b3;\n t18 += v * b4;\n t19 += v * b5;\n t20 += v * b6;\n t21 += v * b7;\n t22 += v * b8;\n t23 += v * b9;\n t24 += v * b10;\n t25 += v * b11;\n t26 += v * b12;\n t27 += v * b13;\n t28 += v * b14;\n t29 += v * b15;\n v = a[15];\n t15 += v * b0;\n t16 += v * b1;\n t17 += v * b2;\n t18 += v * b3;\n t19 += v * b4;\n t20 += v * b5;\n t21 += v * b6;\n t22 += v * b7;\n t23 += v * b8;\n t24 += v * b9;\n t25 += v * b10;\n t26 += v * b11;\n t27 += v * b12;\n t28 += v * b13;\n t29 += v * b14;\n t30 += v * b15;\n\n t0 += 38 * t16;\n t1 += 38 * t17;\n t2 += 38 * t18;\n t3 += 38 * t19;\n t4 += 38 * t20;\n t5 += 38 * t21;\n t6 += 38 * t22;\n t7 += 38 * t23;\n t8 += 38 * t24;\n t9 += 38 * t25;\n t10 += 38 * t26;\n t11 += 38 * t27;\n t12 += 38 * t28;\n t13 += 38 * t29;\n t14 += 38 * t30;\n // t15 left as is\n\n // first car\n c = 1;\n v = t0 + c + 65535; c = Math.floor(v / 65536); t0 = v - c * 65536;\n v = t1 + c + 65535; c = Math.floor(v / 65536); t1 = v - c * 65536;\n v = t2 + c + 65535; c = Math.floor(v / 65536); t2 = v - c * 65536;\n v = t3 + c + 65535; c = Math.floor(v / 65536); t3 = v - c * 65536;\n v = t4 + c + 65535; c = Math.floor(v / 65536); t4 = v - c * 65536;\n v = t5 + c + 65535; c = Math.floor(v / 65536); t5 = v - c * 65536;\n v = t6 + c + 65535; c = Math.floor(v / 65536); t6 = v - c * 65536;\n v = t7 + c + 65535; c = Math.floor(v / 65536); t7 = v - c * 65536;\n v = t8 + c + 65535; c = Math.floor(v / 65536); t8 = v - c * 65536;\n v = t9 + c + 65535; c = Math.floor(v / 65536); t9 = v - c * 65536;\n v = t10 + c + 65535; c = Math.floor(v / 65536); t10 = v - c * 65536;\n v = t11 + c + 65535; c = Math.floor(v / 65536); t11 = v - c * 65536;\n v = t12 + c + 65535; c = Math.floor(v / 65536); t12 = v - c * 65536;\n v = t13 + c + 65535; c = Math.floor(v / 65536); t13 = v - c * 65536;\n v = t14 + c + 65535; c = Math.floor(v / 65536); t14 = v - c * 65536;\n v = t15 + c + 65535; c = Math.floor(v / 65536); t15 = v - c * 65536;\n t0 += c-1 + 37 * (c-1);\n\n // second car\n c = 1;\n v = t0 + c + 65535; c = Math.floor(v / 65536); t0 = v - c * 65536;\n v = t1 + c + 65535; c = Math.floor(v / 65536); t1 = v - c * 65536;\n v = t2 + c + 65535; c = Math.floor(v / 65536); t2 = v - c * 65536;\n v = t3 + c + 65535; c = Math.floor(v / 65536); t3 = v - c * 65536;\n v = t4 + c + 65535; c = Math.floor(v / 65536); t4 = v - c * 65536;\n v = t5 + c + 65535; c = Math.floor(v / 65536); t5 = v - c * 65536;\n v = t6 + c + 65535; c = Math.floor(v / 65536); t6 = v - c * 65536;\n v = t7 + c + 65535; c = Math.floor(v / 65536); t7 = v - c * 65536;\n v = t8 + c + 65535; c = Math.floor(v / 65536); t8 = v - c * 65536;\n v = t9 + c + 65535; c = Math.floor(v / 65536); t9 = v - c * 65536;\n v = t10 + c + 65535; c = Math.floor(v / 65536); t10 = v - c * 65536;\n v = t11 + c + 65535; c = Math.floor(v / 65536); t11 = v - c * 65536;\n v = t12 + c + 65535; c = Math.floor(v / 65536); t12 = v - c * 65536;\n v = t13 + c + 65535; c = Math.floor(v / 65536); t13 = v - c * 65536;\n v = t14 + c + 65535; c = Math.floor(v / 65536); t14 = v - c * 65536;\n v = t15 + c + 65535; c = Math.floor(v / 65536); t15 = v - c * 65536;\n t0 += c-1 + 37 * (c-1);\n\n o[ 0] = t0;\n o[ 1] = t1;\n o[ 2] = t2;\n o[ 3] = t3;\n o[ 4] = t4;\n o[ 5] = t5;\n o[ 6] = t6;\n o[ 7] = t7;\n o[ 8] = t8;\n o[ 9] = t9;\n o[10] = t10;\n o[11] = t11;\n o[12] = t12;\n o[13] = t13;\n o[14] = t14;\n o[15] = t15;\n}\n","/**\n * Node.js module for Forge.\n *\n * @author Dave Longley\n *\n * Copyright 2011-2016 Digital Bazaar, Inc.\n */\nmodule.exports = {\n // default options\n options: {\n usePureJavaScript: false\n }\n};\n","/**\n * Hash-based Message Authentication Code implementation. Requires a message\n * digest object that can be obtained, for example, from forge.md.sha1 or\n * forge.md.md5.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2012 Digital Bazaar, Inc. All rights reserved.\n */\nvar forge = require('./forge');\nrequire('./md');\nrequire('./util');\n\n/* HMAC API */\nvar hmac = module.exports = forge.hmac = forge.hmac || {};\n\n/**\n * Creates an HMAC object that uses the given message digest object.\n *\n * @return an HMAC object.\n */\nhmac.create = function() {\n // the hmac key to use\n var _key = null;\n\n // the message digest to use\n var _md = null;\n\n // the inner padding\n var _ipadding = null;\n\n // the outer padding\n var _opadding = null;\n\n // hmac context\n var ctx = {};\n\n /**\n * Starts or restarts the HMAC with the given key and message digest.\n *\n * @param md the message digest to use, null to reuse the previous one,\n * a string to use builtin 'sha1', 'md5', 'sha256'.\n * @param key the key to use as a string, array of bytes, byte buffer,\n * or null to reuse the previous key.\n */\n ctx.start = function(md, key) {\n if(md !== null) {\n if(typeof md === 'string') {\n // create builtin message digest\n md = md.toLowerCase();\n if(md in forge.md.algorithms) {\n _md = forge.md.algorithms[md].create();\n } else {\n throw new Error('Unknown hash algorithm \"' + md + '\"');\n }\n } else {\n // store message digest\n _md = md;\n }\n }\n\n if(key === null) {\n // reuse previous key\n key = _key;\n } else {\n if(typeof key === 'string') {\n // convert string into byte buffer\n key = forge.util.createBuffer(key);\n } else if(forge.util.isArray(key)) {\n // convert byte array into byte buffer\n var tmp = key;\n key = forge.util.createBuffer();\n for(var i = 0; i < tmp.length; ++i) {\n key.putByte(tmp[i]);\n }\n }\n\n // if key is longer than blocksize, hash it\n var keylen = key.length();\n if(keylen > _md.blockLength) {\n _md.start();\n _md.update(key.bytes());\n key = _md.digest();\n }\n\n // mix key into inner and outer padding\n // ipadding = [0x36 * blocksize] ^ key\n // opadding = [0x5C * blocksize] ^ key\n _ipadding = forge.util.createBuffer();\n _opadding = forge.util.createBuffer();\n keylen = key.length();\n for(var i = 0; i < keylen; ++i) {\n var tmp = key.at(i);\n _ipadding.putByte(0x36 ^ tmp);\n _opadding.putByte(0x5C ^ tmp);\n }\n\n // if key is shorter than blocksize, add additional padding\n if(keylen < _md.blockLength) {\n var tmp = _md.blockLength - keylen;\n for(var i = 0; i < tmp; ++i) {\n _ipadding.putByte(0x36);\n _opadding.putByte(0x5C);\n }\n }\n _key = key;\n _ipadding = _ipadding.bytes();\n _opadding = _opadding.bytes();\n }\n\n // digest is done like so: hash(opadding | hash(ipadding | message))\n\n // prepare to do inner hash\n // hash(ipadding | message)\n _md.start();\n _md.update(_ipadding);\n };\n\n /**\n * Updates the HMAC with the given message bytes.\n *\n * @param bytes the bytes to update with.\n */\n ctx.update = function(bytes) {\n _md.update(bytes);\n };\n\n /**\n * Produces the Message Authentication Code (MAC).\n *\n * @return a byte buffer containing the digest value.\n */\n ctx.getMac = function() {\n // digest is done like so: hash(opadding | hash(ipadding | message))\n // here we do the outer hashing\n var inner = _md.digest().bytes();\n _md.start();\n _md.update(_opadding);\n _md.update(inner);\n return _md.digest();\n };\n // alias for getMac\n ctx.digest = ctx.getMac;\n\n return ctx;\n};\n","/**\n * Node.js module for Forge.\n *\n * @author Dave Longley\n *\n * Copyright 2011-2016 Digital Bazaar, Inc.\n */\nmodule.exports = require('./forge');\nrequire('./aes');\nrequire('./aesCipherSuites');\nrequire('./asn1');\nrequire('./cipher');\nrequire('./debug');\nrequire('./des');\nrequire('./ed25519');\nrequire('./hmac');\nrequire('./kem');\nrequire('./log');\nrequire('./md.all');\nrequire('./mgf1');\nrequire('./pbkdf2');\nrequire('./pem');\nrequire('./pkcs1');\nrequire('./pkcs12');\nrequire('./pkcs7');\nrequire('./pki');\nrequire('./prime');\nrequire('./prng');\nrequire('./pss');\nrequire('./random');\nrequire('./rc2');\nrequire('./ssh');\nrequire('./task');\nrequire('./tls');\nrequire('./util');\n","// Copyright (c) 2005 Tom Wu\n// All Rights Reserved.\n// See \"LICENSE\" for details.\n\n// Basic JavaScript BN library - subset useful for RSA encryption.\n\n/*\nLicensing (LICENSE)\n-------------------\n\nThis software is covered under the following copyright:\n*/\n/*\n * Copyright (c) 2003-2005 Tom Wu\n * All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * \"Software\"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS-IS\" AND WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY\n * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.\n *\n * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL,\n * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER\n * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF\n * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT\n * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n *\n * In addition, the following condition applies:\n *\n * All redistributions must retain an intact copy of this copyright notice\n * and disclaimer.\n */\n/*\nAddress all questions regarding this license to:\n\n Tom Wu\n tjw@cs.Stanford.EDU\n*/\nvar forge = require('./forge');\n\nmodule.exports = forge.jsbn = forge.jsbn || {};\n\n// Bits per digit\nvar dbits;\n\n// JavaScript engine analysis\nvar canary = 0xdeadbeefcafe;\nvar j_lm = ((canary&0xffffff)==0xefcafe);\n\n// (public) Constructor\nfunction BigInteger(a,b,c) {\n this.data = [];\n if(a != null)\n if(\"number\" == typeof a) this.fromNumber(a,b,c);\n else if(b == null && \"string\" != typeof a) this.fromString(a,256);\n else this.fromString(a,b);\n}\nforge.jsbn.BigInteger = BigInteger;\n\n// return new, unset BigInteger\nfunction nbi() { return new BigInteger(null); }\n\n// am: Compute w_j += (x*this_i), propagate carries,\n// c is initial carry, returns final carry.\n// c < 3*dvalue, x < 2*dvalue, this_i < dvalue\n// We need to select the fastest one that works in this environment.\n\n// am1: use a single mult and divide to get the high bits,\n// max digit bits should be 26 because\n// max internal value = 2*dvalue^2-2*dvalue (< 2^53)\nfunction am1(i,x,w,j,c,n) {\n while(--n >= 0) {\n var v = x*this.data[i++]+w.data[j]+c;\n c = Math.floor(v/0x4000000);\n w.data[j++] = v&0x3ffffff;\n }\n return c;\n}\n// am2 avoids a big mult-and-extract completely.\n// Max digit bits should be <= 30 because we do bitwise ops\n// on values up to 2*hdvalue^2-hdvalue-1 (< 2^31)\nfunction am2(i,x,w,j,c,n) {\n var xl = x&0x7fff, xh = x>>15;\n while(--n >= 0) {\n var l = this.data[i]&0x7fff;\n var h = this.data[i++]>>15;\n var m = xh*l+h*xl;\n l = xl*l+((m&0x7fff)<<15)+w.data[j]+(c&0x3fffffff);\n c = (l>>>30)+(m>>>15)+xh*h+(c>>>30);\n w.data[j++] = l&0x3fffffff;\n }\n return c;\n}\n// Alternately, set max digit bits to 28 since some\n// browsers slow down when dealing with 32-bit numbers.\nfunction am3(i,x,w,j,c,n) {\n var xl = x&0x3fff, xh = x>>14;\n while(--n >= 0) {\n var l = this.data[i]&0x3fff;\n var h = this.data[i++]>>14;\n var m = xh*l+h*xl;\n l = xl*l+((m&0x3fff)<<14)+w.data[j]+c;\n c = (l>>28)+(m>>14)+xh*h;\n w.data[j++] = l&0xfffffff;\n }\n return c;\n}\n\n// node.js (no browser)\nif(typeof(navigator) === 'undefined')\n{\n BigInteger.prototype.am = am3;\n dbits = 28;\n} else if(j_lm && (navigator.appName == \"Microsoft Internet Explorer\")) {\n BigInteger.prototype.am = am2;\n dbits = 30;\n} else if(j_lm && (navigator.appName != \"Netscape\")) {\n BigInteger.prototype.am = am1;\n dbits = 26;\n} else { // Mozilla/Netscape seems to prefer am3\n BigInteger.prototype.am = am3;\n dbits = 28;\n}\n\nBigInteger.prototype.DB = dbits;\nBigInteger.prototype.DM = ((1<= 0; --i) r.data[i] = this.data[i];\n r.t = this.t;\n r.s = this.s;\n}\n\n// (protected) set from integer value x, -DV <= x < DV\nfunction bnpFromInt(x) {\n this.t = 1;\n this.s = (x<0)?-1:0;\n if(x > 0) this.data[0] = x;\n else if(x < -1) this.data[0] = x+this.DV;\n else this.t = 0;\n}\n\n// return bigint initialized to value\nfunction nbv(i) { var r = nbi(); r.fromInt(i); return r; }\n\n// (protected) set from string and radix\nfunction bnpFromString(s,b) {\n var k;\n if(b == 16) k = 4;\n else if(b == 8) k = 3;\n else if(b == 256) k = 8; // byte array\n else if(b == 2) k = 1;\n else if(b == 32) k = 5;\n else if(b == 4) k = 2;\n else { this.fromRadix(s,b); return; }\n this.t = 0;\n this.s = 0;\n var i = s.length, mi = false, sh = 0;\n while(--i >= 0) {\n var x = (k==8)?s[i]&0xff:intAt(s,i);\n if(x < 0) {\n if(s.charAt(i) == \"-\") mi = true;\n continue;\n }\n mi = false;\n if(sh == 0)\n this.data[this.t++] = x;\n else if(sh+k > this.DB) {\n this.data[this.t-1] |= (x&((1<<(this.DB-sh))-1))<>(this.DB-sh));\n } else\n this.data[this.t-1] |= x<= this.DB) sh -= this.DB;\n }\n if(k == 8 && (s[0]&0x80) != 0) {\n this.s = -1;\n if(sh > 0) this.data[this.t-1] |= ((1<<(this.DB-sh))-1)< 0 && this.data[this.t-1] == c) --this.t;\n}\n\n// (public) return string representation in given radix\nfunction bnToString(b) {\n if(this.s < 0) return \"-\"+this.negate().toString(b);\n var k;\n if(b == 16) k = 4;\n else if(b == 8) k = 3;\n else if(b == 2) k = 1;\n else if(b == 32) k = 5;\n else if(b == 4) k = 2;\n else return this.toRadix(b);\n var km = (1< 0) {\n if(p < this.DB && (d = this.data[i]>>p) > 0) { m = true; r = int2char(d); }\n while(i >= 0) {\n if(p < k) {\n d = (this.data[i]&((1<>(p+=this.DB-k);\n } else {\n d = (this.data[i]>>(p-=k))&km;\n if(p <= 0) { p += this.DB; --i; }\n }\n if(d > 0) m = true;\n if(m) r += int2char(d);\n }\n }\n return m?r:\"0\";\n}\n\n// (public) -this\nfunction bnNegate() { var r = nbi(); BigInteger.ZERO.subTo(this,r); return r; }\n\n// (public) |this|\nfunction bnAbs() { return (this.s<0)?this.negate():this; }\n\n// (public) return + if this > a, - if this < a, 0 if equal\nfunction bnCompareTo(a) {\n var r = this.s-a.s;\n if(r != 0) return r;\n var i = this.t;\n r = i-a.t;\n if(r != 0) return (this.s<0)?-r:r;\n while(--i >= 0) if((r=this.data[i]-a.data[i]) != 0) return r;\n return 0;\n}\n\n// returns bit length of the integer x\nfunction nbits(x) {\n var r = 1, t;\n if((t=x>>>16) != 0) { x = t; r += 16; }\n if((t=x>>8) != 0) { x = t; r += 8; }\n if((t=x>>4) != 0) { x = t; r += 4; }\n if((t=x>>2) != 0) { x = t; r += 2; }\n if((t=x>>1) != 0) { x = t; r += 1; }\n return r;\n}\n\n// (public) return the number of bits in \"this\"\nfunction bnBitLength() {\n if(this.t <= 0) return 0;\n return this.DB*(this.t-1)+nbits(this.data[this.t-1]^(this.s&this.DM));\n}\n\n// (protected) r = this << n*DB\nfunction bnpDLShiftTo(n,r) {\n var i;\n for(i = this.t-1; i >= 0; --i) r.data[i+n] = this.data[i];\n for(i = n-1; i >= 0; --i) r.data[i] = 0;\n r.t = this.t+n;\n r.s = this.s;\n}\n\n// (protected) r = this >> n*DB\nfunction bnpDRShiftTo(n,r) {\n for(var i = n; i < this.t; ++i) r.data[i-n] = this.data[i];\n r.t = Math.max(this.t-n,0);\n r.s = this.s;\n}\n\n// (protected) r = this << n\nfunction bnpLShiftTo(n,r) {\n var bs = n%this.DB;\n var cbs = this.DB-bs;\n var bm = (1<= 0; --i) {\n r.data[i+ds+1] = (this.data[i]>>cbs)|c;\n c = (this.data[i]&bm)<= 0; --i) r.data[i] = 0;\n r.data[ds] = c;\n r.t = this.t+ds+1;\n r.s = this.s;\n r.clamp();\n}\n\n// (protected) r = this >> n\nfunction bnpRShiftTo(n,r) {\n r.s = this.s;\n var ds = Math.floor(n/this.DB);\n if(ds >= this.t) { r.t = 0; return; }\n var bs = n%this.DB;\n var cbs = this.DB-bs;\n var bm = (1<>bs;\n for(var i = ds+1; i < this.t; ++i) {\n r.data[i-ds-1] |= (this.data[i]&bm)<>bs;\n }\n if(bs > 0) r.data[this.t-ds-1] |= (this.s&bm)<>= this.DB;\n }\n if(a.t < this.t) {\n c -= a.s;\n while(i < this.t) {\n c += this.data[i];\n r.data[i++] = c&this.DM;\n c >>= this.DB;\n }\n c += this.s;\n } else {\n c += this.s;\n while(i < a.t) {\n c -= a.data[i];\n r.data[i++] = c&this.DM;\n c >>= this.DB;\n }\n c -= a.s;\n }\n r.s = (c<0)?-1:0;\n if(c < -1) r.data[i++] = this.DV+c;\n else if(c > 0) r.data[i++] = c;\n r.t = i;\n r.clamp();\n}\n\n// (protected) r = this * a, r != this,a (HAC 14.12)\n// \"this\" should be the larger one if appropriate.\nfunction bnpMultiplyTo(a,r) {\n var x = this.abs(), y = a.abs();\n var i = x.t;\n r.t = i+y.t;\n while(--i >= 0) r.data[i] = 0;\n for(i = 0; i < y.t; ++i) r.data[i+x.t] = x.am(0,y.data[i],r,i,0,x.t);\n r.s = 0;\n r.clamp();\n if(this.s != a.s) BigInteger.ZERO.subTo(r,r);\n}\n\n// (protected) r = this^2, r != this (HAC 14.16)\nfunction bnpSquareTo(r) {\n var x = this.abs();\n var i = r.t = 2*x.t;\n while(--i >= 0) r.data[i] = 0;\n for(i = 0; i < x.t-1; ++i) {\n var c = x.am(i,x.data[i],r,2*i,0,1);\n if((r.data[i+x.t]+=x.am(i+1,2*x.data[i],r,2*i+1,c,x.t-i-1)) >= x.DV) {\n r.data[i+x.t] -= x.DV;\n r.data[i+x.t+1] = 1;\n }\n }\n if(r.t > 0) r.data[r.t-1] += x.am(i,x.data[i],r,2*i,0,1);\n r.s = 0;\n r.clamp();\n}\n\n// (protected) divide this by m, quotient and remainder to q, r (HAC 14.20)\n// r != q, this != m. q or r may be null.\nfunction bnpDivRemTo(m,q,r) {\n var pm = m.abs();\n if(pm.t <= 0) return;\n var pt = this.abs();\n if(pt.t < pm.t) {\n if(q != null) q.fromInt(0);\n if(r != null) this.copyTo(r);\n return;\n }\n if(r == null) r = nbi();\n var y = nbi(), ts = this.s, ms = m.s;\n var nsh = this.DB-nbits(pm.data[pm.t-1]);\t// normalize modulus\n if(nsh > 0) { pm.lShiftTo(nsh,y); pt.lShiftTo(nsh,r); } else { pm.copyTo(y); pt.copyTo(r); }\n var ys = y.t;\n var y0 = y.data[ys-1];\n if(y0 == 0) return;\n var yt = y0*(1<1)?y.data[ys-2]>>this.F2:0);\n var d1 = this.FV/yt, d2 = (1<= 0) {\n r.data[r.t++] = 1;\n r.subTo(t,r);\n }\n BigInteger.ONE.dlShiftTo(ys,t);\n t.subTo(y,y);\t// \"negative\" y so we can replace sub with am later\n while(y.t < ys) y.data[y.t++] = 0;\n while(--j >= 0) {\n // Estimate quotient digit\n var qd = (r.data[--i]==y0)?this.DM:Math.floor(r.data[i]*d1+(r.data[i-1]+e)*d2);\n if((r.data[i]+=y.am(0,qd,r,j,0,ys)) < qd) {\t// Try it out\n y.dlShiftTo(j,t);\n r.subTo(t,r);\n while(r.data[i] < --qd) r.subTo(t,r);\n }\n }\n if(q != null) {\n r.drShiftTo(ys,q);\n if(ts != ms) BigInteger.ZERO.subTo(q,q);\n }\n r.t = ys;\n r.clamp();\n if(nsh > 0) r.rShiftTo(nsh,r);\t// Denormalize remainder\n if(ts < 0) BigInteger.ZERO.subTo(r,r);\n}\n\n// (public) this mod a\nfunction bnMod(a) {\n var r = nbi();\n this.abs().divRemTo(a,null,r);\n if(this.s < 0 && r.compareTo(BigInteger.ZERO) > 0) a.subTo(r,r);\n return r;\n}\n\n// Modular reduction using \"classic\" algorithm\nfunction Classic(m) { this.m = m; }\nfunction cConvert(x) {\n if(x.s < 0 || x.compareTo(this.m) >= 0) return x.mod(this.m);\n else return x;\n}\nfunction cRevert(x) { return x; }\nfunction cReduce(x) { x.divRemTo(this.m,null,x); }\nfunction cMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }\nfunction cSqrTo(x,r) { x.squareTo(r); this.reduce(r); }\n\nClassic.prototype.convert = cConvert;\nClassic.prototype.revert = cRevert;\nClassic.prototype.reduce = cReduce;\nClassic.prototype.mulTo = cMulTo;\nClassic.prototype.sqrTo = cSqrTo;\n\n// (protected) return \"-1/this % 2^DB\"; useful for Mont. reduction\n// justification:\n// xy == 1 (mod m)\n// xy = 1+km\n// xy(2-xy) = (1+km)(1-km)\n// x[y(2-xy)] = 1-k^2m^2\n// x[y(2-xy)] == 1 (mod m^2)\n// if y is 1/x mod m, then y(2-xy) is 1/x mod m^2\n// should reduce x and y(2-xy) by m^2 at each step to keep size bounded.\n// JS multiply \"overflows\" differently from C/C++, so care is needed here.\nfunction bnpInvDigit() {\n if(this.t < 1) return 0;\n var x = this.data[0];\n if((x&1) == 0) return 0;\n var y = x&3;\t\t// y == 1/x mod 2^2\n y = (y*(2-(x&0xf)*y))&0xf;\t// y == 1/x mod 2^4\n y = (y*(2-(x&0xff)*y))&0xff;\t// y == 1/x mod 2^8\n y = (y*(2-(((x&0xffff)*y)&0xffff)))&0xffff;\t// y == 1/x mod 2^16\n // last step - calculate inverse mod DV directly;\n // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints\n y = (y*(2-x*y%this.DV))%this.DV;\t\t// y == 1/x mod 2^dbits\n // we really want the negative inverse, and -DV < y < DV\n return (y>0)?this.DV-y:-y;\n}\n\n// Montgomery reduction\nfunction Montgomery(m) {\n this.m = m;\n this.mp = m.invDigit();\n this.mpl = this.mp&0x7fff;\n this.mph = this.mp>>15;\n this.um = (1<<(m.DB-15))-1;\n this.mt2 = 2*m.t;\n}\n\n// xR mod m\nfunction montConvert(x) {\n var r = nbi();\n x.abs().dlShiftTo(this.m.t,r);\n r.divRemTo(this.m,null,r);\n if(x.s < 0 && r.compareTo(BigInteger.ZERO) > 0) this.m.subTo(r,r);\n return r;\n}\n\n// x/R mod m\nfunction montRevert(x) {\n var r = nbi();\n x.copyTo(r);\n this.reduce(r);\n return r;\n}\n\n// x = x/R mod m (HAC 14.32)\nfunction montReduce(x) {\n while(x.t <= this.mt2)\t// pad x so am has enough room later\n x.data[x.t++] = 0;\n for(var i = 0; i < this.m.t; ++i) {\n // faster way of calculating u0 = x.data[i]*mp mod DV\n var j = x.data[i]&0x7fff;\n var u0 = (j*this.mpl+(((j*this.mph+(x.data[i]>>15)*this.mpl)&this.um)<<15))&x.DM;\n // use am to combine the multiply-shift-add into one call\n j = i+this.m.t;\n x.data[j] += this.m.am(0,u0,x,i,0,this.m.t);\n // propagate carry\n while(x.data[j] >= x.DV) { x.data[j] -= x.DV; x.data[++j]++; }\n }\n x.clamp();\n x.drShiftTo(this.m.t,x);\n if(x.compareTo(this.m) >= 0) x.subTo(this.m,x);\n}\n\n// r = \"x^2/R mod m\"; x != r\nfunction montSqrTo(x,r) { x.squareTo(r); this.reduce(r); }\n\n// r = \"xy/R mod m\"; x,y != r\nfunction montMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }\n\nMontgomery.prototype.convert = montConvert;\nMontgomery.prototype.revert = montRevert;\nMontgomery.prototype.reduce = montReduce;\nMontgomery.prototype.mulTo = montMulTo;\nMontgomery.prototype.sqrTo = montSqrTo;\n\n// (protected) true iff this is even\nfunction bnpIsEven() { return ((this.t>0)?(this.data[0]&1):this.s) == 0; }\n\n// (protected) this^e, e < 2^32, doing sqr and mul with \"r\" (HAC 14.79)\nfunction bnpExp(e,z) {\n if(e > 0xffffffff || e < 1) return BigInteger.ONE;\n var r = nbi(), r2 = nbi(), g = z.convert(this), i = nbits(e)-1;\n g.copyTo(r);\n while(--i >= 0) {\n z.sqrTo(r,r2);\n if((e&(1< 0) z.mulTo(r2,g,r);\n else { var t = r; r = r2; r2 = t; }\n }\n return z.revert(r);\n}\n\n// (public) this^e % m, 0 <= e < 2^32\nfunction bnModPowInt(e,m) {\n var z;\n if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m);\n return this.exp(e,z);\n}\n\n// protected\nBigInteger.prototype.copyTo = bnpCopyTo;\nBigInteger.prototype.fromInt = bnpFromInt;\nBigInteger.prototype.fromString = bnpFromString;\nBigInteger.prototype.clamp = bnpClamp;\nBigInteger.prototype.dlShiftTo = bnpDLShiftTo;\nBigInteger.prototype.drShiftTo = bnpDRShiftTo;\nBigInteger.prototype.lShiftTo = bnpLShiftTo;\nBigInteger.prototype.rShiftTo = bnpRShiftTo;\nBigInteger.prototype.subTo = bnpSubTo;\nBigInteger.prototype.multiplyTo = bnpMultiplyTo;\nBigInteger.prototype.squareTo = bnpSquareTo;\nBigInteger.prototype.divRemTo = bnpDivRemTo;\nBigInteger.prototype.invDigit = bnpInvDigit;\nBigInteger.prototype.isEven = bnpIsEven;\nBigInteger.prototype.exp = bnpExp;\n\n// public\nBigInteger.prototype.toString = bnToString;\nBigInteger.prototype.negate = bnNegate;\nBigInteger.prototype.abs = bnAbs;\nBigInteger.prototype.compareTo = bnCompareTo;\nBigInteger.prototype.bitLength = bnBitLength;\nBigInteger.prototype.mod = bnMod;\nBigInteger.prototype.modPowInt = bnModPowInt;\n\n// \"constants\"\nBigInteger.ZERO = nbv(0);\nBigInteger.ONE = nbv(1);\n\n// jsbn2 lib\n\n//Copyright (c) 2005-2009 Tom Wu\n//All Rights Reserved.\n//See \"LICENSE\" for details (See jsbn.js for LICENSE).\n\n//Extended JavaScript BN functions, required for RSA private ops.\n\n//Version 1.1: new BigInteger(\"0\", 10) returns \"proper\" zero\n\n//(public)\nfunction bnClone() { var r = nbi(); this.copyTo(r); return r; }\n\n//(public) return value as integer\nfunction bnIntValue() {\nif(this.s < 0) {\n if(this.t == 1) return this.data[0]-this.DV;\n else if(this.t == 0) return -1;\n} else if(this.t == 1) return this.data[0];\nelse if(this.t == 0) return 0;\n// assumes 16 < DB < 32\nreturn ((this.data[1]&((1<<(32-this.DB))-1))<>24; }\n\n//(public) return value as short (assumes DB>=16)\nfunction bnShortValue() { return (this.t==0)?this.s:(this.data[0]<<16)>>16; }\n\n//(protected) return x s.t. r^x < DV\nfunction bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r)); }\n\n//(public) 0 if this == 0, 1 if this > 0\nfunction bnSigNum() {\nif(this.s < 0) return -1;\nelse if(this.t <= 0 || (this.t == 1 && this.data[0] <= 0)) return 0;\nelse return 1;\n}\n\n//(protected) convert to radix string\nfunction bnpToRadix(b) {\nif(b == null) b = 10;\nif(this.signum() == 0 || b < 2 || b > 36) return \"0\";\nvar cs = this.chunkSize(b);\nvar a = Math.pow(b,cs);\nvar d = nbv(a), y = nbi(), z = nbi(), r = \"\";\nthis.divRemTo(d,y,z);\nwhile(y.signum() > 0) {\n r = (a+z.intValue()).toString(b).substr(1) + r;\n y.divRemTo(d,y,z);\n}\nreturn z.intValue().toString(b) + r;\n}\n\n//(protected) convert from radix string\nfunction bnpFromRadix(s,b) {\nthis.fromInt(0);\nif(b == null) b = 10;\nvar cs = this.chunkSize(b);\nvar d = Math.pow(b,cs), mi = false, j = 0, w = 0;\nfor(var i = 0; i < s.length; ++i) {\n var x = intAt(s,i);\n if(x < 0) {\n if(s.charAt(i) == \"-\" && this.signum() == 0) mi = true;\n continue;\n }\n w = b*w+x;\n if(++j >= cs) {\n this.dMultiply(d);\n this.dAddOffset(w,0);\n j = 0;\n w = 0;\n }\n}\nif(j > 0) {\n this.dMultiply(Math.pow(b,j));\n this.dAddOffset(w,0);\n}\nif(mi) BigInteger.ZERO.subTo(this,this);\n}\n\n//(protected) alternate constructor\nfunction bnpFromNumber(a,b,c) {\nif(\"number\" == typeof b) {\n // new BigInteger(int,int,RNG)\n if(a < 2) this.fromInt(1);\n else {\n this.fromNumber(a,c);\n if(!this.testBit(a-1)) // force MSB set\n this.bitwiseTo(BigInteger.ONE.shiftLeft(a-1),op_or,this);\n if(this.isEven()) this.dAddOffset(1,0); // force odd\n while(!this.isProbablePrime(b)) {\n this.dAddOffset(2,0);\n if(this.bitLength() > a) this.subTo(BigInteger.ONE.shiftLeft(a-1),this);\n }\n }\n} else {\n // new BigInteger(int,RNG)\n var x = new Array(), t = a&7;\n x.length = (a>>3)+1;\n b.nextBytes(x);\n if(t > 0) x[0] &= ((1< 0) {\n if(p < this.DB && (d = this.data[i]>>p) != (this.s&this.DM)>>p)\n r[k++] = d|(this.s<<(this.DB-p));\n while(i >= 0) {\n if(p < 8) {\n d = (this.data[i]&((1<>(p+=this.DB-8);\n } else {\n d = (this.data[i]>>(p-=8))&0xff;\n if(p <= 0) { p += this.DB; --i; }\n }\n if((d&0x80) != 0) d |= -256;\n if(k == 0 && (this.s&0x80) != (d&0x80)) ++k;\n if(k > 0 || d != this.s) r[k++] = d;\n }\n}\nreturn r;\n}\n\nfunction bnEquals(a) { return(this.compareTo(a)==0); }\nfunction bnMin(a) { return(this.compareTo(a)<0)?this:a; }\nfunction bnMax(a) { return(this.compareTo(a)>0)?this:a; }\n\n//(protected) r = this op a (bitwise)\nfunction bnpBitwiseTo(a,op,r) {\nvar i, f, m = Math.min(a.t,this.t);\nfor(i = 0; i < m; ++i) r.data[i] = op(this.data[i],a.data[i]);\nif(a.t < this.t) {\n f = a.s&this.DM;\n for(i = m; i < this.t; ++i) r.data[i] = op(this.data[i],f);\n r.t = this.t;\n} else {\n f = this.s&this.DM;\n for(i = m; i < a.t; ++i) r.data[i] = op(f,a.data[i]);\n r.t = a.t;\n}\nr.s = op(this.s,a.s);\nr.clamp();\n}\n\n//(public) this & a\nfunction op_and(x,y) { return x&y; }\nfunction bnAnd(a) { var r = nbi(); this.bitwiseTo(a,op_and,r); return r; }\n\n//(public) this | a\nfunction op_or(x,y) { return x|y; }\nfunction bnOr(a) { var r = nbi(); this.bitwiseTo(a,op_or,r); return r; }\n\n//(public) this ^ a\nfunction op_xor(x,y) { return x^y; }\nfunction bnXor(a) { var r = nbi(); this.bitwiseTo(a,op_xor,r); return r; }\n\n//(public) this & ~a\nfunction op_andnot(x,y) { return x&~y; }\nfunction bnAndNot(a) { var r = nbi(); this.bitwiseTo(a,op_andnot,r); return r; }\n\n//(public) ~this\nfunction bnNot() {\nvar r = nbi();\nfor(var i = 0; i < this.t; ++i) r.data[i] = this.DM&~this.data[i];\nr.t = this.t;\nr.s = ~this.s;\nreturn r;\n}\n\n//(public) this << n\nfunction bnShiftLeft(n) {\nvar r = nbi();\nif(n < 0) this.rShiftTo(-n,r); else this.lShiftTo(n,r);\nreturn r;\n}\n\n//(public) this >> n\nfunction bnShiftRight(n) {\nvar r = nbi();\nif(n < 0) this.lShiftTo(-n,r); else this.rShiftTo(n,r);\nreturn r;\n}\n\n//return index of lowest 1-bit in x, x < 2^31\nfunction lbit(x) {\nif(x == 0) return -1;\nvar r = 0;\nif((x&0xffff) == 0) { x >>= 16; r += 16; }\nif((x&0xff) == 0) { x >>= 8; r += 8; }\nif((x&0xf) == 0) { x >>= 4; r += 4; }\nif((x&3) == 0) { x >>= 2; r += 2; }\nif((x&1) == 0) ++r;\nreturn r;\n}\n\n//(public) returns index of lowest 1-bit (or -1 if none)\nfunction bnGetLowestSetBit() {\nfor(var i = 0; i < this.t; ++i)\n if(this.data[i] != 0) return i*this.DB+lbit(this.data[i]);\nif(this.s < 0) return this.t*this.DB;\nreturn -1;\n}\n\n//return number of 1 bits in x\nfunction cbit(x) {\nvar r = 0;\nwhile(x != 0) { x &= x-1; ++r; }\nreturn r;\n}\n\n//(public) return number of set bits\nfunction bnBitCount() {\nvar r = 0, x = this.s&this.DM;\nfor(var i = 0; i < this.t; ++i) r += cbit(this.data[i]^x);\nreturn r;\n}\n\n//(public) true iff nth bit is set\nfunction bnTestBit(n) {\nvar j = Math.floor(n/this.DB);\nif(j >= this.t) return(this.s!=0);\nreturn((this.data[j]&(1<<(n%this.DB)))!=0);\n}\n\n//(protected) this op (1<>= this.DB;\n}\nif(a.t < this.t) {\n c += a.s;\n while(i < this.t) {\n c += this.data[i];\n r.data[i++] = c&this.DM;\n c >>= this.DB;\n }\n c += this.s;\n} else {\n c += this.s;\n while(i < a.t) {\n c += a.data[i];\n r.data[i++] = c&this.DM;\n c >>= this.DB;\n }\n c += a.s;\n}\nr.s = (c<0)?-1:0;\nif(c > 0) r.data[i++] = c;\nelse if(c < -1) r.data[i++] = this.DV+c;\nr.t = i;\nr.clamp();\n}\n\n//(public) this + a\nfunction bnAdd(a) { var r = nbi(); this.addTo(a,r); return r; }\n\n//(public) this - a\nfunction bnSubtract(a) { var r = nbi(); this.subTo(a,r); return r; }\n\n//(public) this * a\nfunction bnMultiply(a) { var r = nbi(); this.multiplyTo(a,r); return r; }\n\n//(public) this / a\nfunction bnDivide(a) { var r = nbi(); this.divRemTo(a,r,null); return r; }\n\n//(public) this % a\nfunction bnRemainder(a) { var r = nbi(); this.divRemTo(a,null,r); return r; }\n\n//(public) [this/a,this%a]\nfunction bnDivideAndRemainder(a) {\nvar q = nbi(), r = nbi();\nthis.divRemTo(a,q,r);\nreturn new Array(q,r);\n}\n\n//(protected) this *= n, this >= 0, 1 < n < DV\nfunction bnpDMultiply(n) {\nthis.data[this.t] = this.am(0,n-1,this,0,0,this.t);\n++this.t;\nthis.clamp();\n}\n\n//(protected) this += n << w words, this >= 0\nfunction bnpDAddOffset(n,w) {\nif(n == 0) return;\nwhile(this.t <= w) this.data[this.t++] = 0;\nthis.data[w] += n;\nwhile(this.data[w] >= this.DV) {\n this.data[w] -= this.DV;\n if(++w >= this.t) this.data[this.t++] = 0;\n ++this.data[w];\n}\n}\n\n//A \"null\" reducer\nfunction NullExp() {}\nfunction nNop(x) { return x; }\nfunction nMulTo(x,y,r) { x.multiplyTo(y,r); }\nfunction nSqrTo(x,r) { x.squareTo(r); }\n\nNullExp.prototype.convert = nNop;\nNullExp.prototype.revert = nNop;\nNullExp.prototype.mulTo = nMulTo;\nNullExp.prototype.sqrTo = nSqrTo;\n\n//(public) this^e\nfunction bnPow(e) { return this.exp(e,new NullExp()); }\n\n//(protected) r = lower n words of \"this * a\", a.t <= n\n//\"this\" should be the larger one if appropriate.\nfunction bnpMultiplyLowerTo(a,n,r) {\nvar i = Math.min(this.t+a.t,n);\nr.s = 0; // assumes a,this >= 0\nr.t = i;\nwhile(i > 0) r.data[--i] = 0;\nvar j;\nfor(j = r.t-this.t; i < j; ++i) r.data[i+this.t] = this.am(0,a.data[i],r,i,0,this.t);\nfor(j = Math.min(a.t,n); i < j; ++i) this.am(0,a.data[i],r,i,0,n-i);\nr.clamp();\n}\n\n//(protected) r = \"this * a\" without lower n words, n > 0\n//\"this\" should be the larger one if appropriate.\nfunction bnpMultiplyUpperTo(a,n,r) {\n--n;\nvar i = r.t = this.t+a.t-n;\nr.s = 0; // assumes a,this >= 0\nwhile(--i >= 0) r.data[i] = 0;\nfor(i = Math.max(n-this.t,0); i < a.t; ++i)\n r.data[this.t+i-n] = this.am(n-i,a.data[i],r,0,0,this.t+i-n);\nr.clamp();\nr.drShiftTo(1,r);\n}\n\n//Barrett modular reduction\nfunction Barrett(m) {\n// setup Barrett\nthis.r2 = nbi();\nthis.q3 = nbi();\nBigInteger.ONE.dlShiftTo(2*m.t,this.r2);\nthis.mu = this.r2.divide(m);\nthis.m = m;\n}\n\nfunction barrettConvert(x) {\nif(x.s < 0 || x.t > 2*this.m.t) return x.mod(this.m);\nelse if(x.compareTo(this.m) < 0) return x;\nelse { var r = nbi(); x.copyTo(r); this.reduce(r); return r; }\n}\n\nfunction barrettRevert(x) { return x; }\n\n//x = x mod m (HAC 14.42)\nfunction barrettReduce(x) {\nx.drShiftTo(this.m.t-1,this.r2);\nif(x.t > this.m.t+1) { x.t = this.m.t+1; x.clamp(); }\nthis.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);\nthis.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);\nwhile(x.compareTo(this.r2) < 0) x.dAddOffset(1,this.m.t+1);\nx.subTo(this.r2,x);\nwhile(x.compareTo(this.m) >= 0) x.subTo(this.m,x);\n}\n\n//r = x^2 mod m; x != r\nfunction barrettSqrTo(x,r) { x.squareTo(r); this.reduce(r); }\n\n//r = x*y mod m; x,y != r\nfunction barrettMulTo(x,y,r) { x.multiplyTo(y,r); this.reduce(r); }\n\nBarrett.prototype.convert = barrettConvert;\nBarrett.prototype.revert = barrettRevert;\nBarrett.prototype.reduce = barrettReduce;\nBarrett.prototype.mulTo = barrettMulTo;\nBarrett.prototype.sqrTo = barrettSqrTo;\n\n//(public) this^e % m (HAC 14.85)\nfunction bnModPow(e,m) {\nvar i = e.bitLength(), k, r = nbv(1), z;\nif(i <= 0) return r;\nelse if(i < 18) k = 1;\nelse if(i < 48) k = 3;\nelse if(i < 144) k = 4;\nelse if(i < 768) k = 5;\nelse k = 6;\nif(i < 8)\n z = new Classic(m);\nelse if(m.isEven())\n z = new Barrett(m);\nelse\n z = new Montgomery(m);\n\n// precomputation\nvar g = new Array(), n = 3, k1 = k-1, km = (1< 1) {\n var g2 = nbi();\n z.sqrTo(g[1],g2);\n while(n <= km) {\n g[n] = nbi();\n z.mulTo(g2,g[n-2],g[n]);\n n += 2;\n }\n}\n\nvar j = e.t-1, w, is1 = true, r2 = nbi(), t;\ni = nbits(e.data[j])-1;\nwhile(j >= 0) {\n if(i >= k1) w = (e.data[j]>>(i-k1))&km;\n else {\n w = (e.data[j]&((1<<(i+1))-1))<<(k1-i);\n if(j > 0) w |= e.data[j-1]>>(this.DB+i-k1);\n }\n\n n = k;\n while((w&1) == 0) { w >>= 1; --n; }\n if((i -= n) < 0) { i += this.DB; --j; }\n if(is1) { // ret == 1, don't bother squaring or multiplying it\n g[w].copyTo(r);\n is1 = false;\n } else {\n while(n > 1) { z.sqrTo(r,r2); z.sqrTo(r2,r); n -= 2; }\n if(n > 0) z.sqrTo(r,r2); else { t = r; r = r2; r2 = t; }\n z.mulTo(r2,g[w],r);\n }\n\n while(j >= 0 && (e.data[j]&(1< 0) {\n x.rShiftTo(g,x);\n y.rShiftTo(g,y);\n}\nwhile(x.signum() > 0) {\n if((i = x.getLowestSetBit()) > 0) x.rShiftTo(i,x);\n if((i = y.getLowestSetBit()) > 0) y.rShiftTo(i,y);\n if(x.compareTo(y) >= 0) {\n x.subTo(y,x);\n x.rShiftTo(1,x);\n } else {\n y.subTo(x,y);\n y.rShiftTo(1,y);\n }\n}\nif(g > 0) y.lShiftTo(g,y);\nreturn y;\n}\n\n//(protected) this % n, n < 2^26\nfunction bnpModInt(n) {\nif(n <= 0) return 0;\nvar d = this.DV%n, r = (this.s<0)?n-1:0;\nif(this.t > 0)\n if(d == 0) r = this.data[0]%n;\n else for(var i = this.t-1; i >= 0; --i) r = (d*r+this.data[i])%n;\nreturn r;\n}\n\n//(public) 1/this % m (HAC 14.61)\nfunction bnModInverse(m) {\nvar ac = m.isEven();\nif((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO;\nvar u = m.clone(), v = this.clone();\nvar a = nbv(1), b = nbv(0), c = nbv(0), d = nbv(1);\nwhile(u.signum() != 0) {\n while(u.isEven()) {\n u.rShiftTo(1,u);\n if(ac) {\n if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); }\n a.rShiftTo(1,a);\n } else if(!b.isEven()) b.subTo(m,b);\n b.rShiftTo(1,b);\n }\n while(v.isEven()) {\n v.rShiftTo(1,v);\n if(ac) {\n if(!c.isEven() || !d.isEven()) { c.addTo(this,c); d.subTo(m,d); }\n c.rShiftTo(1,c);\n } else if(!d.isEven()) d.subTo(m,d);\n d.rShiftTo(1,d);\n }\n if(u.compareTo(v) >= 0) {\n u.subTo(v,u);\n if(ac) a.subTo(c,a);\n b.subTo(d,b);\n } else {\n v.subTo(u,v);\n if(ac) c.subTo(a,c);\n d.subTo(b,d);\n }\n}\nif(v.compareTo(BigInteger.ONE) != 0) return BigInteger.ZERO;\nif(d.compareTo(m) >= 0) return d.subtract(m);\nif(d.signum() < 0) d.addTo(m,d); else return d;\nif(d.signum() < 0) return d.add(m); else return d;\n}\n\nvar lowprimes = [2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509];\nvar lplim = (1<<26)/lowprimes[lowprimes.length-1];\n\n//(public) test primality with certainty >= 1-.5^t\nfunction bnIsProbablePrime(t) {\nvar i, x = this.abs();\nif(x.t == 1 && x.data[0] <= lowprimes[lowprimes.length-1]) {\n for(i = 0; i < lowprimes.length; ++i)\n if(x.data[0] == lowprimes[i]) return true;\n return false;\n}\nif(x.isEven()) return false;\ni = 1;\nwhile(i < lowprimes.length) {\n var m = lowprimes[i], j = i+1;\n while(j < lowprimes.length && m < lplim) m *= lowprimes[j++];\n m = x.modInt(m);\n while(i < j) if(m%lowprimes[i++] == 0) return false;\n}\nreturn x.millerRabin(t);\n}\n\n//(protected) true if probably prime (HAC 4.24, Miller-Rabin)\nfunction bnpMillerRabin(t) {\nvar n1 = this.subtract(BigInteger.ONE);\nvar k = n1.getLowestSetBit();\nif(k <= 0) return false;\nvar r = n1.shiftRight(k);\nvar prng = bnGetPrng();\nvar a;\nfor(var i = 0; i < t; ++i) {\n // select witness 'a' at random from between 1 and n1\n do {\n a = new BigInteger(this.bitLength(), prng);\n }\n while(a.compareTo(BigInteger.ONE) <= 0 || a.compareTo(n1) >= 0);\n var y = a.modPow(r,this);\n if(y.compareTo(BigInteger.ONE) != 0 && y.compareTo(n1) != 0) {\n var j = 1;\n while(j++ < k && y.compareTo(n1) != 0) {\n y = y.modPowInt(2,this);\n if(y.compareTo(BigInteger.ONE) == 0) return false;\n }\n if(y.compareTo(n1) != 0) return false;\n }\n}\nreturn true;\n}\n\n// get pseudo random number generator\nfunction bnGetPrng() {\n // create prng with api that matches BigInteger secure random\n return {\n // x is an array to fill with bytes\n nextBytes: function(x) {\n for(var i = 0; i < x.length; ++i) {\n x[i] = Math.floor(Math.random() * 0x0100);\n }\n }\n };\n}\n\n//protected\nBigInteger.prototype.chunkSize = bnpChunkSize;\nBigInteger.prototype.toRadix = bnpToRadix;\nBigInteger.prototype.fromRadix = bnpFromRadix;\nBigInteger.prototype.fromNumber = bnpFromNumber;\nBigInteger.prototype.bitwiseTo = bnpBitwiseTo;\nBigInteger.prototype.changeBit = bnpChangeBit;\nBigInteger.prototype.addTo = bnpAddTo;\nBigInteger.prototype.dMultiply = bnpDMultiply;\nBigInteger.prototype.dAddOffset = bnpDAddOffset;\nBigInteger.prototype.multiplyLowerTo = bnpMultiplyLowerTo;\nBigInteger.prototype.multiplyUpperTo = bnpMultiplyUpperTo;\nBigInteger.prototype.modInt = bnpModInt;\nBigInteger.prototype.millerRabin = bnpMillerRabin;\n\n//public\nBigInteger.prototype.clone = bnClone;\nBigInteger.prototype.intValue = bnIntValue;\nBigInteger.prototype.byteValue = bnByteValue;\nBigInteger.prototype.shortValue = bnShortValue;\nBigInteger.prototype.signum = bnSigNum;\nBigInteger.prototype.toByteArray = bnToByteArray;\nBigInteger.prototype.equals = bnEquals;\nBigInteger.prototype.min = bnMin;\nBigInteger.prototype.max = bnMax;\nBigInteger.prototype.and = bnAnd;\nBigInteger.prototype.or = bnOr;\nBigInteger.prototype.xor = bnXor;\nBigInteger.prototype.andNot = bnAndNot;\nBigInteger.prototype.not = bnNot;\nBigInteger.prototype.shiftLeft = bnShiftLeft;\nBigInteger.prototype.shiftRight = bnShiftRight;\nBigInteger.prototype.getLowestSetBit = bnGetLowestSetBit;\nBigInteger.prototype.bitCount = bnBitCount;\nBigInteger.prototype.testBit = bnTestBit;\nBigInteger.prototype.setBit = bnSetBit;\nBigInteger.prototype.clearBit = bnClearBit;\nBigInteger.prototype.flipBit = bnFlipBit;\nBigInteger.prototype.add = bnAdd;\nBigInteger.prototype.subtract = bnSubtract;\nBigInteger.prototype.multiply = bnMultiply;\nBigInteger.prototype.divide = bnDivide;\nBigInteger.prototype.remainder = bnRemainder;\nBigInteger.prototype.divideAndRemainder = bnDivideAndRemainder;\nBigInteger.prototype.modPow = bnModPow;\nBigInteger.prototype.modInverse = bnModInverse;\nBigInteger.prototype.pow = bnPow;\nBigInteger.prototype.gcd = bnGCD;\nBigInteger.prototype.isProbablePrime = bnIsProbablePrime;\n\n//BigInteger interfaces not implemented in jsbn:\n\n//BigInteger(int signum, byte[] magnitude)\n//double doubleValue()\n//float floatValue()\n//int hashCode()\n//long longValue()\n//static BigInteger valueOf(long val)\n","/**\n * Javascript implementation of RSA-KEM.\n *\n * @author Lautaro Cozzani Rodriguez\n * @author Dave Longley\n *\n * Copyright (c) 2014 Lautaro Cozzani \n * Copyright (c) 2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\nrequire('./random');\nrequire('./jsbn');\n\nmodule.exports = forge.kem = forge.kem || {};\n\nvar BigInteger = forge.jsbn.BigInteger;\n\n/**\n * The API for the RSA Key Encapsulation Mechanism (RSA-KEM) from ISO 18033-2.\n */\nforge.kem.rsa = {};\n\n/**\n * Creates an RSA KEM API object for generating a secret asymmetric key.\n *\n * The symmetric key may be generated via a call to 'encrypt', which will\n * produce a ciphertext to be transmitted to the recipient and a key to be\n * kept secret. The ciphertext is a parameter to be passed to 'decrypt' which\n * will produce the same secret key for the recipient to use to decrypt a\n * message that was encrypted with the secret key.\n *\n * @param kdf the KDF API to use (eg: new forge.kem.kdf1()).\n * @param options the options to use.\n * [prng] a custom crypto-secure pseudo-random number generator to use,\n * that must define \"getBytesSync\".\n */\nforge.kem.rsa.create = function(kdf, options) {\n options = options || {};\n var prng = options.prng || forge.random;\n\n var kem = {};\n\n /**\n * Generates a secret key and its encapsulation.\n *\n * @param publicKey the RSA public key to encrypt with.\n * @param keyLength the length, in bytes, of the secret key to generate.\n *\n * @return an object with:\n * encapsulation: the ciphertext for generating the secret key, as a\n * binary-encoded string of bytes.\n * key: the secret key to use for encrypting a message.\n */\n kem.encrypt = function(publicKey, keyLength) {\n // generate a random r where 1 < r < n\n var byteLength = Math.ceil(publicKey.n.bitLength() / 8);\n var r;\n do {\n r = new BigInteger(\n forge.util.bytesToHex(prng.getBytesSync(byteLength)),\n 16).mod(publicKey.n);\n } while(r.compareTo(BigInteger.ONE) <= 0);\n\n // prepend r with zeros\n r = forge.util.hexToBytes(r.toString(16));\n var zeros = byteLength - r.length;\n if(zeros > 0) {\n r = forge.util.fillString(String.fromCharCode(0), zeros) + r;\n }\n\n // encrypt the random\n var encapsulation = publicKey.encrypt(r, 'NONE');\n\n // generate the secret key\n var key = kdf.generate(r, keyLength);\n\n return {encapsulation: encapsulation, key: key};\n };\n\n /**\n * Decrypts an encapsulated secret key.\n *\n * @param privateKey the RSA private key to decrypt with.\n * @param encapsulation the ciphertext for generating the secret key, as\n * a binary-encoded string of bytes.\n * @param keyLength the length, in bytes, of the secret key to generate.\n *\n * @return the secret key as a binary-encoded string of bytes.\n */\n kem.decrypt = function(privateKey, encapsulation, keyLength) {\n // decrypt the encapsulation and generate the secret key\n var r = privateKey.decrypt(encapsulation, 'NONE');\n return kdf.generate(r, keyLength);\n };\n\n return kem;\n};\n\n// TODO: add forge.kem.kdf.create('KDF1', {md: ..., ...}) API?\n\n/**\n * Creates a key derivation API object that implements KDF1 per ISO 18033-2.\n *\n * @param md the hash API to use.\n * @param [digestLength] an optional digest length that must be positive and\n * less than or equal to md.digestLength.\n *\n * @return a KDF1 API object.\n */\nforge.kem.kdf1 = function(md, digestLength) {\n _createKDF(this, md, 0, digestLength || md.digestLength);\n};\n\n/**\n * Creates a key derivation API object that implements KDF2 per ISO 18033-2.\n *\n * @param md the hash API to use.\n * @param [digestLength] an optional digest length that must be positive and\n * less than or equal to md.digestLength.\n *\n * @return a KDF2 API object.\n */\nforge.kem.kdf2 = function(md, digestLength) {\n _createKDF(this, md, 1, digestLength || md.digestLength);\n};\n\n/**\n * Creates a KDF1 or KDF2 API object.\n *\n * @param md the hash API to use.\n * @param counterStart the starting index for the counter.\n * @param digestLength the digest length to use.\n *\n * @return the KDF API object.\n */\nfunction _createKDF(kdf, md, counterStart, digestLength) {\n /**\n * Generate a key of the specified length.\n *\n * @param x the binary-encoded byte string to generate a key from.\n * @param length the number of bytes to generate (the size of the key).\n *\n * @return the key as a binary-encoded string.\n */\n kdf.generate = function(x, length) {\n var key = new forge.util.ByteBuffer();\n\n // run counter from counterStart to ceil(length / Hash.len)\n var k = Math.ceil(length / digestLength) + counterStart;\n\n var c = new forge.util.ByteBuffer();\n for(var i = counterStart; i < k; ++i) {\n // I2OSP(i, 4): convert counter to an octet string of 4 octets\n c.putInt32(i);\n\n // digest 'x' and the counter and add the result to the key\n md.start();\n md.update(x + c.getBytes());\n var hash = md.digest();\n key.putBytes(hash.getBytes(digestLength));\n }\n\n // truncate to the correct key length\n key.truncate(key.length() - length);\n return key.getBytes();\n };\n}\n","/**\n * Cross-browser support for logging in a web application.\n *\n * @author David I. Lehn \n *\n * Copyright (c) 2008-2013 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\n\n/* LOG API */\nmodule.exports = forge.log = forge.log || {};\n\n/**\n * Application logging system.\n *\n * Each logger level available as it's own function of the form:\n * forge.log.level(category, args...)\n * The category is an arbitrary string, and the args are the same as\n * Firebug's console.log API. By default the call will be output as:\n * 'LEVEL [category] , args[1], ...'\n * This enables proper % formatting via the first argument.\n * Each category is enabled by default but can be enabled or disabled with\n * the setCategoryEnabled() function.\n */\n// list of known levels\nforge.log.levels = [\n 'none', 'error', 'warning', 'info', 'debug', 'verbose', 'max'];\n// info on the levels indexed by name:\n// index: level index\n// name: uppercased display name\nvar sLevelInfo = {};\n// list of loggers\nvar sLoggers = [];\n/**\n * Standard console logger. If no console support is enabled this will\n * remain null. Check before using.\n */\nvar sConsoleLogger = null;\n\n// logger flags\n/**\n * Lock the level at the current value. Used in cases where user config may\n * set the level such that only critical messages are seen but more verbose\n * messages are needed for debugging or other purposes.\n */\nforge.log.LEVEL_LOCKED = (1 << 1);\n/**\n * Always call log function. By default, the logging system will check the\n * message level against logger.level before calling the log function. This\n * flag allows the function to do its own check.\n */\nforge.log.NO_LEVEL_CHECK = (1 << 2);\n/**\n * Perform message interpolation with the passed arguments. \"%\" style\n * fields in log messages will be replaced by arguments as needed. Some\n * loggers, such as Firebug, may do this automatically. The original log\n * message will be available as 'message' and the interpolated version will\n * be available as 'fullMessage'.\n */\nforge.log.INTERPOLATE = (1 << 3);\n\n// setup each log level\nfor(var i = 0; i < forge.log.levels.length; ++i) {\n var level = forge.log.levels[i];\n sLevelInfo[level] = {\n index: i,\n name: level.toUpperCase()\n };\n}\n\n/**\n * Message logger. Will dispatch a message to registered loggers as needed.\n *\n * @param message message object\n */\nforge.log.logMessage = function(message) {\n var messageLevelIndex = sLevelInfo[message.level].index;\n for(var i = 0; i < sLoggers.length; ++i) {\n var logger = sLoggers[i];\n if(logger.flags & forge.log.NO_LEVEL_CHECK) {\n logger.f(message);\n } else {\n // get logger level\n var loggerLevelIndex = sLevelInfo[logger.level].index;\n // check level\n if(messageLevelIndex <= loggerLevelIndex) {\n // message critical enough, call logger\n logger.f(logger, message);\n }\n }\n }\n};\n\n/**\n * Sets the 'standard' key on a message object to:\n * \"LEVEL [category] \" + message\n *\n * @param message a message log object\n */\nforge.log.prepareStandard = function(message) {\n if(!('standard' in message)) {\n message.standard =\n sLevelInfo[message.level].name +\n //' ' + +message.timestamp +\n ' [' + message.category + '] ' +\n message.message;\n }\n};\n\n/**\n * Sets the 'full' key on a message object to the original message\n * interpolated via % formatting with the message arguments.\n *\n * @param message a message log object.\n */\nforge.log.prepareFull = function(message) {\n if(!('full' in message)) {\n // copy args and insert message at the front\n var args = [message.message];\n args = args.concat([] || message['arguments']);\n // format the message\n message.full = forge.util.format.apply(this, args);\n }\n};\n\n/**\n * Applies both preparseStandard() and prepareFull() to a message object and\n * store result in 'standardFull'.\n *\n * @param message a message log object.\n */\nforge.log.prepareStandardFull = function(message) {\n if(!('standardFull' in message)) {\n // FIXME implement 'standardFull' logging\n forge.log.prepareStandard(message);\n message.standardFull = message.standard;\n }\n};\n\n// create log level functions\nif(true) {\n // levels for which we want functions\n var levels = ['error', 'warning', 'info', 'debug', 'verbose'];\n for(var i = 0; i < levels.length; ++i) {\n // wrap in a function to ensure proper level var is passed\n (function(level) {\n // create function for this level\n forge.log[level] = function(category, message/*, args...*/) {\n // convert arguments to real array, remove category and message\n var args = Array.prototype.slice.call(arguments).slice(2);\n // create message object\n // Note: interpolation and standard formatting is done lazily\n var msg = {\n timestamp: new Date(),\n level: level,\n category: category,\n message: message,\n 'arguments': args\n /*standard*/\n /*full*/\n /*fullMessage*/\n };\n // process this message\n forge.log.logMessage(msg);\n };\n })(levels[i]);\n }\n}\n\n/**\n * Creates a new logger with specified custom logging function.\n *\n * The logging function has a signature of:\n * function(logger, message)\n * logger: current logger\n * message: object:\n * level: level id\n * category: category\n * message: string message\n * arguments: Array of extra arguments\n * fullMessage: interpolated message and arguments if INTERPOLATE flag set\n *\n * @param logFunction a logging function which takes a log message object\n * as a parameter.\n *\n * @return a logger object.\n */\nforge.log.makeLogger = function(logFunction) {\n var logger = {\n flags: 0,\n f: logFunction\n };\n forge.log.setLevel(logger, 'none');\n return logger;\n};\n\n/**\n * Sets the current log level on a logger.\n *\n * @param logger the target logger.\n * @param level the new maximum log level as a string.\n *\n * @return true if set, false if not.\n */\nforge.log.setLevel = function(logger, level) {\n var rval = false;\n if(logger && !(logger.flags & forge.log.LEVEL_LOCKED)) {\n for(var i = 0; i < forge.log.levels.length; ++i) {\n var aValidLevel = forge.log.levels[i];\n if(level == aValidLevel) {\n // set level\n logger.level = level;\n rval = true;\n break;\n }\n }\n }\n\n return rval;\n};\n\n/**\n * Locks the log level at its current value.\n *\n * @param logger the target logger.\n * @param lock boolean lock value, default to true.\n */\nforge.log.lock = function(logger, lock) {\n if(typeof lock === 'undefined' || lock) {\n logger.flags |= forge.log.LEVEL_LOCKED;\n } else {\n logger.flags &= ~forge.log.LEVEL_LOCKED;\n }\n};\n\n/**\n * Adds a logger.\n *\n * @param logger the logger object.\n */\nforge.log.addLogger = function(logger) {\n sLoggers.push(logger);\n};\n\n// setup the console logger if possible, else create fake console.log\nif(typeof(console) !== 'undefined' && 'log' in console) {\n var logger;\n if(console.error && console.warn && console.info && console.debug) {\n // looks like Firebug-style logging is available\n // level handlers map\n var levelHandlers = {\n error: console.error,\n warning: console.warn,\n info: console.info,\n debug: console.debug,\n verbose: console.debug\n };\n var f = function(logger, message) {\n forge.log.prepareStandard(message);\n var handler = levelHandlers[message.level];\n // prepend standard message and concat args\n var args = [message.standard];\n args = args.concat(message['arguments'].slice());\n // apply to low-level console function\n handler.apply(console, args);\n };\n logger = forge.log.makeLogger(f);\n } else {\n // only appear to have basic console.log\n var f = function(logger, message) {\n forge.log.prepareStandardFull(message);\n console.log(message.standardFull);\n };\n logger = forge.log.makeLogger(f);\n }\n forge.log.setLevel(logger, 'debug');\n forge.log.addLogger(logger);\n sConsoleLogger = logger;\n} else {\n // define fake console.log to avoid potential script errors on\n // browsers that do not have console logging\n console = {\n log: function() {}\n };\n}\n\n/*\n * Check for logging control query vars.\n *\n * console.level=\n * Set's the console log level by name. Useful to override defaults and\n * allow more verbose logging before a user config is loaded.\n *\n * console.lock=\n * Lock the console log level at whatever level it is set at. This is run\n * after console.level is processed. Useful to force a level of verbosity\n * that could otherwise be limited by a user config.\n */\nif(sConsoleLogger !== null) {\n var query = forge.util.getQueryVariables();\n if('console.level' in query) {\n // set with last value\n forge.log.setLevel(\n sConsoleLogger, query['console.level'].slice(-1)[0]);\n }\n if('console.lock' in query) {\n // set with last value\n var lock = query['console.lock'].slice(-1)[0];\n if(lock == 'true') {\n forge.log.lock(sConsoleLogger);\n }\n }\n}\n\n// provide public access to console logger\nforge.log.consoleLogger = sConsoleLogger;\n","/**\n * Node.js module for all known Forge message digests.\n *\n * @author Dave Longley\n *\n * Copyright 2011-2017 Digital Bazaar, Inc.\n */\nmodule.exports = require('./md');\n\nrequire('./md5');\nrequire('./sha1');\nrequire('./sha256');\nrequire('./sha512');\n","/**\n * Node.js module for Forge message digests.\n *\n * @author Dave Longley\n *\n * Copyright 2011-2017 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\n\nmodule.exports = forge.md = forge.md || {};\nforge.md.algorithms = forge.md.algorithms || {};\n","/**\n * Message Digest Algorithm 5 with 128-bit digest (MD5) implementation.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./md');\nrequire('./util');\n\nvar md5 = module.exports = forge.md5 = forge.md5 || {};\nforge.md.md5 = forge.md.algorithms.md5 = md5;\n\n/**\n * Creates an MD5 message digest object.\n *\n * @return a message digest object.\n */\nmd5.create = function() {\n // do initialization as necessary\n if(!_initialized) {\n _init();\n }\n\n // MD5 state contains four 32-bit integers\n var _state = null;\n\n // input buffer\n var _input = forge.util.createBuffer();\n\n // used for word storage\n var _w = new Array(16);\n\n // message digest object\n var md = {\n algorithm: 'md5',\n blockLength: 64,\n digestLength: 16,\n // 56-bit length of message so far (does not including padding)\n messageLength: 0,\n // true message length\n fullMessageLength: null,\n // size of message length in bytes\n messageLengthSize: 8\n };\n\n /**\n * Starts the digest.\n *\n * @return this digest object.\n */\n md.start = function() {\n // up to 56-bit message length for convenience\n md.messageLength = 0;\n\n // full message length (set md.messageLength64 for backwards-compatibility)\n md.fullMessageLength = md.messageLength64 = [];\n var int32s = md.messageLengthSize / 4;\n for(var i = 0; i < int32s; ++i) {\n md.fullMessageLength.push(0);\n }\n _input = forge.util.createBuffer();\n _state = {\n h0: 0x67452301,\n h1: 0xEFCDAB89,\n h2: 0x98BADCFE,\n h3: 0x10325476\n };\n return md;\n };\n // start digest automatically for first time\n md.start();\n\n /**\n * Updates the digest with the given message input. The given input can\n * treated as raw input (no encoding will be applied) or an encoding of\n * 'utf8' maybe given to encode the input using UTF-8.\n *\n * @param msg the message input to update with.\n * @param encoding the encoding to use (default: 'raw', other: 'utf8').\n *\n * @return this digest object.\n */\n md.update = function(msg, encoding) {\n if(encoding === 'utf8') {\n msg = forge.util.encodeUtf8(msg);\n }\n\n // update message length\n var len = msg.length;\n md.messageLength += len;\n len = [(len / 0x100000000) >>> 0, len >>> 0];\n for(var i = md.fullMessageLength.length - 1; i >= 0; --i) {\n md.fullMessageLength[i] += len[1];\n len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0);\n md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0;\n len[0] = (len[1] / 0x100000000) >>> 0;\n }\n\n // add bytes to input buffer\n _input.putBytes(msg);\n\n // process bytes\n _update(_state, _w, _input);\n\n // compact input buffer every 2K or if empty\n if(_input.read > 2048 || _input.length() === 0) {\n _input.compact();\n }\n\n return md;\n };\n\n /**\n * Produces the digest.\n *\n * @return a byte buffer containing the digest value.\n */\n md.digest = function() {\n /* Note: Here we copy the remaining bytes in the input buffer and\n add the appropriate MD5 padding. Then we do the final update\n on a copy of the state so that if the user wants to get\n intermediate digests they can do so. */\n\n /* Determine the number of bytes that must be added to the message\n to ensure its length is congruent to 448 mod 512. In other words,\n the data to be digested must be a multiple of 512 bits (or 128 bytes).\n This data includes the message, some padding, and the length of the\n message. Since the length of the message will be encoded as 8 bytes (64\n bits), that means that the last segment of the data must have 56 bytes\n (448 bits) of message and padding. Therefore, the length of the message\n plus the padding must be congruent to 448 mod 512 because\n 512 - 128 = 448.\n\n In order to fill up the message length it must be filled with\n padding that begins with 1 bit followed by all 0 bits. Padding\n must *always* be present, so if the message length is already\n congruent to 448 mod 512, then 512 padding bits must be added. */\n\n var finalBlock = forge.util.createBuffer();\n finalBlock.putBytes(_input.bytes());\n\n // compute remaining size to be digested (include message length size)\n var remaining = (\n md.fullMessageLength[md.fullMessageLength.length - 1] +\n md.messageLengthSize);\n\n // add padding for overflow blockSize - overflow\n // _padding starts with 1 byte with first bit is set (byte value 128), then\n // there may be up to (blockSize - 1) other pad bytes\n var overflow = remaining & (md.blockLength - 1);\n finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow));\n\n // serialize message length in bits in little-endian order; since length\n // is stored in bytes we multiply by 8 and add carry\n var bits, carry = 0;\n for(var i = md.fullMessageLength.length - 1; i >= 0; --i) {\n bits = md.fullMessageLength[i] * 8 + carry;\n carry = (bits / 0x100000000) >>> 0;\n finalBlock.putInt32Le(bits >>> 0);\n }\n\n var s2 = {\n h0: _state.h0,\n h1: _state.h1,\n h2: _state.h2,\n h3: _state.h3\n };\n _update(s2, _w, finalBlock);\n var rval = forge.util.createBuffer();\n rval.putInt32Le(s2.h0);\n rval.putInt32Le(s2.h1);\n rval.putInt32Le(s2.h2);\n rval.putInt32Le(s2.h3);\n return rval;\n };\n\n return md;\n};\n\n// padding, constant tables for calculating md5\nvar _padding = null;\nvar _g = null;\nvar _r = null;\nvar _k = null;\nvar _initialized = false;\n\n/**\n * Initializes the constant tables.\n */\nfunction _init() {\n // create padding\n _padding = String.fromCharCode(128);\n _padding += forge.util.fillString(String.fromCharCode(0x00), 64);\n\n // g values\n _g = [\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,\n 1, 6, 11, 0, 5, 10, 15, 4, 9, 14, 3, 8, 13, 2, 7, 12,\n 5, 8, 11, 14, 1, 4, 7, 10, 13, 0, 3, 6, 9, 12, 15, 2,\n 0, 7, 14, 5, 12, 3, 10, 1, 8, 15, 6, 13, 4, 11, 2, 9];\n\n // rounds table\n _r = [\n 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22, 7, 12, 17, 22,\n 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20, 5, 9, 14, 20,\n 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23, 4, 11, 16, 23,\n 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21, 6, 10, 15, 21];\n\n // get the result of abs(sin(i + 1)) as a 32-bit integer\n _k = new Array(64);\n for(var i = 0; i < 64; ++i) {\n _k[i] = Math.floor(Math.abs(Math.sin(i + 1)) * 0x100000000);\n }\n\n // now initialized\n _initialized = true;\n}\n\n/**\n * Updates an MD5 state with the given byte buffer.\n *\n * @param s the MD5 state to update.\n * @param w the array to use to store words.\n * @param bytes the byte buffer to update with.\n */\nfunction _update(s, w, bytes) {\n // consume 512 bit (64 byte) chunks\n var t, a, b, c, d, f, r, i;\n var len = bytes.length();\n while(len >= 64) {\n // initialize hash value for this chunk\n a = s.h0;\n b = s.h1;\n c = s.h2;\n d = s.h3;\n\n // round 1\n for(i = 0; i < 16; ++i) {\n w[i] = bytes.getInt32Le();\n f = d ^ (b & (c ^ d));\n t = (a + f + _k[i] + w[i]);\n r = _r[i];\n a = d;\n d = c;\n c = b;\n b += (t << r) | (t >>> (32 - r));\n }\n // round 2\n for(; i < 32; ++i) {\n f = c ^ (d & (b ^ c));\n t = (a + f + _k[i] + w[_g[i]]);\n r = _r[i];\n a = d;\n d = c;\n c = b;\n b += (t << r) | (t >>> (32 - r));\n }\n // round 3\n for(; i < 48; ++i) {\n f = b ^ c ^ d;\n t = (a + f + _k[i] + w[_g[i]]);\n r = _r[i];\n a = d;\n d = c;\n c = b;\n b += (t << r) | (t >>> (32 - r));\n }\n // round 4\n for(; i < 64; ++i) {\n f = c ^ (b | ~d);\n t = (a + f + _k[i] + w[_g[i]]);\n r = _r[i];\n a = d;\n d = c;\n c = b;\n b += (t << r) | (t >>> (32 - r));\n }\n\n // update hash state\n s.h0 = (s.h0 + a) | 0;\n s.h1 = (s.h1 + b) | 0;\n s.h2 = (s.h2 + c) | 0;\n s.h3 = (s.h3 + d) | 0;\n\n len -= 64;\n }\n}\n","/**\n * Node.js module for Forge mask generation functions.\n *\n * @author Stefan Siegl\n *\n * Copyright 2012 Stefan Siegl \n */\nvar forge = require('./forge');\nrequire('./mgf1');\n\nmodule.exports = forge.mgf = forge.mgf || {};\nforge.mgf.mgf1 = forge.mgf1;\n","/**\n * Javascript implementation of mask generation function MGF1.\n *\n * @author Stefan Siegl\n * @author Dave Longley\n *\n * Copyright (c) 2012 Stefan Siegl \n * Copyright (c) 2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\n\nforge.mgf = forge.mgf || {};\nvar mgf1 = module.exports = forge.mgf.mgf1 = forge.mgf1 = forge.mgf1 || {};\n\n/**\n * Creates a MGF1 mask generation function object.\n *\n * @param md the message digest API to use (eg: forge.md.sha1.create()).\n *\n * @return a mask generation function object.\n */\nmgf1.create = function(md) {\n var mgf = {\n /**\n * Generate mask of specified length.\n *\n * @param {String} seed The seed for mask generation.\n * @param maskLen Number of bytes to generate.\n * @return {String} The generated mask.\n */\n generate: function(seed, maskLen) {\n /* 2. Let T be the empty octet string. */\n var t = new forge.util.ByteBuffer();\n\n /* 3. For counter from 0 to ceil(maskLen / hLen), do the following: */\n var len = Math.ceil(maskLen / md.digestLength);\n for(var i = 0; i < len; i++) {\n /* a. Convert counter to an octet string C of length 4 octets */\n var c = new forge.util.ByteBuffer();\n c.putInt32(i);\n\n /* b. Concatenate the hash of the seed mgfSeed and C to the octet\n * string T: */\n md.start();\n md.update(seed + c.getBytes());\n t.putBuffer(md.digest());\n }\n\n /* Output the leading maskLen octets of T as the octet string mask. */\n t.truncate(t.length() - maskLen);\n return t.getBytes();\n }\n };\n\n return mgf;\n};\n","/**\n * Object IDs for ASN.1.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2013 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\n\nforge.pki = forge.pki || {};\nvar oids = module.exports = forge.pki.oids = forge.oids = forge.oids || {};\n\n// set id to name mapping and name to id mapping\nfunction _IN(id, name) {\n oids[id] = name;\n oids[name] = id;\n}\n// set id to name mapping only\nfunction _I_(id, name) {\n oids[id] = name;\n}\n\n// algorithm OIDs\n_IN('1.2.840.113549.1.1.1', 'rsaEncryption');\n// Note: md2 & md4 not implemented\n//_IN('1.2.840.113549.1.1.2', 'md2WithRSAEncryption');\n//_IN('1.2.840.113549.1.1.3', 'md4WithRSAEncryption');\n_IN('1.2.840.113549.1.1.4', 'md5WithRSAEncryption');\n_IN('1.2.840.113549.1.1.5', 'sha1WithRSAEncryption');\n_IN('1.2.840.113549.1.1.7', 'RSAES-OAEP');\n_IN('1.2.840.113549.1.1.8', 'mgf1');\n_IN('1.2.840.113549.1.1.9', 'pSpecified');\n_IN('1.2.840.113549.1.1.10', 'RSASSA-PSS');\n_IN('1.2.840.113549.1.1.11', 'sha256WithRSAEncryption');\n_IN('1.2.840.113549.1.1.12', 'sha384WithRSAEncryption');\n_IN('1.2.840.113549.1.1.13', 'sha512WithRSAEncryption');\n// Edwards-curve Digital Signature Algorithm (EdDSA) Ed25519\n_IN('1.3.101.112', 'EdDSA25519');\n\n_IN('1.2.840.10040.4.3', 'dsa-with-sha1');\n\n_IN('1.3.14.3.2.7', 'desCBC');\n\n_IN('1.3.14.3.2.26', 'sha1');\n_IN('2.16.840.1.101.3.4.2.1', 'sha256');\n_IN('2.16.840.1.101.3.4.2.2', 'sha384');\n_IN('2.16.840.1.101.3.4.2.3', 'sha512');\n_IN('1.2.840.113549.2.5', 'md5');\n\n// pkcs#7 content types\n_IN('1.2.840.113549.1.7.1', 'data');\n_IN('1.2.840.113549.1.7.2', 'signedData');\n_IN('1.2.840.113549.1.7.3', 'envelopedData');\n_IN('1.2.840.113549.1.7.4', 'signedAndEnvelopedData');\n_IN('1.2.840.113549.1.7.5', 'digestedData');\n_IN('1.2.840.113549.1.7.6', 'encryptedData');\n\n// pkcs#9 oids\n_IN('1.2.840.113549.1.9.1', 'emailAddress');\n_IN('1.2.840.113549.1.9.2', 'unstructuredName');\n_IN('1.2.840.113549.1.9.3', 'contentType');\n_IN('1.2.840.113549.1.9.4', 'messageDigest');\n_IN('1.2.840.113549.1.9.5', 'signingTime');\n_IN('1.2.840.113549.1.9.6', 'counterSignature');\n_IN('1.2.840.113549.1.9.7', 'challengePassword');\n_IN('1.2.840.113549.1.9.8', 'unstructuredAddress');\n_IN('1.2.840.113549.1.9.14', 'extensionRequest');\n\n_IN('1.2.840.113549.1.9.20', 'friendlyName');\n_IN('1.2.840.113549.1.9.21', 'localKeyId');\n_IN('1.2.840.113549.1.9.22.1', 'x509Certificate');\n\n// pkcs#12 safe bags\n_IN('1.2.840.113549.1.12.10.1.1', 'keyBag');\n_IN('1.2.840.113549.1.12.10.1.2', 'pkcs8ShroudedKeyBag');\n_IN('1.2.840.113549.1.12.10.1.3', 'certBag');\n_IN('1.2.840.113549.1.12.10.1.4', 'crlBag');\n_IN('1.2.840.113549.1.12.10.1.5', 'secretBag');\n_IN('1.2.840.113549.1.12.10.1.6', 'safeContentsBag');\n\n// password-based-encryption for pkcs#12\n_IN('1.2.840.113549.1.5.13', 'pkcs5PBES2');\n_IN('1.2.840.113549.1.5.12', 'pkcs5PBKDF2');\n\n_IN('1.2.840.113549.1.12.1.1', 'pbeWithSHAAnd128BitRC4');\n_IN('1.2.840.113549.1.12.1.2', 'pbeWithSHAAnd40BitRC4');\n_IN('1.2.840.113549.1.12.1.3', 'pbeWithSHAAnd3-KeyTripleDES-CBC');\n_IN('1.2.840.113549.1.12.1.4', 'pbeWithSHAAnd2-KeyTripleDES-CBC');\n_IN('1.2.840.113549.1.12.1.5', 'pbeWithSHAAnd128BitRC2-CBC');\n_IN('1.2.840.113549.1.12.1.6', 'pbewithSHAAnd40BitRC2-CBC');\n\n// hmac OIDs\n_IN('1.2.840.113549.2.7', 'hmacWithSHA1');\n_IN('1.2.840.113549.2.8', 'hmacWithSHA224');\n_IN('1.2.840.113549.2.9', 'hmacWithSHA256');\n_IN('1.2.840.113549.2.10', 'hmacWithSHA384');\n_IN('1.2.840.113549.2.11', 'hmacWithSHA512');\n\n// symmetric key algorithm oids\n_IN('1.2.840.113549.3.7', 'des-EDE3-CBC');\n_IN('2.16.840.1.101.3.4.1.2', 'aes128-CBC');\n_IN('2.16.840.1.101.3.4.1.22', 'aes192-CBC');\n_IN('2.16.840.1.101.3.4.1.42', 'aes256-CBC');\n\n// certificate issuer/subject OIDs\n_IN('2.5.4.3', 'commonName');\n_IN('2.5.4.5', 'serialName');\n_IN('2.5.4.6', 'countryName');\n_IN('2.5.4.7', 'localityName');\n_IN('2.5.4.8', 'stateOrProvinceName');\n_IN('2.5.4.9', 'streetAddress');\n_IN('2.5.4.10', 'organizationName');\n_IN('2.5.4.11', 'organizationalUnitName');\n_IN('2.5.4.13', 'description');\n_IN('2.5.4.15', 'businessCategory');\n_IN('2.5.4.17', 'postalCode');\n_IN('1.3.6.1.4.1.311.60.2.1.2', 'jurisdictionOfIncorporationStateOrProvinceName');\n_IN('1.3.6.1.4.1.311.60.2.1.3', 'jurisdictionOfIncorporationCountryName');\n\n// X.509 extension OIDs\n_IN('2.16.840.1.113730.1.1', 'nsCertType');\n_IN('2.16.840.1.113730.1.13', 'nsComment'); // deprecated in theory; still widely used\n_I_('2.5.29.1', 'authorityKeyIdentifier'); // deprecated, use .35\n_I_('2.5.29.2', 'keyAttributes'); // obsolete use .37 or .15\n_I_('2.5.29.3', 'certificatePolicies'); // deprecated, use .32\n_I_('2.5.29.4', 'keyUsageRestriction'); // obsolete use .37 or .15\n_I_('2.5.29.5', 'policyMapping'); // deprecated use .33\n_I_('2.5.29.6', 'subtreesConstraint'); // obsolete use .30\n_I_('2.5.29.7', 'subjectAltName'); // deprecated use .17\n_I_('2.5.29.8', 'issuerAltName'); // deprecated use .18\n_I_('2.5.29.9', 'subjectDirectoryAttributes');\n_I_('2.5.29.10', 'basicConstraints'); // deprecated use .19\n_I_('2.5.29.11', 'nameConstraints'); // deprecated use .30\n_I_('2.5.29.12', 'policyConstraints'); // deprecated use .36\n_I_('2.5.29.13', 'basicConstraints'); // deprecated use .19\n_IN('2.5.29.14', 'subjectKeyIdentifier');\n_IN('2.5.29.15', 'keyUsage');\n_I_('2.5.29.16', 'privateKeyUsagePeriod');\n_IN('2.5.29.17', 'subjectAltName');\n_IN('2.5.29.18', 'issuerAltName');\n_IN('2.5.29.19', 'basicConstraints');\n_I_('2.5.29.20', 'cRLNumber');\n_I_('2.5.29.21', 'cRLReason');\n_I_('2.5.29.22', 'expirationDate');\n_I_('2.5.29.23', 'instructionCode');\n_I_('2.5.29.24', 'invalidityDate');\n_I_('2.5.29.25', 'cRLDistributionPoints'); // deprecated use .31\n_I_('2.5.29.26', 'issuingDistributionPoint'); // deprecated use .28\n_I_('2.5.29.27', 'deltaCRLIndicator');\n_I_('2.5.29.28', 'issuingDistributionPoint');\n_I_('2.5.29.29', 'certificateIssuer');\n_I_('2.5.29.30', 'nameConstraints');\n_IN('2.5.29.31', 'cRLDistributionPoints');\n_IN('2.5.29.32', 'certificatePolicies');\n_I_('2.5.29.33', 'policyMappings');\n_I_('2.5.29.34', 'policyConstraints'); // deprecated use .36\n_IN('2.5.29.35', 'authorityKeyIdentifier');\n_I_('2.5.29.36', 'policyConstraints');\n_IN('2.5.29.37', 'extKeyUsage');\n_I_('2.5.29.46', 'freshestCRL');\n_I_('2.5.29.54', 'inhibitAnyPolicy');\n\n// extKeyUsage purposes\n_IN('1.3.6.1.4.1.11129.2.4.2', 'timestampList');\n_IN('1.3.6.1.5.5.7.1.1', 'authorityInfoAccess');\n_IN('1.3.6.1.5.5.7.3.1', 'serverAuth');\n_IN('1.3.6.1.5.5.7.3.2', 'clientAuth');\n_IN('1.3.6.1.5.5.7.3.3', 'codeSigning');\n_IN('1.3.6.1.5.5.7.3.4', 'emailProtection');\n_IN('1.3.6.1.5.5.7.3.8', 'timeStamping');\n","/**\n * Password-based encryption functions.\n *\n * @author Dave Longley\n * @author Stefan Siegl \n *\n * Copyright (c) 2010-2013 Digital Bazaar, Inc.\n * Copyright (c) 2012 Stefan Siegl \n *\n * An EncryptedPrivateKeyInfo:\n *\n * EncryptedPrivateKeyInfo ::= SEQUENCE {\n * encryptionAlgorithm EncryptionAlgorithmIdentifier,\n * encryptedData EncryptedData }\n *\n * EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier\n *\n * EncryptedData ::= OCTET STRING\n */\nvar forge = require('./forge');\nrequire('./aes');\nrequire('./asn1');\nrequire('./des');\nrequire('./md');\nrequire('./oids');\nrequire('./pbkdf2');\nrequire('./pem');\nrequire('./random');\nrequire('./rc2');\nrequire('./rsa');\nrequire('./util');\n\nif(typeof BigInteger === 'undefined') {\n var BigInteger = forge.jsbn.BigInteger;\n}\n\n// shortcut for asn.1 API\nvar asn1 = forge.asn1;\n\n/* Password-based encryption implementation. */\nvar pki = forge.pki = forge.pki || {};\nmodule.exports = pki.pbe = forge.pbe = forge.pbe || {};\nvar oids = pki.oids;\n\n// validator for an EncryptedPrivateKeyInfo structure\n// Note: Currently only works w/algorithm params\nvar encryptedPrivateKeyValidator = {\n name: 'EncryptedPrivateKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'EncryptedPrivateKeyInfo.encryptionAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'encryptionOid'\n }, {\n name: 'AlgorithmIdentifier.parameters',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'encryptionParams'\n }]\n }, {\n // encryptedData\n name: 'EncryptedPrivateKeyInfo.encryptedData',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'encryptedData'\n }]\n};\n\n// validator for a PBES2Algorithms structure\n// Note: Currently only works w/PBKDF2 + AES encryption schemes\nvar PBES2AlgorithmsValidator = {\n name: 'PBES2Algorithms',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'PBES2Algorithms.keyDerivationFunc',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'PBES2Algorithms.keyDerivationFunc.oid',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'kdfOid'\n }, {\n name: 'PBES2Algorithms.params',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'PBES2Algorithms.params.salt',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'kdfSalt'\n }, {\n name: 'PBES2Algorithms.params.iterationCount',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'kdfIterationCount'\n }, {\n name: 'PBES2Algorithms.params.keyLength',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n optional: true,\n capture: 'keyLength'\n }, {\n // prf\n name: 'PBES2Algorithms.params.prf',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n optional: true,\n value: [{\n name: 'PBES2Algorithms.params.prf.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'prfOid'\n }]\n }]\n }]\n }, {\n name: 'PBES2Algorithms.encryptionScheme',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'PBES2Algorithms.encryptionScheme.oid',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'encOid'\n }, {\n name: 'PBES2Algorithms.encryptionScheme.iv',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'encIv'\n }]\n }]\n};\n\nvar pkcs12PbeParamsValidator = {\n name: 'pkcs-12PbeParams',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'pkcs-12PbeParams.salt',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'salt'\n }, {\n name: 'pkcs-12PbeParams.iterations',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'iterations'\n }]\n};\n\n/**\n * Encrypts a ASN.1 PrivateKeyInfo object, producing an EncryptedPrivateKeyInfo.\n *\n * PBES2Algorithms ALGORITHM-IDENTIFIER ::=\n * { {PBES2-params IDENTIFIED BY id-PBES2}, ...}\n *\n * id-PBES2 OBJECT IDENTIFIER ::= {pkcs-5 13}\n *\n * PBES2-params ::= SEQUENCE {\n * keyDerivationFunc AlgorithmIdentifier {{PBES2-KDFs}},\n * encryptionScheme AlgorithmIdentifier {{PBES2-Encs}}\n * }\n *\n * PBES2-KDFs ALGORITHM-IDENTIFIER ::=\n * { {PBKDF2-params IDENTIFIED BY id-PBKDF2}, ... }\n *\n * PBES2-Encs ALGORITHM-IDENTIFIER ::= { ... }\n *\n * PBKDF2-params ::= SEQUENCE {\n * salt CHOICE {\n * specified OCTET STRING,\n * otherSource AlgorithmIdentifier {{PBKDF2-SaltSources}}\n * },\n * iterationCount INTEGER (1..MAX),\n * keyLength INTEGER (1..MAX) OPTIONAL,\n * prf AlgorithmIdentifier {{PBKDF2-PRFs}} DEFAULT algid-hmacWithSHA1\n * }\n *\n * @param obj the ASN.1 PrivateKeyInfo object.\n * @param password the password to encrypt with.\n * @param options:\n * algorithm the encryption algorithm to use\n * ('aes128', 'aes192', 'aes256', '3des'), defaults to 'aes128'.\n * count the iteration count to use.\n * saltSize the salt size to use.\n * prfAlgorithm the PRF message digest algorithm to use\n * ('sha1', 'sha224', 'sha256', 'sha384', 'sha512')\n *\n * @return the ASN.1 EncryptedPrivateKeyInfo.\n */\npki.encryptPrivateKeyInfo = function(obj, password, options) {\n // set default options\n options = options || {};\n options.saltSize = options.saltSize || 8;\n options.count = options.count || 2048;\n options.algorithm = options.algorithm || 'aes128';\n options.prfAlgorithm = options.prfAlgorithm || 'sha1';\n\n // generate PBE params\n var salt = forge.random.getBytesSync(options.saltSize);\n var count = options.count;\n var countBytes = asn1.integerToDer(count);\n var dkLen;\n var encryptionAlgorithm;\n var encryptedData;\n if(options.algorithm.indexOf('aes') === 0 || options.algorithm === 'des') {\n // do PBES2\n var ivLen, encOid, cipherFn;\n switch(options.algorithm) {\n case 'aes128':\n dkLen = 16;\n ivLen = 16;\n encOid = oids['aes128-CBC'];\n cipherFn = forge.aes.createEncryptionCipher;\n break;\n case 'aes192':\n dkLen = 24;\n ivLen = 16;\n encOid = oids['aes192-CBC'];\n cipherFn = forge.aes.createEncryptionCipher;\n break;\n case 'aes256':\n dkLen = 32;\n ivLen = 16;\n encOid = oids['aes256-CBC'];\n cipherFn = forge.aes.createEncryptionCipher;\n break;\n case 'des':\n dkLen = 8;\n ivLen = 8;\n encOid = oids['desCBC'];\n cipherFn = forge.des.createEncryptionCipher;\n break;\n default:\n var error = new Error('Cannot encrypt private key. Unknown encryption algorithm.');\n error.algorithm = options.algorithm;\n throw error;\n }\n\n // get PRF message digest\n var prfAlgorithm = 'hmacWith' + options.prfAlgorithm.toUpperCase();\n var md = prfAlgorithmToMessageDigest(prfAlgorithm);\n\n // encrypt private key using pbe SHA-1 and AES/DES\n var dk = forge.pkcs5.pbkdf2(password, salt, count, dkLen, md);\n var iv = forge.random.getBytesSync(ivLen);\n var cipher = cipherFn(dk);\n cipher.start(iv);\n cipher.update(asn1.toDer(obj));\n cipher.finish();\n encryptedData = cipher.output.getBytes();\n\n // get PBKDF2-params\n var params = createPbkdf2Params(salt, countBytes, dkLen, prfAlgorithm);\n\n encryptionAlgorithm = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(oids['pkcs5PBES2']).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // keyDerivationFunc\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(oids['pkcs5PBKDF2']).getBytes()),\n // PBKDF2-params\n params\n ]),\n // encryptionScheme\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(encOid).getBytes()),\n // iv\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, iv)\n ])\n ])\n ]);\n } else if(options.algorithm === '3des') {\n // Do PKCS12 PBE\n dkLen = 24;\n\n var saltBytes = new forge.util.ByteBuffer(salt);\n var dk = pki.pbe.generatePkcs12Key(password, saltBytes, 1, count, dkLen);\n var iv = pki.pbe.generatePkcs12Key(password, saltBytes, 2, count, dkLen);\n var cipher = forge.des.createEncryptionCipher(dk);\n cipher.start(iv);\n cipher.update(asn1.toDer(obj));\n cipher.finish();\n encryptedData = cipher.output.getBytes();\n\n encryptionAlgorithm = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(oids['pbeWithSHAAnd3-KeyTripleDES-CBC']).getBytes()),\n // pkcs-12PbeParams\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // salt\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, salt),\n // iteration count\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n countBytes.getBytes())\n ])\n ]);\n } else {\n var error = new Error('Cannot encrypt private key. Unknown encryption algorithm.');\n error.algorithm = options.algorithm;\n throw error;\n }\n\n // EncryptedPrivateKeyInfo\n var rval = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // encryptionAlgorithm\n encryptionAlgorithm,\n // encryptedData\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, encryptedData)\n ]);\n return rval;\n};\n\n/**\n * Decrypts a ASN.1 PrivateKeyInfo object.\n *\n * @param obj the ASN.1 EncryptedPrivateKeyInfo object.\n * @param password the password to decrypt with.\n *\n * @return the ASN.1 PrivateKeyInfo on success, null on failure.\n */\npki.decryptPrivateKeyInfo = function(obj, password) {\n var rval = null;\n\n // get PBE params\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, encryptedPrivateKeyValidator, capture, errors)) {\n var error = new Error('Cannot read encrypted private key. ' +\n 'ASN.1 object is not a supported EncryptedPrivateKeyInfo.');\n error.errors = errors;\n throw error;\n }\n\n // get cipher\n var oid = asn1.derToOid(capture.encryptionOid);\n var cipher = pki.pbe.getCipher(oid, capture.encryptionParams, password);\n\n // get encrypted data\n var encrypted = forge.util.createBuffer(capture.encryptedData);\n\n cipher.update(encrypted);\n if(cipher.finish()) {\n rval = asn1.fromDer(cipher.output);\n }\n\n return rval;\n};\n\n/**\n * Converts a EncryptedPrivateKeyInfo to PEM format.\n *\n * @param epki the EncryptedPrivateKeyInfo.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted encrypted private key.\n */\npki.encryptedPrivateKeyToPem = function(epki, maxline) {\n // convert to DER, then PEM-encode\n var msg = {\n type: 'ENCRYPTED PRIVATE KEY',\n body: asn1.toDer(epki).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n\n/**\n * Converts a PEM-encoded EncryptedPrivateKeyInfo to ASN.1 format. Decryption\n * is not performed.\n *\n * @param pem the EncryptedPrivateKeyInfo in PEM-format.\n *\n * @return the ASN.1 EncryptedPrivateKeyInfo.\n */\npki.encryptedPrivateKeyFromPem = function(pem) {\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'ENCRYPTED PRIVATE KEY') {\n var error = new Error('Could not convert encrypted private key from PEM; ' +\n 'PEM header type is \"ENCRYPTED PRIVATE KEY\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert encrypted private key from PEM; ' +\n 'PEM is encrypted.');\n }\n\n // convert DER to ASN.1 object\n return asn1.fromDer(msg.body);\n};\n\n/**\n * Encrypts an RSA private key. By default, the key will be wrapped in\n * a PrivateKeyInfo and encrypted to produce a PKCS#8 EncryptedPrivateKeyInfo.\n * This is the standard, preferred way to encrypt a private key.\n *\n * To produce a non-standard PEM-encrypted private key that uses encapsulated\n * headers to indicate the encryption algorithm (old-style non-PKCS#8 OpenSSL\n * private key encryption), set the 'legacy' option to true. Note: Using this\n * option will cause the iteration count to be forced to 1.\n *\n * Note: The 'des' algorithm is supported, but it is not considered to be\n * secure because it only uses a single 56-bit key. If possible, it is highly\n * recommended that a different algorithm be used.\n *\n * @param rsaKey the RSA key to encrypt.\n * @param password the password to use.\n * @param options:\n * algorithm: the encryption algorithm to use\n * ('aes128', 'aes192', 'aes256', '3des', 'des').\n * count: the iteration count to use.\n * saltSize: the salt size to use.\n * legacy: output an old non-PKCS#8 PEM-encrypted+encapsulated\n * headers (DEK-Info) private key.\n *\n * @return the PEM-encoded ASN.1 EncryptedPrivateKeyInfo.\n */\npki.encryptRsaPrivateKey = function(rsaKey, password, options) {\n // standard PKCS#8\n options = options || {};\n if(!options.legacy) {\n // encrypt PrivateKeyInfo\n var rval = pki.wrapRsaPrivateKey(pki.privateKeyToAsn1(rsaKey));\n rval = pki.encryptPrivateKeyInfo(rval, password, options);\n return pki.encryptedPrivateKeyToPem(rval);\n }\n\n // legacy non-PKCS#8\n var algorithm;\n var iv;\n var dkLen;\n var cipherFn;\n switch(options.algorithm) {\n case 'aes128':\n algorithm = 'AES-128-CBC';\n dkLen = 16;\n iv = forge.random.getBytesSync(16);\n cipherFn = forge.aes.createEncryptionCipher;\n break;\n case 'aes192':\n algorithm = 'AES-192-CBC';\n dkLen = 24;\n iv = forge.random.getBytesSync(16);\n cipherFn = forge.aes.createEncryptionCipher;\n break;\n case 'aes256':\n algorithm = 'AES-256-CBC';\n dkLen = 32;\n iv = forge.random.getBytesSync(16);\n cipherFn = forge.aes.createEncryptionCipher;\n break;\n case '3des':\n algorithm = 'DES-EDE3-CBC';\n dkLen = 24;\n iv = forge.random.getBytesSync(8);\n cipherFn = forge.des.createEncryptionCipher;\n break;\n case 'des':\n algorithm = 'DES-CBC';\n dkLen = 8;\n iv = forge.random.getBytesSync(8);\n cipherFn = forge.des.createEncryptionCipher;\n break;\n default:\n var error = new Error('Could not encrypt RSA private key; unsupported ' +\n 'encryption algorithm \"' + options.algorithm + '\".');\n error.algorithm = options.algorithm;\n throw error;\n }\n\n // encrypt private key using OpenSSL legacy key derivation\n var dk = forge.pbe.opensslDeriveBytes(password, iv.substr(0, 8), dkLen);\n var cipher = cipherFn(dk);\n cipher.start(iv);\n cipher.update(asn1.toDer(pki.privateKeyToAsn1(rsaKey)));\n cipher.finish();\n\n var msg = {\n type: 'RSA PRIVATE KEY',\n procType: {\n version: '4',\n type: 'ENCRYPTED'\n },\n dekInfo: {\n algorithm: algorithm,\n parameters: forge.util.bytesToHex(iv).toUpperCase()\n },\n body: cipher.output.getBytes()\n };\n return forge.pem.encode(msg);\n};\n\n/**\n * Decrypts an RSA private key.\n *\n * @param pem the PEM-formatted EncryptedPrivateKeyInfo to decrypt.\n * @param password the password to use.\n *\n * @return the RSA key on success, null on failure.\n */\npki.decryptRsaPrivateKey = function(pem, password) {\n var rval = null;\n\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'ENCRYPTED PRIVATE KEY' &&\n msg.type !== 'PRIVATE KEY' &&\n msg.type !== 'RSA PRIVATE KEY') {\n var error = new Error('Could not convert private key from PEM; PEM header type ' +\n 'is not \"ENCRYPTED PRIVATE KEY\", \"PRIVATE KEY\", or \"RSA PRIVATE KEY\".');\n error.headerType = error;\n throw error;\n }\n\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n var dkLen;\n var cipherFn;\n switch(msg.dekInfo.algorithm) {\n case 'DES-CBC':\n dkLen = 8;\n cipherFn = forge.des.createDecryptionCipher;\n break;\n case 'DES-EDE3-CBC':\n dkLen = 24;\n cipherFn = forge.des.createDecryptionCipher;\n break;\n case 'AES-128-CBC':\n dkLen = 16;\n cipherFn = forge.aes.createDecryptionCipher;\n break;\n case 'AES-192-CBC':\n dkLen = 24;\n cipherFn = forge.aes.createDecryptionCipher;\n break;\n case 'AES-256-CBC':\n dkLen = 32;\n cipherFn = forge.aes.createDecryptionCipher;\n break;\n case 'RC2-40-CBC':\n dkLen = 5;\n cipherFn = function(key) {\n return forge.rc2.createDecryptionCipher(key, 40);\n };\n break;\n case 'RC2-64-CBC':\n dkLen = 8;\n cipherFn = function(key) {\n return forge.rc2.createDecryptionCipher(key, 64);\n };\n break;\n case 'RC2-128-CBC':\n dkLen = 16;\n cipherFn = function(key) {\n return forge.rc2.createDecryptionCipher(key, 128);\n };\n break;\n default:\n var error = new Error('Could not decrypt private key; unsupported ' +\n 'encryption algorithm \"' + msg.dekInfo.algorithm + '\".');\n error.algorithm = msg.dekInfo.algorithm;\n throw error;\n }\n\n // use OpenSSL legacy key derivation\n var iv = forge.util.hexToBytes(msg.dekInfo.parameters);\n var dk = forge.pbe.opensslDeriveBytes(password, iv.substr(0, 8), dkLen);\n var cipher = cipherFn(dk);\n cipher.start(iv);\n cipher.update(forge.util.createBuffer(msg.body));\n if(cipher.finish()) {\n rval = cipher.output.getBytes();\n } else {\n return rval;\n }\n } else {\n rval = msg.body;\n }\n\n if(msg.type === 'ENCRYPTED PRIVATE KEY') {\n rval = pki.decryptPrivateKeyInfo(asn1.fromDer(rval), password);\n } else {\n // decryption already performed above\n rval = asn1.fromDer(rval);\n }\n\n if(rval !== null) {\n rval = pki.privateKeyFromAsn1(rval);\n }\n\n return rval;\n};\n\n/**\n * Derives a PKCS#12 key.\n *\n * @param password the password to derive the key material from, null or\n * undefined for none.\n * @param salt the salt, as a ByteBuffer, to use.\n * @param id the PKCS#12 ID byte (1 = key material, 2 = IV, 3 = MAC).\n * @param iter the iteration count.\n * @param n the number of bytes to derive from the password.\n * @param md the message digest to use, defaults to SHA-1.\n *\n * @return a ByteBuffer with the bytes derived from the password.\n */\npki.pbe.generatePkcs12Key = function(password, salt, id, iter, n, md) {\n var j, l;\n\n if(typeof md === 'undefined' || md === null) {\n if(!('sha1' in forge.md)) {\n throw new Error('\"sha1\" hash algorithm unavailable.');\n }\n md = forge.md.sha1.create();\n }\n\n var u = md.digestLength;\n var v = md.blockLength;\n var result = new forge.util.ByteBuffer();\n\n /* Convert password to Unicode byte buffer + trailing 0-byte. */\n var passBuf = new forge.util.ByteBuffer();\n if(password !== null && password !== undefined) {\n for(l = 0; l < password.length; l++) {\n passBuf.putInt16(password.charCodeAt(l));\n }\n passBuf.putInt16(0);\n }\n\n /* Length of salt and password in BYTES. */\n var p = passBuf.length();\n var s = salt.length();\n\n /* 1. Construct a string, D (the \"diversifier\"), by concatenating\n v copies of ID. */\n var D = new forge.util.ByteBuffer();\n D.fillWithByte(id, v);\n\n /* 2. Concatenate copies of the salt together to create a string S of length\n v * ceil(s / v) bytes (the final copy of the salt may be trunacted\n to create S).\n Note that if the salt is the empty string, then so is S. */\n var Slen = v * Math.ceil(s / v);\n var S = new forge.util.ByteBuffer();\n for(l = 0; l < Slen; l++) {\n S.putByte(salt.at(l % s));\n }\n\n /* 3. Concatenate copies of the password together to create a string P of\n length v * ceil(p / v) bytes (the final copy of the password may be\n truncated to create P).\n Note that if the password is the empty string, then so is P. */\n var Plen = v * Math.ceil(p / v);\n var P = new forge.util.ByteBuffer();\n for(l = 0; l < Plen; l++) {\n P.putByte(passBuf.at(l % p));\n }\n\n /* 4. Set I=S||P to be the concatenation of S and P. */\n var I = S;\n I.putBuffer(P);\n\n /* 5. Set c=ceil(n / u). */\n var c = Math.ceil(n / u);\n\n /* 6. For i=1, 2, ..., c, do the following: */\n for(var i = 1; i <= c; i++) {\n /* a) Set Ai=H^r(D||I). (l.e. the rth hash of D||I, H(H(H(...H(D||I)))) */\n var buf = new forge.util.ByteBuffer();\n buf.putBytes(D.bytes());\n buf.putBytes(I.bytes());\n for(var round = 0; round < iter; round++) {\n md.start();\n md.update(buf.getBytes());\n buf = md.digest();\n }\n\n /* b) Concatenate copies of Ai to create a string B of length v bytes (the\n final copy of Ai may be truncated to create B). */\n var B = new forge.util.ByteBuffer();\n for(l = 0; l < v; l++) {\n B.putByte(buf.at(l % u));\n }\n\n /* c) Treating I as a concatenation I0, I1, ..., Ik-1 of v-byte blocks,\n where k=ceil(s / v) + ceil(p / v), modify I by setting\n Ij=(Ij+B+1) mod 2v for each j. */\n var k = Math.ceil(s / v) + Math.ceil(p / v);\n var Inew = new forge.util.ByteBuffer();\n for(j = 0; j < k; j++) {\n var chunk = new forge.util.ByteBuffer(I.getBytes(v));\n var x = 0x1ff;\n for(l = B.length() - 1; l >= 0; l--) {\n x = x >> 8;\n x += B.at(l) + chunk.at(l);\n chunk.setAt(l, x & 0xff);\n }\n Inew.putBuffer(chunk);\n }\n I = Inew;\n\n /* Add Ai to A. */\n result.putBuffer(buf);\n }\n\n result.truncate(result.length() - n);\n return result;\n};\n\n/**\n * Get new Forge cipher object instance.\n *\n * @param oid the OID (in string notation).\n * @param params the ASN.1 params object.\n * @param password the password to decrypt with.\n *\n * @return new cipher object instance.\n */\npki.pbe.getCipher = function(oid, params, password) {\n switch(oid) {\n case pki.oids['pkcs5PBES2']:\n return pki.pbe.getCipherForPBES2(oid, params, password);\n\n case pki.oids['pbeWithSHAAnd3-KeyTripleDES-CBC']:\n case pki.oids['pbewithSHAAnd40BitRC2-CBC']:\n return pki.pbe.getCipherForPKCS12PBE(oid, params, password);\n\n default:\n var error = new Error('Cannot read encrypted PBE data block. Unsupported OID.');\n error.oid = oid;\n error.supportedOids = [\n 'pkcs5PBES2',\n 'pbeWithSHAAnd3-KeyTripleDES-CBC',\n 'pbewithSHAAnd40BitRC2-CBC'\n ];\n throw error;\n }\n};\n\n/**\n * Get new Forge cipher object instance according to PBES2 params block.\n *\n * The returned cipher instance is already started using the IV\n * from PBES2 parameter block.\n *\n * @param oid the PKCS#5 PBKDF2 OID (in string notation).\n * @param params the ASN.1 PBES2-params object.\n * @param password the password to decrypt with.\n *\n * @return new cipher object instance.\n */\npki.pbe.getCipherForPBES2 = function(oid, params, password) {\n // get PBE params\n var capture = {};\n var errors = [];\n if(!asn1.validate(params, PBES2AlgorithmsValidator, capture, errors)) {\n var error = new Error('Cannot read password-based-encryption algorithm ' +\n 'parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.');\n error.errors = errors;\n throw error;\n }\n\n // check oids\n oid = asn1.derToOid(capture.kdfOid);\n if(oid !== pki.oids['pkcs5PBKDF2']) {\n var error = new Error('Cannot read encrypted private key. ' +\n 'Unsupported key derivation function OID.');\n error.oid = oid;\n error.supportedOids = ['pkcs5PBKDF2'];\n throw error;\n }\n oid = asn1.derToOid(capture.encOid);\n if(oid !== pki.oids['aes128-CBC'] &&\n oid !== pki.oids['aes192-CBC'] &&\n oid !== pki.oids['aes256-CBC'] &&\n oid !== pki.oids['des-EDE3-CBC'] &&\n oid !== pki.oids['desCBC']) {\n var error = new Error('Cannot read encrypted private key. ' +\n 'Unsupported encryption scheme OID.');\n error.oid = oid;\n error.supportedOids = [\n 'aes128-CBC', 'aes192-CBC', 'aes256-CBC', 'des-EDE3-CBC', 'desCBC'];\n throw error;\n }\n\n // set PBE params\n var salt = capture.kdfSalt;\n var count = forge.util.createBuffer(capture.kdfIterationCount);\n count = count.getInt(count.length() << 3);\n var dkLen;\n var cipherFn;\n switch(pki.oids[oid]) {\n case 'aes128-CBC':\n dkLen = 16;\n cipherFn = forge.aes.createDecryptionCipher;\n break;\n case 'aes192-CBC':\n dkLen = 24;\n cipherFn = forge.aes.createDecryptionCipher;\n break;\n case 'aes256-CBC':\n dkLen = 32;\n cipherFn = forge.aes.createDecryptionCipher;\n break;\n case 'des-EDE3-CBC':\n dkLen = 24;\n cipherFn = forge.des.createDecryptionCipher;\n break;\n case 'desCBC':\n dkLen = 8;\n cipherFn = forge.des.createDecryptionCipher;\n break;\n }\n\n // get PRF message digest\n var md = prfOidToMessageDigest(capture.prfOid);\n\n // decrypt private key using pbe with chosen PRF and AES/DES\n var dk = forge.pkcs5.pbkdf2(password, salt, count, dkLen, md);\n var iv = capture.encIv;\n var cipher = cipherFn(dk);\n cipher.start(iv);\n\n return cipher;\n};\n\n/**\n * Get new Forge cipher object instance for PKCS#12 PBE.\n *\n * The returned cipher instance is already started using the key & IV\n * derived from the provided password and PKCS#12 PBE salt.\n *\n * @param oid The PKCS#12 PBE OID (in string notation).\n * @param params The ASN.1 PKCS#12 PBE-params object.\n * @param password The password to decrypt with.\n *\n * @return the new cipher object instance.\n */\npki.pbe.getCipherForPKCS12PBE = function(oid, params, password) {\n // get PBE params\n var capture = {};\n var errors = [];\n if(!asn1.validate(params, pkcs12PbeParamsValidator, capture, errors)) {\n var error = new Error('Cannot read password-based-encryption algorithm ' +\n 'parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.');\n error.errors = errors;\n throw error;\n }\n\n var salt = forge.util.createBuffer(capture.salt);\n var count = forge.util.createBuffer(capture.iterations);\n count = count.getInt(count.length() << 3);\n\n var dkLen, dIvLen, cipherFn;\n switch(oid) {\n case pki.oids['pbeWithSHAAnd3-KeyTripleDES-CBC']:\n dkLen = 24;\n dIvLen = 8;\n cipherFn = forge.des.startDecrypting;\n break;\n\n case pki.oids['pbewithSHAAnd40BitRC2-CBC']:\n dkLen = 5;\n dIvLen = 8;\n cipherFn = function(key, iv) {\n var cipher = forge.rc2.createDecryptionCipher(key, 40);\n cipher.start(iv, null);\n return cipher;\n };\n break;\n\n default:\n var error = new Error('Cannot read PKCS #12 PBE data block. Unsupported OID.');\n error.oid = oid;\n throw error;\n }\n\n // get PRF message digest\n var md = prfOidToMessageDigest(capture.prfOid);\n var key = pki.pbe.generatePkcs12Key(password, salt, 1, count, dkLen, md);\n md.start();\n var iv = pki.pbe.generatePkcs12Key(password, salt, 2, count, dIvLen, md);\n\n return cipherFn(key, iv);\n};\n\n/**\n * OpenSSL's legacy key derivation function.\n *\n * See: http://www.openssl.org/docs/crypto/EVP_BytesToKey.html\n *\n * @param password the password to derive the key from.\n * @param salt the salt to use, null for none.\n * @param dkLen the number of bytes needed for the derived key.\n * @param [options] the options to use:\n * [md] an optional message digest object to use.\n */\npki.pbe.opensslDeriveBytes = function(password, salt, dkLen, md) {\n if(typeof md === 'undefined' || md === null) {\n if(!('md5' in forge.md)) {\n throw new Error('\"md5\" hash algorithm unavailable.');\n }\n md = forge.md.md5.create();\n }\n if(salt === null) {\n salt = '';\n }\n var digests = [hash(md, password + salt)];\n for(var length = 16, i = 1; length < dkLen; ++i, length += 16) {\n digests.push(hash(md, digests[i - 1] + password + salt));\n }\n return digests.join('').substr(0, dkLen);\n};\n\nfunction hash(md, bytes) {\n return md.start().update(bytes).digest().getBytes();\n}\n\nfunction prfOidToMessageDigest(prfOid) {\n // get PRF algorithm, default to SHA-1\n var prfAlgorithm;\n if(!prfOid) {\n prfAlgorithm = 'hmacWithSHA1';\n } else {\n prfAlgorithm = pki.oids[asn1.derToOid(prfOid)];\n if(!prfAlgorithm) {\n var error = new Error('Unsupported PRF OID.');\n error.oid = prfOid;\n error.supported = [\n 'hmacWithSHA1', 'hmacWithSHA224', 'hmacWithSHA256', 'hmacWithSHA384',\n 'hmacWithSHA512'];\n throw error;\n }\n }\n return prfAlgorithmToMessageDigest(prfAlgorithm);\n}\n\nfunction prfAlgorithmToMessageDigest(prfAlgorithm) {\n var factory = forge.md;\n switch(prfAlgorithm) {\n case 'hmacWithSHA224':\n factory = forge.md.sha512;\n case 'hmacWithSHA1':\n case 'hmacWithSHA256':\n case 'hmacWithSHA384':\n case 'hmacWithSHA512':\n prfAlgorithm = prfAlgorithm.substr(8).toLowerCase();\n break;\n default:\n var error = new Error('Unsupported PRF algorithm.');\n error.algorithm = prfAlgorithm;\n error.supported = [\n 'hmacWithSHA1', 'hmacWithSHA224', 'hmacWithSHA256', 'hmacWithSHA384',\n 'hmacWithSHA512'];\n throw error;\n }\n if(!factory || !(prfAlgorithm in factory)) {\n throw new Error('Unknown hash algorithm: ' + prfAlgorithm);\n }\n return factory[prfAlgorithm].create();\n}\n\nfunction createPbkdf2Params(salt, countBytes, dkLen, prfAlgorithm) {\n var params = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // salt\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, salt),\n // iteration count\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n countBytes.getBytes())\n ]);\n // when PRF algorithm is not SHA-1 default, add key length and PRF algorithm\n if(prfAlgorithm !== 'hmacWithSHA1') {\n params.value.push(\n // key length\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n forge.util.hexToBytes(dkLen.toString(16))),\n // AlgorithmIdentifier\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids[prfAlgorithm]).getBytes()),\n // parameters (null)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]));\n }\n return params;\n}\n","/**\n * Password-Based Key-Derivation Function #2 implementation.\n *\n * See RFC 2898 for details.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2013 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./hmac');\nrequire('./md');\nrequire('./util');\n\nvar pkcs5 = forge.pkcs5 = forge.pkcs5 || {};\n\nvar crypto;\nif(forge.util.isNodejs && !forge.options.usePureJavaScript) {\n crypto = require('crypto');\n}\n\n/**\n * Derives a key from a password.\n *\n * @param p the password as a binary-encoded string of bytes.\n * @param s the salt as a binary-encoded string of bytes.\n * @param c the iteration count, a positive integer.\n * @param dkLen the intended length, in bytes, of the derived key,\n * (max: 2^32 - 1) * hash length of the PRF.\n * @param [md] the message digest (or algorithm identifier as a string) to use\n * in the PRF, defaults to SHA-1.\n * @param [callback(err, key)] presence triggers asynchronous version, called\n * once the operation completes.\n *\n * @return the derived key, as a binary-encoded string of bytes, for the\n * synchronous version (if no callback is specified).\n */\nmodule.exports = forge.pbkdf2 = pkcs5.pbkdf2 = function(\n p, s, c, dkLen, md, callback) {\n if(typeof md === 'function') {\n callback = md;\n md = null;\n }\n\n // use native implementation if possible and not disabled, note that\n // some node versions only support SHA-1, others allow digest to be changed\n if(forge.util.isNodejs && !forge.options.usePureJavaScript &&\n crypto.pbkdf2 && (md === null || typeof md !== 'object') &&\n (crypto.pbkdf2Sync.length > 4 || (!md || md === 'sha1'))) {\n if(typeof md !== 'string') {\n // default prf to SHA-1\n md = 'sha1';\n }\n p = Buffer.from(p, 'binary');\n s = Buffer.from(s, 'binary');\n if(!callback) {\n if(crypto.pbkdf2Sync.length === 4) {\n return crypto.pbkdf2Sync(p, s, c, dkLen).toString('binary');\n }\n return crypto.pbkdf2Sync(p, s, c, dkLen, md).toString('binary');\n }\n if(crypto.pbkdf2Sync.length === 4) {\n return crypto.pbkdf2(p, s, c, dkLen, function(err, key) {\n if(err) {\n return callback(err);\n }\n callback(null, key.toString('binary'));\n });\n }\n return crypto.pbkdf2(p, s, c, dkLen, md, function(err, key) {\n if(err) {\n return callback(err);\n }\n callback(null, key.toString('binary'));\n });\n }\n\n if(typeof md === 'undefined' || md === null) {\n // default prf to SHA-1\n md = 'sha1';\n }\n if(typeof md === 'string') {\n if(!(md in forge.md.algorithms)) {\n throw new Error('Unknown hash algorithm: ' + md);\n }\n md = forge.md[md].create();\n }\n\n var hLen = md.digestLength;\n\n /* 1. If dkLen > (2^32 - 1) * hLen, output \"derived key too long\" and\n stop. */\n if(dkLen > (0xFFFFFFFF * hLen)) {\n var err = new Error('Derived key is too long.');\n if(callback) {\n return callback(err);\n }\n throw err;\n }\n\n /* 2. Let len be the number of hLen-octet blocks in the derived key,\n rounding up, and let r be the number of octets in the last\n block:\n\n len = CEIL(dkLen / hLen),\n r = dkLen - (len - 1) * hLen. */\n var len = Math.ceil(dkLen / hLen);\n var r = dkLen - (len - 1) * hLen;\n\n /* 3. For each block of the derived key apply the function F defined\n below to the password P, the salt S, the iteration count c, and\n the block index to compute the block:\n\n T_1 = F(P, S, c, 1),\n T_2 = F(P, S, c, 2),\n ...\n T_len = F(P, S, c, len),\n\n where the function F is defined as the exclusive-or sum of the\n first c iterates of the underlying pseudorandom function PRF\n applied to the password P and the concatenation of the salt S\n and the block index i:\n\n F(P, S, c, i) = u_1 XOR u_2 XOR ... XOR u_c\n\n where\n\n u_1 = PRF(P, S || INT(i)),\n u_2 = PRF(P, u_1),\n ...\n u_c = PRF(P, u_{c-1}).\n\n Here, INT(i) is a four-octet encoding of the integer i, most\n significant octet first. */\n var prf = forge.hmac.create();\n prf.start(md, p);\n var dk = '';\n var xor, u_c, u_c1;\n\n // sync version\n if(!callback) {\n for(var i = 1; i <= len; ++i) {\n // PRF(P, S || INT(i)) (first iteration)\n prf.start(null, null);\n prf.update(s);\n prf.update(forge.util.int32ToBytes(i));\n xor = u_c1 = prf.digest().getBytes();\n\n // PRF(P, u_{c-1}) (other iterations)\n for(var j = 2; j <= c; ++j) {\n prf.start(null, null);\n prf.update(u_c1);\n u_c = prf.digest().getBytes();\n // F(p, s, c, i)\n xor = forge.util.xorBytes(xor, u_c, hLen);\n u_c1 = u_c;\n }\n\n /* 4. Concatenate the blocks and extract the first dkLen octets to\n produce a derived key DK:\n\n DK = T_1 || T_2 || ... || T_len<0..r-1> */\n dk += (i < len) ? xor : xor.substr(0, r);\n }\n /* 5. Output the derived key DK. */\n return dk;\n }\n\n // async version\n var i = 1, j;\n function outer() {\n if(i > len) {\n // done\n return callback(null, dk);\n }\n\n // PRF(P, S || INT(i)) (first iteration)\n prf.start(null, null);\n prf.update(s);\n prf.update(forge.util.int32ToBytes(i));\n xor = u_c1 = prf.digest().getBytes();\n\n // PRF(P, u_{c-1}) (other iterations)\n j = 2;\n inner();\n }\n\n function inner() {\n if(j <= c) {\n prf.start(null, null);\n prf.update(u_c1);\n u_c = prf.digest().getBytes();\n // F(p, s, c, i)\n xor = forge.util.xorBytes(xor, u_c, hLen);\n u_c1 = u_c;\n ++j;\n return forge.util.setImmediate(inner);\n }\n\n /* 4. Concatenate the blocks and extract the first dkLen octets to\n produce a derived key DK:\n\n DK = T_1 || T_2 || ... || T_len<0..r-1> */\n dk += (i < len) ? xor : xor.substr(0, r);\n\n ++i;\n outer();\n }\n\n outer();\n};\n","/**\n * Javascript implementation of basic PEM (Privacy Enhanced Mail) algorithms.\n *\n * See: RFC 1421.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2013-2014 Digital Bazaar, Inc.\n *\n * A Forge PEM object has the following fields:\n *\n * type: identifies the type of message (eg: \"RSA PRIVATE KEY\").\n *\n * procType: identifies the type of processing performed on the message,\n * it has two subfields: version and type, eg: 4,ENCRYPTED.\n *\n * contentDomain: identifies the type of content in the message, typically\n * only uses the value: \"RFC822\".\n *\n * dekInfo: identifies the message encryption algorithm and mode and includes\n * any parameters for the algorithm, it has two subfields: algorithm and\n * parameters, eg: DES-CBC,F8143EDE5960C597.\n *\n * headers: contains all other PEM encapsulated headers -- where order is\n * significant (for pairing data like recipient ID + key info).\n *\n * body: the binary-encoded body.\n */\nvar forge = require('./forge');\nrequire('./util');\n\n// shortcut for pem API\nvar pem = module.exports = forge.pem = forge.pem || {};\n\n/**\n * Encodes (serializes) the given PEM object.\n *\n * @param msg the PEM message object to encode.\n * @param options the options to use:\n * maxline the maximum characters per line for the body, (default: 64).\n *\n * @return the PEM-formatted string.\n */\npem.encode = function(msg, options) {\n options = options || {};\n var rval = '-----BEGIN ' + msg.type + '-----\\r\\n';\n\n // encode special headers\n var header;\n if(msg.procType) {\n header = {\n name: 'Proc-Type',\n values: [String(msg.procType.version), msg.procType.type]\n };\n rval += foldHeader(header);\n }\n if(msg.contentDomain) {\n header = {name: 'Content-Domain', values: [msg.contentDomain]};\n rval += foldHeader(header);\n }\n if(msg.dekInfo) {\n header = {name: 'DEK-Info', values: [msg.dekInfo.algorithm]};\n if(msg.dekInfo.parameters) {\n header.values.push(msg.dekInfo.parameters);\n }\n rval += foldHeader(header);\n }\n\n if(msg.headers) {\n // encode all other headers\n for(var i = 0; i < msg.headers.length; ++i) {\n rval += foldHeader(msg.headers[i]);\n }\n }\n\n // terminate header\n if(msg.procType) {\n rval += '\\r\\n';\n }\n\n // add body\n rval += forge.util.encode64(msg.body, options.maxline || 64) + '\\r\\n';\n\n rval += '-----END ' + msg.type + '-----\\r\\n';\n return rval;\n};\n\n/**\n * Decodes (deserializes) all PEM messages found in the given string.\n *\n * @param str the PEM-formatted string to decode.\n *\n * @return the PEM message objects in an array.\n */\npem.decode = function(str) {\n var rval = [];\n\n // split string into PEM messages (be lenient w/EOF on BEGIN line)\n var rMessage = /\\s*-----BEGIN ([A-Z0-9- ]+)-----\\r?\\n?([\\x21-\\x7e\\s]+?(?:\\r?\\n\\r?\\n))?([:A-Za-z0-9+\\/=\\s]+?)-----END \\1-----/g;\n var rHeader = /([\\x21-\\x7e]+):\\s*([\\x21-\\x7e\\s^:]+)/;\n var rCRLF = /\\r?\\n/;\n var match;\n while(true) {\n match = rMessage.exec(str);\n if(!match) {\n break;\n }\n\n var msg = {\n type: match[1],\n procType: null,\n contentDomain: null,\n dekInfo: null,\n headers: [],\n body: forge.util.decode64(match[3])\n };\n rval.push(msg);\n\n // no headers\n if(!match[2]) {\n continue;\n }\n\n // parse headers\n var lines = match[2].split(rCRLF);\n var li = 0;\n while(match && li < lines.length) {\n // get line, trim any rhs whitespace\n var line = lines[li].replace(/\\s+$/, '');\n\n // RFC2822 unfold any following folded lines\n for(var nl = li + 1; nl < lines.length; ++nl) {\n var next = lines[nl];\n if(!/\\s/.test(next[0])) {\n break;\n }\n line += next;\n li = nl;\n }\n\n // parse header\n match = line.match(rHeader);\n if(match) {\n var header = {name: match[1], values: []};\n var values = match[2].split(',');\n for(var vi = 0; vi < values.length; ++vi) {\n header.values.push(ltrim(values[vi]));\n }\n\n // Proc-Type must be the first header\n if(!msg.procType) {\n if(header.name !== 'Proc-Type') {\n throw new Error('Invalid PEM formatted message. The first ' +\n 'encapsulated header must be \"Proc-Type\".');\n } else if(header.values.length !== 2) {\n throw new Error('Invalid PEM formatted message. The \"Proc-Type\" ' +\n 'header must have two subfields.');\n }\n msg.procType = {version: values[0], type: values[1]};\n } else if(!msg.contentDomain && header.name === 'Content-Domain') {\n // special-case Content-Domain\n msg.contentDomain = values[0] || '';\n } else if(!msg.dekInfo && header.name === 'DEK-Info') {\n // special-case DEK-Info\n if(header.values.length === 0) {\n throw new Error('Invalid PEM formatted message. The \"DEK-Info\" ' +\n 'header must have at least one subfield.');\n }\n msg.dekInfo = {algorithm: values[0], parameters: values[1] || null};\n } else {\n msg.headers.push(header);\n }\n }\n\n ++li;\n }\n\n if(msg.procType === 'ENCRYPTED' && !msg.dekInfo) {\n throw new Error('Invalid PEM formatted message. The \"DEK-Info\" ' +\n 'header must be present if \"Proc-Type\" is \"ENCRYPTED\".');\n }\n }\n\n if(rval.length === 0) {\n throw new Error('Invalid PEM formatted message.');\n }\n\n return rval;\n};\n\nfunction foldHeader(header) {\n var rval = header.name + ': ';\n\n // ensure values with CRLF are folded\n var values = [];\n var insertSpace = function(match, $1) {\n return ' ' + $1;\n };\n for(var i = 0; i < header.values.length; ++i) {\n values.push(header.values[i].replace(/^(\\S+\\r\\n)/, insertSpace));\n }\n rval += values.join(',') + '\\r\\n';\n\n // do folding\n var length = 0;\n var candidate = -1;\n for(var i = 0; i < rval.length; ++i, ++length) {\n if(length > 65 && candidate !== -1) {\n var insert = rval[candidate];\n if(insert === ',') {\n ++candidate;\n rval = rval.substr(0, candidate) + '\\r\\n ' + rval.substr(candidate);\n } else {\n rval = rval.substr(0, candidate) +\n '\\r\\n' + insert + rval.substr(candidate + 1);\n }\n length = (i - candidate - 1);\n candidate = -1;\n ++i;\n } else if(rval[i] === ' ' || rval[i] === '\\t' || rval[i] === ',') {\n candidate = i;\n }\n }\n\n return rval;\n}\n\nfunction ltrim(str) {\n return str.replace(/^\\s+/, '');\n}\n","/**\n * Partial implementation of PKCS#1 v2.2: RSA-OEAP\n *\n * Modified but based on the following MIT and BSD licensed code:\n *\n * https://github.com/kjur/jsjws/blob/master/rsa.js:\n *\n * The 'jsjws'(JSON Web Signature JavaScript Library) License\n *\n * Copyright (c) 2012 Kenji Urushima\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *\n * http://webrsa.cvs.sourceforge.net/viewvc/webrsa/Client/RSAES-OAEP.js?content-type=text%2Fplain:\n *\n * RSAES-OAEP.js\n * $Id: RSAES-OAEP.js,v 1.1.1.1 2003/03/19 15:37:20 ellispritchard Exp $\n * JavaScript Implementation of PKCS #1 v2.1 RSA CRYPTOGRAPHY STANDARD (RSA Laboratories, June 14, 2002)\n * Copyright (C) Ellis Pritchard, Guardian Unlimited 2003.\n * Contact: ellis@nukinetics.com\n * Distributed under the BSD License.\n *\n * Official documentation: http://www.rsa.com/rsalabs/node.asp?id=2125\n *\n * @author Evan Jones (http://evanjones.ca/)\n * @author Dave Longley\n *\n * Copyright (c) 2013-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\nrequire('./random');\nrequire('./sha1');\n\n// shortcut for PKCS#1 API\nvar pkcs1 = module.exports = forge.pkcs1 = forge.pkcs1 || {};\n\n/**\n * Encode the given RSAES-OAEP message (M) using key, with optional label (L)\n * and seed.\n *\n * This method does not perform RSA encryption, it only encodes the message\n * using RSAES-OAEP.\n *\n * @param key the RSA key to use.\n * @param message the message to encode.\n * @param options the options to use:\n * label an optional label to use.\n * seed the seed to use.\n * md the message digest object to use, undefined for SHA-1.\n * mgf1 optional mgf1 parameters:\n * md the message digest object to use for MGF1.\n *\n * @return the encoded message bytes.\n */\npkcs1.encode_rsa_oaep = function(key, message, options) {\n // parse arguments\n var label;\n var seed;\n var md;\n var mgf1Md;\n // legacy args (label, seed, md)\n if(typeof options === 'string') {\n label = options;\n seed = arguments[3] || undefined;\n md = arguments[4] || undefined;\n } else if(options) {\n label = options.label || undefined;\n seed = options.seed || undefined;\n md = options.md || undefined;\n if(options.mgf1 && options.mgf1.md) {\n mgf1Md = options.mgf1.md;\n }\n }\n\n // default OAEP to SHA-1 message digest\n if(!md) {\n md = forge.md.sha1.create();\n } else {\n md.start();\n }\n\n // default MGF-1 to same as OAEP\n if(!mgf1Md) {\n mgf1Md = md;\n }\n\n // compute length in bytes and check output\n var keyLength = Math.ceil(key.n.bitLength() / 8);\n var maxLength = keyLength - 2 * md.digestLength - 2;\n if(message.length > maxLength) {\n var error = new Error('RSAES-OAEP input message length is too long.');\n error.length = message.length;\n error.maxLength = maxLength;\n throw error;\n }\n\n if(!label) {\n label = '';\n }\n md.update(label, 'raw');\n var lHash = md.digest();\n\n var PS = '';\n var PS_length = maxLength - message.length;\n for(var i = 0; i < PS_length; i++) {\n PS += '\\x00';\n }\n\n var DB = lHash.getBytes() + PS + '\\x01' + message;\n\n if(!seed) {\n seed = forge.random.getBytes(md.digestLength);\n } else if(seed.length !== md.digestLength) {\n var error = new Error('Invalid RSAES-OAEP seed. The seed length must ' +\n 'match the digest length.');\n error.seedLength = seed.length;\n error.digestLength = md.digestLength;\n throw error;\n }\n\n var dbMask = rsa_mgf1(seed, keyLength - md.digestLength - 1, mgf1Md);\n var maskedDB = forge.util.xorBytes(DB, dbMask, DB.length);\n\n var seedMask = rsa_mgf1(maskedDB, md.digestLength, mgf1Md);\n var maskedSeed = forge.util.xorBytes(seed, seedMask, seed.length);\n\n // return encoded message\n return '\\x00' + maskedSeed + maskedDB;\n};\n\n/**\n * Decode the given RSAES-OAEP encoded message (EM) using key, with optional\n * label (L).\n *\n * This method does not perform RSA decryption, it only decodes the message\n * using RSAES-OAEP.\n *\n * @param key the RSA key to use.\n * @param em the encoded message to decode.\n * @param options the options to use:\n * label an optional label to use.\n * md the message digest object to use for OAEP, undefined for SHA-1.\n * mgf1 optional mgf1 parameters:\n * md the message digest object to use for MGF1.\n *\n * @return the decoded message bytes.\n */\npkcs1.decode_rsa_oaep = function(key, em, options) {\n // parse args\n var label;\n var md;\n var mgf1Md;\n // legacy args\n if(typeof options === 'string') {\n label = options;\n md = arguments[3] || undefined;\n } else if(options) {\n label = options.label || undefined;\n md = options.md || undefined;\n if(options.mgf1 && options.mgf1.md) {\n mgf1Md = options.mgf1.md;\n }\n }\n\n // compute length in bytes\n var keyLength = Math.ceil(key.n.bitLength() / 8);\n\n if(em.length !== keyLength) {\n var error = new Error('RSAES-OAEP encoded message length is invalid.');\n error.length = em.length;\n error.expectedLength = keyLength;\n throw error;\n }\n\n // default OAEP to SHA-1 message digest\n if(md === undefined) {\n md = forge.md.sha1.create();\n } else {\n md.start();\n }\n\n // default MGF-1 to same as OAEP\n if(!mgf1Md) {\n mgf1Md = md;\n }\n\n if(keyLength < 2 * md.digestLength + 2) {\n throw new Error('RSAES-OAEP key is too short for the hash function.');\n }\n\n if(!label) {\n label = '';\n }\n md.update(label, 'raw');\n var lHash = md.digest().getBytes();\n\n // split the message into its parts\n var y = em.charAt(0);\n var maskedSeed = em.substring(1, md.digestLength + 1);\n var maskedDB = em.substring(1 + md.digestLength);\n\n var seedMask = rsa_mgf1(maskedDB, md.digestLength, mgf1Md);\n var seed = forge.util.xorBytes(maskedSeed, seedMask, maskedSeed.length);\n\n var dbMask = rsa_mgf1(seed, keyLength - md.digestLength - 1, mgf1Md);\n var db = forge.util.xorBytes(maskedDB, dbMask, maskedDB.length);\n\n var lHashPrime = db.substring(0, md.digestLength);\n\n // constant time check that all values match what is expected\n var error = (y !== '\\x00');\n\n // constant time check lHash vs lHashPrime\n for(var i = 0; i < md.digestLength; ++i) {\n error |= (lHash.charAt(i) !== lHashPrime.charAt(i));\n }\n\n // \"constant time\" find the 0x1 byte separating the padding (zeros) from the\n // message\n // TODO: It must be possible to do this in a better/smarter way?\n var in_ps = 1;\n var index = md.digestLength;\n for(var j = md.digestLength; j < db.length; j++) {\n var code = db.charCodeAt(j);\n\n var is_0 = (code & 0x1) ^ 0x1;\n\n // non-zero if not 0 or 1 in the ps section\n var error_mask = in_ps ? 0xfffe : 0x0000;\n error |= (code & error_mask);\n\n // latch in_ps to zero after we find 0x1\n in_ps = in_ps & is_0;\n index += in_ps;\n }\n\n if(error || db.charCodeAt(index) !== 0x1) {\n throw new Error('Invalid RSAES-OAEP padding.');\n }\n\n return db.substring(index + 1);\n};\n\nfunction rsa_mgf1(seed, maskLength, hash) {\n // default to SHA-1 message digest\n if(!hash) {\n hash = forge.md.sha1.create();\n }\n var t = '';\n var count = Math.ceil(maskLength / hash.digestLength);\n for(var i = 0; i < count; ++i) {\n var c = String.fromCharCode(\n (i >> 24) & 0xFF, (i >> 16) & 0xFF, (i >> 8) & 0xFF, i & 0xFF);\n hash.start();\n hash.update(seed + c);\n t += hash.digest().getBytes();\n }\n return t.substring(0, maskLength);\n}\n","/**\n * Javascript implementation of PKCS#12.\n *\n * @author Dave Longley\n * @author Stefan Siegl \n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n * Copyright (c) 2012 Stefan Siegl \n *\n * The ASN.1 representation of PKCS#12 is as follows\n * (see ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-12/pkcs-12-tc1.pdf for details)\n *\n * PFX ::= SEQUENCE {\n * version INTEGER {v3(3)}(v3,...),\n * authSafe ContentInfo,\n * macData MacData OPTIONAL\n * }\n *\n * MacData ::= SEQUENCE {\n * mac DigestInfo,\n * macSalt OCTET STRING,\n * iterations INTEGER DEFAULT 1\n * }\n * Note: The iterations default is for historical reasons and its use is\n * deprecated. A higher value, like 1024, is recommended.\n *\n * DigestInfo is defined in PKCS#7 as follows:\n *\n * DigestInfo ::= SEQUENCE {\n * digestAlgorithm DigestAlgorithmIdentifier,\n * digest Digest\n * }\n *\n * DigestAlgorithmIdentifier ::= AlgorithmIdentifier\n *\n * The AlgorithmIdentifier contains an Object Identifier (OID) and parameters\n * for the algorithm, if any. In the case of SHA1 there is none.\n *\n * AlgorithmIdentifer ::= SEQUENCE {\n * algorithm OBJECT IDENTIFIER,\n * parameters ANY DEFINED BY algorithm OPTIONAL\n * }\n *\n * Digest ::= OCTET STRING\n *\n *\n * ContentInfo ::= SEQUENCE {\n * contentType ContentType,\n * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL\n * }\n *\n * ContentType ::= OBJECT IDENTIFIER\n *\n * AuthenticatedSafe ::= SEQUENCE OF ContentInfo\n * -- Data if unencrypted\n * -- EncryptedData if password-encrypted\n * -- EnvelopedData if public key-encrypted\n *\n *\n * SafeContents ::= SEQUENCE OF SafeBag\n *\n * SafeBag ::= SEQUENCE {\n * bagId BAG-TYPE.&id ({PKCS12BagSet})\n * bagValue [0] EXPLICIT BAG-TYPE.&Type({PKCS12BagSet}{@bagId}),\n * bagAttributes SET OF PKCS12Attribute OPTIONAL\n * }\n *\n * PKCS12Attribute ::= SEQUENCE {\n * attrId ATTRIBUTE.&id ({PKCS12AttrSet}),\n * attrValues SET OF ATTRIBUTE.&Type ({PKCS12AttrSet}{@attrId})\n * } -- This type is compatible with the X.500 type 'Attribute'\n *\n * PKCS12AttrSet ATTRIBUTE ::= {\n * friendlyName | -- from PKCS #9\n * localKeyId, -- from PKCS #9\n * ... -- Other attributes are allowed\n * }\n *\n * CertBag ::= SEQUENCE {\n * certId BAG-TYPE.&id ({CertTypes}),\n * certValue [0] EXPLICIT BAG-TYPE.&Type ({CertTypes}{@certId})\n * }\n *\n * x509Certificate BAG-TYPE ::= {OCTET STRING IDENTIFIED BY {certTypes 1}}\n * -- DER-encoded X.509 certificate stored in OCTET STRING\n *\n * sdsiCertificate BAG-TYPE ::= {IA5String IDENTIFIED BY {certTypes 2}}\n * -- Base64-encoded SDSI certificate stored in IA5String\n *\n * CertTypes BAG-TYPE ::= {\n * x509Certificate |\n * sdsiCertificate,\n * ... -- For future extensions\n * }\n */\nvar forge = require('./forge');\nrequire('./asn1');\nrequire('./hmac');\nrequire('./oids');\nrequire('./pkcs7asn1');\nrequire('./pbe');\nrequire('./random');\nrequire('./rsa');\nrequire('./sha1');\nrequire('./util');\nrequire('./x509');\n\n// shortcut for asn.1 & PKI API\nvar asn1 = forge.asn1;\nvar pki = forge.pki;\n\n// shortcut for PKCS#12 API\nvar p12 = module.exports = forge.pkcs12 = forge.pkcs12 || {};\n\nvar contentInfoValidator = {\n name: 'ContentInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE, // a ContentInfo\n constructed: true,\n value: [{\n name: 'ContentInfo.contentType',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'contentType'\n }, {\n name: 'ContentInfo.content',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n constructed: true,\n captureAsn1: 'content'\n }]\n};\n\nvar pfxValidator = {\n name: 'PFX',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'PFX.version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'version'\n },\n contentInfoValidator, {\n name: 'PFX.macData',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n optional: true,\n captureAsn1: 'mac',\n value: [{\n name: 'PFX.macData.mac',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE, // DigestInfo\n constructed: true,\n value: [{\n name: 'PFX.macData.mac.digestAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE, // DigestAlgorithmIdentifier\n constructed: true,\n value: [{\n name: 'PFX.macData.mac.digestAlgorithm.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'macAlgorithm'\n }, {\n name: 'PFX.macData.mac.digestAlgorithm.parameters',\n tagClass: asn1.Class.UNIVERSAL,\n captureAsn1: 'macAlgorithmParameters'\n }]\n }, {\n name: 'PFX.macData.mac.digest',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'macDigest'\n }]\n }, {\n name: 'PFX.macData.macSalt',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'macSalt'\n }, {\n name: 'PFX.macData.iterations',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n optional: true,\n capture: 'macIterations'\n }]\n }]\n};\n\nvar safeBagValidator = {\n name: 'SafeBag',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'SafeBag.bagId',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'bagId'\n }, {\n name: 'SafeBag.bagValue',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n constructed: true,\n captureAsn1: 'bagValue'\n }, {\n name: 'SafeBag.bagAttributes',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SET,\n constructed: true,\n optional: true,\n capture: 'bagAttributes'\n }]\n};\n\nvar attributeValidator = {\n name: 'Attribute',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'Attribute.attrId',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'oid'\n }, {\n name: 'Attribute.attrValues',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SET,\n constructed: true,\n capture: 'values'\n }]\n};\n\nvar certBagValidator = {\n name: 'CertBag',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'CertBag.certId',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'certId'\n }, {\n name: 'CertBag.certValue',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n constructed: true,\n /* So far we only support X.509 certificates (which are wrapped in\n an OCTET STRING, hence hard code that here). */\n value: [{\n name: 'CertBag.certValue[0]',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Class.OCTETSTRING,\n constructed: false,\n capture: 'cert'\n }]\n }]\n};\n\n/**\n * Search SafeContents structure for bags with matching attributes.\n *\n * The search can optionally be narrowed by a certain bag type.\n *\n * @param safeContents the SafeContents structure to search in.\n * @param attrName the name of the attribute to compare against.\n * @param attrValue the attribute value to search for.\n * @param [bagType] bag type to narrow search by.\n *\n * @return an array of matching bags.\n */\nfunction _getBagsByAttribute(safeContents, attrName, attrValue, bagType) {\n var result = [];\n\n for(var i = 0; i < safeContents.length; i++) {\n for(var j = 0; j < safeContents[i].safeBags.length; j++) {\n var bag = safeContents[i].safeBags[j];\n if(bagType !== undefined && bag.type !== bagType) {\n continue;\n }\n // only filter by bag type, no attribute specified\n if(attrName === null) {\n result.push(bag);\n continue;\n }\n if(bag.attributes[attrName] !== undefined &&\n bag.attributes[attrName].indexOf(attrValue) >= 0) {\n result.push(bag);\n }\n }\n }\n\n return result;\n}\n\n/**\n * Converts a PKCS#12 PFX in ASN.1 notation into a PFX object.\n *\n * @param obj The PKCS#12 PFX in ASN.1 notation.\n * @param strict true to use strict DER decoding, false not to (default: true).\n * @param {String} password Password to decrypt with (optional).\n *\n * @return PKCS#12 PFX object.\n */\np12.pkcs12FromAsn1 = function(obj, strict, password) {\n // handle args\n if(typeof strict === 'string') {\n password = strict;\n strict = true;\n } else if(strict === undefined) {\n strict = true;\n }\n\n // validate PFX and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, pfxValidator, capture, errors)) {\n var error = new Error('Cannot read PKCS#12 PFX. ' +\n 'ASN.1 object is not an PKCS#12 PFX.');\n error.errors = error;\n throw error;\n }\n\n var pfx = {\n version: capture.version.charCodeAt(0),\n safeContents: [],\n\n /**\n * Gets bags with matching attributes.\n *\n * @param filter the attributes to filter by:\n * [localKeyId] the localKeyId to search for.\n * [localKeyIdHex] the localKeyId in hex to search for.\n * [friendlyName] the friendly name to search for.\n * [bagType] bag type to narrow each attribute search by.\n *\n * @return a map of attribute type to an array of matching bags or, if no\n * attribute was given but a bag type, the map key will be the\n * bag type.\n */\n getBags: function(filter) {\n var rval = {};\n\n var localKeyId;\n if('localKeyId' in filter) {\n localKeyId = filter.localKeyId;\n } else if('localKeyIdHex' in filter) {\n localKeyId = forge.util.hexToBytes(filter.localKeyIdHex);\n }\n\n // filter on bagType only\n if(localKeyId === undefined && !('friendlyName' in filter) &&\n 'bagType' in filter) {\n rval[filter.bagType] = _getBagsByAttribute(\n pfx.safeContents, null, null, filter.bagType);\n }\n\n if(localKeyId !== undefined) {\n rval.localKeyId = _getBagsByAttribute(\n pfx.safeContents, 'localKeyId',\n localKeyId, filter.bagType);\n }\n if('friendlyName' in filter) {\n rval.friendlyName = _getBagsByAttribute(\n pfx.safeContents, 'friendlyName',\n filter.friendlyName, filter.bagType);\n }\n\n return rval;\n },\n\n /**\n * DEPRECATED: use getBags() instead.\n *\n * Get bags with matching friendlyName attribute.\n *\n * @param friendlyName the friendly name to search for.\n * @param [bagType] bag type to narrow search by.\n *\n * @return an array of bags with matching friendlyName attribute.\n */\n getBagsByFriendlyName: function(friendlyName, bagType) {\n return _getBagsByAttribute(\n pfx.safeContents, 'friendlyName', friendlyName, bagType);\n },\n\n /**\n * DEPRECATED: use getBags() instead.\n *\n * Get bags with matching localKeyId attribute.\n *\n * @param localKeyId the localKeyId to search for.\n * @param [bagType] bag type to narrow search by.\n *\n * @return an array of bags with matching localKeyId attribute.\n */\n getBagsByLocalKeyId: function(localKeyId, bagType) {\n return _getBagsByAttribute(\n pfx.safeContents, 'localKeyId', localKeyId, bagType);\n }\n };\n\n if(capture.version.charCodeAt(0) !== 3) {\n var error = new Error('PKCS#12 PFX of version other than 3 not supported.');\n error.version = capture.version.charCodeAt(0);\n throw error;\n }\n\n if(asn1.derToOid(capture.contentType) !== pki.oids.data) {\n var error = new Error('Only PKCS#12 PFX in password integrity mode supported.');\n error.oid = asn1.derToOid(capture.contentType);\n throw error;\n }\n\n var data = capture.content.value[0];\n if(data.tagClass !== asn1.Class.UNIVERSAL ||\n data.type !== asn1.Type.OCTETSTRING) {\n throw new Error('PKCS#12 authSafe content data is not an OCTET STRING.');\n }\n data = _decodePkcs7Data(data);\n\n // check for MAC\n if(capture.mac) {\n var md = null;\n var macKeyBytes = 0;\n var macAlgorithm = asn1.derToOid(capture.macAlgorithm);\n switch(macAlgorithm) {\n case pki.oids.sha1:\n md = forge.md.sha1.create();\n macKeyBytes = 20;\n break;\n case pki.oids.sha256:\n md = forge.md.sha256.create();\n macKeyBytes = 32;\n break;\n case pki.oids.sha384:\n md = forge.md.sha384.create();\n macKeyBytes = 48;\n break;\n case pki.oids.sha512:\n md = forge.md.sha512.create();\n macKeyBytes = 64;\n break;\n case pki.oids.md5:\n md = forge.md.md5.create();\n macKeyBytes = 16;\n break;\n }\n if(md === null) {\n throw new Error('PKCS#12 uses unsupported MAC algorithm: ' + macAlgorithm);\n }\n\n // verify MAC (iterations default to 1)\n var macSalt = new forge.util.ByteBuffer(capture.macSalt);\n var macIterations = (('macIterations' in capture) ?\n parseInt(forge.util.bytesToHex(capture.macIterations), 16) : 1);\n var macKey = p12.generateKey(\n password, macSalt, 3, macIterations, macKeyBytes, md);\n var mac = forge.hmac.create();\n mac.start(md, macKey);\n mac.update(data.value);\n var macValue = mac.getMac();\n if(macValue.getBytes() !== capture.macDigest) {\n throw new Error('PKCS#12 MAC could not be verified. Invalid password?');\n }\n }\n\n _decodeAuthenticatedSafe(pfx, data.value, strict, password);\n return pfx;\n};\n\n/**\n * Decodes PKCS#7 Data. PKCS#7 (RFC 2315) defines \"Data\" as an OCTET STRING,\n * but it is sometimes an OCTET STRING that is composed/constructed of chunks,\n * each its own OCTET STRING. This is BER-encoding vs. DER-encoding. This\n * function transforms this corner-case into the usual simple,\n * non-composed/constructed OCTET STRING.\n *\n * This function may be moved to ASN.1 at some point to better deal with\n * more BER-encoding issues, should they arise.\n *\n * @param data the ASN.1 Data object to transform.\n */\nfunction _decodePkcs7Data(data) {\n // handle special case of \"chunked\" data content: an octet string composed\n // of other octet strings\n if(data.composed || data.constructed) {\n var value = forge.util.createBuffer();\n for(var i = 0; i < data.value.length; ++i) {\n value.putBytes(data.value[i].value);\n }\n data.composed = data.constructed = false;\n data.value = value.getBytes();\n }\n return data;\n}\n\n/**\n * Decode PKCS#12 AuthenticatedSafe (BER encoded) into PFX object.\n *\n * The AuthenticatedSafe is a BER-encoded SEQUENCE OF ContentInfo.\n *\n * @param pfx The PKCS#12 PFX object to fill.\n * @param {String} authSafe BER-encoded AuthenticatedSafe.\n * @param strict true to use strict DER decoding, false not to.\n * @param {String} password Password to decrypt with (optional).\n */\nfunction _decodeAuthenticatedSafe(pfx, authSafe, strict, password) {\n authSafe = asn1.fromDer(authSafe, strict); /* actually it's BER encoded */\n\n if(authSafe.tagClass !== asn1.Class.UNIVERSAL ||\n authSafe.type !== asn1.Type.SEQUENCE ||\n authSafe.constructed !== true) {\n throw new Error('PKCS#12 AuthenticatedSafe expected to be a ' +\n 'SEQUENCE OF ContentInfo');\n }\n\n for(var i = 0; i < authSafe.value.length; i++) {\n var contentInfo = authSafe.value[i];\n\n // validate contentInfo and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(contentInfo, contentInfoValidator, capture, errors)) {\n var error = new Error('Cannot read ContentInfo.');\n error.errors = errors;\n throw error;\n }\n\n var obj = {\n encrypted: false\n };\n var safeContents = null;\n var data = capture.content.value[0];\n switch(asn1.derToOid(capture.contentType)) {\n case pki.oids.data:\n if(data.tagClass !== asn1.Class.UNIVERSAL ||\n data.type !== asn1.Type.OCTETSTRING) {\n throw new Error('PKCS#12 SafeContents Data is not an OCTET STRING.');\n }\n safeContents = _decodePkcs7Data(data).value;\n break;\n case pki.oids.encryptedData:\n safeContents = _decryptSafeContents(data, password);\n obj.encrypted = true;\n break;\n default:\n var error = new Error('Unsupported PKCS#12 contentType.');\n error.contentType = asn1.derToOid(capture.contentType);\n throw error;\n }\n\n obj.safeBags = _decodeSafeContents(safeContents, strict, password);\n pfx.safeContents.push(obj);\n }\n}\n\n/**\n * Decrypt PKCS#7 EncryptedData structure.\n *\n * @param data ASN.1 encoded EncryptedContentInfo object.\n * @param password The user-provided password.\n *\n * @return The decrypted SafeContents (ASN.1 object).\n */\nfunction _decryptSafeContents(data, password) {\n var capture = {};\n var errors = [];\n if(!asn1.validate(\n data, forge.pkcs7.asn1.encryptedDataValidator, capture, errors)) {\n var error = new Error('Cannot read EncryptedContentInfo.');\n error.errors = errors;\n throw error;\n }\n\n var oid = asn1.derToOid(capture.contentType);\n if(oid !== pki.oids.data) {\n var error = new Error(\n 'PKCS#12 EncryptedContentInfo ContentType is not Data.');\n error.oid = oid;\n throw error;\n }\n\n // get cipher\n oid = asn1.derToOid(capture.encAlgorithm);\n var cipher = pki.pbe.getCipher(oid, capture.encParameter, password);\n\n // get encrypted data\n var encryptedContentAsn1 = _decodePkcs7Data(capture.encryptedContentAsn1);\n var encrypted = forge.util.createBuffer(encryptedContentAsn1.value);\n\n cipher.update(encrypted);\n if(!cipher.finish()) {\n throw new Error('Failed to decrypt PKCS#12 SafeContents.');\n }\n\n return cipher.output.getBytes();\n}\n\n/**\n * Decode PKCS#12 SafeContents (BER-encoded) into array of Bag objects.\n *\n * The safeContents is a BER-encoded SEQUENCE OF SafeBag.\n *\n * @param {String} safeContents BER-encoded safeContents.\n * @param strict true to use strict DER decoding, false not to.\n * @param {String} password Password to decrypt with (optional).\n *\n * @return {Array} Array of Bag objects.\n */\nfunction _decodeSafeContents(safeContents, strict, password) {\n // if strict and no safe contents, return empty safes\n if(!strict && safeContents.length === 0) {\n return [];\n }\n\n // actually it's BER-encoded\n safeContents = asn1.fromDer(safeContents, strict);\n\n if(safeContents.tagClass !== asn1.Class.UNIVERSAL ||\n safeContents.type !== asn1.Type.SEQUENCE ||\n safeContents.constructed !== true) {\n throw new Error(\n 'PKCS#12 SafeContents expected to be a SEQUENCE OF SafeBag.');\n }\n\n var res = [];\n for(var i = 0; i < safeContents.value.length; i++) {\n var safeBag = safeContents.value[i];\n\n // validate SafeBag and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(safeBag, safeBagValidator, capture, errors)) {\n var error = new Error('Cannot read SafeBag.');\n error.errors = errors;\n throw error;\n }\n\n /* Create bag object and push to result array. */\n var bag = {\n type: asn1.derToOid(capture.bagId),\n attributes: _decodeBagAttributes(capture.bagAttributes)\n };\n res.push(bag);\n\n var validator, decoder;\n var bagAsn1 = capture.bagValue.value[0];\n switch(bag.type) {\n case pki.oids.pkcs8ShroudedKeyBag:\n /* bagAsn1 has a EncryptedPrivateKeyInfo, which we need to decrypt.\n Afterwards we can handle it like a keyBag,\n which is a PrivateKeyInfo. */\n bagAsn1 = pki.decryptPrivateKeyInfo(bagAsn1, password);\n if(bagAsn1 === null) {\n throw new Error(\n 'Unable to decrypt PKCS#8 ShroudedKeyBag, wrong password?');\n }\n\n /* fall through */\n case pki.oids.keyBag:\n /* A PKCS#12 keyBag is a simple PrivateKeyInfo as understood by our\n PKI module, hence we don't have to do validation/capturing here,\n just pass what we already got. */\n try {\n bag.key = pki.privateKeyFromAsn1(bagAsn1);\n } catch(e) {\n // ignore unknown key type, pass asn1 value\n bag.key = null;\n bag.asn1 = bagAsn1;\n }\n continue; /* Nothing more to do. */\n\n case pki.oids.certBag:\n /* A PKCS#12 certBag can wrap both X.509 and sdsi certificates.\n Therefore put the SafeBag content through another validator to\n capture the fields. Afterwards check & store the results. */\n validator = certBagValidator;\n decoder = function() {\n if(asn1.derToOid(capture.certId) !== pki.oids.x509Certificate) {\n var error = new Error(\n 'Unsupported certificate type, only X.509 supported.');\n error.oid = asn1.derToOid(capture.certId);\n throw error;\n }\n\n // true=produce cert hash\n var certAsn1 = asn1.fromDer(capture.cert, strict);\n try {\n bag.cert = pki.certificateFromAsn1(certAsn1, true);\n } catch(e) {\n // ignore unknown cert type, pass asn1 value\n bag.cert = null;\n bag.asn1 = certAsn1;\n }\n };\n break;\n\n default:\n var error = new Error('Unsupported PKCS#12 SafeBag type.');\n error.oid = bag.type;\n throw error;\n }\n\n /* Validate SafeBag value (i.e. CertBag, etc.) and capture data if needed. */\n if(validator !== undefined &&\n !asn1.validate(bagAsn1, validator, capture, errors)) {\n var error = new Error('Cannot read PKCS#12 ' + validator.name);\n error.errors = errors;\n throw error;\n }\n\n /* Call decoder function from above to store the results. */\n decoder();\n }\n\n return res;\n}\n\n/**\n * Decode PKCS#12 SET OF PKCS12Attribute into JavaScript object.\n *\n * @param attributes SET OF PKCS12Attribute (ASN.1 object).\n *\n * @return the decoded attributes.\n */\nfunction _decodeBagAttributes(attributes) {\n var decodedAttrs = {};\n\n if(attributes !== undefined) {\n for(var i = 0; i < attributes.length; ++i) {\n var capture = {};\n var errors = [];\n if(!asn1.validate(attributes[i], attributeValidator, capture, errors)) {\n var error = new Error('Cannot read PKCS#12 BagAttribute.');\n error.errors = errors;\n throw error;\n }\n\n var oid = asn1.derToOid(capture.oid);\n if(pki.oids[oid] === undefined) {\n // unsupported attribute type, ignore.\n continue;\n }\n\n decodedAttrs[pki.oids[oid]] = [];\n for(var j = 0; j < capture.values.length; ++j) {\n decodedAttrs[pki.oids[oid]].push(capture.values[j].value);\n }\n }\n }\n\n return decodedAttrs;\n}\n\n/**\n * Wraps a private key and certificate in a PKCS#12 PFX wrapper. If a\n * password is provided then the private key will be encrypted.\n *\n * An entire certificate chain may also be included. To do this, pass\n * an array for the \"cert\" parameter where the first certificate is\n * the one that is paired with the private key and each subsequent one\n * verifies the previous one. The certificates may be in PEM format or\n * have been already parsed by Forge.\n *\n * @todo implement password-based-encryption for the whole package\n *\n * @param key the private key.\n * @param cert the certificate (may be an array of certificates in order\n * to specify a certificate chain).\n * @param password the password to use, null for none.\n * @param options:\n * algorithm the encryption algorithm to use\n * ('aes128', 'aes192', 'aes256', '3des'), defaults to 'aes128'.\n * count the iteration count to use.\n * saltSize the salt size to use.\n * useMac true to include a MAC, false not to, defaults to true.\n * localKeyId the local key ID to use, in hex.\n * friendlyName the friendly name to use.\n * generateLocalKeyId true to generate a random local key ID,\n * false not to, defaults to true.\n *\n * @return the PKCS#12 PFX ASN.1 object.\n */\np12.toPkcs12Asn1 = function(key, cert, password, options) {\n // set default options\n options = options || {};\n options.saltSize = options.saltSize || 8;\n options.count = options.count || 2048;\n options.algorithm = options.algorithm || options.encAlgorithm || 'aes128';\n if(!('useMac' in options)) {\n options.useMac = true;\n }\n if(!('localKeyId' in options)) {\n options.localKeyId = null;\n }\n if(!('generateLocalKeyId' in options)) {\n options.generateLocalKeyId = true;\n }\n\n var localKeyId = options.localKeyId;\n var bagAttrs;\n if(localKeyId !== null) {\n localKeyId = forge.util.hexToBytes(localKeyId);\n } else if(options.generateLocalKeyId) {\n // use SHA-1 of paired cert, if available\n if(cert) {\n var pairedCert = forge.util.isArray(cert) ? cert[0] : cert;\n if(typeof pairedCert === 'string') {\n pairedCert = pki.certificateFromPem(pairedCert);\n }\n var sha1 = forge.md.sha1.create();\n sha1.update(asn1.toDer(pki.certificateToAsn1(pairedCert)).getBytes());\n localKeyId = sha1.digest().getBytes();\n } else {\n // FIXME: consider using SHA-1 of public key (which can be generated\n // from private key components), see: cert.generateSubjectKeyIdentifier\n // generate random bytes\n localKeyId = forge.random.getBytes(20);\n }\n }\n\n var attrs = [];\n if(localKeyId !== null) {\n attrs.push(\n // localKeyID\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // attrId\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.localKeyId).getBytes()),\n // attrValues\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n localKeyId)\n ])\n ]));\n }\n if('friendlyName' in options) {\n attrs.push(\n // friendlyName\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // attrId\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.friendlyName).getBytes()),\n // attrValues\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BMPSTRING, false,\n options.friendlyName)\n ])\n ]));\n }\n\n if(attrs.length > 0) {\n bagAttrs = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, attrs);\n }\n\n // collect contents for AuthenticatedSafe\n var contents = [];\n\n // create safe bag(s) for certificate chain\n var chain = [];\n if(cert !== null) {\n if(forge.util.isArray(cert)) {\n chain = cert;\n } else {\n chain = [cert];\n }\n }\n\n var certSafeBags = [];\n for(var i = 0; i < chain.length; ++i) {\n // convert cert from PEM as necessary\n cert = chain[i];\n if(typeof cert === 'string') {\n cert = pki.certificateFromPem(cert);\n }\n\n // SafeBag\n var certBagAttrs = (i === 0) ? bagAttrs : undefined;\n var certAsn1 = pki.certificateToAsn1(cert);\n var certSafeBag =\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // bagId\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.certBag).getBytes()),\n // bagValue\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n // CertBag\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // certId\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.x509Certificate).getBytes()),\n // certValue (x509Certificate)\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n asn1.toDer(certAsn1).getBytes())\n ])])]),\n // bagAttributes (OPTIONAL)\n certBagAttrs\n ]);\n certSafeBags.push(certSafeBag);\n }\n\n if(certSafeBags.length > 0) {\n // SafeContents\n var certSafeContents = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, certSafeBags);\n\n // ContentInfo\n var certCI =\n // PKCS#7 ContentInfo\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // contentType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n // OID for the content type is 'data'\n asn1.oidToDer(pki.oids.data).getBytes()),\n // content\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n asn1.toDer(certSafeContents).getBytes())\n ])\n ]);\n contents.push(certCI);\n }\n\n // create safe contents for private key\n var keyBag = null;\n if(key !== null) {\n // SafeBag\n var pkAsn1 = pki.wrapRsaPrivateKey(pki.privateKeyToAsn1(key));\n if(password === null) {\n // no encryption\n keyBag = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // bagId\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.keyBag).getBytes()),\n // bagValue\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n // PrivateKeyInfo\n pkAsn1\n ]),\n // bagAttributes (OPTIONAL)\n bagAttrs\n ]);\n } else {\n // encrypted PrivateKeyInfo\n keyBag = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // bagId\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.pkcs8ShroudedKeyBag).getBytes()),\n // bagValue\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n // EncryptedPrivateKeyInfo\n pki.encryptPrivateKeyInfo(pkAsn1, password, options)\n ]),\n // bagAttributes (OPTIONAL)\n bagAttrs\n ]);\n }\n\n // SafeContents\n var keySafeContents =\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [keyBag]);\n\n // ContentInfo\n var keyCI =\n // PKCS#7 ContentInfo\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // contentType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n // OID for the content type is 'data'\n asn1.oidToDer(pki.oids.data).getBytes()),\n // content\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n asn1.toDer(keySafeContents).getBytes())\n ])\n ]);\n contents.push(keyCI);\n }\n\n // create AuthenticatedSafe by stringing together the contents\n var safe = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, contents);\n\n var macData;\n if(options.useMac) {\n // MacData\n var sha1 = forge.md.sha1.create();\n var macSalt = new forge.util.ByteBuffer(\n forge.random.getBytes(options.saltSize));\n var count = options.count;\n // 160-bit key\n var key = p12.generateKey(password, macSalt, 3, count, 20);\n var mac = forge.hmac.create();\n mac.start(sha1, key);\n mac.update(asn1.toDer(safe).getBytes());\n var macValue = mac.getMac();\n macData = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // mac DigestInfo\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // digestAlgorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm = SHA-1\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.sha1).getBytes()),\n // parameters = Null\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]),\n // digest\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING,\n false, macValue.getBytes())\n ]),\n // macSalt OCTET STRING\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, macSalt.getBytes()),\n // iterations INTEGER (XXX: Only support count < 65536)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(count).getBytes()\n )\n ]);\n }\n\n // PFX\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // version (3)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(3).getBytes()),\n // PKCS#7 ContentInfo\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // contentType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n // OID for the content type is 'data'\n asn1.oidToDer(pki.oids.data).getBytes()),\n // content\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n asn1.toDer(safe).getBytes())\n ])\n ]),\n macData\n ]);\n};\n\n/**\n * Derives a PKCS#12 key.\n *\n * @param password the password to derive the key material from, null or\n * undefined for none.\n * @param salt the salt, as a ByteBuffer, to use.\n * @param id the PKCS#12 ID byte (1 = key material, 2 = IV, 3 = MAC).\n * @param iter the iteration count.\n * @param n the number of bytes to derive from the password.\n * @param md the message digest to use, defaults to SHA-1.\n *\n * @return a ByteBuffer with the bytes derived from the password.\n */\np12.generateKey = forge.pbe.generatePkcs12Key;\n","/**\n * Javascript implementation of PKCS#7 v1.5.\n *\n * @author Stefan Siegl\n * @author Dave Longley\n *\n * Copyright (c) 2012 Stefan Siegl \n * Copyright (c) 2012-2015 Digital Bazaar, Inc.\n *\n * Currently this implementation only supports ContentType of EnvelopedData,\n * EncryptedData, or SignedData at the root level. The top level elements may\n * contain only a ContentInfo of ContentType Data, i.e. plain data. Further\n * nesting is not (yet) supported.\n *\n * The Forge validators for PKCS #7's ASN.1 structures are available from\n * a separate file pkcs7asn1.js, since those are referenced from other\n * PKCS standards like PKCS #12.\n */\nvar forge = require('./forge');\nrequire('./aes');\nrequire('./asn1');\nrequire('./des');\nrequire('./oids');\nrequire('./pem');\nrequire('./pkcs7asn1');\nrequire('./random');\nrequire('./util');\nrequire('./x509');\n\n// shortcut for ASN.1 API\nvar asn1 = forge.asn1;\n\n// shortcut for PKCS#7 API\nvar p7 = module.exports = forge.pkcs7 = forge.pkcs7 || {};\n\n/**\n * Converts a PKCS#7 message from PEM format.\n *\n * @param pem the PEM-formatted PKCS#7 message.\n *\n * @return the PKCS#7 message.\n */\np7.messageFromPem = function(pem) {\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'PKCS7') {\n var error = new Error('Could not convert PKCS#7 message from PEM; PEM ' +\n 'header type is not \"PKCS#7\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert PKCS#7 message from PEM; PEM is encrypted.');\n }\n\n // convert DER to ASN.1 object\n var obj = asn1.fromDer(msg.body);\n\n return p7.messageFromAsn1(obj);\n};\n\n/**\n * Converts a PKCS#7 message to PEM format.\n *\n * @param msg The PKCS#7 message object\n * @param maxline The maximum characters per line, defaults to 64.\n *\n * @return The PEM-formatted PKCS#7 message.\n */\np7.messageToPem = function(msg, maxline) {\n // convert to ASN.1, then DER, then PEM-encode\n var pemObj = {\n type: 'PKCS7',\n body: asn1.toDer(msg.toAsn1()).getBytes()\n };\n return forge.pem.encode(pemObj, {maxline: maxline});\n};\n\n/**\n * Converts a PKCS#7 message from an ASN.1 object.\n *\n * @param obj the ASN.1 representation of a ContentInfo.\n *\n * @return the PKCS#7 message.\n */\np7.messageFromAsn1 = function(obj) {\n // validate root level ContentInfo and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, p7.asn1.contentInfoValidator, capture, errors)) {\n var error = new Error('Cannot read PKCS#7 message. ' +\n 'ASN.1 object is not an PKCS#7 ContentInfo.');\n error.errors = errors;\n throw error;\n }\n\n var contentType = asn1.derToOid(capture.contentType);\n var msg;\n\n switch(contentType) {\n case forge.pki.oids.envelopedData:\n msg = p7.createEnvelopedData();\n break;\n\n case forge.pki.oids.encryptedData:\n msg = p7.createEncryptedData();\n break;\n\n case forge.pki.oids.signedData:\n msg = p7.createSignedData();\n break;\n\n default:\n throw new Error('Cannot read PKCS#7 message. ContentType with OID ' +\n contentType + ' is not (yet) supported.');\n }\n\n msg.fromAsn1(capture.content.value[0]);\n return msg;\n};\n\np7.createSignedData = function() {\n var msg = null;\n msg = {\n type: forge.pki.oids.signedData,\n version: 1,\n certificates: [],\n crls: [],\n // TODO: add json-formatted signer stuff here?\n signers: [],\n // populated during sign()\n digestAlgorithmIdentifiers: [],\n contentInfo: null,\n signerInfos: [],\n\n fromAsn1: function(obj) {\n // validate SignedData content block and capture data.\n _fromAsn1(msg, obj, p7.asn1.signedDataValidator);\n msg.certificates = [];\n msg.crls = [];\n msg.digestAlgorithmIdentifiers = [];\n msg.contentInfo = null;\n msg.signerInfos = [];\n\n if(msg.rawCapture.certificates) {\n var certs = msg.rawCapture.certificates.value;\n for(var i = 0; i < certs.length; ++i) {\n msg.certificates.push(forge.pki.certificateFromAsn1(certs[i]));\n }\n }\n\n // TODO: parse crls\n },\n\n toAsn1: function() {\n // degenerate case with no content\n if(!msg.contentInfo) {\n msg.sign();\n }\n\n var certs = [];\n for(var i = 0; i < msg.certificates.length; ++i) {\n certs.push(forge.pki.certificateToAsn1(msg.certificates[i]));\n }\n\n var crls = [];\n // TODO: implement CRLs\n\n // [0] SignedData\n var signedData = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // Version\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(msg.version).getBytes()),\n // DigestAlgorithmIdentifiers\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SET, true,\n msg.digestAlgorithmIdentifiers),\n // ContentInfo\n msg.contentInfo\n ])\n ]);\n if(certs.length > 0) {\n // [0] IMPLICIT ExtendedCertificatesAndCertificates OPTIONAL\n signedData.value[0].value.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, certs));\n }\n if(crls.length > 0) {\n // [1] IMPLICIT CertificateRevocationLists OPTIONAL\n signedData.value[0].value.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, crls));\n }\n // SignerInfos\n signedData.value[0].value.push(\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true,\n msg.signerInfos));\n\n // ContentInfo\n return asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // ContentType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(msg.type).getBytes()),\n // [0] SignedData\n signedData\n ]);\n },\n\n /**\n * Add (another) entity to list of signers.\n *\n * Note: If authenticatedAttributes are provided, then, per RFC 2315,\n * they must include at least two attributes: content type and\n * message digest. The message digest attribute value will be\n * auto-calculated during signing and will be ignored if provided.\n *\n * Here's an example of providing these two attributes:\n *\n * forge.pkcs7.createSignedData();\n * p7.addSigner({\n * issuer: cert.issuer.attributes,\n * serialNumber: cert.serialNumber,\n * key: privateKey,\n * digestAlgorithm: forge.pki.oids.sha1,\n * authenticatedAttributes: [{\n * type: forge.pki.oids.contentType,\n * value: forge.pki.oids.data\n * }, {\n * type: forge.pki.oids.messageDigest\n * }]\n * });\n *\n * TODO: Support [subjectKeyIdentifier] as signer's ID.\n *\n * @param signer the signer information:\n * key the signer's private key.\n * [certificate] a certificate containing the public key\n * associated with the signer's private key; use this option as\n * an alternative to specifying signer.issuer and\n * signer.serialNumber.\n * [issuer] the issuer attributes (eg: cert.issuer.attributes).\n * [serialNumber] the signer's certificate's serial number in\n * hexadecimal (eg: cert.serialNumber).\n * [digestAlgorithm] the message digest OID, as a string, to use\n * (eg: forge.pki.oids.sha1).\n * [authenticatedAttributes] an optional array of attributes\n * to also sign along with the content.\n */\n addSigner: function(signer) {\n var issuer = signer.issuer;\n var serialNumber = signer.serialNumber;\n if(signer.certificate) {\n var cert = signer.certificate;\n if(typeof cert === 'string') {\n cert = forge.pki.certificateFromPem(cert);\n }\n issuer = cert.issuer.attributes;\n serialNumber = cert.serialNumber;\n }\n var key = signer.key;\n if(!key) {\n throw new Error(\n 'Could not add PKCS#7 signer; no private key specified.');\n }\n if(typeof key === 'string') {\n key = forge.pki.privateKeyFromPem(key);\n }\n\n // ensure OID known for digest algorithm\n var digestAlgorithm = signer.digestAlgorithm || forge.pki.oids.sha1;\n switch(digestAlgorithm) {\n case forge.pki.oids.sha1:\n case forge.pki.oids.sha256:\n case forge.pki.oids.sha384:\n case forge.pki.oids.sha512:\n case forge.pki.oids.md5:\n break;\n default:\n throw new Error(\n 'Could not add PKCS#7 signer; unknown message digest algorithm: ' +\n digestAlgorithm);\n }\n\n // if authenticatedAttributes is present, then the attributes\n // must contain at least PKCS #9 content-type and message-digest\n var authenticatedAttributes = signer.authenticatedAttributes || [];\n if(authenticatedAttributes.length > 0) {\n var contentType = false;\n var messageDigest = false;\n for(var i = 0; i < authenticatedAttributes.length; ++i) {\n var attr = authenticatedAttributes[i];\n if(!contentType && attr.type === forge.pki.oids.contentType) {\n contentType = true;\n if(messageDigest) {\n break;\n }\n continue;\n }\n if(!messageDigest && attr.type === forge.pki.oids.messageDigest) {\n messageDigest = true;\n if(contentType) {\n break;\n }\n continue;\n }\n }\n\n if(!contentType || !messageDigest) {\n throw new Error('Invalid signer.authenticatedAttributes. If ' +\n 'signer.authenticatedAttributes is specified, then it must ' +\n 'contain at least two attributes, PKCS #9 content-type and ' +\n 'PKCS #9 message-digest.');\n }\n }\n\n msg.signers.push({\n key: key,\n version: 1,\n issuer: issuer,\n serialNumber: serialNumber,\n digestAlgorithm: digestAlgorithm,\n signatureAlgorithm: forge.pki.oids.rsaEncryption,\n signature: null,\n authenticatedAttributes: authenticatedAttributes,\n unauthenticatedAttributes: []\n });\n },\n\n /**\n * Signs the content.\n * @param options Options to apply when signing:\n * [detached] boolean. If signing should be done in detached mode. Defaults to false.\n */\n sign: function(options) {\n options = options || {};\n // auto-generate content info\n if(typeof msg.content !== 'object' || msg.contentInfo === null) {\n // use Data ContentInfo\n msg.contentInfo = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // ContentType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(forge.pki.oids.data).getBytes())\n ]);\n\n // add actual content, if present\n if('content' in msg) {\n var content;\n if(msg.content instanceof forge.util.ByteBuffer) {\n content = msg.content.bytes();\n } else if(typeof msg.content === 'string') {\n content = forge.util.encodeUtf8(msg.content);\n }\n\n if (options.detached) {\n msg.detachedContent = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, content);\n } else {\n msg.contentInfo.value.push(\n // [0] EXPLICIT content\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n content)\n ]));\n }\n }\n }\n\n // no signers, return early (degenerate case for certificate container)\n if(msg.signers.length === 0) {\n return;\n }\n\n // generate digest algorithm identifiers\n var mds = addDigestAlgorithmIds();\n\n // generate signerInfos\n addSignerInfos(mds);\n },\n\n verify: function() {\n throw new Error('PKCS#7 signature verification not yet implemented.');\n },\n\n /**\n * Add a certificate.\n *\n * @param cert the certificate to add.\n */\n addCertificate: function(cert) {\n // convert from PEM\n if(typeof cert === 'string') {\n cert = forge.pki.certificateFromPem(cert);\n }\n msg.certificates.push(cert);\n },\n\n /**\n * Add a certificate revokation list.\n *\n * @param crl the certificate revokation list to add.\n */\n addCertificateRevokationList: function(crl) {\n throw new Error('PKCS#7 CRL support not yet implemented.');\n }\n };\n return msg;\n\n function addDigestAlgorithmIds() {\n var mds = {};\n\n for(var i = 0; i < msg.signers.length; ++i) {\n var signer = msg.signers[i];\n var oid = signer.digestAlgorithm;\n if(!(oid in mds)) {\n // content digest\n mds[oid] = forge.md[forge.pki.oids[oid]].create();\n }\n if(signer.authenticatedAttributes.length === 0) {\n // no custom attributes to digest; use content message digest\n signer.md = mds[oid];\n } else {\n // custom attributes to be digested; use own message digest\n // TODO: optimize to just copy message digest state if that\n // feature is ever supported with message digests\n signer.md = forge.md[forge.pki.oids[oid]].create();\n }\n }\n\n // add unique digest algorithm identifiers\n msg.digestAlgorithmIdentifiers = [];\n for(var oid in mds) {\n msg.digestAlgorithmIdentifiers.push(\n // AlgorithmIdentifier\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(oid).getBytes()),\n // parameters (null)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]));\n }\n\n return mds;\n }\n\n function addSignerInfos(mds) {\n var content;\n\n if (msg.detachedContent) {\n // Signature has been made in detached mode.\n content = msg.detachedContent;\n } else {\n // Note: ContentInfo is a SEQUENCE with 2 values, second value is\n // the content field and is optional for a ContentInfo but required here\n // since signers are present\n // get ContentInfo content\n content = msg.contentInfo.value[1];\n // skip [0] EXPLICIT content wrapper\n content = content.value[0];\n }\n\n if(!content) {\n throw new Error(\n 'Could not sign PKCS#7 message; there is no content to sign.');\n }\n\n // get ContentInfo content type\n var contentType = asn1.derToOid(msg.contentInfo.value[0].value);\n\n // serialize content\n var bytes = asn1.toDer(content);\n\n // skip identifier and length per RFC 2315 9.3\n // skip identifier (1 byte)\n bytes.getByte();\n // read and discard length bytes\n asn1.getBerValueLength(bytes);\n bytes = bytes.getBytes();\n\n // digest content DER value bytes\n for(var oid in mds) {\n mds[oid].start().update(bytes);\n }\n\n // sign content\n var signingTime = new Date();\n for(var i = 0; i < msg.signers.length; ++i) {\n var signer = msg.signers[i];\n\n if(signer.authenticatedAttributes.length === 0) {\n // if ContentInfo content type is not \"Data\", then\n // authenticatedAttributes must be present per RFC 2315\n if(contentType !== forge.pki.oids.data) {\n throw new Error(\n 'Invalid signer; authenticatedAttributes must be present ' +\n 'when the ContentInfo content type is not PKCS#7 Data.');\n }\n } else {\n // process authenticated attributes\n // [0] IMPLICIT\n signer.authenticatedAttributesAsn1 = asn1.create(\n asn1.Class.CONTEXT_SPECIFIC, 0, true, []);\n\n // per RFC 2315, attributes are to be digested using a SET container\n // not the above [0] IMPLICIT container\n var attrsAsn1 = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SET, true, []);\n\n for(var ai = 0; ai < signer.authenticatedAttributes.length; ++ai) {\n var attr = signer.authenticatedAttributes[ai];\n if(attr.type === forge.pki.oids.messageDigest) {\n // use content message digest as value\n attr.value = mds[signer.digestAlgorithm].digest();\n } else if(attr.type === forge.pki.oids.signingTime) {\n // auto-populate signing time if not already set\n if(!attr.value) {\n attr.value = signingTime;\n }\n }\n\n // convert to ASN.1 and push onto Attributes SET (for signing) and\n // onto authenticatedAttributesAsn1 to complete SignedData ASN.1\n // TODO: optimize away duplication\n attrsAsn1.value.push(_attributeToAsn1(attr));\n signer.authenticatedAttributesAsn1.value.push(_attributeToAsn1(attr));\n }\n\n // DER-serialize and digest SET OF attributes only\n bytes = asn1.toDer(attrsAsn1).getBytes();\n signer.md.start().update(bytes);\n }\n\n // sign digest\n signer.signature = signer.key.sign(signer.md, 'RSASSA-PKCS1-V1_5');\n }\n\n // add signer info\n msg.signerInfos = _signersToAsn1(msg.signers);\n }\n};\n\n/**\n * Creates an empty PKCS#7 message of type EncryptedData.\n *\n * @return the message.\n */\np7.createEncryptedData = function() {\n var msg = null;\n msg = {\n type: forge.pki.oids.encryptedData,\n version: 0,\n encryptedContent: {\n algorithm: forge.pki.oids['aes256-CBC']\n },\n\n /**\n * Reads an EncryptedData content block (in ASN.1 format)\n *\n * @param obj The ASN.1 representation of the EncryptedData content block\n */\n fromAsn1: function(obj) {\n // Validate EncryptedData content block and capture data.\n _fromAsn1(msg, obj, p7.asn1.encryptedDataValidator);\n },\n\n /**\n * Decrypt encrypted content\n *\n * @param key The (symmetric) key as a byte buffer\n */\n decrypt: function(key) {\n if(key !== undefined) {\n msg.encryptedContent.key = key;\n }\n _decryptContent(msg);\n }\n };\n return msg;\n};\n\n/**\n * Creates an empty PKCS#7 message of type EnvelopedData.\n *\n * @return the message.\n */\np7.createEnvelopedData = function() {\n var msg = null;\n msg = {\n type: forge.pki.oids.envelopedData,\n version: 0,\n recipients: [],\n encryptedContent: {\n algorithm: forge.pki.oids['aes256-CBC']\n },\n\n /**\n * Reads an EnvelopedData content block (in ASN.1 format)\n *\n * @param obj the ASN.1 representation of the EnvelopedData content block.\n */\n fromAsn1: function(obj) {\n // validate EnvelopedData content block and capture data\n var capture = _fromAsn1(msg, obj, p7.asn1.envelopedDataValidator);\n msg.recipients = _recipientsFromAsn1(capture.recipientInfos.value);\n },\n\n toAsn1: function() {\n // ContentInfo\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // ContentType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(msg.type).getBytes()),\n // [0] EnvelopedData\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // Version\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(msg.version).getBytes()),\n // RecipientInfos\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true,\n _recipientsToAsn1(msg.recipients)),\n // EncryptedContentInfo\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true,\n _encryptedContentToAsn1(msg.encryptedContent))\n ])\n ])\n ]);\n },\n\n /**\n * Find recipient by X.509 certificate's issuer.\n *\n * @param cert the certificate with the issuer to look for.\n *\n * @return the recipient object.\n */\n findRecipient: function(cert) {\n var sAttr = cert.issuer.attributes;\n\n for(var i = 0; i < msg.recipients.length; ++i) {\n var r = msg.recipients[i];\n var rAttr = r.issuer;\n\n if(r.serialNumber !== cert.serialNumber) {\n continue;\n }\n\n if(rAttr.length !== sAttr.length) {\n continue;\n }\n\n var match = true;\n for(var j = 0; j < sAttr.length; ++j) {\n if(rAttr[j].type !== sAttr[j].type ||\n rAttr[j].value !== sAttr[j].value) {\n match = false;\n break;\n }\n }\n\n if(match) {\n return r;\n }\n }\n\n return null;\n },\n\n /**\n * Decrypt enveloped content\n *\n * @param recipient The recipient object related to the private key\n * @param privKey The (RSA) private key object\n */\n decrypt: function(recipient, privKey) {\n if(msg.encryptedContent.key === undefined && recipient !== undefined &&\n privKey !== undefined) {\n switch(recipient.encryptedContent.algorithm) {\n case forge.pki.oids.rsaEncryption:\n case forge.pki.oids.desCBC:\n var key = privKey.decrypt(recipient.encryptedContent.content);\n msg.encryptedContent.key = forge.util.createBuffer(key);\n break;\n\n default:\n throw new Error('Unsupported asymmetric cipher, ' +\n 'OID ' + recipient.encryptedContent.algorithm);\n }\n }\n\n _decryptContent(msg);\n },\n\n /**\n * Add (another) entity to list of recipients.\n *\n * @param cert The certificate of the entity to add.\n */\n addRecipient: function(cert) {\n msg.recipients.push({\n version: 0,\n issuer: cert.issuer.attributes,\n serialNumber: cert.serialNumber,\n encryptedContent: {\n // We simply assume rsaEncryption here, since forge.pki only\n // supports RSA so far. If the PKI module supports other\n // ciphers one day, we need to modify this one as well.\n algorithm: forge.pki.oids.rsaEncryption,\n key: cert.publicKey\n }\n });\n },\n\n /**\n * Encrypt enveloped content.\n *\n * This function supports two optional arguments, cipher and key, which\n * can be used to influence symmetric encryption. Unless cipher is\n * provided, the cipher specified in encryptedContent.algorithm is used\n * (defaults to AES-256-CBC). If no key is provided, encryptedContent.key\n * is (re-)used. If that one's not set, a random key will be generated\n * automatically.\n *\n * @param [key] The key to be used for symmetric encryption.\n * @param [cipher] The OID of the symmetric cipher to use.\n */\n encrypt: function(key, cipher) {\n // Part 1: Symmetric encryption\n if(msg.encryptedContent.content === undefined) {\n cipher = cipher || msg.encryptedContent.algorithm;\n key = key || msg.encryptedContent.key;\n\n var keyLen, ivLen, ciphFn;\n switch(cipher) {\n case forge.pki.oids['aes128-CBC']:\n keyLen = 16;\n ivLen = 16;\n ciphFn = forge.aes.createEncryptionCipher;\n break;\n\n case forge.pki.oids['aes192-CBC']:\n keyLen = 24;\n ivLen = 16;\n ciphFn = forge.aes.createEncryptionCipher;\n break;\n\n case forge.pki.oids['aes256-CBC']:\n keyLen = 32;\n ivLen = 16;\n ciphFn = forge.aes.createEncryptionCipher;\n break;\n\n case forge.pki.oids['des-EDE3-CBC']:\n keyLen = 24;\n ivLen = 8;\n ciphFn = forge.des.createEncryptionCipher;\n break;\n\n default:\n throw new Error('Unsupported symmetric cipher, OID ' + cipher);\n }\n\n if(key === undefined) {\n key = forge.util.createBuffer(forge.random.getBytes(keyLen));\n } else if(key.length() != keyLen) {\n throw new Error('Symmetric key has wrong length; ' +\n 'got ' + key.length() + ' bytes, expected ' + keyLen + '.');\n }\n\n // Keep a copy of the key & IV in the object, so the caller can\n // use it for whatever reason.\n msg.encryptedContent.algorithm = cipher;\n msg.encryptedContent.key = key;\n msg.encryptedContent.parameter = forge.util.createBuffer(\n forge.random.getBytes(ivLen));\n\n var ciph = ciphFn(key);\n ciph.start(msg.encryptedContent.parameter.copy());\n ciph.update(msg.content);\n\n // The finish function does PKCS#7 padding by default, therefore\n // no action required by us.\n if(!ciph.finish()) {\n throw new Error('Symmetric encryption failed.');\n }\n\n msg.encryptedContent.content = ciph.output;\n }\n\n // Part 2: asymmetric encryption for each recipient\n for(var i = 0; i < msg.recipients.length; ++i) {\n var recipient = msg.recipients[i];\n\n // Nothing to do, encryption already done.\n if(recipient.encryptedContent.content !== undefined) {\n continue;\n }\n\n switch(recipient.encryptedContent.algorithm) {\n case forge.pki.oids.rsaEncryption:\n recipient.encryptedContent.content =\n recipient.encryptedContent.key.encrypt(\n msg.encryptedContent.key.data);\n break;\n\n default:\n throw new Error('Unsupported asymmetric cipher, OID ' +\n recipient.encryptedContent.algorithm);\n }\n }\n }\n };\n return msg;\n};\n\n/**\n * Converts a single recipient from an ASN.1 object.\n *\n * @param obj the ASN.1 RecipientInfo.\n *\n * @return the recipient object.\n */\nfunction _recipientFromAsn1(obj) {\n // validate EnvelopedData content block and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, p7.asn1.recipientInfoValidator, capture, errors)) {\n var error = new Error('Cannot read PKCS#7 RecipientInfo. ' +\n 'ASN.1 object is not an PKCS#7 RecipientInfo.');\n error.errors = errors;\n throw error;\n }\n\n return {\n version: capture.version.charCodeAt(0),\n issuer: forge.pki.RDNAttributesAsArray(capture.issuer),\n serialNumber: forge.util.createBuffer(capture.serial).toHex(),\n encryptedContent: {\n algorithm: asn1.derToOid(capture.encAlgorithm),\n parameter: capture.encParameter.value,\n content: capture.encKey\n }\n };\n}\n\n/**\n * Converts a single recipient object to an ASN.1 object.\n *\n * @param obj the recipient object.\n *\n * @return the ASN.1 RecipientInfo.\n */\nfunction _recipientToAsn1(obj) {\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // Version\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(obj.version).getBytes()),\n // IssuerAndSerialNumber\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // Name\n forge.pki.distinguishedNameToAsn1({attributes: obj.issuer}),\n // Serial\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n forge.util.hexToBytes(obj.serialNumber))\n ]),\n // KeyEncryptionAlgorithmIdentifier\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // Algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(obj.encryptedContent.algorithm).getBytes()),\n // Parameter, force NULL, only RSA supported for now.\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]),\n // EncryptedKey\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n obj.encryptedContent.content)\n ]);\n}\n\n/**\n * Map a set of RecipientInfo ASN.1 objects to recipient objects.\n *\n * @param infos an array of ASN.1 representations RecipientInfo (i.e. SET OF).\n *\n * @return an array of recipient objects.\n */\nfunction _recipientsFromAsn1(infos) {\n var ret = [];\n for(var i = 0; i < infos.length; ++i) {\n ret.push(_recipientFromAsn1(infos[i]));\n }\n return ret;\n}\n\n/**\n * Map an array of recipient objects to ASN.1 RecipientInfo objects.\n *\n * @param recipients an array of recipientInfo objects.\n *\n * @return an array of ASN.1 RecipientInfos.\n */\nfunction _recipientsToAsn1(recipients) {\n var ret = [];\n for(var i = 0; i < recipients.length; ++i) {\n ret.push(_recipientToAsn1(recipients[i]));\n }\n return ret;\n}\n\n/**\n * Converts a single signer from an ASN.1 object.\n *\n * @param obj the ASN.1 representation of a SignerInfo.\n *\n * @return the signer object.\n */\nfunction _signerFromAsn1(obj) {\n // validate EnvelopedData content block and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, p7.asn1.signerInfoValidator, capture, errors)) {\n var error = new Error('Cannot read PKCS#7 SignerInfo. ' +\n 'ASN.1 object is not an PKCS#7 SignerInfo.');\n error.errors = errors;\n throw error;\n }\n\n var rval = {\n version: capture.version.charCodeAt(0),\n issuer: forge.pki.RDNAttributesAsArray(capture.issuer),\n serialNumber: forge.util.createBuffer(capture.serial).toHex(),\n digestAlgorithm: asn1.derToOid(capture.digestAlgorithm),\n signatureAlgorithm: asn1.derToOid(capture.signatureAlgorithm),\n signature: capture.signature,\n authenticatedAttributes: [],\n unauthenticatedAttributes: []\n };\n\n // TODO: convert attributes\n var authenticatedAttributes = capture.authenticatedAttributes || [];\n var unauthenticatedAttributes = capture.unauthenticatedAttributes || [];\n\n return rval;\n}\n\n/**\n * Converts a single signerInfo object to an ASN.1 object.\n *\n * @param obj the signerInfo object.\n *\n * @return the ASN.1 representation of a SignerInfo.\n */\nfunction _signerToAsn1(obj) {\n // SignerInfo\n var rval = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // version\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(obj.version).getBytes()),\n // issuerAndSerialNumber\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // name\n forge.pki.distinguishedNameToAsn1({attributes: obj.issuer}),\n // serial\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n forge.util.hexToBytes(obj.serialNumber))\n ]),\n // digestAlgorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(obj.digestAlgorithm).getBytes()),\n // parameters (null)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ])\n ]);\n\n // authenticatedAttributes (OPTIONAL)\n if(obj.authenticatedAttributesAsn1) {\n // add ASN.1 previously generated during signing\n rval.value.push(obj.authenticatedAttributesAsn1);\n }\n\n // digestEncryptionAlgorithm\n rval.value.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(obj.signatureAlgorithm).getBytes()),\n // parameters (null)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]));\n\n // encryptedDigest\n rval.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, obj.signature));\n\n // unauthenticatedAttributes (OPTIONAL)\n if(obj.unauthenticatedAttributes.length > 0) {\n // [1] IMPLICIT\n var attrsAsn1 = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, []);\n for(var i = 0; i < obj.unauthenticatedAttributes.length; ++i) {\n var attr = obj.unauthenticatedAttributes[i];\n attrsAsn1.values.push(_attributeToAsn1(attr));\n }\n rval.value.push(attrsAsn1);\n }\n\n return rval;\n}\n\n/**\n * Map a set of SignerInfo ASN.1 objects to an array of signer objects.\n *\n * @param signerInfoAsn1s an array of ASN.1 SignerInfos (i.e. SET OF).\n *\n * @return an array of signers objects.\n */\nfunction _signersFromAsn1(signerInfoAsn1s) {\n var ret = [];\n for(var i = 0; i < signerInfoAsn1s.length; ++i) {\n ret.push(_signerFromAsn1(signerInfoAsn1s[i]));\n }\n return ret;\n}\n\n/**\n * Map an array of signer objects to ASN.1 objects.\n *\n * @param signers an array of signer objects.\n *\n * @return an array of ASN.1 SignerInfos.\n */\nfunction _signersToAsn1(signers) {\n var ret = [];\n for(var i = 0; i < signers.length; ++i) {\n ret.push(_signerToAsn1(signers[i]));\n }\n return ret;\n}\n\n/**\n * Convert an attribute object to an ASN.1 Attribute.\n *\n * @param attr the attribute object.\n *\n * @return the ASN.1 Attribute.\n */\nfunction _attributeToAsn1(attr) {\n var value;\n\n // TODO: generalize to support more attributes\n if(attr.type === forge.pki.oids.contentType) {\n value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(attr.value).getBytes());\n } else if(attr.type === forge.pki.oids.messageDigest) {\n value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n attr.value.bytes());\n } else if(attr.type === forge.pki.oids.signingTime) {\n /* Note per RFC 2985: Dates between 1 January 1950 and 31 December 2049\n (inclusive) MUST be encoded as UTCTime. Any dates with year values\n before 1950 or after 2049 MUST be encoded as GeneralizedTime. [Further,]\n UTCTime values MUST be expressed in Greenwich Mean Time (Zulu) and MUST\n include seconds (i.e., times are YYMMDDHHMMSSZ), even where the\n number of seconds is zero. Midnight (GMT) must be represented as\n \"YYMMDD000000Z\". */\n // TODO: make these module-level constants\n var jan_1_1950 = new Date('1950-01-01T00:00:00Z');\n var jan_1_2050 = new Date('2050-01-01T00:00:00Z');\n var date = attr.value;\n if(typeof date === 'string') {\n // try to parse date\n var timestamp = Date.parse(date);\n if(!isNaN(timestamp)) {\n date = new Date(timestamp);\n } else if(date.length === 13) {\n // YYMMDDHHMMSSZ (13 chars for UTCTime)\n date = asn1.utcTimeToDate(date);\n } else {\n // assume generalized time\n date = asn1.generalizedTimeToDate(date);\n }\n }\n\n if(date >= jan_1_1950 && date < jan_1_2050) {\n value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.UTCTIME, false,\n asn1.dateToUtcTime(date));\n } else {\n value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.GENERALIZEDTIME, false,\n asn1.dateToGeneralizedTime(date));\n }\n }\n\n // TODO: expose as common API call\n // create a RelativeDistinguishedName set\n // each value in the set is an AttributeTypeAndValue first\n // containing the type (an OID) and second the value\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // AttributeType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(attr.type).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [\n // AttributeValue\n value\n ])\n ]);\n}\n\n/**\n * Map messages encrypted content to ASN.1 objects.\n *\n * @param ec The encryptedContent object of the message.\n *\n * @return ASN.1 representation of the encryptedContent object (SEQUENCE).\n */\nfunction _encryptedContentToAsn1(ec) {\n return [\n // ContentType, always Data for the moment\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(forge.pki.oids.data).getBytes()),\n // ContentEncryptionAlgorithmIdentifier\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // Algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(ec.algorithm).getBytes()),\n // Parameters (IV)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n ec.parameter.getBytes())\n ]),\n // [0] EncryptedContent\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n ec.content.getBytes())\n ])\n ];\n}\n\n/**\n * Reads the \"common part\" of an PKCS#7 content block (in ASN.1 format)\n *\n * This function reads the \"common part\" of the PKCS#7 content blocks\n * EncryptedData and EnvelopedData, i.e. version number and symmetrically\n * encrypted content block.\n *\n * The result of the ASN.1 validate and capture process is returned\n * to allow the caller to extract further data, e.g. the list of recipients\n * in case of a EnvelopedData object.\n *\n * @param msg the PKCS#7 object to read the data to.\n * @param obj the ASN.1 representation of the content block.\n * @param validator the ASN.1 structure validator object to use.\n *\n * @return the value map captured by validator object.\n */\nfunction _fromAsn1(msg, obj, validator) {\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, validator, capture, errors)) {\n var error = new Error('Cannot read PKCS#7 message. ' +\n 'ASN.1 object is not a supported PKCS#7 message.');\n error.errors = error;\n throw error;\n }\n\n // Check contentType, so far we only support (raw) Data.\n var contentType = asn1.derToOid(capture.contentType);\n if(contentType !== forge.pki.oids.data) {\n throw new Error('Unsupported PKCS#7 message. ' +\n 'Only wrapped ContentType Data supported.');\n }\n\n if(capture.encryptedContent) {\n var content = '';\n if(forge.util.isArray(capture.encryptedContent)) {\n for(var i = 0; i < capture.encryptedContent.length; ++i) {\n if(capture.encryptedContent[i].type !== asn1.Type.OCTETSTRING) {\n throw new Error('Malformed PKCS#7 message, expecting encrypted ' +\n 'content constructed of only OCTET STRING objects.');\n }\n content += capture.encryptedContent[i].value;\n }\n } else {\n content = capture.encryptedContent;\n }\n msg.encryptedContent = {\n algorithm: asn1.derToOid(capture.encAlgorithm),\n parameter: forge.util.createBuffer(capture.encParameter.value),\n content: forge.util.createBuffer(content)\n };\n }\n\n if(capture.content) {\n var content = '';\n if(forge.util.isArray(capture.content)) {\n for(var i = 0; i < capture.content.length; ++i) {\n if(capture.content[i].type !== asn1.Type.OCTETSTRING) {\n throw new Error('Malformed PKCS#7 message, expecting ' +\n 'content constructed of only OCTET STRING objects.');\n }\n content += capture.content[i].value;\n }\n } else {\n content = capture.content;\n }\n msg.content = forge.util.createBuffer(content);\n }\n\n msg.version = capture.version.charCodeAt(0);\n msg.rawCapture = capture;\n\n return capture;\n}\n\n/**\n * Decrypt the symmetrically encrypted content block of the PKCS#7 message.\n *\n * Decryption is skipped in case the PKCS#7 message object already has a\n * (decrypted) content attribute. The algorithm, key and cipher parameters\n * (probably the iv) are taken from the encryptedContent attribute of the\n * message object.\n *\n * @param The PKCS#7 message object.\n */\nfunction _decryptContent(msg) {\n if(msg.encryptedContent.key === undefined) {\n throw new Error('Symmetric key not available.');\n }\n\n if(msg.content === undefined) {\n var ciph;\n\n switch(msg.encryptedContent.algorithm) {\n case forge.pki.oids['aes128-CBC']:\n case forge.pki.oids['aes192-CBC']:\n case forge.pki.oids['aes256-CBC']:\n ciph = forge.aes.createDecryptionCipher(msg.encryptedContent.key);\n break;\n\n case forge.pki.oids['desCBC']:\n case forge.pki.oids['des-EDE3-CBC']:\n ciph = forge.des.createDecryptionCipher(msg.encryptedContent.key);\n break;\n\n default:\n throw new Error('Unsupported symmetric cipher, OID ' +\n msg.encryptedContent.algorithm);\n }\n ciph.start(msg.encryptedContent.parameter);\n ciph.update(msg.encryptedContent.content);\n\n if(!ciph.finish()) {\n throw new Error('Symmetric decryption failed.');\n }\n\n msg.content = ciph.output;\n }\n}\n","/**\n * Javascript implementation of ASN.1 validators for PKCS#7 v1.5.\n *\n * @author Dave Longley\n * @author Stefan Siegl\n *\n * Copyright (c) 2012-2015 Digital Bazaar, Inc.\n * Copyright (c) 2012 Stefan Siegl \n *\n * The ASN.1 representation of PKCS#7 is as follows\n * (see RFC #2315 for details, http://www.ietf.org/rfc/rfc2315.txt):\n *\n * A PKCS#7 message consists of a ContentInfo on root level, which may\n * contain any number of further ContentInfo nested into it.\n *\n * ContentInfo ::= SEQUENCE {\n * contentType ContentType,\n * content [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL\n * }\n *\n * ContentType ::= OBJECT IDENTIFIER\n *\n * EnvelopedData ::= SEQUENCE {\n * version Version,\n * recipientInfos RecipientInfos,\n * encryptedContentInfo EncryptedContentInfo\n * }\n *\n * EncryptedData ::= SEQUENCE {\n * version Version,\n * encryptedContentInfo EncryptedContentInfo\n * }\n *\n * id-signedData OBJECT IDENTIFIER ::= { iso(1) member-body(2)\n * us(840) rsadsi(113549) pkcs(1) pkcs7(7) 2 }\n *\n * SignedData ::= SEQUENCE {\n * version INTEGER,\n * digestAlgorithms DigestAlgorithmIdentifiers,\n * contentInfo ContentInfo,\n * certificates [0] IMPLICIT Certificates OPTIONAL,\n * crls [1] IMPLICIT CertificateRevocationLists OPTIONAL,\n * signerInfos SignerInfos\n * }\n *\n * SignerInfos ::= SET OF SignerInfo\n *\n * SignerInfo ::= SEQUENCE {\n * version Version,\n * issuerAndSerialNumber IssuerAndSerialNumber,\n * digestAlgorithm DigestAlgorithmIdentifier,\n * authenticatedAttributes [0] IMPLICIT Attributes OPTIONAL,\n * digestEncryptionAlgorithm DigestEncryptionAlgorithmIdentifier,\n * encryptedDigest EncryptedDigest,\n * unauthenticatedAttributes [1] IMPLICIT Attributes OPTIONAL\n * }\n *\n * EncryptedDigest ::= OCTET STRING\n *\n * Attributes ::= SET OF Attribute\n *\n * Attribute ::= SEQUENCE {\n * attrType OBJECT IDENTIFIER,\n * attrValues SET OF AttributeValue\n * }\n *\n * AttributeValue ::= ANY\n *\n * Version ::= INTEGER\n *\n * RecipientInfos ::= SET OF RecipientInfo\n *\n * EncryptedContentInfo ::= SEQUENCE {\n * contentType ContentType,\n * contentEncryptionAlgorithm ContentEncryptionAlgorithmIdentifier,\n * encryptedContent [0] IMPLICIT EncryptedContent OPTIONAL\n * }\n *\n * ContentEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier\n *\n * The AlgorithmIdentifier contains an Object Identifier (OID) and parameters\n * for the algorithm, if any. In the case of AES and DES3, there is only one,\n * the IV.\n *\n * AlgorithmIdentifer ::= SEQUENCE {\n * algorithm OBJECT IDENTIFIER,\n * parameters ANY DEFINED BY algorithm OPTIONAL\n * }\n *\n * EncryptedContent ::= OCTET STRING\n *\n * RecipientInfo ::= SEQUENCE {\n * version Version,\n * issuerAndSerialNumber IssuerAndSerialNumber,\n * keyEncryptionAlgorithm KeyEncryptionAlgorithmIdentifier,\n * encryptedKey EncryptedKey\n * }\n *\n * IssuerAndSerialNumber ::= SEQUENCE {\n * issuer Name,\n * serialNumber CertificateSerialNumber\n * }\n *\n * CertificateSerialNumber ::= INTEGER\n *\n * KeyEncryptionAlgorithmIdentifier ::= AlgorithmIdentifier\n *\n * EncryptedKey ::= OCTET STRING\n */\nvar forge = require('./forge');\nrequire('./asn1');\nrequire('./util');\n\n// shortcut for ASN.1 API\nvar asn1 = forge.asn1;\n\n// shortcut for PKCS#7 API\nvar p7v = module.exports = forge.pkcs7asn1 = forge.pkcs7asn1 || {};\nforge.pkcs7 = forge.pkcs7 || {};\nforge.pkcs7.asn1 = p7v;\n\nvar contentInfoValidator = {\n name: 'ContentInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'ContentInfo.ContentType',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'contentType'\n }, {\n name: 'ContentInfo.content',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n constructed: true,\n optional: true,\n captureAsn1: 'content'\n }]\n};\np7v.contentInfoValidator = contentInfoValidator;\n\nvar encryptedContentInfoValidator = {\n name: 'EncryptedContentInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'EncryptedContentInfo.contentType',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'contentType'\n }, {\n name: 'EncryptedContentInfo.contentEncryptionAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'EncryptedContentInfo.contentEncryptionAlgorithm.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'encAlgorithm'\n }, {\n name: 'EncryptedContentInfo.contentEncryptionAlgorithm.parameter',\n tagClass: asn1.Class.UNIVERSAL,\n captureAsn1: 'encParameter'\n }]\n }, {\n name: 'EncryptedContentInfo.encryptedContent',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n /* The PKCS#7 structure output by OpenSSL somewhat differs from what\n * other implementations do generate.\n *\n * OpenSSL generates a structure like this:\n * SEQUENCE {\n * ...\n * [0]\n * 26 DA 67 D2 17 9C 45 3C B1 2A A8 59 2F 29 33 38\n * C3 C3 DF 86 71 74 7A 19 9F 40 D0 29 BE 85 90 45\n * ...\n * }\n *\n * Whereas other implementations (and this PKCS#7 module) generate:\n * SEQUENCE {\n * ...\n * [0] {\n * OCTET STRING\n * 26 DA 67 D2 17 9C 45 3C B1 2A A8 59 2F 29 33 38\n * C3 C3 DF 86 71 74 7A 19 9F 40 D0 29 BE 85 90 45\n * ...\n * }\n * }\n *\n * In order to support both, we just capture the context specific\n * field here. The OCTET STRING bit is removed below.\n */\n capture: 'encryptedContent',\n captureAsn1: 'encryptedContentAsn1'\n }]\n};\n\np7v.envelopedDataValidator = {\n name: 'EnvelopedData',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'EnvelopedData.Version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'version'\n }, {\n name: 'EnvelopedData.RecipientInfos',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SET,\n constructed: true,\n captureAsn1: 'recipientInfos'\n }].concat(encryptedContentInfoValidator)\n};\n\np7v.encryptedDataValidator = {\n name: 'EncryptedData',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'EncryptedData.Version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'version'\n }].concat(encryptedContentInfoValidator)\n};\n\nvar signerValidator = {\n name: 'SignerInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'SignerInfo.version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false\n }, {\n name: 'SignerInfo.issuerAndSerialNumber',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'SignerInfo.issuerAndSerialNumber.issuer',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'issuer'\n }, {\n name: 'SignerInfo.issuerAndSerialNumber.serialNumber',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'serial'\n }]\n }, {\n name: 'SignerInfo.digestAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'SignerInfo.digestAlgorithm.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'digestAlgorithm'\n }, {\n name: 'SignerInfo.digestAlgorithm.parameter',\n tagClass: asn1.Class.UNIVERSAL,\n constructed: false,\n captureAsn1: 'digestParameter',\n optional: true\n }]\n }, {\n name: 'SignerInfo.authenticatedAttributes',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n constructed: true,\n optional: true,\n capture: 'authenticatedAttributes'\n }, {\n name: 'SignerInfo.digestEncryptionAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n capture: 'signatureAlgorithm'\n }, {\n name: 'SignerInfo.encryptedDigest',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'signature'\n }, {\n name: 'SignerInfo.unauthenticatedAttributes',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 1,\n constructed: true,\n optional: true,\n capture: 'unauthenticatedAttributes'\n }]\n};\n\np7v.signedDataValidator = {\n name: 'SignedData',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'SignedData.Version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'version'\n }, {\n name: 'SignedData.DigestAlgorithms',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SET,\n constructed: true,\n captureAsn1: 'digestAlgorithms'\n },\n contentInfoValidator,\n {\n name: 'SignedData.Certificates',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n optional: true,\n captureAsn1: 'certificates'\n }, {\n name: 'SignedData.CertificateRevocationLists',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 1,\n optional: true,\n captureAsn1: 'crls'\n }, {\n name: 'SignedData.SignerInfos',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SET,\n capture: 'signerInfos',\n optional: true,\n value: [signerValidator]\n }]\n};\n\np7v.recipientInfoValidator = {\n name: 'RecipientInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'RecipientInfo.version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'version'\n }, {\n name: 'RecipientInfo.issuerAndSerial',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'RecipientInfo.issuerAndSerial.issuer',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'issuer'\n }, {\n name: 'RecipientInfo.issuerAndSerial.serialNumber',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'serial'\n }]\n }, {\n name: 'RecipientInfo.keyEncryptionAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'RecipientInfo.keyEncryptionAlgorithm.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'encAlgorithm'\n }, {\n name: 'RecipientInfo.keyEncryptionAlgorithm.parameter',\n tagClass: asn1.Class.UNIVERSAL,\n constructed: false,\n captureAsn1: 'encParameter'\n }]\n }, {\n name: 'RecipientInfo.encryptedKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'encKey'\n }]\n};\n","/**\n * Javascript implementation of a basic Public Key Infrastructure, including\n * support for RSA public and private keys.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2013 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./asn1');\nrequire('./oids');\nrequire('./pbe');\nrequire('./pem');\nrequire('./pbkdf2');\nrequire('./pkcs12');\nrequire('./pss');\nrequire('./rsa');\nrequire('./util');\nrequire('./x509');\n\n// shortcut for asn.1 API\nvar asn1 = forge.asn1;\n\n/* Public Key Infrastructure (PKI) implementation. */\nvar pki = module.exports = forge.pki = forge.pki || {};\n\n/**\n * NOTE: THIS METHOD IS DEPRECATED. Use pem.decode() instead.\n *\n * Converts PEM-formatted data to DER.\n *\n * @param pem the PEM-formatted data.\n *\n * @return the DER-formatted data.\n */\npki.pemToDer = function(pem) {\n var msg = forge.pem.decode(pem)[0];\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert PEM to DER; PEM is encrypted.');\n }\n return forge.util.createBuffer(msg.body);\n};\n\n/**\n * Converts an RSA private key from PEM format.\n *\n * @param pem the PEM-formatted private key.\n *\n * @return the private key.\n */\npki.privateKeyFromPem = function(pem) {\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'PRIVATE KEY' && msg.type !== 'RSA PRIVATE KEY') {\n var error = new Error('Could not convert private key from PEM; PEM ' +\n 'header type is not \"PRIVATE KEY\" or \"RSA PRIVATE KEY\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert private key from PEM; PEM is encrypted.');\n }\n\n // convert DER to ASN.1 object\n var obj = asn1.fromDer(msg.body);\n\n return pki.privateKeyFromAsn1(obj);\n};\n\n/**\n * Converts an RSA private key to PEM format.\n *\n * @param key the private key.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted private key.\n */\npki.privateKeyToPem = function(key, maxline) {\n // convert to ASN.1, then DER, then PEM-encode\n var msg = {\n type: 'RSA PRIVATE KEY',\n body: asn1.toDer(pki.privateKeyToAsn1(key)).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n\n/**\n * Converts a PrivateKeyInfo to PEM format.\n *\n * @param pki the PrivateKeyInfo.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted private key.\n */\npki.privateKeyInfoToPem = function(pki, maxline) {\n // convert to DER, then PEM-encode\n var msg = {\n type: 'PRIVATE KEY',\n body: asn1.toDer(pki).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n","/**\n * Prime number generation API.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\nrequire('./jsbn');\nrequire('./random');\n\n(function() {\n\n// forge.prime already defined\nif(forge.prime) {\n module.exports = forge.prime;\n return;\n}\n\n/* PRIME API */\nvar prime = module.exports = forge.prime = forge.prime || {};\n\nvar BigInteger = forge.jsbn.BigInteger;\n\n// primes are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29\nvar GCD_30_DELTA = [6, 4, 2, 4, 2, 4, 6, 2];\nvar THIRTY = new BigInteger(null);\nTHIRTY.fromInt(30);\nvar op_or = function(x, y) {return x|y;};\n\n/**\n * Generates a random probable prime with the given number of bits.\n *\n * Alternative algorithms can be specified by name as a string or as an\n * object with custom options like so:\n *\n * {\n * name: 'PRIMEINC',\n * options: {\n * maxBlockTime: ,\n * millerRabinTests: ,\n * workerScript: ,\n * workers: .\n * workLoad: the size of the work load, ie: number of possible prime\n * numbers for each web worker to check per work assignment,\n * (default: 100).\n * }\n * }\n *\n * @param bits the number of bits for the prime number.\n * @param options the options to use.\n * [algorithm] the algorithm to use (default: 'PRIMEINC').\n * [prng] a custom crypto-secure pseudo-random number generator to use,\n * that must define \"getBytesSync\".\n *\n * @return callback(err, num) called once the operation completes.\n */\nprime.generateProbablePrime = function(bits, options, callback) {\n if(typeof options === 'function') {\n callback = options;\n options = {};\n }\n options = options || {};\n\n // default to PRIMEINC algorithm\n var algorithm = options.algorithm || 'PRIMEINC';\n if(typeof algorithm === 'string') {\n algorithm = {name: algorithm};\n }\n algorithm.options = algorithm.options || {};\n\n // create prng with api that matches BigInteger secure random\n var prng = options.prng || forge.random;\n var rng = {\n // x is an array to fill with bytes\n nextBytes: function(x) {\n var b = prng.getBytesSync(x.length);\n for(var i = 0; i < x.length; ++i) {\n x[i] = b.charCodeAt(i);\n }\n }\n };\n\n if(algorithm.name === 'PRIMEINC') {\n return primeincFindPrime(bits, rng, algorithm.options, callback);\n }\n\n throw new Error('Invalid prime generation algorithm: ' + algorithm.name);\n};\n\nfunction primeincFindPrime(bits, rng, options, callback) {\n if('workers' in options) {\n return primeincFindPrimeWithWorkers(bits, rng, options, callback);\n }\n return primeincFindPrimeWithoutWorkers(bits, rng, options, callback);\n}\n\nfunction primeincFindPrimeWithoutWorkers(bits, rng, options, callback) {\n // initialize random number\n var num = generateRandom(bits, rng);\n\n /* Note: All primes are of the form 30k+i for i < 30 and gcd(30, i)=1. The\n number we are given is always aligned at 30k + 1. Each time the number is\n determined not to be prime we add to get to the next 'i', eg: if the number\n was at 30k + 1 we add 6. */\n var deltaIdx = 0;\n\n // get required number of MR tests\n var mrTests = getMillerRabinTests(num.bitLength());\n if('millerRabinTests' in options) {\n mrTests = options.millerRabinTests;\n }\n\n // find prime nearest to 'num' for maxBlockTime ms\n // 10 ms gives 5ms of leeway for other calculations before dropping\n // below 60fps (1000/60 == 16.67), but in reality, the number will\n // likely be higher due to an 'atomic' big int modPow\n var maxBlockTime = 10;\n if('maxBlockTime' in options) {\n maxBlockTime = options.maxBlockTime;\n }\n\n _primeinc(num, bits, rng, deltaIdx, mrTests, maxBlockTime, callback);\n}\n\nfunction _primeinc(num, bits, rng, deltaIdx, mrTests, maxBlockTime, callback) {\n var start = +new Date();\n do {\n // overflow, regenerate random number\n if(num.bitLength() > bits) {\n num = generateRandom(bits, rng);\n }\n // do primality test\n if(num.isProbablePrime(mrTests)) {\n return callback(null, num);\n }\n // get next potential prime\n num.dAddOffset(GCD_30_DELTA[deltaIdx++ % 8], 0);\n } while(maxBlockTime < 0 || (+new Date() - start < maxBlockTime));\n\n // keep trying later\n forge.util.setImmediate(function() {\n _primeinc(num, bits, rng, deltaIdx, mrTests, maxBlockTime, callback);\n });\n}\n\n// NOTE: This algorithm is indeterminate in nature because workers\n// run in parallel looking at different segments of numbers. Even if this\n// algorithm is run twice with the same input from a predictable RNG, it\n// may produce different outputs.\nfunction primeincFindPrimeWithWorkers(bits, rng, options, callback) {\n // web workers unavailable\n if(typeof Worker === 'undefined') {\n return primeincFindPrimeWithoutWorkers(bits, rng, options, callback);\n }\n\n // initialize random number\n var num = generateRandom(bits, rng);\n\n // use web workers to generate keys\n var numWorkers = options.workers;\n var workLoad = options.workLoad || 100;\n var range = workLoad * 30 / 8;\n var workerScript = options.workerScript || 'forge/prime.worker.js';\n if(numWorkers === -1) {\n return forge.util.estimateCores(function(err, cores) {\n if(err) {\n // default to 2\n cores = 2;\n }\n numWorkers = cores - 1;\n generate();\n });\n }\n generate();\n\n function generate() {\n // require at least 1 worker\n numWorkers = Math.max(1, numWorkers);\n\n // TODO: consider optimizing by starting workers outside getPrime() ...\n // note that in order to clean up they will have to be made internally\n // asynchronous which may actually be slower\n\n // start workers immediately\n var workers = [];\n for(var i = 0; i < numWorkers; ++i) {\n // FIXME: fix path or use blob URLs\n workers[i] = new Worker(workerScript);\n }\n var running = numWorkers;\n\n // listen for requests from workers and assign ranges to find prime\n for(var i = 0; i < numWorkers; ++i) {\n workers[i].addEventListener('message', workerMessage);\n }\n\n /* Note: The distribution of random numbers is unknown. Therefore, each\n web worker is continuously allocated a range of numbers to check for a\n random number until one is found.\n\n Every 30 numbers will be checked just 8 times, because prime numbers\n have the form:\n\n 30k+i, for i < 30 and gcd(30, i)=1 (there are 8 values of i for this)\n\n Therefore, if we want a web worker to run N checks before asking for\n a new range of numbers, each range must contain N*30/8 numbers.\n\n For 100 checks (workLoad), this is a range of 375. */\n\n var found = false;\n function workerMessage(e) {\n // ignore message, prime already found\n if(found) {\n return;\n }\n\n --running;\n var data = e.data;\n if(data.found) {\n // terminate all workers\n for(var i = 0; i < workers.length; ++i) {\n workers[i].terminate();\n }\n found = true;\n return callback(null, new BigInteger(data.prime, 16));\n }\n\n // overflow, regenerate random number\n if(num.bitLength() > bits) {\n num = generateRandom(bits, rng);\n }\n\n // assign new range to check\n var hex = num.toString(16);\n\n // start prime search\n e.target.postMessage({\n hex: hex,\n workLoad: workLoad\n });\n\n num.dAddOffset(range, 0);\n }\n }\n}\n\n/**\n * Generates a random number using the given number of bits and RNG.\n *\n * @param bits the number of bits for the number.\n * @param rng the random number generator to use.\n *\n * @return the random number.\n */\nfunction generateRandom(bits, rng) {\n var num = new BigInteger(bits, rng);\n // force MSB set\n var bits1 = bits - 1;\n if(!num.testBit(bits1)) {\n num.bitwiseTo(BigInteger.ONE.shiftLeft(bits1), op_or, num);\n }\n // align number on 30k+1 boundary\n num.dAddOffset(31 - num.mod(THIRTY).byteValue(), 0);\n return num;\n}\n\n/**\n * Returns the required number of Miller-Rabin tests to generate a\n * prime with an error probability of (1/2)^80.\n *\n * See Handbook of Applied Cryptography Chapter 4, Table 4.4.\n *\n * @param bits the bit size.\n *\n * @return the required number of iterations.\n */\nfunction getMillerRabinTests(bits) {\n if(bits <= 100) return 27;\n if(bits <= 150) return 18;\n if(bits <= 200) return 15;\n if(bits <= 250) return 12;\n if(bits <= 300) return 9;\n if(bits <= 350) return 8;\n if(bits <= 400) return 7;\n if(bits <= 500) return 6;\n if(bits <= 600) return 5;\n if(bits <= 800) return 4;\n if(bits <= 1250) return 3;\n return 2;\n}\n\n})();\n","/**\n * A javascript implementation of a cryptographically-secure\n * Pseudo Random Number Generator (PRNG). The Fortuna algorithm is followed\n * here though the use of SHA-256 is not enforced; when generating an\n * a PRNG context, the hashing algorithm and block cipher used for\n * the generator are specified via a plugin.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./util');\n\nvar _crypto = null;\nif(forge.util.isNodejs && !forge.options.usePureJavaScript &&\n !process.versions['node-webkit']) {\n _crypto = require('crypto');\n}\n\n/* PRNG API */\nvar prng = module.exports = forge.prng = forge.prng || {};\n\n/**\n * Creates a new PRNG context.\n *\n * A PRNG plugin must be passed in that will provide:\n *\n * 1. A function that initializes the key and seed of a PRNG context. It\n * will be given a 16 byte key and a 16 byte seed. Any key expansion\n * or transformation of the seed from a byte string into an array of\n * integers (or similar) should be performed.\n * 2. The cryptographic function used by the generator. It takes a key and\n * a seed.\n * 3. A seed increment function. It takes the seed and returns seed + 1.\n * 4. An api to create a message digest.\n *\n * For an example, see random.js.\n *\n * @param plugin the PRNG plugin to use.\n */\nprng.create = function(plugin) {\n var ctx = {\n plugin: plugin,\n key: null,\n seed: null,\n time: null,\n // number of reseeds so far\n reseeds: 0,\n // amount of data generated so far\n generated: 0,\n // no initial key bytes\n keyBytes: ''\n };\n\n // create 32 entropy pools (each is a message digest)\n var md = plugin.md;\n var pools = new Array(32);\n for(var i = 0; i < 32; ++i) {\n pools[i] = md.create();\n }\n ctx.pools = pools;\n\n // entropy pools are written to cyclically, starting at index 0\n ctx.pool = 0;\n\n /**\n * Generates random bytes. The bytes may be generated synchronously or\n * asynchronously. Web workers must use the asynchronous interface or\n * else the behavior is undefined.\n *\n * @param count the number of random bytes to generate.\n * @param [callback(err, bytes)] called once the operation completes.\n *\n * @return count random bytes as a string.\n */\n ctx.generate = function(count, callback) {\n // do synchronously\n if(!callback) {\n return ctx.generateSync(count);\n }\n\n // simple generator using counter-based CBC\n var cipher = ctx.plugin.cipher;\n var increment = ctx.plugin.increment;\n var formatKey = ctx.plugin.formatKey;\n var formatSeed = ctx.plugin.formatSeed;\n var b = forge.util.createBuffer();\n\n // paranoid deviation from Fortuna:\n // reset key for every request to protect previously\n // generated random bytes should the key be discovered;\n // there is no 100ms based reseeding because of this\n // forced reseed for every `generate` call\n ctx.key = null;\n\n generate();\n\n function generate(err) {\n if(err) {\n return callback(err);\n }\n\n // sufficient bytes generated\n if(b.length() >= count) {\n return callback(null, b.getBytes(count));\n }\n\n // if amount of data generated is greater than 1 MiB, trigger reseed\n if(ctx.generated > 0xfffff) {\n ctx.key = null;\n }\n\n if(ctx.key === null) {\n // prevent stack overflow\n return forge.util.nextTick(function() {\n _reseed(generate);\n });\n }\n\n // generate the random bytes\n var bytes = cipher(ctx.key, ctx.seed);\n ctx.generated += bytes.length;\n b.putBytes(bytes);\n\n // generate bytes for a new key and seed\n ctx.key = formatKey(cipher(ctx.key, increment(ctx.seed)));\n ctx.seed = formatSeed(cipher(ctx.key, ctx.seed));\n\n forge.util.setImmediate(generate);\n }\n };\n\n /**\n * Generates random bytes synchronously.\n *\n * @param count the number of random bytes to generate.\n *\n * @return count random bytes as a string.\n */\n ctx.generateSync = function(count) {\n // simple generator using counter-based CBC\n var cipher = ctx.plugin.cipher;\n var increment = ctx.plugin.increment;\n var formatKey = ctx.plugin.formatKey;\n var formatSeed = ctx.plugin.formatSeed;\n\n // paranoid deviation from Fortuna:\n // reset key for every request to protect previously\n // generated random bytes should the key be discovered;\n // there is no 100ms based reseeding because of this\n // forced reseed for every `generateSync` call\n ctx.key = null;\n\n var b = forge.util.createBuffer();\n while(b.length() < count) {\n // if amount of data generated is greater than 1 MiB, trigger reseed\n if(ctx.generated > 0xfffff) {\n ctx.key = null;\n }\n\n if(ctx.key === null) {\n _reseedSync();\n }\n\n // generate the random bytes\n var bytes = cipher(ctx.key, ctx.seed);\n ctx.generated += bytes.length;\n b.putBytes(bytes);\n\n // generate bytes for a new key and seed\n ctx.key = formatKey(cipher(ctx.key, increment(ctx.seed)));\n ctx.seed = formatSeed(cipher(ctx.key, ctx.seed));\n }\n\n return b.getBytes(count);\n };\n\n /**\n * Private function that asynchronously reseeds a generator.\n *\n * @param callback(err) called once the operation completes.\n */\n function _reseed(callback) {\n if(ctx.pools[0].messageLength >= 32) {\n _seed();\n return callback();\n }\n // not enough seed data...\n var needed = (32 - ctx.pools[0].messageLength) << 5;\n ctx.seedFile(needed, function(err, bytes) {\n if(err) {\n return callback(err);\n }\n ctx.collect(bytes);\n _seed();\n callback();\n });\n }\n\n /**\n * Private function that synchronously reseeds a generator.\n */\n function _reseedSync() {\n if(ctx.pools[0].messageLength >= 32) {\n return _seed();\n }\n // not enough seed data...\n var needed = (32 - ctx.pools[0].messageLength) << 5;\n ctx.collect(ctx.seedFileSync(needed));\n _seed();\n }\n\n /**\n * Private function that seeds a generator once enough bytes are available.\n */\n function _seed() {\n // update reseed count\n ctx.reseeds = (ctx.reseeds === 0xffffffff) ? 0 : ctx.reseeds + 1;\n\n // goal is to update `key` via:\n // key = hash(key + s)\n // where 's' is all collected entropy from selected pools, then...\n\n // create a plugin-based message digest\n var md = ctx.plugin.md.create();\n\n // consume current key bytes\n md.update(ctx.keyBytes);\n\n // digest the entropy of pools whose index k meet the\n // condition 'n mod 2^k == 0' where n is the number of reseeds\n var _2powK = 1;\n for(var k = 0; k < 32; ++k) {\n if(ctx.reseeds % _2powK === 0) {\n md.update(ctx.pools[k].digest().getBytes());\n ctx.pools[k].start();\n }\n _2powK = _2powK << 1;\n }\n\n // get digest for key bytes\n ctx.keyBytes = md.digest().getBytes();\n\n // paranoid deviation from Fortuna:\n // update `seed` via `seed = hash(key)`\n // instead of initializing to zero once and only\n // ever incrementing it\n md.start();\n md.update(ctx.keyBytes);\n var seedBytes = md.digest().getBytes();\n\n // update state\n ctx.key = ctx.plugin.formatKey(ctx.keyBytes);\n ctx.seed = ctx.plugin.formatSeed(seedBytes);\n ctx.generated = 0;\n }\n\n /**\n * The built-in default seedFile. This seedFile is used when entropy\n * is needed immediately.\n *\n * @param needed the number of bytes that are needed.\n *\n * @return the random bytes.\n */\n function defaultSeedFile(needed) {\n // use window.crypto.getRandomValues strong source of entropy if available\n var getRandomValues = null;\n var globalScope = forge.util.globalScope;\n var _crypto = globalScope.crypto || globalScope.msCrypto;\n if(_crypto && _crypto.getRandomValues) {\n getRandomValues = function(arr) {\n return _crypto.getRandomValues(arr);\n };\n }\n\n var b = forge.util.createBuffer();\n if(getRandomValues) {\n while(b.length() < needed) {\n // max byte length is 65536 before QuotaExceededError is thrown\n // http://www.w3.org/TR/WebCryptoAPI/#RandomSource-method-getRandomValues\n var count = Math.max(1, Math.min(needed - b.length(), 65536) / 4);\n var entropy = new Uint32Array(Math.floor(count));\n try {\n getRandomValues(entropy);\n for(var i = 0; i < entropy.length; ++i) {\n b.putInt32(entropy[i]);\n }\n } catch(e) {\n /* only ignore QuotaExceededError */\n if(!(typeof QuotaExceededError !== 'undefined' &&\n e instanceof QuotaExceededError)) {\n throw e;\n }\n }\n }\n }\n\n // be sad and add some weak random data\n if(b.length() < needed) {\n /* Draws from Park-Miller \"minimal standard\" 31 bit PRNG,\n implemented with David G. Carta's optimization: with 32 bit math\n and without division (Public Domain). */\n var hi, lo, next;\n var seed = Math.floor(Math.random() * 0x010000);\n while(b.length() < needed) {\n lo = 16807 * (seed & 0xFFFF);\n hi = 16807 * (seed >> 16);\n lo += (hi & 0x7FFF) << 16;\n lo += hi >> 15;\n lo = (lo & 0x7FFFFFFF) + (lo >> 31);\n seed = lo & 0xFFFFFFFF;\n\n // consume lower 3 bytes of seed\n for(var i = 0; i < 3; ++i) {\n // throw in more pseudo random\n next = seed >>> (i << 3);\n next ^= Math.floor(Math.random() * 0x0100);\n b.putByte(String.fromCharCode(next & 0xFF));\n }\n }\n }\n\n return b.getBytes(needed);\n }\n // initialize seed file APIs\n if(_crypto) {\n // use nodejs async API\n ctx.seedFile = function(needed, callback) {\n _crypto.randomBytes(needed, function(err, bytes) {\n if(err) {\n return callback(err);\n }\n callback(null, bytes.toString());\n });\n };\n // use nodejs sync API\n ctx.seedFileSync = function(needed) {\n return _crypto.randomBytes(needed).toString();\n };\n } else {\n ctx.seedFile = function(needed, callback) {\n try {\n callback(null, defaultSeedFile(needed));\n } catch(e) {\n callback(e);\n }\n };\n ctx.seedFileSync = defaultSeedFile;\n }\n\n /**\n * Adds entropy to a prng ctx's accumulator.\n *\n * @param bytes the bytes of entropy as a string.\n */\n ctx.collect = function(bytes) {\n // iterate over pools distributing entropy cyclically\n var count = bytes.length;\n for(var i = 0; i < count; ++i) {\n ctx.pools[ctx.pool].update(bytes.substr(i, 1));\n ctx.pool = (ctx.pool === 31) ? 0 : ctx.pool + 1;\n }\n };\n\n /**\n * Collects an integer of n bits.\n *\n * @param i the integer entropy.\n * @param n the number of bits in the integer.\n */\n ctx.collectInt = function(i, n) {\n var bytes = '';\n for(var x = 0; x < n; x += 8) {\n bytes += String.fromCharCode((i >> x) & 0xFF);\n }\n ctx.collect(bytes);\n };\n\n /**\n * Registers a Web Worker to receive immediate entropy from the main thread.\n * This method is required until Web Workers can access the native crypto\n * API. This method should be called twice for each created worker, once in\n * the main thread, and once in the worker itself.\n *\n * @param worker the worker to register.\n */\n ctx.registerWorker = function(worker) {\n // worker receives random bytes\n if(worker === self) {\n ctx.seedFile = function(needed, callback) {\n function listener(e) {\n var data = e.data;\n if(data.forge && data.forge.prng) {\n self.removeEventListener('message', listener);\n callback(data.forge.prng.err, data.forge.prng.bytes);\n }\n }\n self.addEventListener('message', listener);\n self.postMessage({forge: {prng: {needed: needed}}});\n };\n } else {\n // main thread sends random bytes upon request\n var listener = function(e) {\n var data = e.data;\n if(data.forge && data.forge.prng) {\n ctx.seedFile(data.forge.prng.needed, function(err, bytes) {\n worker.postMessage({forge: {prng: {err: err, bytes: bytes}}});\n });\n }\n };\n // TODO: do we need to remove the event listener when the worker dies?\n worker.addEventListener('message', listener);\n }\n };\n\n return ctx;\n};\n","/**\n * Javascript implementation of PKCS#1 PSS signature padding.\n *\n * @author Stefan Siegl\n *\n * Copyright (c) 2012 Stefan Siegl \n */\nvar forge = require('./forge');\nrequire('./random');\nrequire('./util');\n\n// shortcut for PSS API\nvar pss = module.exports = forge.pss = forge.pss || {};\n\n/**\n * Creates a PSS signature scheme object.\n *\n * There are several ways to provide a salt for encoding:\n *\n * 1. Specify the saltLength only and the built-in PRNG will generate it.\n * 2. Specify the saltLength and a custom PRNG with 'getBytesSync' defined that\n * will be used.\n * 3. Specify the salt itself as a forge.util.ByteBuffer.\n *\n * @param options the options to use:\n * md the message digest object to use, a forge md instance.\n * mgf the mask generation function to use, a forge mgf instance.\n * [saltLength] the length of the salt in octets.\n * [prng] the pseudo-random number generator to use to produce a salt.\n * [salt] the salt to use when encoding.\n *\n * @return a signature scheme object.\n */\npss.create = function(options) {\n // backwards compatibility w/legacy args: hash, mgf, sLen\n if(arguments.length === 3) {\n options = {\n md: arguments[0],\n mgf: arguments[1],\n saltLength: arguments[2]\n };\n }\n\n var hash = options.md;\n var mgf = options.mgf;\n var hLen = hash.digestLength;\n\n var salt_ = options.salt || null;\n if(typeof salt_ === 'string') {\n // assume binary-encoded string\n salt_ = forge.util.createBuffer(salt_);\n }\n\n var sLen;\n if('saltLength' in options) {\n sLen = options.saltLength;\n } else if(salt_ !== null) {\n sLen = salt_.length();\n } else {\n throw new Error('Salt length not specified or specific salt not given.');\n }\n\n if(salt_ !== null && salt_.length() !== sLen) {\n throw new Error('Given salt length does not match length of given salt.');\n }\n\n var prng = options.prng || forge.random;\n\n var pssobj = {};\n\n /**\n * Encodes a PSS signature.\n *\n * This function implements EMSA-PSS-ENCODE as per RFC 3447, section 9.1.1.\n *\n * @param md the message digest object with the hash to sign.\n * @param modsBits the length of the RSA modulus in bits.\n *\n * @return the encoded message as a binary-encoded string of length\n * ceil((modBits - 1) / 8).\n */\n pssobj.encode = function(md, modBits) {\n var i;\n var emBits = modBits - 1;\n var emLen = Math.ceil(emBits / 8);\n\n /* 2. Let mHash = Hash(M), an octet string of length hLen. */\n var mHash = md.digest().getBytes();\n\n /* 3. If emLen < hLen + sLen + 2, output \"encoding error\" and stop. */\n if(emLen < hLen + sLen + 2) {\n throw new Error('Message is too long to encrypt.');\n }\n\n /* 4. Generate a random octet string salt of length sLen; if sLen = 0,\n * then salt is the empty string. */\n var salt;\n if(salt_ === null) {\n salt = prng.getBytesSync(sLen);\n } else {\n salt = salt_.bytes();\n }\n\n /* 5. Let M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt; */\n var m_ = new forge.util.ByteBuffer();\n m_.fillWithByte(0, 8);\n m_.putBytes(mHash);\n m_.putBytes(salt);\n\n /* 6. Let H = Hash(M'), an octet string of length hLen. */\n hash.start();\n hash.update(m_.getBytes());\n var h = hash.digest().getBytes();\n\n /* 7. Generate an octet string PS consisting of emLen - sLen - hLen - 2\n * zero octets. The length of PS may be 0. */\n var ps = new forge.util.ByteBuffer();\n ps.fillWithByte(0, emLen - sLen - hLen - 2);\n\n /* 8. Let DB = PS || 0x01 || salt; DB is an octet string of length\n * emLen - hLen - 1. */\n ps.putByte(0x01);\n ps.putBytes(salt);\n var db = ps.getBytes();\n\n /* 9. Let dbMask = MGF(H, emLen - hLen - 1). */\n var maskLen = emLen - hLen - 1;\n var dbMask = mgf.generate(h, maskLen);\n\n /* 10. Let maskedDB = DB \\xor dbMask. */\n var maskedDB = '';\n for(i = 0; i < maskLen; i++) {\n maskedDB += String.fromCharCode(db.charCodeAt(i) ^ dbMask.charCodeAt(i));\n }\n\n /* 11. Set the leftmost 8emLen - emBits bits of the leftmost octet in\n * maskedDB to zero. */\n var mask = (0xFF00 >> (8 * emLen - emBits)) & 0xFF;\n maskedDB = String.fromCharCode(maskedDB.charCodeAt(0) & ~mask) +\n maskedDB.substr(1);\n\n /* 12. Let EM = maskedDB || H || 0xbc.\n * 13. Output EM. */\n return maskedDB + h + String.fromCharCode(0xbc);\n };\n\n /**\n * Verifies a PSS signature.\n *\n * This function implements EMSA-PSS-VERIFY as per RFC 3447, section 9.1.2.\n *\n * @param mHash the message digest hash, as a binary-encoded string, to\n * compare against the signature.\n * @param em the encoded message, as a binary-encoded string\n * (RSA decryption result).\n * @param modsBits the length of the RSA modulus in bits.\n *\n * @return true if the signature was verified, false if not.\n */\n pssobj.verify = function(mHash, em, modBits) {\n var i;\n var emBits = modBits - 1;\n var emLen = Math.ceil(emBits / 8);\n\n /* c. Convert the message representative m to an encoded message EM\n * of length emLen = ceil((modBits - 1) / 8) octets, where modBits\n * is the length in bits of the RSA modulus n */\n em = em.substr(-emLen);\n\n /* 3. If emLen < hLen + sLen + 2, output \"inconsistent\" and stop. */\n if(emLen < hLen + sLen + 2) {\n throw new Error('Inconsistent parameters to PSS signature verification.');\n }\n\n /* 4. If the rightmost octet of EM does not have hexadecimal value\n * 0xbc, output \"inconsistent\" and stop. */\n if(em.charCodeAt(emLen - 1) !== 0xbc) {\n throw new Error('Encoded message does not end in 0xBC.');\n }\n\n /* 5. Let maskedDB be the leftmost emLen - hLen - 1 octets of EM, and\n * let H be the next hLen octets. */\n var maskLen = emLen - hLen - 1;\n var maskedDB = em.substr(0, maskLen);\n var h = em.substr(maskLen, hLen);\n\n /* 6. If the leftmost 8emLen - emBits bits of the leftmost octet in\n * maskedDB are not all equal to zero, output \"inconsistent\" and stop. */\n var mask = (0xFF00 >> (8 * emLen - emBits)) & 0xFF;\n if((maskedDB.charCodeAt(0) & mask) !== 0) {\n throw new Error('Bits beyond keysize not zero as expected.');\n }\n\n /* 7. Let dbMask = MGF(H, emLen - hLen - 1). */\n var dbMask = mgf.generate(h, maskLen);\n\n /* 8. Let DB = maskedDB \\xor dbMask. */\n var db = '';\n for(i = 0; i < maskLen; i++) {\n db += String.fromCharCode(maskedDB.charCodeAt(i) ^ dbMask.charCodeAt(i));\n }\n\n /* 9. Set the leftmost 8emLen - emBits bits of the leftmost octet\n * in DB to zero. */\n db = String.fromCharCode(db.charCodeAt(0) & ~mask) + db.substr(1);\n\n /* 10. If the emLen - hLen - sLen - 2 leftmost octets of DB are not zero\n * or if the octet at position emLen - hLen - sLen - 1 (the leftmost\n * position is \"position 1\") does not have hexadecimal value 0x01,\n * output \"inconsistent\" and stop. */\n var checkLen = emLen - hLen - sLen - 2;\n for(i = 0; i < checkLen; i++) {\n if(db.charCodeAt(i) !== 0x00) {\n throw new Error('Leftmost octets not zero as expected');\n }\n }\n\n if(db.charCodeAt(checkLen) !== 0x01) {\n throw new Error('Inconsistent PSS signature, 0x01 marker not found');\n }\n\n /* 11. Let salt be the last sLen octets of DB. */\n var salt = db.substr(-sLen);\n\n /* 12. Let M' = (0x)00 00 00 00 00 00 00 00 || mHash || salt */\n var m_ = new forge.util.ByteBuffer();\n m_.fillWithByte(0, 8);\n m_.putBytes(mHash);\n m_.putBytes(salt);\n\n /* 13. Let H' = Hash(M'), an octet string of length hLen. */\n hash.start();\n hash.update(m_.getBytes());\n var h_ = hash.digest().getBytes();\n\n /* 14. If H = H', output \"consistent.\" Otherwise, output \"inconsistent.\" */\n return h === h_;\n };\n\n return pssobj;\n};\n","/**\n * An API for getting cryptographically-secure random bytes. The bytes are\n * generated using the Fortuna algorithm devised by Bruce Schneier and\n * Niels Ferguson.\n *\n * Getting strong random bytes is not yet easy to do in javascript. The only\n * truish random entropy that can be collected is from the mouse, keyboard, or\n * from timing with respect to page loads, etc. This generator makes a poor\n * attempt at providing random bytes when those sources haven't yet provided\n * enough entropy to initially seed or to reseed the PRNG.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2009-2014 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./aes');\nrequire('./sha256');\nrequire('./prng');\nrequire('./util');\n\n(function() {\n\n// forge.random already defined\nif(forge.random && forge.random.getBytes) {\n module.exports = forge.random;\n return;\n}\n\n(function(jQuery) {\n\n// the default prng plugin, uses AES-128\nvar prng_aes = {};\nvar _prng_aes_output = new Array(4);\nvar _prng_aes_buffer = forge.util.createBuffer();\nprng_aes.formatKey = function(key) {\n // convert the key into 32-bit integers\n var tmp = forge.util.createBuffer(key);\n key = new Array(4);\n key[0] = tmp.getInt32();\n key[1] = tmp.getInt32();\n key[2] = tmp.getInt32();\n key[3] = tmp.getInt32();\n\n // return the expanded key\n return forge.aes._expandKey(key, false);\n};\nprng_aes.formatSeed = function(seed) {\n // convert seed into 32-bit integers\n var tmp = forge.util.createBuffer(seed);\n seed = new Array(4);\n seed[0] = tmp.getInt32();\n seed[1] = tmp.getInt32();\n seed[2] = tmp.getInt32();\n seed[3] = tmp.getInt32();\n return seed;\n};\nprng_aes.cipher = function(key, seed) {\n forge.aes._updateBlock(key, seed, _prng_aes_output, false);\n _prng_aes_buffer.putInt32(_prng_aes_output[0]);\n _prng_aes_buffer.putInt32(_prng_aes_output[1]);\n _prng_aes_buffer.putInt32(_prng_aes_output[2]);\n _prng_aes_buffer.putInt32(_prng_aes_output[3]);\n return _prng_aes_buffer.getBytes();\n};\nprng_aes.increment = function(seed) {\n // FIXME: do we care about carry or signed issues?\n ++seed[3];\n return seed;\n};\nprng_aes.md = forge.md.sha256;\n\n/**\n * Creates a new PRNG.\n */\nfunction spawnPrng() {\n var ctx = forge.prng.create(prng_aes);\n\n /**\n * Gets random bytes. If a native secure crypto API is unavailable, this\n * method tries to make the bytes more unpredictable by drawing from data that\n * can be collected from the user of the browser, eg: mouse movement.\n *\n * If a callback is given, this method will be called asynchronously.\n *\n * @param count the number of random bytes to get.\n * @param [callback(err, bytes)] called once the operation completes.\n *\n * @return the random bytes in a string.\n */\n ctx.getBytes = function(count, callback) {\n return ctx.generate(count, callback);\n };\n\n /**\n * Gets random bytes asynchronously. If a native secure crypto API is\n * unavailable, this method tries to make the bytes more unpredictable by\n * drawing from data that can be collected from the user of the browser,\n * eg: mouse movement.\n *\n * @param count the number of random bytes to get.\n *\n * @return the random bytes in a string.\n */\n ctx.getBytesSync = function(count) {\n return ctx.generate(count);\n };\n\n return ctx;\n}\n\n// create default prng context\nvar _ctx = spawnPrng();\n\n// add other sources of entropy only if window.crypto.getRandomValues is not\n// available -- otherwise this source will be automatically used by the prng\nvar getRandomValues = null;\nvar globalScope = forge.util.globalScope;\nvar _crypto = globalScope.crypto || globalScope.msCrypto;\nif(_crypto && _crypto.getRandomValues) {\n getRandomValues = function(arr) {\n return _crypto.getRandomValues(arr);\n };\n}\n\nif(forge.options.usePureJavaScript ||\n (!forge.util.isNodejs && !getRandomValues)) {\n // if this is a web worker, do not use weak entropy, instead register to\n // receive strong entropy asynchronously from the main thread\n if(typeof window === 'undefined' || window.document === undefined) {\n // FIXME:\n }\n\n // get load time entropy\n _ctx.collectInt(+new Date(), 32);\n\n // add some entropy from navigator object\n if(typeof(navigator) !== 'undefined') {\n var _navBytes = '';\n for(var key in navigator) {\n try {\n if(typeof(navigator[key]) == 'string') {\n _navBytes += navigator[key];\n }\n } catch(e) {\n /* Some navigator keys might not be accessible, e.g. the geolocation\n attribute throws an exception if touched in Mozilla chrome://\n context.\n\n Silently ignore this and just don't use this as a source of\n entropy. */\n }\n }\n _ctx.collect(_navBytes);\n _navBytes = null;\n }\n\n // add mouse and keyboard collectors if jquery is available\n if(jQuery) {\n // set up mouse entropy capture\n jQuery().mousemove(function(e) {\n // add mouse coords\n _ctx.collectInt(e.clientX, 16);\n _ctx.collectInt(e.clientY, 16);\n });\n\n // set up keyboard entropy capture\n jQuery().keypress(function(e) {\n _ctx.collectInt(e.charCode, 8);\n });\n }\n}\n\n/* Random API */\nif(!forge.random) {\n forge.random = _ctx;\n} else {\n // extend forge.random with _ctx\n for(var key in _ctx) {\n forge.random[key] = _ctx[key];\n }\n}\n\n// expose spawn PRNG\nforge.random.createInstance = spawnPrng;\n\nmodule.exports = forge.random;\n\n})(typeof(jQuery) !== 'undefined' ? jQuery : null);\n\n})();\n","/**\n * RC2 implementation.\n *\n * @author Stefan Siegl\n *\n * Copyright (c) 2012 Stefan Siegl \n *\n * Information on the RC2 cipher is available from RFC #2268,\n * http://www.ietf.org/rfc/rfc2268.txt\n */\nvar forge = require('./forge');\nrequire('./util');\n\nvar piTable = [\n 0xd9, 0x78, 0xf9, 0xc4, 0x19, 0xdd, 0xb5, 0xed, 0x28, 0xe9, 0xfd, 0x79, 0x4a, 0xa0, 0xd8, 0x9d,\n 0xc6, 0x7e, 0x37, 0x83, 0x2b, 0x76, 0x53, 0x8e, 0x62, 0x4c, 0x64, 0x88, 0x44, 0x8b, 0xfb, 0xa2,\n 0x17, 0x9a, 0x59, 0xf5, 0x87, 0xb3, 0x4f, 0x13, 0x61, 0x45, 0x6d, 0x8d, 0x09, 0x81, 0x7d, 0x32,\n 0xbd, 0x8f, 0x40, 0xeb, 0x86, 0xb7, 0x7b, 0x0b, 0xf0, 0x95, 0x21, 0x22, 0x5c, 0x6b, 0x4e, 0x82,\n 0x54, 0xd6, 0x65, 0x93, 0xce, 0x60, 0xb2, 0x1c, 0x73, 0x56, 0xc0, 0x14, 0xa7, 0x8c, 0xf1, 0xdc,\n 0x12, 0x75, 0xca, 0x1f, 0x3b, 0xbe, 0xe4, 0xd1, 0x42, 0x3d, 0xd4, 0x30, 0xa3, 0x3c, 0xb6, 0x26,\n 0x6f, 0xbf, 0x0e, 0xda, 0x46, 0x69, 0x07, 0x57, 0x27, 0xf2, 0x1d, 0x9b, 0xbc, 0x94, 0x43, 0x03,\n 0xf8, 0x11, 0xc7, 0xf6, 0x90, 0xef, 0x3e, 0xe7, 0x06, 0xc3, 0xd5, 0x2f, 0xc8, 0x66, 0x1e, 0xd7,\n 0x08, 0xe8, 0xea, 0xde, 0x80, 0x52, 0xee, 0xf7, 0x84, 0xaa, 0x72, 0xac, 0x35, 0x4d, 0x6a, 0x2a,\n 0x96, 0x1a, 0xd2, 0x71, 0x5a, 0x15, 0x49, 0x74, 0x4b, 0x9f, 0xd0, 0x5e, 0x04, 0x18, 0xa4, 0xec,\n 0xc2, 0xe0, 0x41, 0x6e, 0x0f, 0x51, 0xcb, 0xcc, 0x24, 0x91, 0xaf, 0x50, 0xa1, 0xf4, 0x70, 0x39,\n 0x99, 0x7c, 0x3a, 0x85, 0x23, 0xb8, 0xb4, 0x7a, 0xfc, 0x02, 0x36, 0x5b, 0x25, 0x55, 0x97, 0x31,\n 0x2d, 0x5d, 0xfa, 0x98, 0xe3, 0x8a, 0x92, 0xae, 0x05, 0xdf, 0x29, 0x10, 0x67, 0x6c, 0xba, 0xc9,\n 0xd3, 0x00, 0xe6, 0xcf, 0xe1, 0x9e, 0xa8, 0x2c, 0x63, 0x16, 0x01, 0x3f, 0x58, 0xe2, 0x89, 0xa9,\n 0x0d, 0x38, 0x34, 0x1b, 0xab, 0x33, 0xff, 0xb0, 0xbb, 0x48, 0x0c, 0x5f, 0xb9, 0xb1, 0xcd, 0x2e,\n 0xc5, 0xf3, 0xdb, 0x47, 0xe5, 0xa5, 0x9c, 0x77, 0x0a, 0xa6, 0x20, 0x68, 0xfe, 0x7f, 0xc1, 0xad\n];\n\nvar s = [1, 2, 3, 5];\n\n/**\n * Rotate a word left by given number of bits.\n *\n * Bits that are shifted out on the left are put back in on the right\n * hand side.\n *\n * @param word The word to shift left.\n * @param bits The number of bits to shift by.\n * @return The rotated word.\n */\nvar rol = function(word, bits) {\n return ((word << bits) & 0xffff) | ((word & 0xffff) >> (16 - bits));\n};\n\n/**\n * Rotate a word right by given number of bits.\n *\n * Bits that are shifted out on the right are put back in on the left\n * hand side.\n *\n * @param word The word to shift right.\n * @param bits The number of bits to shift by.\n * @return The rotated word.\n */\nvar ror = function(word, bits) {\n return ((word & 0xffff) >> bits) | ((word << (16 - bits)) & 0xffff);\n};\n\n/* RC2 API */\nmodule.exports = forge.rc2 = forge.rc2 || {};\n\n/**\n * Perform RC2 key expansion as per RFC #2268, section 2.\n *\n * @param key variable-length user key (between 1 and 128 bytes)\n * @param effKeyBits number of effective key bits (default: 128)\n * @return the expanded RC2 key (ByteBuffer of 128 bytes)\n */\nforge.rc2.expandKey = function(key, effKeyBits) {\n if(typeof key === 'string') {\n key = forge.util.createBuffer(key);\n }\n effKeyBits = effKeyBits || 128;\n\n /* introduce variables that match the names used in RFC #2268 */\n var L = key;\n var T = key.length();\n var T1 = effKeyBits;\n var T8 = Math.ceil(T1 / 8);\n var TM = 0xff >> (T1 & 0x07);\n var i;\n\n for(i = T; i < 128; i++) {\n L.putByte(piTable[(L.at(i - 1) + L.at(i - T)) & 0xff]);\n }\n\n L.setAt(128 - T8, piTable[L.at(128 - T8) & TM]);\n\n for(i = 127 - T8; i >= 0; i--) {\n L.setAt(i, piTable[L.at(i + 1) ^ L.at(i + T8)]);\n }\n\n return L;\n};\n\n/**\n * Creates a RC2 cipher object.\n *\n * @param key the symmetric key to use (as base for key generation).\n * @param bits the number of effective key bits.\n * @param encrypt false for decryption, true for encryption.\n *\n * @return the cipher.\n */\nvar createCipher = function(key, bits, encrypt) {\n var _finish = false, _input = null, _output = null, _iv = null;\n var mixRound, mashRound;\n var i, j, K = [];\n\n /* Expand key and fill into K[] Array */\n key = forge.rc2.expandKey(key, bits);\n for(i = 0; i < 64; i++) {\n K.push(key.getInt16Le());\n }\n\n if(encrypt) {\n /**\n * Perform one mixing round \"in place\".\n *\n * @param R Array of four words to perform mixing on.\n */\n mixRound = function(R) {\n for(i = 0; i < 4; i++) {\n R[i] += K[j] + (R[(i + 3) % 4] & R[(i + 2) % 4]) +\n ((~R[(i + 3) % 4]) & R[(i + 1) % 4]);\n R[i] = rol(R[i], s[i]);\n j++;\n }\n };\n\n /**\n * Perform one mashing round \"in place\".\n *\n * @param R Array of four words to perform mashing on.\n */\n mashRound = function(R) {\n for(i = 0; i < 4; i++) {\n R[i] += K[R[(i + 3) % 4] & 63];\n }\n };\n } else {\n /**\n * Perform one r-mixing round \"in place\".\n *\n * @param R Array of four words to perform mixing on.\n */\n mixRound = function(R) {\n for(i = 3; i >= 0; i--) {\n R[i] = ror(R[i], s[i]);\n R[i] -= K[j] + (R[(i + 3) % 4] & R[(i + 2) % 4]) +\n ((~R[(i + 3) % 4]) & R[(i + 1) % 4]);\n j--;\n }\n };\n\n /**\n * Perform one r-mashing round \"in place\".\n *\n * @param R Array of four words to perform mashing on.\n */\n mashRound = function(R) {\n for(i = 3; i >= 0; i--) {\n R[i] -= K[R[(i + 3) % 4] & 63];\n }\n };\n }\n\n /**\n * Run the specified cipher execution plan.\n *\n * This function takes four words from the input buffer, applies the IV on\n * it (if requested) and runs the provided execution plan.\n *\n * The plan must be put together in form of a array of arrays. Where the\n * outer one is simply a list of steps to perform and the inner one needs\n * to have two elements: the first one telling how many rounds to perform,\n * the second one telling what to do (i.e. the function to call).\n *\n * @param {Array} plan The plan to execute.\n */\n var runPlan = function(plan) {\n var R = [];\n\n /* Get data from input buffer and fill the four words into R */\n for(i = 0; i < 4; i++) {\n var val = _input.getInt16Le();\n\n if(_iv !== null) {\n if(encrypt) {\n /* We're encrypting, apply the IV first. */\n val ^= _iv.getInt16Le();\n } else {\n /* We're decryption, keep cipher text for next block. */\n _iv.putInt16Le(val);\n }\n }\n\n R.push(val & 0xffff);\n }\n\n /* Reset global \"j\" variable as per spec. */\n j = encrypt ? 0 : 63;\n\n /* Run execution plan. */\n for(var ptr = 0; ptr < plan.length; ptr++) {\n for(var ctr = 0; ctr < plan[ptr][0]; ctr++) {\n plan[ptr][1](R);\n }\n }\n\n /* Write back result to output buffer. */\n for(i = 0; i < 4; i++) {\n if(_iv !== null) {\n if(encrypt) {\n /* We're encrypting in CBC-mode, feed back encrypted bytes into\n IV buffer to carry it forward to next block. */\n _iv.putInt16Le(R[i]);\n } else {\n R[i] ^= _iv.getInt16Le();\n }\n }\n\n _output.putInt16Le(R[i]);\n }\n };\n\n /* Create cipher object */\n var cipher = null;\n cipher = {\n /**\n * Starts or restarts the encryption or decryption process, whichever\n * was previously configured.\n *\n * To use the cipher in CBC mode, iv may be given either as a string\n * of bytes, or as a byte buffer. For ECB mode, give null as iv.\n *\n * @param iv the initialization vector to use, null for ECB mode.\n * @param output the output the buffer to write to, null to create one.\n */\n start: function(iv, output) {\n if(iv) {\n /* CBC mode */\n if(typeof iv === 'string') {\n iv = forge.util.createBuffer(iv);\n }\n }\n\n _finish = false;\n _input = forge.util.createBuffer();\n _output = output || new forge.util.createBuffer();\n _iv = iv;\n\n cipher.output = _output;\n },\n\n /**\n * Updates the next block.\n *\n * @param input the buffer to read from.\n */\n update: function(input) {\n if(!_finish) {\n // not finishing, so fill the input buffer with more input\n _input.putBuffer(input);\n }\n\n while(_input.length() >= 8) {\n runPlan([\n [ 5, mixRound ],\n [ 1, mashRound ],\n [ 6, mixRound ],\n [ 1, mashRound ],\n [ 5, mixRound ]\n ]);\n }\n },\n\n /**\n * Finishes encrypting or decrypting.\n *\n * @param pad a padding function to use, null for PKCS#7 padding,\n * signature(blockSize, buffer, decrypt).\n *\n * @return true if successful, false on error.\n */\n finish: function(pad) {\n var rval = true;\n\n if(encrypt) {\n if(pad) {\n rval = pad(8, _input, !encrypt);\n } else {\n // add PKCS#7 padding to block (each pad byte is the\n // value of the number of pad bytes)\n var padding = (_input.length() === 8) ? 8 : (8 - _input.length());\n _input.fillWithByte(padding, padding);\n }\n }\n\n if(rval) {\n // do final update\n _finish = true;\n cipher.update();\n }\n\n if(!encrypt) {\n // check for error: input data not a multiple of block size\n rval = (_input.length() === 0);\n if(rval) {\n if(pad) {\n rval = pad(8, _output, !encrypt);\n } else {\n // ensure padding byte count is valid\n var len = _output.length();\n var count = _output.at(len - 1);\n\n if(count > len) {\n rval = false;\n } else {\n // trim off padding bytes\n _output.truncate(count);\n }\n }\n }\n }\n\n return rval;\n }\n };\n\n return cipher;\n};\n\n/**\n * Creates an RC2 cipher object to encrypt data in ECB or CBC mode using the\n * given symmetric key. The output will be stored in the 'output' member\n * of the returned cipher.\n *\n * The key and iv may be given as a string of bytes or a byte buffer.\n * The cipher is initialized to use 128 effective key bits.\n *\n * @param key the symmetric key to use.\n * @param iv the initialization vector to use.\n * @param output the buffer to write to, null to create one.\n *\n * @return the cipher.\n */\nforge.rc2.startEncrypting = function(key, iv, output) {\n var cipher = forge.rc2.createEncryptionCipher(key, 128);\n cipher.start(iv, output);\n return cipher;\n};\n\n/**\n * Creates an RC2 cipher object to encrypt data in ECB or CBC mode using the\n * given symmetric key.\n *\n * The key may be given as a string of bytes or a byte buffer.\n *\n * To start encrypting call start() on the cipher with an iv and optional\n * output buffer.\n *\n * @param key the symmetric key to use.\n *\n * @return the cipher.\n */\nforge.rc2.createEncryptionCipher = function(key, bits) {\n return createCipher(key, bits, true);\n};\n\n/**\n * Creates an RC2 cipher object to decrypt data in ECB or CBC mode using the\n * given symmetric key. The output will be stored in the 'output' member\n * of the returned cipher.\n *\n * The key and iv may be given as a string of bytes or a byte buffer.\n * The cipher is initialized to use 128 effective key bits.\n *\n * @param key the symmetric key to use.\n * @param iv the initialization vector to use.\n * @param output the buffer to write to, null to create one.\n *\n * @return the cipher.\n */\nforge.rc2.startDecrypting = function(key, iv, output) {\n var cipher = forge.rc2.createDecryptionCipher(key, 128);\n cipher.start(iv, output);\n return cipher;\n};\n\n/**\n * Creates an RC2 cipher object to decrypt data in ECB or CBC mode using the\n * given symmetric key.\n *\n * The key may be given as a string of bytes or a byte buffer.\n *\n * To start decrypting call start() on the cipher with an iv and optional\n * output buffer.\n *\n * @param key the symmetric key to use.\n *\n * @return the cipher.\n */\nforge.rc2.createDecryptionCipher = function(key, bits) {\n return createCipher(key, bits, false);\n};\n","/**\n * Javascript implementation of basic RSA algorithms.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n *\n * The only algorithm currently supported for PKI is RSA.\n *\n * An RSA key is often stored in ASN.1 DER format. The SubjectPublicKeyInfo\n * ASN.1 structure is composed of an algorithm of type AlgorithmIdentifier\n * and a subjectPublicKey of type bit string.\n *\n * The AlgorithmIdentifier contains an Object Identifier (OID) and parameters\n * for the algorithm, if any. In the case of RSA, there aren't any.\n *\n * SubjectPublicKeyInfo ::= SEQUENCE {\n * algorithm AlgorithmIdentifier,\n * subjectPublicKey BIT STRING\n * }\n *\n * AlgorithmIdentifer ::= SEQUENCE {\n * algorithm OBJECT IDENTIFIER,\n * parameters ANY DEFINED BY algorithm OPTIONAL\n * }\n *\n * For an RSA public key, the subjectPublicKey is:\n *\n * RSAPublicKey ::= SEQUENCE {\n * modulus INTEGER, -- n\n * publicExponent INTEGER -- e\n * }\n *\n * PrivateKeyInfo ::= SEQUENCE {\n * version Version,\n * privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,\n * privateKey PrivateKey,\n * attributes [0] IMPLICIT Attributes OPTIONAL\n * }\n *\n * Version ::= INTEGER\n * PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier\n * PrivateKey ::= OCTET STRING\n * Attributes ::= SET OF Attribute\n *\n * An RSA private key as the following structure:\n *\n * RSAPrivateKey ::= SEQUENCE {\n * version Version,\n * modulus INTEGER, -- n\n * publicExponent INTEGER, -- e\n * privateExponent INTEGER, -- d\n * prime1 INTEGER, -- p\n * prime2 INTEGER, -- q\n * exponent1 INTEGER, -- d mod (p-1)\n * exponent2 INTEGER, -- d mod (q-1)\n * coefficient INTEGER -- (inverse of q) mod p\n * }\n *\n * Version ::= INTEGER\n *\n * The OID for the RSA key algorithm is: 1.2.840.113549.1.1.1\n */\nvar forge = require('./forge');\nrequire('./asn1');\nrequire('./jsbn');\nrequire('./oids');\nrequire('./pkcs1');\nrequire('./prime');\nrequire('./random');\nrequire('./util');\n\nif(typeof BigInteger === 'undefined') {\n var BigInteger = forge.jsbn.BigInteger;\n}\n\nvar _crypto = forge.util.isNodejs ? require('crypto') : null;\n\n// shortcut for asn.1 API\nvar asn1 = forge.asn1;\n\n// shortcut for util API\nvar util = forge.util;\n\n/*\n * RSA encryption and decryption, see RFC 2313.\n */\nforge.pki = forge.pki || {};\nmodule.exports = forge.pki.rsa = forge.rsa = forge.rsa || {};\nvar pki = forge.pki;\n\n// for finding primes, which are 30k+i for i = 1, 7, 11, 13, 17, 19, 23, 29\nvar GCD_30_DELTA = [6, 4, 2, 4, 2, 4, 6, 2];\n\n// validator for a PrivateKeyInfo structure\nvar privateKeyValidator = {\n // PrivateKeyInfo\n name: 'PrivateKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n // Version (INTEGER)\n name: 'PrivateKeyInfo.version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyVersion'\n }, {\n // privateKeyAlgorithm\n name: 'PrivateKeyInfo.privateKeyAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'privateKeyOid'\n }]\n }, {\n // PrivateKey\n name: 'PrivateKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OCTETSTRING,\n constructed: false,\n capture: 'privateKey'\n }]\n};\n\n// validator for an RSA private key\nvar rsaPrivateKeyValidator = {\n // RSAPrivateKey\n name: 'RSAPrivateKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n // Version (INTEGER)\n name: 'RSAPrivateKey.version',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyVersion'\n }, {\n // modulus (n)\n name: 'RSAPrivateKey.modulus',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyModulus'\n }, {\n // publicExponent (e)\n name: 'RSAPrivateKey.publicExponent',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyPublicExponent'\n }, {\n // privateExponent (d)\n name: 'RSAPrivateKey.privateExponent',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyPrivateExponent'\n }, {\n // prime1 (p)\n name: 'RSAPrivateKey.prime1',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyPrime1'\n }, {\n // prime2 (q)\n name: 'RSAPrivateKey.prime2',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyPrime2'\n }, {\n // exponent1 (d mod (p-1))\n name: 'RSAPrivateKey.exponent1',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyExponent1'\n }, {\n // exponent2 (d mod (q-1))\n name: 'RSAPrivateKey.exponent2',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyExponent2'\n }, {\n // coefficient ((inverse of q) mod p)\n name: 'RSAPrivateKey.coefficient',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'privateKeyCoefficient'\n }]\n};\n\n// validator for an RSA public key\nvar rsaPublicKeyValidator = {\n // RSAPublicKey\n name: 'RSAPublicKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n // modulus (n)\n name: 'RSAPublicKey.modulus',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'publicKeyModulus'\n }, {\n // publicExponent (e)\n name: 'RSAPublicKey.exponent',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'publicKeyExponent'\n }]\n};\n\n// validator for an SubjectPublicKeyInfo structure\n// Note: Currently only works with an RSA public key\nvar publicKeyValidator = forge.pki.rsa.publicKeyValidator = {\n name: 'SubjectPublicKeyInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'subjectPublicKeyInfo',\n value: [{\n name: 'SubjectPublicKeyInfo.AlgorithmIdentifier',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'publicKeyOid'\n }]\n }, {\n // subjectPublicKey\n name: 'SubjectPublicKeyInfo.subjectPublicKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n value: [{\n // RSAPublicKey\n name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n optional: true,\n captureAsn1: 'rsaPublicKey'\n }]\n }]\n};\n\n/**\n * Wrap digest in DigestInfo object.\n *\n * This function implements EMSA-PKCS1-v1_5-ENCODE as per RFC 3447.\n *\n * DigestInfo ::= SEQUENCE {\n * digestAlgorithm DigestAlgorithmIdentifier,\n * digest Digest\n * }\n *\n * DigestAlgorithmIdentifier ::= AlgorithmIdentifier\n * Digest ::= OCTET STRING\n *\n * @param md the message digest object with the hash to sign.\n *\n * @return the encoded message (ready for RSA encrytion)\n */\nvar emsaPkcs1v15encode = function(md) {\n // get the oid for the algorithm\n var oid;\n if(md.algorithm in pki.oids) {\n oid = pki.oids[md.algorithm];\n } else {\n var error = new Error('Unknown message digest algorithm.');\n error.algorithm = md.algorithm;\n throw error;\n }\n var oidBytes = asn1.oidToDer(oid).getBytes();\n\n // create the digest info\n var digestInfo = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n var digestAlgorithm = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n digestAlgorithm.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OID, false, oidBytes));\n digestAlgorithm.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.NULL, false, ''));\n var digest = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING,\n false, md.digest().getBytes());\n digestInfo.value.push(digestAlgorithm);\n digestInfo.value.push(digest);\n\n // encode digest info\n return asn1.toDer(digestInfo).getBytes();\n};\n\n/**\n * Performs x^c mod n (RSA encryption or decryption operation).\n *\n * @param x the number to raise and mod.\n * @param key the key to use.\n * @param pub true if the key is public, false if private.\n *\n * @return the result of x^c mod n.\n */\nvar _modPow = function(x, key, pub) {\n if(pub) {\n return x.modPow(key.e, key.n);\n }\n\n if(!key.p || !key.q) {\n // allow calculation without CRT params (slow)\n return x.modPow(key.d, key.n);\n }\n\n // pre-compute dP, dQ, and qInv if necessary\n if(!key.dP) {\n key.dP = key.d.mod(key.p.subtract(BigInteger.ONE));\n }\n if(!key.dQ) {\n key.dQ = key.d.mod(key.q.subtract(BigInteger.ONE));\n }\n if(!key.qInv) {\n key.qInv = key.q.modInverse(key.p);\n }\n\n /* Chinese remainder theorem (CRT) states:\n\n Suppose n1, n2, ..., nk are positive integers which are pairwise\n coprime (n1 and n2 have no common factors other than 1). For any\n integers x1, x2, ..., xk there exists an integer x solving the\n system of simultaneous congruences (where ~= means modularly\n congruent so a ~= b mod n means a mod n = b mod n):\n\n x ~= x1 mod n1\n x ~= x2 mod n2\n ...\n x ~= xk mod nk\n\n This system of congruences has a single simultaneous solution x\n between 0 and n - 1. Furthermore, each xk solution and x itself\n is congruent modulo the product n = n1*n2*...*nk.\n So x1 mod n = x2 mod n = xk mod n = x mod n.\n\n The single simultaneous solution x can be solved with the following\n equation:\n\n x = sum(xi*ri*si) mod n where ri = n/ni and si = ri^-1 mod ni.\n\n Where x is less than n, xi = x mod ni.\n\n For RSA we are only concerned with k = 2. The modulus n = pq, where\n p and q are coprime. The RSA decryption algorithm is:\n\n y = x^d mod n\n\n Given the above:\n\n x1 = x^d mod p\n r1 = n/p = q\n s1 = q^-1 mod p\n x2 = x^d mod q\n r2 = n/q = p\n s2 = p^-1 mod q\n\n So y = (x1r1s1 + x2r2s2) mod n\n = ((x^d mod p)q(q^-1 mod p) + (x^d mod q)p(p^-1 mod q)) mod n\n\n According to Fermat's Little Theorem, if the modulus P is prime,\n for any integer A not evenly divisible by P, A^(P-1) ~= 1 mod P.\n Since A is not divisible by P it follows that if:\n N ~= M mod (P - 1), then A^N mod P = A^M mod P. Therefore:\n\n A^N mod P = A^(M mod (P - 1)) mod P. (The latter takes less effort\n to calculate). In order to calculate x^d mod p more quickly the\n exponent d mod (p - 1) is stored in the RSA private key (the same\n is done for x^d mod q). These values are referred to as dP and dQ\n respectively. Therefore we now have:\n\n y = ((x^dP mod p)q(q^-1 mod p) + (x^dQ mod q)p(p^-1 mod q)) mod n\n\n Since we'll be reducing x^dP by modulo p (same for q) we can also\n reduce x by p (and q respectively) before hand. Therefore, let\n\n xp = ((x mod p)^dP mod p), and\n xq = ((x mod q)^dQ mod q), yielding:\n\n y = (xp*q*(q^-1 mod p) + xq*p*(p^-1 mod q)) mod n\n\n This can be further reduced to a simple algorithm that only\n requires 1 inverse (the q inverse is used) to be used and stored.\n The algorithm is called Garner's algorithm. If qInv is the\n inverse of q, we simply calculate:\n\n y = (qInv*(xp - xq) mod p) * q + xq\n\n However, there are two further complications. First, we need to\n ensure that xp > xq to prevent signed BigIntegers from being used\n so we add p until this is true (since we will be mod'ing with\n p anyway). Then, there is a known timing attack on algorithms\n using the CRT. To mitigate this risk, \"cryptographic blinding\"\n should be used. This requires simply generating a random number r\n between 0 and n-1 and its inverse and multiplying x by r^e before\n calculating y and then multiplying y by r^-1 afterwards. Note that\n r must be coprime with n (gcd(r, n) === 1) in order to have an\n inverse.\n */\n\n // cryptographic blinding\n var r;\n do {\n r = new BigInteger(\n forge.util.bytesToHex(forge.random.getBytes(key.n.bitLength() / 8)),\n 16);\n } while(r.compareTo(key.n) >= 0 || !r.gcd(key.n).equals(BigInteger.ONE));\n x = x.multiply(r.modPow(key.e, key.n)).mod(key.n);\n\n // calculate xp and xq\n var xp = x.mod(key.p).modPow(key.dP, key.p);\n var xq = x.mod(key.q).modPow(key.dQ, key.q);\n\n // xp must be larger than xq to avoid signed bit usage\n while(xp.compareTo(xq) < 0) {\n xp = xp.add(key.p);\n }\n\n // do last step\n var y = xp.subtract(xq)\n .multiply(key.qInv).mod(key.p)\n .multiply(key.q).add(xq);\n\n // remove effect of random for cryptographic blinding\n y = y.multiply(r.modInverse(key.n)).mod(key.n);\n\n return y;\n};\n\n/**\n * NOTE: THIS METHOD IS DEPRECATED, use 'sign' on a private key object or\n * 'encrypt' on a public key object instead.\n *\n * Performs RSA encryption.\n *\n * The parameter bt controls whether to put padding bytes before the\n * message passed in. Set bt to either true or false to disable padding\n * completely (in order to handle e.g. EMSA-PSS encoding seperately before),\n * signaling whether the encryption operation is a public key operation\n * (i.e. encrypting data) or not, i.e. private key operation (data signing).\n *\n * For PKCS#1 v1.5 padding pass in the block type to use, i.e. either 0x01\n * (for signing) or 0x02 (for encryption). The key operation mode (private\n * or public) is derived from this flag in that case).\n *\n * @param m the message to encrypt as a byte string.\n * @param key the RSA key to use.\n * @param bt for PKCS#1 v1.5 padding, the block type to use\n * (0x01 for private key, 0x02 for public),\n * to disable padding: true = public key, false = private key.\n *\n * @return the encrypted bytes as a string.\n */\npki.rsa.encrypt = function(m, key, bt) {\n var pub = bt;\n var eb;\n\n // get the length of the modulus in bytes\n var k = Math.ceil(key.n.bitLength() / 8);\n\n if(bt !== false && bt !== true) {\n // legacy, default to PKCS#1 v1.5 padding\n pub = (bt === 0x02);\n eb = _encodePkcs1_v1_5(m, key, bt);\n } else {\n eb = forge.util.createBuffer();\n eb.putBytes(m);\n }\n\n // load encryption block as big integer 'x'\n // FIXME: hex conversion inefficient, get BigInteger w/byte strings\n var x = new BigInteger(eb.toHex(), 16);\n\n // do RSA encryption\n var y = _modPow(x, key, pub);\n\n // convert y into the encrypted data byte string, if y is shorter in\n // bytes than k, then prepend zero bytes to fill up ed\n // FIXME: hex conversion inefficient, get BigInteger w/byte strings\n var yhex = y.toString(16);\n var ed = forge.util.createBuffer();\n var zeros = k - Math.ceil(yhex.length / 2);\n while(zeros > 0) {\n ed.putByte(0x00);\n --zeros;\n }\n ed.putBytes(forge.util.hexToBytes(yhex));\n return ed.getBytes();\n};\n\n/**\n * NOTE: THIS METHOD IS DEPRECATED, use 'decrypt' on a private key object or\n * 'verify' on a public key object instead.\n *\n * Performs RSA decryption.\n *\n * The parameter ml controls whether to apply PKCS#1 v1.5 padding\n * or not. Set ml = false to disable padding removal completely\n * (in order to handle e.g. EMSA-PSS later on) and simply pass back\n * the RSA encryption block.\n *\n * @param ed the encrypted data to decrypt in as a byte string.\n * @param key the RSA key to use.\n * @param pub true for a public key operation, false for private.\n * @param ml the message length, if known, false to disable padding.\n *\n * @return the decrypted message as a byte string.\n */\npki.rsa.decrypt = function(ed, key, pub, ml) {\n // get the length of the modulus in bytes\n var k = Math.ceil(key.n.bitLength() / 8);\n\n // error if the length of the encrypted data ED is not k\n if(ed.length !== k) {\n var error = new Error('Encrypted message length is invalid.');\n error.length = ed.length;\n error.expected = k;\n throw error;\n }\n\n // convert encrypted data into a big integer\n // FIXME: hex conversion inefficient, get BigInteger w/byte strings\n var y = new BigInteger(forge.util.createBuffer(ed).toHex(), 16);\n\n // y must be less than the modulus or it wasn't the result of\n // a previous mod operation (encryption) using that modulus\n if(y.compareTo(key.n) >= 0) {\n throw new Error('Encrypted message is invalid.');\n }\n\n // do RSA decryption\n var x = _modPow(y, key, pub);\n\n // create the encryption block, if x is shorter in bytes than k, then\n // prepend zero bytes to fill up eb\n // FIXME: hex conversion inefficient, get BigInteger w/byte strings\n var xhex = x.toString(16);\n var eb = forge.util.createBuffer();\n var zeros = k - Math.ceil(xhex.length / 2);\n while(zeros > 0) {\n eb.putByte(0x00);\n --zeros;\n }\n eb.putBytes(forge.util.hexToBytes(xhex));\n\n if(ml !== false) {\n // legacy, default to PKCS#1 v1.5 padding\n return _decodePkcs1_v1_5(eb.getBytes(), key, pub);\n }\n\n // return message\n return eb.getBytes();\n};\n\n/**\n * Creates an RSA key-pair generation state object. It is used to allow\n * key-generation to be performed in steps. It also allows for a UI to\n * display progress updates.\n *\n * @param bits the size for the private key in bits, defaults to 2048.\n * @param e the public exponent to use, defaults to 65537 (0x10001).\n * @param [options] the options to use.\n * prng a custom crypto-secure pseudo-random number generator to use,\n * that must define \"getBytesSync\".\n * algorithm the algorithm to use (default: 'PRIMEINC').\n *\n * @return the state object to use to generate the key-pair.\n */\npki.rsa.createKeyPairGenerationState = function(bits, e, options) {\n // TODO: migrate step-based prime generation code to forge.prime\n\n // set default bits\n if(typeof(bits) === 'string') {\n bits = parseInt(bits, 10);\n }\n bits = bits || 2048;\n\n // create prng with api that matches BigInteger secure random\n options = options || {};\n var prng = options.prng || forge.random;\n var rng = {\n // x is an array to fill with bytes\n nextBytes: function(x) {\n var b = prng.getBytesSync(x.length);\n for(var i = 0; i < x.length; ++i) {\n x[i] = b.charCodeAt(i);\n }\n }\n };\n\n var algorithm = options.algorithm || 'PRIMEINC';\n\n // create PRIMEINC algorithm state\n var rval;\n if(algorithm === 'PRIMEINC') {\n rval = {\n algorithm: algorithm,\n state: 0,\n bits: bits,\n rng: rng,\n eInt: e || 65537,\n e: new BigInteger(null),\n p: null,\n q: null,\n qBits: bits >> 1,\n pBits: bits - (bits >> 1),\n pqState: 0,\n num: null,\n keys: null\n };\n rval.e.fromInt(rval.eInt);\n } else {\n throw new Error('Invalid key generation algorithm: ' + algorithm);\n }\n\n return rval;\n};\n\n/**\n * Attempts to runs the key-generation algorithm for at most n seconds\n * (approximately) using the given state. When key-generation has completed,\n * the keys will be stored in state.keys.\n *\n * To use this function to update a UI while generating a key or to prevent\n * causing browser lockups/warnings, set \"n\" to a value other than 0. A\n * simple pattern for generating a key and showing a progress indicator is:\n *\n * var state = pki.rsa.createKeyPairGenerationState(2048);\n * var step = function() {\n * // step key-generation, run algorithm for 100 ms, repeat\n * if(!forge.pki.rsa.stepKeyPairGenerationState(state, 100)) {\n * setTimeout(step, 1);\n * } else {\n * // key-generation complete\n * // TODO: turn off progress indicator here\n * // TODO: use the generated key-pair in \"state.keys\"\n * }\n * };\n * // TODO: turn on progress indicator here\n * setTimeout(step, 0);\n *\n * @param state the state to use.\n * @param n the maximum number of milliseconds to run the algorithm for, 0\n * to run the algorithm to completion.\n *\n * @return true if the key-generation completed, false if not.\n */\npki.rsa.stepKeyPairGenerationState = function(state, n) {\n // set default algorithm if not set\n if(!('algorithm' in state)) {\n state.algorithm = 'PRIMEINC';\n }\n\n // TODO: migrate step-based prime generation code to forge.prime\n // TODO: abstract as PRIMEINC algorithm\n\n // do key generation (based on Tom Wu's rsa.js, see jsbn.js license)\n // with some minor optimizations and designed to run in steps\n\n // local state vars\n var THIRTY = new BigInteger(null);\n THIRTY.fromInt(30);\n var deltaIdx = 0;\n var op_or = function(x, y) {return x | y;};\n\n // keep stepping until time limit is reached or done\n var t1 = +new Date();\n var t2;\n var total = 0;\n while(state.keys === null && (n <= 0 || total < n)) {\n // generate p or q\n if(state.state === 0) {\n /* Note: All primes are of the form:\n\n 30k+i, for i < 30 and gcd(30, i)=1, where there are 8 values for i\n\n When we generate a random number, we always align it at 30k + 1. Each\n time the number is determined not to be prime we add to get to the\n next 'i', eg: if the number was at 30k + 1 we add 6. */\n var bits = (state.p === null) ? state.pBits : state.qBits;\n var bits1 = bits - 1;\n\n // get a random number\n if(state.pqState === 0) {\n state.num = new BigInteger(bits, state.rng);\n // force MSB set\n if(!state.num.testBit(bits1)) {\n state.num.bitwiseTo(\n BigInteger.ONE.shiftLeft(bits1), op_or, state.num);\n }\n // align number on 30k+1 boundary\n state.num.dAddOffset(31 - state.num.mod(THIRTY).byteValue(), 0);\n deltaIdx = 0;\n\n ++state.pqState;\n } else if(state.pqState === 1) {\n // try to make the number a prime\n if(state.num.bitLength() > bits) {\n // overflow, try again\n state.pqState = 0;\n // do primality test\n } else if(state.num.isProbablePrime(\n _getMillerRabinTests(state.num.bitLength()))) {\n ++state.pqState;\n } else {\n // get next potential prime\n state.num.dAddOffset(GCD_30_DELTA[deltaIdx++ % 8], 0);\n }\n } else if(state.pqState === 2) {\n // ensure number is coprime with e\n state.pqState =\n (state.num.subtract(BigInteger.ONE).gcd(state.e)\n .compareTo(BigInteger.ONE) === 0) ? 3 : 0;\n } else if(state.pqState === 3) {\n // store p or q\n state.pqState = 0;\n if(state.p === null) {\n state.p = state.num;\n } else {\n state.q = state.num;\n }\n\n // advance state if both p and q are ready\n if(state.p !== null && state.q !== null) {\n ++state.state;\n }\n state.num = null;\n }\n } else if(state.state === 1) {\n // ensure p is larger than q (swap them if not)\n if(state.p.compareTo(state.q) < 0) {\n state.num = state.p;\n state.p = state.q;\n state.q = state.num;\n }\n ++state.state;\n } else if(state.state === 2) {\n // compute phi: (p - 1)(q - 1) (Euler's totient function)\n state.p1 = state.p.subtract(BigInteger.ONE);\n state.q1 = state.q.subtract(BigInteger.ONE);\n state.phi = state.p1.multiply(state.q1);\n ++state.state;\n } else if(state.state === 3) {\n // ensure e and phi are coprime\n if(state.phi.gcd(state.e).compareTo(BigInteger.ONE) === 0) {\n // phi and e are coprime, advance\n ++state.state;\n } else {\n // phi and e aren't coprime, so generate a new p and q\n state.p = null;\n state.q = null;\n state.state = 0;\n }\n } else if(state.state === 4) {\n // create n, ensure n is has the right number of bits\n state.n = state.p.multiply(state.q);\n\n // ensure n is right number of bits\n if(state.n.bitLength() === state.bits) {\n // success, advance\n ++state.state;\n } else {\n // failed, get new q\n state.q = null;\n state.state = 0;\n }\n } else if(state.state === 5) {\n // set keys\n var d = state.e.modInverse(state.phi);\n state.keys = {\n privateKey: pki.rsa.setPrivateKey(\n state.n, state.e, d, state.p, state.q,\n d.mod(state.p1), d.mod(state.q1),\n state.q.modInverse(state.p)),\n publicKey: pki.rsa.setPublicKey(state.n, state.e)\n };\n }\n\n // update timing\n t2 = +new Date();\n total += t2 - t1;\n t1 = t2;\n }\n\n return state.keys !== null;\n};\n\n/**\n * Generates an RSA public-private key pair in a single call.\n *\n * To generate a key-pair in steps (to allow for progress updates and to\n * prevent blocking or warnings in slow browsers) then use the key-pair\n * generation state functions.\n *\n * To generate a key-pair asynchronously (either through web-workers, if\n * available, or by breaking up the work on the main thread), pass a\n * callback function.\n *\n * @param [bits] the size for the private key in bits, defaults to 2048.\n * @param [e] the public exponent to use, defaults to 65537.\n * @param [options] options for key-pair generation, if given then 'bits'\n * and 'e' must *not* be given:\n * bits the size for the private key in bits, (default: 2048).\n * e the public exponent to use, (default: 65537 (0x10001)).\n * workerScript the worker script URL.\n * workers the number of web workers (if supported) to use,\n * (default: 2).\n * workLoad the size of the work load, ie: number of possible prime\n * numbers for each web worker to check per work assignment,\n * (default: 100).\n * prng a custom crypto-secure pseudo-random number generator to use,\n * that must define \"getBytesSync\". Disables use of native APIs.\n * algorithm the algorithm to use (default: 'PRIMEINC').\n * @param [callback(err, keypair)] called once the operation completes.\n *\n * @return an object with privateKey and publicKey properties.\n */\npki.rsa.generateKeyPair = function(bits, e, options, callback) {\n // (bits), (options), (callback)\n if(arguments.length === 1) {\n if(typeof bits === 'object') {\n options = bits;\n bits = undefined;\n } else if(typeof bits === 'function') {\n callback = bits;\n bits = undefined;\n }\n } else if(arguments.length === 2) {\n // (bits, e), (bits, options), (bits, callback), (options, callback)\n if(typeof bits === 'number') {\n if(typeof e === 'function') {\n callback = e;\n e = undefined;\n } else if(typeof e !== 'number') {\n options = e;\n e = undefined;\n }\n } else {\n options = bits;\n callback = e;\n bits = undefined;\n e = undefined;\n }\n } else if(arguments.length === 3) {\n // (bits, e, options), (bits, e, callback), (bits, options, callback)\n if(typeof e === 'number') {\n if(typeof options === 'function') {\n callback = options;\n options = undefined;\n }\n } else {\n callback = options;\n options = e;\n e = undefined;\n }\n }\n options = options || {};\n if(bits === undefined) {\n bits = options.bits || 2048;\n }\n if(e === undefined) {\n e = options.e || 0x10001;\n }\n\n // use native code if permitted, available, and parameters are acceptable\n if(!forge.options.usePureJavaScript && !options.prng &&\n bits >= 256 && bits <= 16384 && (e === 0x10001 || e === 3)) {\n if(callback) {\n // try native async\n if(_detectNodeCrypto('generateKeyPair')) {\n return _crypto.generateKeyPair('rsa', {\n modulusLength: bits,\n publicExponent: e,\n publicKeyEncoding: {\n type: 'spki',\n format: 'pem'\n },\n privateKeyEncoding: {\n type: 'pkcs8',\n format: 'pem'\n }\n }, function(err, pub, priv) {\n if(err) {\n return callback(err);\n }\n callback(null, {\n privateKey: pki.privateKeyFromPem(priv),\n publicKey: pki.publicKeyFromPem(pub)\n });\n });\n }\n if(_detectSubtleCrypto('generateKey') &&\n _detectSubtleCrypto('exportKey')) {\n // use standard native generateKey\n return util.globalScope.crypto.subtle.generateKey({\n name: 'RSASSA-PKCS1-v1_5',\n modulusLength: bits,\n publicExponent: _intToUint8Array(e),\n hash: {name: 'SHA-256'}\n }, true /* key can be exported*/, ['sign', 'verify'])\n .then(function(pair) {\n return util.globalScope.crypto.subtle.exportKey(\n 'pkcs8', pair.privateKey);\n // avoiding catch(function(err) {...}) to support IE <= 8\n }).then(undefined, function(err) {\n callback(err);\n }).then(function(pkcs8) {\n if(pkcs8) {\n var privateKey = pki.privateKeyFromAsn1(\n asn1.fromDer(forge.util.createBuffer(pkcs8)));\n callback(null, {\n privateKey: privateKey,\n publicKey: pki.setRsaPublicKey(privateKey.n, privateKey.e)\n });\n }\n });\n }\n if(_detectSubtleMsCrypto('generateKey') &&\n _detectSubtleMsCrypto('exportKey')) {\n var genOp = util.globalScope.msCrypto.subtle.generateKey({\n name: 'RSASSA-PKCS1-v1_5',\n modulusLength: bits,\n publicExponent: _intToUint8Array(e),\n hash: {name: 'SHA-256'}\n }, true /* key can be exported*/, ['sign', 'verify']);\n genOp.oncomplete = function(e) {\n var pair = e.target.result;\n var exportOp = util.globalScope.msCrypto.subtle.exportKey(\n 'pkcs8', pair.privateKey);\n exportOp.oncomplete = function(e) {\n var pkcs8 = e.target.result;\n var privateKey = pki.privateKeyFromAsn1(\n asn1.fromDer(forge.util.createBuffer(pkcs8)));\n callback(null, {\n privateKey: privateKey,\n publicKey: pki.setRsaPublicKey(privateKey.n, privateKey.e)\n });\n };\n exportOp.onerror = function(err) {\n callback(err);\n };\n };\n genOp.onerror = function(err) {\n callback(err);\n };\n return;\n }\n } else {\n // try native sync\n if(_detectNodeCrypto('generateKeyPairSync')) {\n var keypair = _crypto.generateKeyPairSync('rsa', {\n modulusLength: bits,\n publicExponent: e,\n publicKeyEncoding: {\n type: 'spki',\n format: 'pem'\n },\n privateKeyEncoding: {\n type: 'pkcs8',\n format: 'pem'\n }\n });\n return {\n privateKey: pki.privateKeyFromPem(keypair.privateKey),\n publicKey: pki.publicKeyFromPem(keypair.publicKey)\n };\n }\n }\n }\n\n // use JavaScript implementation\n var state = pki.rsa.createKeyPairGenerationState(bits, e, options);\n if(!callback) {\n pki.rsa.stepKeyPairGenerationState(state, 0);\n return state.keys;\n }\n _generateKeyPair(state, options, callback);\n};\n\n/**\n * Sets an RSA public key from BigIntegers modulus and exponent.\n *\n * @param n the modulus.\n * @param e the exponent.\n *\n * @return the public key.\n */\npki.setRsaPublicKey = pki.rsa.setPublicKey = function(n, e) {\n var key = {\n n: n,\n e: e\n };\n\n /**\n * Encrypts the given data with this public key. Newer applications\n * should use the 'RSA-OAEP' decryption scheme, 'RSAES-PKCS1-V1_5' is for\n * legacy applications.\n *\n * @param data the byte string to encrypt.\n * @param scheme the encryption scheme to use:\n * 'RSAES-PKCS1-V1_5' (default),\n * 'RSA-OAEP',\n * 'RAW', 'NONE', or null to perform raw RSA encryption,\n * an object with an 'encode' property set to a function\n * with the signature 'function(data, key)' that returns\n * a binary-encoded string representing the encoded data.\n * @param schemeOptions any scheme-specific options.\n *\n * @return the encrypted byte string.\n */\n key.encrypt = function(data, scheme, schemeOptions) {\n if(typeof scheme === 'string') {\n scheme = scheme.toUpperCase();\n } else if(scheme === undefined) {\n scheme = 'RSAES-PKCS1-V1_5';\n }\n\n if(scheme === 'RSAES-PKCS1-V1_5') {\n scheme = {\n encode: function(m, key, pub) {\n return _encodePkcs1_v1_5(m, key, 0x02).getBytes();\n }\n };\n } else if(scheme === 'RSA-OAEP' || scheme === 'RSAES-OAEP') {\n scheme = {\n encode: function(m, key) {\n return forge.pkcs1.encode_rsa_oaep(key, m, schemeOptions);\n }\n };\n } else if(['RAW', 'NONE', 'NULL', null].indexOf(scheme) !== -1) {\n scheme = {encode: function(e) {return e;}};\n } else if(typeof scheme === 'string') {\n throw new Error('Unsupported encryption scheme: \"' + scheme + '\".');\n }\n\n // do scheme-based encoding then rsa encryption\n var e = scheme.encode(data, key, true);\n return pki.rsa.encrypt(e, key, true);\n };\n\n /**\n * Verifies the given signature against the given digest.\n *\n * PKCS#1 supports multiple (currently two) signature schemes:\n * RSASSA-PKCS1-V1_5 and RSASSA-PSS.\n *\n * By default this implementation uses the \"old scheme\", i.e.\n * RSASSA-PKCS1-V1_5, in which case once RSA-decrypted, the\n * signature is an OCTET STRING that holds a DigestInfo.\n *\n * DigestInfo ::= SEQUENCE {\n * digestAlgorithm DigestAlgorithmIdentifier,\n * digest Digest\n * }\n * DigestAlgorithmIdentifier ::= AlgorithmIdentifier\n * Digest ::= OCTET STRING\n *\n * To perform PSS signature verification, provide an instance\n * of Forge PSS object as the scheme parameter.\n *\n * @param digest the message digest hash to compare against the signature,\n * as a binary-encoded string.\n * @param signature the signature to verify, as a binary-encoded string.\n * @param scheme signature verification scheme to use:\n * 'RSASSA-PKCS1-V1_5' or undefined for RSASSA PKCS#1 v1.5,\n * a Forge PSS object for RSASSA-PSS,\n * 'NONE' or null for none, DigestInfo will not be expected, but\n * PKCS#1 v1.5 padding will still be used.\n *\n * @return true if the signature was verified, false if not.\n */\n key.verify = function(digest, signature, scheme) {\n if(typeof scheme === 'string') {\n scheme = scheme.toUpperCase();\n } else if(scheme === undefined) {\n scheme = 'RSASSA-PKCS1-V1_5';\n }\n\n if(scheme === 'RSASSA-PKCS1-V1_5') {\n scheme = {\n verify: function(digest, d) {\n // remove padding\n d = _decodePkcs1_v1_5(d, key, true);\n // d is ASN.1 BER-encoded DigestInfo\n var obj = asn1.fromDer(d);\n // compare the given digest to the decrypted one\n return digest === obj.value[1].value;\n }\n };\n } else if(scheme === 'NONE' || scheme === 'NULL' || scheme === null) {\n scheme = {\n verify: function(digest, d) {\n // remove padding\n d = _decodePkcs1_v1_5(d, key, true);\n return digest === d;\n }\n };\n }\n\n // do rsa decryption w/o any decoding, then verify -- which does decoding\n var d = pki.rsa.decrypt(signature, key, true, false);\n return scheme.verify(digest, d, key.n.bitLength());\n };\n\n return key;\n};\n\n/**\n * Sets an RSA private key from BigIntegers modulus, exponent, primes,\n * prime exponents, and modular multiplicative inverse.\n *\n * @param n the modulus.\n * @param e the public exponent.\n * @param d the private exponent ((inverse of e) mod n).\n * @param p the first prime.\n * @param q the second prime.\n * @param dP exponent1 (d mod (p-1)).\n * @param dQ exponent2 (d mod (q-1)).\n * @param qInv ((inverse of q) mod p)\n *\n * @return the private key.\n */\npki.setRsaPrivateKey = pki.rsa.setPrivateKey = function(\n n, e, d, p, q, dP, dQ, qInv) {\n var key = {\n n: n,\n e: e,\n d: d,\n p: p,\n q: q,\n dP: dP,\n dQ: dQ,\n qInv: qInv\n };\n\n /**\n * Decrypts the given data with this private key. The decryption scheme\n * must match the one used to encrypt the data.\n *\n * @param data the byte string to decrypt.\n * @param scheme the decryption scheme to use:\n * 'RSAES-PKCS1-V1_5' (default),\n * 'RSA-OAEP',\n * 'RAW', 'NONE', or null to perform raw RSA decryption.\n * @param schemeOptions any scheme-specific options.\n *\n * @return the decrypted byte string.\n */\n key.decrypt = function(data, scheme, schemeOptions) {\n if(typeof scheme === 'string') {\n scheme = scheme.toUpperCase();\n } else if(scheme === undefined) {\n scheme = 'RSAES-PKCS1-V1_5';\n }\n\n // do rsa decryption w/o any decoding\n var d = pki.rsa.decrypt(data, key, false, false);\n\n if(scheme === 'RSAES-PKCS1-V1_5') {\n scheme = {decode: _decodePkcs1_v1_5};\n } else if(scheme === 'RSA-OAEP' || scheme === 'RSAES-OAEP') {\n scheme = {\n decode: function(d, key) {\n return forge.pkcs1.decode_rsa_oaep(key, d, schemeOptions);\n }\n };\n } else if(['RAW', 'NONE', 'NULL', null].indexOf(scheme) !== -1) {\n scheme = {decode: function(d) {return d;}};\n } else {\n throw new Error('Unsupported encryption scheme: \"' + scheme + '\".');\n }\n\n // decode according to scheme\n return scheme.decode(d, key, false);\n };\n\n /**\n * Signs the given digest, producing a signature.\n *\n * PKCS#1 supports multiple (currently two) signature schemes:\n * RSASSA-PKCS1-V1_5 and RSASSA-PSS.\n *\n * By default this implementation uses the \"old scheme\", i.e.\n * RSASSA-PKCS1-V1_5. In order to generate a PSS signature, provide\n * an instance of Forge PSS object as the scheme parameter.\n *\n * @param md the message digest object with the hash to sign.\n * @param scheme the signature scheme to use:\n * 'RSASSA-PKCS1-V1_5' or undefined for RSASSA PKCS#1 v1.5,\n * a Forge PSS object for RSASSA-PSS,\n * 'NONE' or null for none, DigestInfo will not be used but\n * PKCS#1 v1.5 padding will still be used.\n *\n * @return the signature as a byte string.\n */\n key.sign = function(md, scheme) {\n /* Note: The internal implementation of RSA operations is being\n transitioned away from a PKCS#1 v1.5 hard-coded scheme. Some legacy\n code like the use of an encoding block identifier 'bt' will eventually\n be removed. */\n\n // private key operation\n var bt = false;\n\n if(typeof scheme === 'string') {\n scheme = scheme.toUpperCase();\n }\n\n if(scheme === undefined || scheme === 'RSASSA-PKCS1-V1_5') {\n scheme = {encode: emsaPkcs1v15encode};\n bt = 0x01;\n } else if(scheme === 'NONE' || scheme === 'NULL' || scheme === null) {\n scheme = {encode: function() {return md;}};\n bt = 0x01;\n }\n\n // encode and then encrypt\n var d = scheme.encode(md, key.n.bitLength());\n return pki.rsa.encrypt(d, key, bt);\n };\n\n return key;\n};\n\n/**\n * Wraps an RSAPrivateKey ASN.1 object in an ASN.1 PrivateKeyInfo object.\n *\n * @param rsaKey the ASN.1 RSAPrivateKey.\n *\n * @return the ASN.1 PrivateKeyInfo.\n */\npki.wrapRsaPrivateKey = function(rsaKey) {\n // PrivateKeyInfo\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // version (0)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(0).getBytes()),\n // privateKeyAlgorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.rsaEncryption).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]),\n // PrivateKey\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,\n asn1.toDer(rsaKey).getBytes())\n ]);\n};\n\n/**\n * Converts a private key from an ASN.1 object.\n *\n * @param obj the ASN.1 representation of a PrivateKeyInfo containing an\n * RSAPrivateKey or an RSAPrivateKey.\n *\n * @return the private key.\n */\npki.privateKeyFromAsn1 = function(obj) {\n // get PrivateKeyInfo\n var capture = {};\n var errors = [];\n if(asn1.validate(obj, privateKeyValidator, capture, errors)) {\n obj = asn1.fromDer(forge.util.createBuffer(capture.privateKey));\n }\n\n // get RSAPrivateKey\n capture = {};\n errors = [];\n if(!asn1.validate(obj, rsaPrivateKeyValidator, capture, errors)) {\n var error = new Error('Cannot read private key. ' +\n 'ASN.1 object does not contain an RSAPrivateKey.');\n error.errors = errors;\n throw error;\n }\n\n // Note: Version is currently ignored.\n // capture.privateKeyVersion\n // FIXME: inefficient, get a BigInteger that uses byte strings\n var n, e, d, p, q, dP, dQ, qInv;\n n = forge.util.createBuffer(capture.privateKeyModulus).toHex();\n e = forge.util.createBuffer(capture.privateKeyPublicExponent).toHex();\n d = forge.util.createBuffer(capture.privateKeyPrivateExponent).toHex();\n p = forge.util.createBuffer(capture.privateKeyPrime1).toHex();\n q = forge.util.createBuffer(capture.privateKeyPrime2).toHex();\n dP = forge.util.createBuffer(capture.privateKeyExponent1).toHex();\n dQ = forge.util.createBuffer(capture.privateKeyExponent2).toHex();\n qInv = forge.util.createBuffer(capture.privateKeyCoefficient).toHex();\n\n // set private key\n return pki.setRsaPrivateKey(\n new BigInteger(n, 16),\n new BigInteger(e, 16),\n new BigInteger(d, 16),\n new BigInteger(p, 16),\n new BigInteger(q, 16),\n new BigInteger(dP, 16),\n new BigInteger(dQ, 16),\n new BigInteger(qInv, 16));\n};\n\n/**\n * Converts a private key to an ASN.1 RSAPrivateKey.\n *\n * @param key the private key.\n *\n * @return the ASN.1 representation of an RSAPrivateKey.\n */\npki.privateKeyToAsn1 = pki.privateKeyToRSAPrivateKey = function(key) {\n // RSAPrivateKey\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // version (0 = only 2 primes, 1 multiple primes)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(0).getBytes()),\n // modulus (n)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.n)),\n // publicExponent (e)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.e)),\n // privateExponent (d)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.d)),\n // privateKeyPrime1 (p)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.p)),\n // privateKeyPrime2 (q)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.q)),\n // privateKeyExponent1 (dP)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.dP)),\n // privateKeyExponent2 (dQ)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.dQ)),\n // coefficient (qInv)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.qInv))\n ]);\n};\n\n/**\n * Converts a public key from an ASN.1 SubjectPublicKeyInfo or RSAPublicKey.\n *\n * @param obj the asn1 representation of a SubjectPublicKeyInfo or RSAPublicKey.\n *\n * @return the public key.\n */\npki.publicKeyFromAsn1 = function(obj) {\n // get SubjectPublicKeyInfo\n var capture = {};\n var errors = [];\n if(asn1.validate(obj, publicKeyValidator, capture, errors)) {\n // get oid\n var oid = asn1.derToOid(capture.publicKeyOid);\n if(oid !== pki.oids.rsaEncryption) {\n var error = new Error('Cannot read public key. Unknown OID.');\n error.oid = oid;\n throw error;\n }\n obj = capture.rsaPublicKey;\n }\n\n // get RSA params\n errors = [];\n if(!asn1.validate(obj, rsaPublicKeyValidator, capture, errors)) {\n var error = new Error('Cannot read public key. ' +\n 'ASN.1 object does not contain an RSAPublicKey.');\n error.errors = errors;\n throw error;\n }\n\n // FIXME: inefficient, get a BigInteger that uses byte strings\n var n = forge.util.createBuffer(capture.publicKeyModulus).toHex();\n var e = forge.util.createBuffer(capture.publicKeyExponent).toHex();\n\n // set public key\n return pki.setRsaPublicKey(\n new BigInteger(n, 16),\n new BigInteger(e, 16));\n};\n\n/**\n * Converts a public key to an ASN.1 SubjectPublicKeyInfo.\n *\n * @param key the public key.\n *\n * @return the asn1 representation of a SubjectPublicKeyInfo.\n */\npki.publicKeyToAsn1 = pki.publicKeyToSubjectPublicKeyInfo = function(key) {\n // SubjectPublicKeyInfo\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // AlgorithmIdentifier\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(pki.oids.rsaEncryption).getBytes()),\n // parameters (null)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ]),\n // subjectPublicKey\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, [\n pki.publicKeyToRSAPublicKey(key)\n ])\n ]);\n};\n\n/**\n * Converts a public key to an ASN.1 RSAPublicKey.\n *\n * @param key the public key.\n *\n * @return the asn1 representation of a RSAPublicKey.\n */\npki.publicKeyToRSAPublicKey = function(key) {\n // RSAPublicKey\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // modulus (n)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.n)),\n // publicExponent (e)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n _bnToBytes(key.e))\n ]);\n};\n\n/**\n * Encodes a message using PKCS#1 v1.5 padding.\n *\n * @param m the message to encode.\n * @param key the RSA key to use.\n * @param bt the block type to use, i.e. either 0x01 (for signing) or 0x02\n * (for encryption).\n *\n * @return the padded byte buffer.\n */\nfunction _encodePkcs1_v1_5(m, key, bt) {\n var eb = forge.util.createBuffer();\n\n // get the length of the modulus in bytes\n var k = Math.ceil(key.n.bitLength() / 8);\n\n /* use PKCS#1 v1.5 padding */\n if(m.length > (k - 11)) {\n var error = new Error('Message is too long for PKCS#1 v1.5 padding.');\n error.length = m.length;\n error.max = k - 11;\n throw error;\n }\n\n /* A block type BT, a padding string PS, and the data D shall be\n formatted into an octet string EB, the encryption block:\n\n EB = 00 || BT || PS || 00 || D\n\n The block type BT shall be a single octet indicating the structure of\n the encryption block. For this version of the document it shall have\n value 00, 01, or 02. For a private-key operation, the block type\n shall be 00 or 01. For a public-key operation, it shall be 02.\n\n The padding string PS shall consist of k-3-||D|| octets. For block\n type 00, the octets shall have value 00; for block type 01, they\n shall have value FF; and for block type 02, they shall be\n pseudorandomly generated and nonzero. This makes the length of the\n encryption block EB equal to k. */\n\n // build the encryption block\n eb.putByte(0x00);\n eb.putByte(bt);\n\n // create the padding\n var padNum = k - 3 - m.length;\n var padByte;\n // private key op\n if(bt === 0x00 || bt === 0x01) {\n padByte = (bt === 0x00) ? 0x00 : 0xFF;\n for(var i = 0; i < padNum; ++i) {\n eb.putByte(padByte);\n }\n } else {\n // public key op\n // pad with random non-zero values\n while(padNum > 0) {\n var numZeros = 0;\n var padBytes = forge.random.getBytes(padNum);\n for(var i = 0; i < padNum; ++i) {\n padByte = padBytes.charCodeAt(i);\n if(padByte === 0) {\n ++numZeros;\n } else {\n eb.putByte(padByte);\n }\n }\n padNum = numZeros;\n }\n }\n\n // zero followed by message\n eb.putByte(0x00);\n eb.putBytes(m);\n\n return eb;\n}\n\n/**\n * Decodes a message using PKCS#1 v1.5 padding.\n *\n * @param em the message to decode.\n * @param key the RSA key to use.\n * @param pub true if the key is a public key, false if it is private.\n * @param ml the message length, if specified.\n *\n * @return the decoded bytes.\n */\nfunction _decodePkcs1_v1_5(em, key, pub, ml) {\n // get the length of the modulus in bytes\n var k = Math.ceil(key.n.bitLength() / 8);\n\n /* It is an error if any of the following conditions occurs:\n\n 1. The encryption block EB cannot be parsed unambiguously.\n 2. The padding string PS consists of fewer than eight octets\n or is inconsisent with the block type BT.\n 3. The decryption process is a public-key operation and the block\n type BT is not 00 or 01, or the decryption process is a\n private-key operation and the block type is not 02.\n */\n\n // parse the encryption block\n var eb = forge.util.createBuffer(em);\n var first = eb.getByte();\n var bt = eb.getByte();\n if(first !== 0x00 ||\n (pub && bt !== 0x00 && bt !== 0x01) ||\n (!pub && bt != 0x02) ||\n (pub && bt === 0x00 && typeof(ml) === 'undefined')) {\n throw new Error('Encryption block is invalid.');\n }\n\n var padNum = 0;\n if(bt === 0x00) {\n // check all padding bytes for 0x00\n padNum = k - 3 - ml;\n for(var i = 0; i < padNum; ++i) {\n if(eb.getByte() !== 0x00) {\n throw new Error('Encryption block is invalid.');\n }\n }\n } else if(bt === 0x01) {\n // find the first byte that isn't 0xFF, should be after all padding\n padNum = 0;\n while(eb.length() > 1) {\n if(eb.getByte() !== 0xFF) {\n --eb.read;\n break;\n }\n ++padNum;\n }\n } else if(bt === 0x02) {\n // look for 0x00 byte\n padNum = 0;\n while(eb.length() > 1) {\n if(eb.getByte() === 0x00) {\n --eb.read;\n break;\n }\n ++padNum;\n }\n }\n\n // zero must be 0x00 and padNum must be (k - 3 - message length)\n var zero = eb.getByte();\n if(zero !== 0x00 || padNum !== (k - 3 - eb.length())) {\n throw new Error('Encryption block is invalid.');\n }\n\n return eb.getBytes();\n}\n\n/**\n * Runs the key-generation algorithm asynchronously, either in the background\n * via Web Workers, or using the main thread and setImmediate.\n *\n * @param state the key-pair generation state.\n * @param [options] options for key-pair generation:\n * workerScript the worker script URL.\n * workers the number of web workers (if supported) to use,\n * (default: 2, -1 to use estimated cores minus one).\n * workLoad the size of the work load, ie: number of possible prime\n * numbers for each web worker to check per work assignment,\n * (default: 100).\n * @param callback(err, keypair) called once the operation completes.\n */\nfunction _generateKeyPair(state, options, callback) {\n if(typeof options === 'function') {\n callback = options;\n options = {};\n }\n options = options || {};\n\n var opts = {\n algorithm: {\n name: options.algorithm || 'PRIMEINC',\n options: {\n workers: options.workers || 2,\n workLoad: options.workLoad || 100,\n workerScript: options.workerScript\n }\n }\n };\n if('prng' in options) {\n opts.prng = options.prng;\n }\n\n generate();\n\n function generate() {\n // find p and then q (done in series to simplify)\n getPrime(state.pBits, function(err, num) {\n if(err) {\n return callback(err);\n }\n state.p = num;\n if(state.q !== null) {\n return finish(err, state.q);\n }\n getPrime(state.qBits, finish);\n });\n }\n\n function getPrime(bits, callback) {\n forge.prime.generateProbablePrime(bits, opts, callback);\n }\n\n function finish(err, num) {\n if(err) {\n return callback(err);\n }\n\n // set q\n state.q = num;\n\n // ensure p is larger than q (swap them if not)\n if(state.p.compareTo(state.q) < 0) {\n var tmp = state.p;\n state.p = state.q;\n state.q = tmp;\n }\n\n // ensure p is coprime with e\n if(state.p.subtract(BigInteger.ONE).gcd(state.e)\n .compareTo(BigInteger.ONE) !== 0) {\n state.p = null;\n generate();\n return;\n }\n\n // ensure q is coprime with e\n if(state.q.subtract(BigInteger.ONE).gcd(state.e)\n .compareTo(BigInteger.ONE) !== 0) {\n state.q = null;\n getPrime(state.qBits, finish);\n return;\n }\n\n // compute phi: (p - 1)(q - 1) (Euler's totient function)\n state.p1 = state.p.subtract(BigInteger.ONE);\n state.q1 = state.q.subtract(BigInteger.ONE);\n state.phi = state.p1.multiply(state.q1);\n\n // ensure e and phi are coprime\n if(state.phi.gcd(state.e).compareTo(BigInteger.ONE) !== 0) {\n // phi and e aren't coprime, so generate a new p and q\n state.p = state.q = null;\n generate();\n return;\n }\n\n // create n, ensure n is has the right number of bits\n state.n = state.p.multiply(state.q);\n if(state.n.bitLength() !== state.bits) {\n // failed, get new q\n state.q = null;\n getPrime(state.qBits, finish);\n return;\n }\n\n // set keys\n var d = state.e.modInverse(state.phi);\n state.keys = {\n privateKey: pki.rsa.setPrivateKey(\n state.n, state.e, d, state.p, state.q,\n d.mod(state.p1), d.mod(state.q1),\n state.q.modInverse(state.p)),\n publicKey: pki.rsa.setPublicKey(state.n, state.e)\n };\n\n callback(null, state.keys);\n }\n}\n\n/**\n * Converts a positive BigInteger into 2's-complement big-endian bytes.\n *\n * @param b the big integer to convert.\n *\n * @return the bytes.\n */\nfunction _bnToBytes(b) {\n // prepend 0x00 if first byte >= 0x80\n var hex = b.toString(16);\n if(hex[0] >= '8') {\n hex = '00' + hex;\n }\n var bytes = forge.util.hexToBytes(hex);\n\n // ensure integer is minimally-encoded\n if(bytes.length > 1 &&\n // leading 0x00 for positive integer\n ((bytes.charCodeAt(0) === 0 &&\n (bytes.charCodeAt(1) & 0x80) === 0) ||\n // leading 0xFF for negative integer\n (bytes.charCodeAt(0) === 0xFF &&\n (bytes.charCodeAt(1) & 0x80) === 0x80))) {\n return bytes.substr(1);\n }\n return bytes;\n}\n\n/**\n * Returns the required number of Miller-Rabin tests to generate a\n * prime with an error probability of (1/2)^80.\n *\n * See Handbook of Applied Cryptography Chapter 4, Table 4.4.\n *\n * @param bits the bit size.\n *\n * @return the required number of iterations.\n */\nfunction _getMillerRabinTests(bits) {\n if(bits <= 100) return 27;\n if(bits <= 150) return 18;\n if(bits <= 200) return 15;\n if(bits <= 250) return 12;\n if(bits <= 300) return 9;\n if(bits <= 350) return 8;\n if(bits <= 400) return 7;\n if(bits <= 500) return 6;\n if(bits <= 600) return 5;\n if(bits <= 800) return 4;\n if(bits <= 1250) return 3;\n return 2;\n}\n\n/**\n * Performs feature detection on the Node crypto interface.\n *\n * @param fn the feature (function) to detect.\n *\n * @return true if detected, false if not.\n */\nfunction _detectNodeCrypto(fn) {\n return forge.util.isNodejs && typeof _crypto[fn] === 'function';\n}\n\n/**\n * Performs feature detection on the SubtleCrypto interface.\n *\n * @param fn the feature (function) to detect.\n *\n * @return true if detected, false if not.\n */\nfunction _detectSubtleCrypto(fn) {\n return (typeof util.globalScope !== 'undefined' &&\n typeof util.globalScope.crypto === 'object' &&\n typeof util.globalScope.crypto.subtle === 'object' &&\n typeof util.globalScope.crypto.subtle[fn] === 'function');\n}\n\n/**\n * Performs feature detection on the deprecated Microsoft Internet Explorer\n * outdated SubtleCrypto interface. This function should only be used after\n * checking for the modern, standard SubtleCrypto interface.\n *\n * @param fn the feature (function) to detect.\n *\n * @return true if detected, false if not.\n */\nfunction _detectSubtleMsCrypto(fn) {\n return (typeof util.globalScope !== 'undefined' &&\n typeof util.globalScope.msCrypto === 'object' &&\n typeof util.globalScope.msCrypto.subtle === 'object' &&\n typeof util.globalScope.msCrypto.subtle[fn] === 'function');\n}\n\nfunction _intToUint8Array(x) {\n var bytes = forge.util.hexToBytes(x.toString(16));\n var buffer = new Uint8Array(bytes.length);\n for(var i = 0; i < bytes.length; ++i) {\n buffer[i] = bytes.charCodeAt(i);\n }\n return buffer;\n}\n\nfunction _privateKeyFromJwk(jwk) {\n if(jwk.kty !== 'RSA') {\n throw new Error(\n 'Unsupported key algorithm \"' + jwk.kty + '\"; algorithm must be \"RSA\".');\n }\n return pki.setRsaPrivateKey(\n _base64ToBigInt(jwk.n),\n _base64ToBigInt(jwk.e),\n _base64ToBigInt(jwk.d),\n _base64ToBigInt(jwk.p),\n _base64ToBigInt(jwk.q),\n _base64ToBigInt(jwk.dp),\n _base64ToBigInt(jwk.dq),\n _base64ToBigInt(jwk.qi));\n}\n\nfunction _publicKeyFromJwk(jwk) {\n if(jwk.kty !== 'RSA') {\n throw new Error('Key algorithm must be \"RSA\".');\n }\n return pki.setRsaPublicKey(\n _base64ToBigInt(jwk.n),\n _base64ToBigInt(jwk.e));\n}\n\nfunction _base64ToBigInt(b64) {\n return new BigInteger(forge.util.bytesToHex(forge.util.decode64(b64)), 16);\n}\n","/**\n * Secure Hash Algorithm with 160-bit digest (SHA-1) implementation.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2015 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./md');\nrequire('./util');\n\nvar sha1 = module.exports = forge.sha1 = forge.sha1 || {};\nforge.md.sha1 = forge.md.algorithms.sha1 = sha1;\n\n/**\n * Creates a SHA-1 message digest object.\n *\n * @return a message digest object.\n */\nsha1.create = function() {\n // do initialization as necessary\n if(!_initialized) {\n _init();\n }\n\n // SHA-1 state contains five 32-bit integers\n var _state = null;\n\n // input buffer\n var _input = forge.util.createBuffer();\n\n // used for word storage\n var _w = new Array(80);\n\n // message digest object\n var md = {\n algorithm: 'sha1',\n blockLength: 64,\n digestLength: 20,\n // 56-bit length of message so far (does not including padding)\n messageLength: 0,\n // true message length\n fullMessageLength: null,\n // size of message length in bytes\n messageLengthSize: 8\n };\n\n /**\n * Starts the digest.\n *\n * @return this digest object.\n */\n md.start = function() {\n // up to 56-bit message length for convenience\n md.messageLength = 0;\n\n // full message length (set md.messageLength64 for backwards-compatibility)\n md.fullMessageLength = md.messageLength64 = [];\n var int32s = md.messageLengthSize / 4;\n for(var i = 0; i < int32s; ++i) {\n md.fullMessageLength.push(0);\n }\n _input = forge.util.createBuffer();\n _state = {\n h0: 0x67452301,\n h1: 0xEFCDAB89,\n h2: 0x98BADCFE,\n h3: 0x10325476,\n h4: 0xC3D2E1F0\n };\n return md;\n };\n // start digest automatically for first time\n md.start();\n\n /**\n * Updates the digest with the given message input. The given input can\n * treated as raw input (no encoding will be applied) or an encoding of\n * 'utf8' maybe given to encode the input using UTF-8.\n *\n * @param msg the message input to update with.\n * @param encoding the encoding to use (default: 'raw', other: 'utf8').\n *\n * @return this digest object.\n */\n md.update = function(msg, encoding) {\n if(encoding === 'utf8') {\n msg = forge.util.encodeUtf8(msg);\n }\n\n // update message length\n var len = msg.length;\n md.messageLength += len;\n len = [(len / 0x100000000) >>> 0, len >>> 0];\n for(var i = md.fullMessageLength.length - 1; i >= 0; --i) {\n md.fullMessageLength[i] += len[1];\n len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0);\n md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0;\n len[0] = ((len[1] / 0x100000000) >>> 0);\n }\n\n // add bytes to input buffer\n _input.putBytes(msg);\n\n // process bytes\n _update(_state, _w, _input);\n\n // compact input buffer every 2K or if empty\n if(_input.read > 2048 || _input.length() === 0) {\n _input.compact();\n }\n\n return md;\n };\n\n /**\n * Produces the digest.\n *\n * @return a byte buffer containing the digest value.\n */\n md.digest = function() {\n /* Note: Here we copy the remaining bytes in the input buffer and\n add the appropriate SHA-1 padding. Then we do the final update\n on a copy of the state so that if the user wants to get\n intermediate digests they can do so. */\n\n /* Determine the number of bytes that must be added to the message\n to ensure its length is congruent to 448 mod 512. In other words,\n the data to be digested must be a multiple of 512 bits (or 128 bytes).\n This data includes the message, some padding, and the length of the\n message. Since the length of the message will be encoded as 8 bytes (64\n bits), that means that the last segment of the data must have 56 bytes\n (448 bits) of message and padding. Therefore, the length of the message\n plus the padding must be congruent to 448 mod 512 because\n 512 - 128 = 448.\n\n In order to fill up the message length it must be filled with\n padding that begins with 1 bit followed by all 0 bits. Padding\n must *always* be present, so if the message length is already\n congruent to 448 mod 512, then 512 padding bits must be added. */\n\n var finalBlock = forge.util.createBuffer();\n finalBlock.putBytes(_input.bytes());\n\n // compute remaining size to be digested (include message length size)\n var remaining = (\n md.fullMessageLength[md.fullMessageLength.length - 1] +\n md.messageLengthSize);\n\n // add padding for overflow blockSize - overflow\n // _padding starts with 1 byte with first bit is set (byte value 128), then\n // there may be up to (blockSize - 1) other pad bytes\n var overflow = remaining & (md.blockLength - 1);\n finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow));\n\n // serialize message length in bits in big-endian order; since length\n // is stored in bytes we multiply by 8 and add carry from next int\n var next, carry;\n var bits = md.fullMessageLength[0] * 8;\n for(var i = 0; i < md.fullMessageLength.length - 1; ++i) {\n next = md.fullMessageLength[i + 1] * 8;\n carry = (next / 0x100000000) >>> 0;\n bits += carry;\n finalBlock.putInt32(bits >>> 0);\n bits = next >>> 0;\n }\n finalBlock.putInt32(bits);\n\n var s2 = {\n h0: _state.h0,\n h1: _state.h1,\n h2: _state.h2,\n h3: _state.h3,\n h4: _state.h4\n };\n _update(s2, _w, finalBlock);\n var rval = forge.util.createBuffer();\n rval.putInt32(s2.h0);\n rval.putInt32(s2.h1);\n rval.putInt32(s2.h2);\n rval.putInt32(s2.h3);\n rval.putInt32(s2.h4);\n return rval;\n };\n\n return md;\n};\n\n// sha-1 padding bytes not initialized yet\nvar _padding = null;\nvar _initialized = false;\n\n/**\n * Initializes the constant tables.\n */\nfunction _init() {\n // create padding\n _padding = String.fromCharCode(128);\n _padding += forge.util.fillString(String.fromCharCode(0x00), 64);\n\n // now initialized\n _initialized = true;\n}\n\n/**\n * Updates a SHA-1 state with the given byte buffer.\n *\n * @param s the SHA-1 state to update.\n * @param w the array to use to store words.\n * @param bytes the byte buffer to update with.\n */\nfunction _update(s, w, bytes) {\n // consume 512 bit (64 byte) chunks\n var t, a, b, c, d, e, f, i;\n var len = bytes.length();\n while(len >= 64) {\n // the w array will be populated with sixteen 32-bit big-endian words\n // and then extended into 80 32-bit words according to SHA-1 algorithm\n // and for 32-79 using Max Locktyukhin's optimization\n\n // initialize hash value for this chunk\n a = s.h0;\n b = s.h1;\n c = s.h2;\n d = s.h3;\n e = s.h4;\n\n // round 1\n for(i = 0; i < 16; ++i) {\n t = bytes.getInt32();\n w[i] = t;\n f = d ^ (b & (c ^ d));\n t = ((a << 5) | (a >>> 27)) + f + e + 0x5A827999 + t;\n e = d;\n d = c;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n c = ((b << 30) | (b >>> 2)) >>> 0;\n b = a;\n a = t;\n }\n for(; i < 20; ++i) {\n t = (w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16]);\n t = (t << 1) | (t >>> 31);\n w[i] = t;\n f = d ^ (b & (c ^ d));\n t = ((a << 5) | (a >>> 27)) + f + e + 0x5A827999 + t;\n e = d;\n d = c;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n c = ((b << 30) | (b >>> 2)) >>> 0;\n b = a;\n a = t;\n }\n // round 2\n for(; i < 32; ++i) {\n t = (w[i - 3] ^ w[i - 8] ^ w[i - 14] ^ w[i - 16]);\n t = (t << 1) | (t >>> 31);\n w[i] = t;\n f = b ^ c ^ d;\n t = ((a << 5) | (a >>> 27)) + f + e + 0x6ED9EBA1 + t;\n e = d;\n d = c;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n c = ((b << 30) | (b >>> 2)) >>> 0;\n b = a;\n a = t;\n }\n for(; i < 40; ++i) {\n t = (w[i - 6] ^ w[i - 16] ^ w[i - 28] ^ w[i - 32]);\n t = (t << 2) | (t >>> 30);\n w[i] = t;\n f = b ^ c ^ d;\n t = ((a << 5) | (a >>> 27)) + f + e + 0x6ED9EBA1 + t;\n e = d;\n d = c;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n c = ((b << 30) | (b >>> 2)) >>> 0;\n b = a;\n a = t;\n }\n // round 3\n for(; i < 60; ++i) {\n t = (w[i - 6] ^ w[i - 16] ^ w[i - 28] ^ w[i - 32]);\n t = (t << 2) | (t >>> 30);\n w[i] = t;\n f = (b & c) | (d & (b ^ c));\n t = ((a << 5) | (a >>> 27)) + f + e + 0x8F1BBCDC + t;\n e = d;\n d = c;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n c = ((b << 30) | (b >>> 2)) >>> 0;\n b = a;\n a = t;\n }\n // round 4\n for(; i < 80; ++i) {\n t = (w[i - 6] ^ w[i - 16] ^ w[i - 28] ^ w[i - 32]);\n t = (t << 2) | (t >>> 30);\n w[i] = t;\n f = b ^ c ^ d;\n t = ((a << 5) | (a >>> 27)) + f + e + 0xCA62C1D6 + t;\n e = d;\n d = c;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n c = ((b << 30) | (b >>> 2)) >>> 0;\n b = a;\n a = t;\n }\n\n // update hash state\n s.h0 = (s.h0 + a) | 0;\n s.h1 = (s.h1 + b) | 0;\n s.h2 = (s.h2 + c) | 0;\n s.h3 = (s.h3 + d) | 0;\n s.h4 = (s.h4 + e) | 0;\n\n len -= 64;\n }\n}\n","/**\n * Secure Hash Algorithm with 256-bit digest (SHA-256) implementation.\n *\n * See FIPS 180-2 for details.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2015 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./md');\nrequire('./util');\n\nvar sha256 = module.exports = forge.sha256 = forge.sha256 || {};\nforge.md.sha256 = forge.md.algorithms.sha256 = sha256;\n\n/**\n * Creates a SHA-256 message digest object.\n *\n * @return a message digest object.\n */\nsha256.create = function() {\n // do initialization as necessary\n if(!_initialized) {\n _init();\n }\n\n // SHA-256 state contains eight 32-bit integers\n var _state = null;\n\n // input buffer\n var _input = forge.util.createBuffer();\n\n // used for word storage\n var _w = new Array(64);\n\n // message digest object\n var md = {\n algorithm: 'sha256',\n blockLength: 64,\n digestLength: 32,\n // 56-bit length of message so far (does not including padding)\n messageLength: 0,\n // true message length\n fullMessageLength: null,\n // size of message length in bytes\n messageLengthSize: 8\n };\n\n /**\n * Starts the digest.\n *\n * @return this digest object.\n */\n md.start = function() {\n // up to 56-bit message length for convenience\n md.messageLength = 0;\n\n // full message length (set md.messageLength64 for backwards-compatibility)\n md.fullMessageLength = md.messageLength64 = [];\n var int32s = md.messageLengthSize / 4;\n for(var i = 0; i < int32s; ++i) {\n md.fullMessageLength.push(0);\n }\n _input = forge.util.createBuffer();\n _state = {\n h0: 0x6A09E667,\n h1: 0xBB67AE85,\n h2: 0x3C6EF372,\n h3: 0xA54FF53A,\n h4: 0x510E527F,\n h5: 0x9B05688C,\n h6: 0x1F83D9AB,\n h7: 0x5BE0CD19\n };\n return md;\n };\n // start digest automatically for first time\n md.start();\n\n /**\n * Updates the digest with the given message input. The given input can\n * treated as raw input (no encoding will be applied) or an encoding of\n * 'utf8' maybe given to encode the input using UTF-8.\n *\n * @param msg the message input to update with.\n * @param encoding the encoding to use (default: 'raw', other: 'utf8').\n *\n * @return this digest object.\n */\n md.update = function(msg, encoding) {\n if(encoding === 'utf8') {\n msg = forge.util.encodeUtf8(msg);\n }\n\n // update message length\n var len = msg.length;\n md.messageLength += len;\n len = [(len / 0x100000000) >>> 0, len >>> 0];\n for(var i = md.fullMessageLength.length - 1; i >= 0; --i) {\n md.fullMessageLength[i] += len[1];\n len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0);\n md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0;\n len[0] = ((len[1] / 0x100000000) >>> 0);\n }\n\n // add bytes to input buffer\n _input.putBytes(msg);\n\n // process bytes\n _update(_state, _w, _input);\n\n // compact input buffer every 2K or if empty\n if(_input.read > 2048 || _input.length() === 0) {\n _input.compact();\n }\n\n return md;\n };\n\n /**\n * Produces the digest.\n *\n * @return a byte buffer containing the digest value.\n */\n md.digest = function() {\n /* Note: Here we copy the remaining bytes in the input buffer and\n add the appropriate SHA-256 padding. Then we do the final update\n on a copy of the state so that if the user wants to get\n intermediate digests they can do so. */\n\n /* Determine the number of bytes that must be added to the message\n to ensure its length is congruent to 448 mod 512. In other words,\n the data to be digested must be a multiple of 512 bits (or 128 bytes).\n This data includes the message, some padding, and the length of the\n message. Since the length of the message will be encoded as 8 bytes (64\n bits), that means that the last segment of the data must have 56 bytes\n (448 bits) of message and padding. Therefore, the length of the message\n plus the padding must be congruent to 448 mod 512 because\n 512 - 128 = 448.\n\n In order to fill up the message length it must be filled with\n padding that begins with 1 bit followed by all 0 bits. Padding\n must *always* be present, so if the message length is already\n congruent to 448 mod 512, then 512 padding bits must be added. */\n\n var finalBlock = forge.util.createBuffer();\n finalBlock.putBytes(_input.bytes());\n\n // compute remaining size to be digested (include message length size)\n var remaining = (\n md.fullMessageLength[md.fullMessageLength.length - 1] +\n md.messageLengthSize);\n\n // add padding for overflow blockSize - overflow\n // _padding starts with 1 byte with first bit is set (byte value 128), then\n // there may be up to (blockSize - 1) other pad bytes\n var overflow = remaining & (md.blockLength - 1);\n finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow));\n\n // serialize message length in bits in big-endian order; since length\n // is stored in bytes we multiply by 8 and add carry from next int\n var next, carry;\n var bits = md.fullMessageLength[0] * 8;\n for(var i = 0; i < md.fullMessageLength.length - 1; ++i) {\n next = md.fullMessageLength[i + 1] * 8;\n carry = (next / 0x100000000) >>> 0;\n bits += carry;\n finalBlock.putInt32(bits >>> 0);\n bits = next >>> 0;\n }\n finalBlock.putInt32(bits);\n\n var s2 = {\n h0: _state.h0,\n h1: _state.h1,\n h2: _state.h2,\n h3: _state.h3,\n h4: _state.h4,\n h5: _state.h5,\n h6: _state.h6,\n h7: _state.h7\n };\n _update(s2, _w, finalBlock);\n var rval = forge.util.createBuffer();\n rval.putInt32(s2.h0);\n rval.putInt32(s2.h1);\n rval.putInt32(s2.h2);\n rval.putInt32(s2.h3);\n rval.putInt32(s2.h4);\n rval.putInt32(s2.h5);\n rval.putInt32(s2.h6);\n rval.putInt32(s2.h7);\n return rval;\n };\n\n return md;\n};\n\n// sha-256 padding bytes not initialized yet\nvar _padding = null;\nvar _initialized = false;\n\n// table of constants\nvar _k = null;\n\n/**\n * Initializes the constant tables.\n */\nfunction _init() {\n // create padding\n _padding = String.fromCharCode(128);\n _padding += forge.util.fillString(String.fromCharCode(0x00), 64);\n\n // create K table for SHA-256\n _k = [\n 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5,\n 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5,\n 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3,\n 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174,\n 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,\n 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da,\n 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7,\n 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967,\n 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13,\n 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3,\n 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070,\n 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5,\n 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3,\n 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,\n 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2];\n\n // now initialized\n _initialized = true;\n}\n\n/**\n * Updates a SHA-256 state with the given byte buffer.\n *\n * @param s the SHA-256 state to update.\n * @param w the array to use to store words.\n * @param bytes the byte buffer to update with.\n */\nfunction _update(s, w, bytes) {\n // consume 512 bit (64 byte) chunks\n var t1, t2, s0, s1, ch, maj, i, a, b, c, d, e, f, g, h;\n var len = bytes.length();\n while(len >= 64) {\n // the w array will be populated with sixteen 32-bit big-endian words\n // and then extended into 64 32-bit words according to SHA-256\n for(i = 0; i < 16; ++i) {\n w[i] = bytes.getInt32();\n }\n for(; i < 64; ++i) {\n // XOR word 2 words ago rot right 17, rot right 19, shft right 10\n t1 = w[i - 2];\n t1 =\n ((t1 >>> 17) | (t1 << 15)) ^\n ((t1 >>> 19) | (t1 << 13)) ^\n (t1 >>> 10);\n // XOR word 15 words ago rot right 7, rot right 18, shft right 3\n t2 = w[i - 15];\n t2 =\n ((t2 >>> 7) | (t2 << 25)) ^\n ((t2 >>> 18) | (t2 << 14)) ^\n (t2 >>> 3);\n // sum(t1, word 7 ago, t2, word 16 ago) modulo 2^32\n w[i] = (t1 + w[i - 7] + t2 + w[i - 16]) | 0;\n }\n\n // initialize hash value for this chunk\n a = s.h0;\n b = s.h1;\n c = s.h2;\n d = s.h3;\n e = s.h4;\n f = s.h5;\n g = s.h6;\n h = s.h7;\n\n // round function\n for(i = 0; i < 64; ++i) {\n // Sum1(e)\n s1 =\n ((e >>> 6) | (e << 26)) ^\n ((e >>> 11) | (e << 21)) ^\n ((e >>> 25) | (e << 7));\n // Ch(e, f, g) (optimized the same way as SHA-1)\n ch = g ^ (e & (f ^ g));\n // Sum0(a)\n s0 =\n ((a >>> 2) | (a << 30)) ^\n ((a >>> 13) | (a << 19)) ^\n ((a >>> 22) | (a << 10));\n // Maj(a, b, c) (optimized the same way as SHA-1)\n maj = (a & b) | (c & (a ^ b));\n\n // main algorithm\n t1 = h + s1 + ch + _k[i] + w[i];\n t2 = s0 + maj;\n h = g;\n g = f;\n f = e;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n // can't truncate with `| 0`\n e = (d + t1) >>> 0;\n d = c;\n c = b;\n b = a;\n // `>>> 0` necessary to avoid iOS/Safari 10 optimization bug\n // can't truncate with `| 0`\n a = (t1 + t2) >>> 0;\n }\n\n // update hash state\n s.h0 = (s.h0 + a) | 0;\n s.h1 = (s.h1 + b) | 0;\n s.h2 = (s.h2 + c) | 0;\n s.h3 = (s.h3 + d) | 0;\n s.h4 = (s.h4 + e) | 0;\n s.h5 = (s.h5 + f) | 0;\n s.h6 = (s.h6 + g) | 0;\n s.h7 = (s.h7 + h) | 0;\n len -= 64;\n }\n}\n","/**\n * Secure Hash Algorithm with a 1024-bit block size implementation.\n *\n * This includes: SHA-512, SHA-384, SHA-512/224, and SHA-512/256. For\n * SHA-256 (block size 512 bits), see sha256.js.\n *\n * See FIPS 180-4 for details.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2014-2015 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./md');\nrequire('./util');\n\nvar sha512 = module.exports = forge.sha512 = forge.sha512 || {};\n\n// SHA-512\nforge.md.sha512 = forge.md.algorithms.sha512 = sha512;\n\n// SHA-384\nvar sha384 = forge.sha384 = forge.sha512.sha384 = forge.sha512.sha384 || {};\nsha384.create = function() {\n return sha512.create('SHA-384');\n};\nforge.md.sha384 = forge.md.algorithms.sha384 = sha384;\n\n// SHA-512/256\nforge.sha512.sha256 = forge.sha512.sha256 || {\n create: function() {\n return sha512.create('SHA-512/256');\n }\n};\nforge.md['sha512/256'] = forge.md.algorithms['sha512/256'] =\n forge.sha512.sha256;\n\n// SHA-512/224\nforge.sha512.sha224 = forge.sha512.sha224 || {\n create: function() {\n return sha512.create('SHA-512/224');\n }\n};\nforge.md['sha512/224'] = forge.md.algorithms['sha512/224'] =\n forge.sha512.sha224;\n\n/**\n * Creates a SHA-2 message digest object.\n *\n * @param algorithm the algorithm to use (SHA-512, SHA-384, SHA-512/224,\n * SHA-512/256).\n *\n * @return a message digest object.\n */\nsha512.create = function(algorithm) {\n // do initialization as necessary\n if(!_initialized) {\n _init();\n }\n\n if(typeof algorithm === 'undefined') {\n algorithm = 'SHA-512';\n }\n\n if(!(algorithm in _states)) {\n throw new Error('Invalid SHA-512 algorithm: ' + algorithm);\n }\n\n // SHA-512 state contains eight 64-bit integers (each as two 32-bit ints)\n var _state = _states[algorithm];\n var _h = null;\n\n // input buffer\n var _input = forge.util.createBuffer();\n\n // used for 64-bit word storage\n var _w = new Array(80);\n for(var wi = 0; wi < 80; ++wi) {\n _w[wi] = new Array(2);\n }\n\n // determine digest length by algorithm name (default)\n var digestLength = 64;\n switch(algorithm) {\n case 'SHA-384':\n digestLength = 48;\n break;\n case 'SHA-512/256':\n digestLength = 32;\n break;\n case 'SHA-512/224':\n digestLength = 28;\n break;\n }\n\n // message digest object\n var md = {\n // SHA-512 => sha512\n algorithm: algorithm.replace('-', '').toLowerCase(),\n blockLength: 128,\n digestLength: digestLength,\n // 56-bit length of message so far (does not including padding)\n messageLength: 0,\n // true message length\n fullMessageLength: null,\n // size of message length in bytes\n messageLengthSize: 16\n };\n\n /**\n * Starts the digest.\n *\n * @return this digest object.\n */\n md.start = function() {\n // up to 56-bit message length for convenience\n md.messageLength = 0;\n\n // full message length (set md.messageLength128 for backwards-compatibility)\n md.fullMessageLength = md.messageLength128 = [];\n var int32s = md.messageLengthSize / 4;\n for(var i = 0; i < int32s; ++i) {\n md.fullMessageLength.push(0);\n }\n _input = forge.util.createBuffer();\n _h = new Array(_state.length);\n for(var i = 0; i < _state.length; ++i) {\n _h[i] = _state[i].slice(0);\n }\n return md;\n };\n // start digest automatically for first time\n md.start();\n\n /**\n * Updates the digest with the given message input. The given input can\n * treated as raw input (no encoding will be applied) or an encoding of\n * 'utf8' maybe given to encode the input using UTF-8.\n *\n * @param msg the message input to update with.\n * @param encoding the encoding to use (default: 'raw', other: 'utf8').\n *\n * @return this digest object.\n */\n md.update = function(msg, encoding) {\n if(encoding === 'utf8') {\n msg = forge.util.encodeUtf8(msg);\n }\n\n // update message length\n var len = msg.length;\n md.messageLength += len;\n len = [(len / 0x100000000) >>> 0, len >>> 0];\n for(var i = md.fullMessageLength.length - 1; i >= 0; --i) {\n md.fullMessageLength[i] += len[1];\n len[1] = len[0] + ((md.fullMessageLength[i] / 0x100000000) >>> 0);\n md.fullMessageLength[i] = md.fullMessageLength[i] >>> 0;\n len[0] = ((len[1] / 0x100000000) >>> 0);\n }\n\n // add bytes to input buffer\n _input.putBytes(msg);\n\n // process bytes\n _update(_h, _w, _input);\n\n // compact input buffer every 2K or if empty\n if(_input.read > 2048 || _input.length() === 0) {\n _input.compact();\n }\n\n return md;\n };\n\n /**\n * Produces the digest.\n *\n * @return a byte buffer containing the digest value.\n */\n md.digest = function() {\n /* Note: Here we copy the remaining bytes in the input buffer and\n add the appropriate SHA-512 padding. Then we do the final update\n on a copy of the state so that if the user wants to get\n intermediate digests they can do so. */\n\n /* Determine the number of bytes that must be added to the message\n to ensure its length is congruent to 896 mod 1024. In other words,\n the data to be digested must be a multiple of 1024 bits (or 128 bytes).\n This data includes the message, some padding, and the length of the\n message. Since the length of the message will be encoded as 16 bytes (128\n bits), that means that the last segment of the data must have 112 bytes\n (896 bits) of message and padding. Therefore, the length of the message\n plus the padding must be congruent to 896 mod 1024 because\n 1024 - 128 = 896.\n\n In order to fill up the message length it must be filled with\n padding that begins with 1 bit followed by all 0 bits. Padding\n must *always* be present, so if the message length is already\n congruent to 896 mod 1024, then 1024 padding bits must be added. */\n\n var finalBlock = forge.util.createBuffer();\n finalBlock.putBytes(_input.bytes());\n\n // compute remaining size to be digested (include message length size)\n var remaining = (\n md.fullMessageLength[md.fullMessageLength.length - 1] +\n md.messageLengthSize);\n\n // add padding for overflow blockSize - overflow\n // _padding starts with 1 byte with first bit is set (byte value 128), then\n // there may be up to (blockSize - 1) other pad bytes\n var overflow = remaining & (md.blockLength - 1);\n finalBlock.putBytes(_padding.substr(0, md.blockLength - overflow));\n\n // serialize message length in bits in big-endian order; since length\n // is stored in bytes we multiply by 8 and add carry from next int\n var next, carry;\n var bits = md.fullMessageLength[0] * 8;\n for(var i = 0; i < md.fullMessageLength.length - 1; ++i) {\n next = md.fullMessageLength[i + 1] * 8;\n carry = (next / 0x100000000) >>> 0;\n bits += carry;\n finalBlock.putInt32(bits >>> 0);\n bits = next >>> 0;\n }\n finalBlock.putInt32(bits);\n\n var h = new Array(_h.length);\n for(var i = 0; i < _h.length; ++i) {\n h[i] = _h[i].slice(0);\n }\n _update(h, _w, finalBlock);\n var rval = forge.util.createBuffer();\n var hlen;\n if(algorithm === 'SHA-512') {\n hlen = h.length;\n } else if(algorithm === 'SHA-384') {\n hlen = h.length - 2;\n } else {\n hlen = h.length - 4;\n }\n for(var i = 0; i < hlen; ++i) {\n rval.putInt32(h[i][0]);\n if(i !== hlen - 1 || algorithm !== 'SHA-512/224') {\n rval.putInt32(h[i][1]);\n }\n }\n return rval;\n };\n\n return md;\n};\n\n// sha-512 padding bytes not initialized yet\nvar _padding = null;\nvar _initialized = false;\n\n// table of constants\nvar _k = null;\n\n// initial hash states\nvar _states = null;\n\n/**\n * Initializes the constant tables.\n */\nfunction _init() {\n // create padding\n _padding = String.fromCharCode(128);\n _padding += forge.util.fillString(String.fromCharCode(0x00), 128);\n\n // create K table for SHA-512\n _k = [\n [0x428a2f98, 0xd728ae22], [0x71374491, 0x23ef65cd],\n [0xb5c0fbcf, 0xec4d3b2f], [0xe9b5dba5, 0x8189dbbc],\n [0x3956c25b, 0xf348b538], [0x59f111f1, 0xb605d019],\n [0x923f82a4, 0xaf194f9b], [0xab1c5ed5, 0xda6d8118],\n [0xd807aa98, 0xa3030242], [0x12835b01, 0x45706fbe],\n [0x243185be, 0x4ee4b28c], [0x550c7dc3, 0xd5ffb4e2],\n [0x72be5d74, 0xf27b896f], [0x80deb1fe, 0x3b1696b1],\n [0x9bdc06a7, 0x25c71235], [0xc19bf174, 0xcf692694],\n [0xe49b69c1, 0x9ef14ad2], [0xefbe4786, 0x384f25e3],\n [0x0fc19dc6, 0x8b8cd5b5], [0x240ca1cc, 0x77ac9c65],\n [0x2de92c6f, 0x592b0275], [0x4a7484aa, 0x6ea6e483],\n [0x5cb0a9dc, 0xbd41fbd4], [0x76f988da, 0x831153b5],\n [0x983e5152, 0xee66dfab], [0xa831c66d, 0x2db43210],\n [0xb00327c8, 0x98fb213f], [0xbf597fc7, 0xbeef0ee4],\n [0xc6e00bf3, 0x3da88fc2], [0xd5a79147, 0x930aa725],\n [0x06ca6351, 0xe003826f], [0x14292967, 0x0a0e6e70],\n [0x27b70a85, 0x46d22ffc], [0x2e1b2138, 0x5c26c926],\n [0x4d2c6dfc, 0x5ac42aed], [0x53380d13, 0x9d95b3df],\n [0x650a7354, 0x8baf63de], [0x766a0abb, 0x3c77b2a8],\n [0x81c2c92e, 0x47edaee6], [0x92722c85, 0x1482353b],\n [0xa2bfe8a1, 0x4cf10364], [0xa81a664b, 0xbc423001],\n [0xc24b8b70, 0xd0f89791], [0xc76c51a3, 0x0654be30],\n [0xd192e819, 0xd6ef5218], [0xd6990624, 0x5565a910],\n [0xf40e3585, 0x5771202a], [0x106aa070, 0x32bbd1b8],\n [0x19a4c116, 0xb8d2d0c8], [0x1e376c08, 0x5141ab53],\n [0x2748774c, 0xdf8eeb99], [0x34b0bcb5, 0xe19b48a8],\n [0x391c0cb3, 0xc5c95a63], [0x4ed8aa4a, 0xe3418acb],\n [0x5b9cca4f, 0x7763e373], [0x682e6ff3, 0xd6b2b8a3],\n [0x748f82ee, 0x5defb2fc], [0x78a5636f, 0x43172f60],\n [0x84c87814, 0xa1f0ab72], [0x8cc70208, 0x1a6439ec],\n [0x90befffa, 0x23631e28], [0xa4506ceb, 0xde82bde9],\n [0xbef9a3f7, 0xb2c67915], [0xc67178f2, 0xe372532b],\n [0xca273ece, 0xea26619c], [0xd186b8c7, 0x21c0c207],\n [0xeada7dd6, 0xcde0eb1e], [0xf57d4f7f, 0xee6ed178],\n [0x06f067aa, 0x72176fba], [0x0a637dc5, 0xa2c898a6],\n [0x113f9804, 0xbef90dae], [0x1b710b35, 0x131c471b],\n [0x28db77f5, 0x23047d84], [0x32caab7b, 0x40c72493],\n [0x3c9ebe0a, 0x15c9bebc], [0x431d67c4, 0x9c100d4c],\n [0x4cc5d4be, 0xcb3e42b6], [0x597f299c, 0xfc657e2a],\n [0x5fcb6fab, 0x3ad6faec], [0x6c44198c, 0x4a475817]\n ];\n\n // initial hash states\n _states = {};\n _states['SHA-512'] = [\n [0x6a09e667, 0xf3bcc908],\n [0xbb67ae85, 0x84caa73b],\n [0x3c6ef372, 0xfe94f82b],\n [0xa54ff53a, 0x5f1d36f1],\n [0x510e527f, 0xade682d1],\n [0x9b05688c, 0x2b3e6c1f],\n [0x1f83d9ab, 0xfb41bd6b],\n [0x5be0cd19, 0x137e2179]\n ];\n _states['SHA-384'] = [\n [0xcbbb9d5d, 0xc1059ed8],\n [0x629a292a, 0x367cd507],\n [0x9159015a, 0x3070dd17],\n [0x152fecd8, 0xf70e5939],\n [0x67332667, 0xffc00b31],\n [0x8eb44a87, 0x68581511],\n [0xdb0c2e0d, 0x64f98fa7],\n [0x47b5481d, 0xbefa4fa4]\n ];\n _states['SHA-512/256'] = [\n [0x22312194, 0xFC2BF72C],\n [0x9F555FA3, 0xC84C64C2],\n [0x2393B86B, 0x6F53B151],\n [0x96387719, 0x5940EABD],\n [0x96283EE2, 0xA88EFFE3],\n [0xBE5E1E25, 0x53863992],\n [0x2B0199FC, 0x2C85B8AA],\n [0x0EB72DDC, 0x81C52CA2]\n ];\n _states['SHA-512/224'] = [\n [0x8C3D37C8, 0x19544DA2],\n [0x73E19966, 0x89DCD4D6],\n [0x1DFAB7AE, 0x32FF9C82],\n [0x679DD514, 0x582F9FCF],\n [0x0F6D2B69, 0x7BD44DA8],\n [0x77E36F73, 0x04C48942],\n [0x3F9D85A8, 0x6A1D36C8],\n [0x1112E6AD, 0x91D692A1]\n ];\n\n // now initialized\n _initialized = true;\n}\n\n/**\n * Updates a SHA-512 state with the given byte buffer.\n *\n * @param s the SHA-512 state to update.\n * @param w the array to use to store words.\n * @param bytes the byte buffer to update with.\n */\nfunction _update(s, w, bytes) {\n // consume 512 bit (128 byte) chunks\n var t1_hi, t1_lo;\n var t2_hi, t2_lo;\n var s0_hi, s0_lo;\n var s1_hi, s1_lo;\n var ch_hi, ch_lo;\n var maj_hi, maj_lo;\n var a_hi, a_lo;\n var b_hi, b_lo;\n var c_hi, c_lo;\n var d_hi, d_lo;\n var e_hi, e_lo;\n var f_hi, f_lo;\n var g_hi, g_lo;\n var h_hi, h_lo;\n var i, hi, lo, w2, w7, w15, w16;\n var len = bytes.length();\n while(len >= 128) {\n // the w array will be populated with sixteen 64-bit big-endian words\n // and then extended into 64 64-bit words according to SHA-512\n for(i = 0; i < 16; ++i) {\n w[i][0] = bytes.getInt32() >>> 0;\n w[i][1] = bytes.getInt32() >>> 0;\n }\n for(; i < 80; ++i) {\n // for word 2 words ago: ROTR 19(x) ^ ROTR 61(x) ^ SHR 6(x)\n w2 = w[i - 2];\n hi = w2[0];\n lo = w2[1];\n\n // high bits\n t1_hi = (\n ((hi >>> 19) | (lo << 13)) ^ // ROTR 19\n ((lo >>> 29) | (hi << 3)) ^ // ROTR 61/(swap + ROTR 29)\n (hi >>> 6)) >>> 0; // SHR 6\n // low bits\n t1_lo = (\n ((hi << 13) | (lo >>> 19)) ^ // ROTR 19\n ((lo << 3) | (hi >>> 29)) ^ // ROTR 61/(swap + ROTR 29)\n ((hi << 26) | (lo >>> 6))) >>> 0; // SHR 6\n\n // for word 15 words ago: ROTR 1(x) ^ ROTR 8(x) ^ SHR 7(x)\n w15 = w[i - 15];\n hi = w15[0];\n lo = w15[1];\n\n // high bits\n t2_hi = (\n ((hi >>> 1) | (lo << 31)) ^ // ROTR 1\n ((hi >>> 8) | (lo << 24)) ^ // ROTR 8\n (hi >>> 7)) >>> 0; // SHR 7\n // low bits\n t2_lo = (\n ((hi << 31) | (lo >>> 1)) ^ // ROTR 1\n ((hi << 24) | (lo >>> 8)) ^ // ROTR 8\n ((hi << 25) | (lo >>> 7))) >>> 0; // SHR 7\n\n // sum(t1, word 7 ago, t2, word 16 ago) modulo 2^64 (carry lo overflow)\n w7 = w[i - 7];\n w16 = w[i - 16];\n lo = (t1_lo + w7[1] + t2_lo + w16[1]);\n w[i][0] = (t1_hi + w7[0] + t2_hi + w16[0] +\n ((lo / 0x100000000) >>> 0)) >>> 0;\n w[i][1] = lo >>> 0;\n }\n\n // initialize hash value for this chunk\n a_hi = s[0][0];\n a_lo = s[0][1];\n b_hi = s[1][0];\n b_lo = s[1][1];\n c_hi = s[2][0];\n c_lo = s[2][1];\n d_hi = s[3][0];\n d_lo = s[3][1];\n e_hi = s[4][0];\n e_lo = s[4][1];\n f_hi = s[5][0];\n f_lo = s[5][1];\n g_hi = s[6][0];\n g_lo = s[6][1];\n h_hi = s[7][0];\n h_lo = s[7][1];\n\n // round function\n for(i = 0; i < 80; ++i) {\n // Sum1(e) = ROTR 14(e) ^ ROTR 18(e) ^ ROTR 41(e)\n s1_hi = (\n ((e_hi >>> 14) | (e_lo << 18)) ^ // ROTR 14\n ((e_hi >>> 18) | (e_lo << 14)) ^ // ROTR 18\n ((e_lo >>> 9) | (e_hi << 23))) >>> 0; // ROTR 41/(swap + ROTR 9)\n s1_lo = (\n ((e_hi << 18) | (e_lo >>> 14)) ^ // ROTR 14\n ((e_hi << 14) | (e_lo >>> 18)) ^ // ROTR 18\n ((e_lo << 23) | (e_hi >>> 9))) >>> 0; // ROTR 41/(swap + ROTR 9)\n\n // Ch(e, f, g) (optimized the same way as SHA-1)\n ch_hi = (g_hi ^ (e_hi & (f_hi ^ g_hi))) >>> 0;\n ch_lo = (g_lo ^ (e_lo & (f_lo ^ g_lo))) >>> 0;\n\n // Sum0(a) = ROTR 28(a) ^ ROTR 34(a) ^ ROTR 39(a)\n s0_hi = (\n ((a_hi >>> 28) | (a_lo << 4)) ^ // ROTR 28\n ((a_lo >>> 2) | (a_hi << 30)) ^ // ROTR 34/(swap + ROTR 2)\n ((a_lo >>> 7) | (a_hi << 25))) >>> 0; // ROTR 39/(swap + ROTR 7)\n s0_lo = (\n ((a_hi << 4) | (a_lo >>> 28)) ^ // ROTR 28\n ((a_lo << 30) | (a_hi >>> 2)) ^ // ROTR 34/(swap + ROTR 2)\n ((a_lo << 25) | (a_hi >>> 7))) >>> 0; // ROTR 39/(swap + ROTR 7)\n\n // Maj(a, b, c) (optimized the same way as SHA-1)\n maj_hi = ((a_hi & b_hi) | (c_hi & (a_hi ^ b_hi))) >>> 0;\n maj_lo = ((a_lo & b_lo) | (c_lo & (a_lo ^ b_lo))) >>> 0;\n\n // main algorithm\n // t1 = (h + s1 + ch + _k[i] + _w[i]) modulo 2^64 (carry lo overflow)\n lo = (h_lo + s1_lo + ch_lo + _k[i][1] + w[i][1]);\n t1_hi = (h_hi + s1_hi + ch_hi + _k[i][0] + w[i][0] +\n ((lo / 0x100000000) >>> 0)) >>> 0;\n t1_lo = lo >>> 0;\n\n // t2 = s0 + maj modulo 2^64 (carry lo overflow)\n lo = s0_lo + maj_lo;\n t2_hi = (s0_hi + maj_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n t2_lo = lo >>> 0;\n\n h_hi = g_hi;\n h_lo = g_lo;\n\n g_hi = f_hi;\n g_lo = f_lo;\n\n f_hi = e_hi;\n f_lo = e_lo;\n\n // e = (d + t1) modulo 2^64 (carry lo overflow)\n lo = d_lo + t1_lo;\n e_hi = (d_hi + t1_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n e_lo = lo >>> 0;\n\n d_hi = c_hi;\n d_lo = c_lo;\n\n c_hi = b_hi;\n c_lo = b_lo;\n\n b_hi = a_hi;\n b_lo = a_lo;\n\n // a = (t1 + t2) modulo 2^64 (carry lo overflow)\n lo = t1_lo + t2_lo;\n a_hi = (t1_hi + t2_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n a_lo = lo >>> 0;\n }\n\n // update hash state (additional modulo 2^64)\n lo = s[0][1] + a_lo;\n s[0][0] = (s[0][0] + a_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[0][1] = lo >>> 0;\n\n lo = s[1][1] + b_lo;\n s[1][0] = (s[1][0] + b_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[1][1] = lo >>> 0;\n\n lo = s[2][1] + c_lo;\n s[2][0] = (s[2][0] + c_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[2][1] = lo >>> 0;\n\n lo = s[3][1] + d_lo;\n s[3][0] = (s[3][0] + d_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[3][1] = lo >>> 0;\n\n lo = s[4][1] + e_lo;\n s[4][0] = (s[4][0] + e_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[4][1] = lo >>> 0;\n\n lo = s[5][1] + f_lo;\n s[5][0] = (s[5][0] + f_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[5][1] = lo >>> 0;\n\n lo = s[6][1] + g_lo;\n s[6][0] = (s[6][0] + g_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[6][1] = lo >>> 0;\n\n lo = s[7][1] + h_lo;\n s[7][0] = (s[7][0] + h_hi + ((lo / 0x100000000) >>> 0)) >>> 0;\n s[7][1] = lo >>> 0;\n\n len -= 128;\n }\n}\n","/**\n * Functions to output keys in SSH-friendly formats.\n *\n * This is part of the Forge project which may be used under the terms of\n * either the BSD License or the GNU General Public License (GPL) Version 2.\n *\n * See: https://github.com/digitalbazaar/forge/blob/cbebca3780658703d925b61b2caffb1d263a6c1d/LICENSE\n *\n * @author https://github.com/shellac\n */\nvar forge = require('./forge');\nrequire('./aes');\nrequire('./hmac');\nrequire('./md5');\nrequire('./sha1');\nrequire('./util');\n\nvar ssh = module.exports = forge.ssh = forge.ssh || {};\n\n/**\n * Encodes (and optionally encrypts) a private RSA key as a Putty PPK file.\n *\n * @param privateKey the key.\n * @param passphrase a passphrase to protect the key (falsy for no encryption).\n * @param comment a comment to include in the key file.\n *\n * @return the PPK file as a string.\n */\nssh.privateKeyToPutty = function(privateKey, passphrase, comment) {\n comment = comment || '';\n passphrase = passphrase || '';\n var algorithm = 'ssh-rsa';\n var encryptionAlgorithm = (passphrase === '') ? 'none' : 'aes256-cbc';\n\n var ppk = 'PuTTY-User-Key-File-2: ' + algorithm + '\\r\\n';\n ppk += 'Encryption: ' + encryptionAlgorithm + '\\r\\n';\n ppk += 'Comment: ' + comment + '\\r\\n';\n\n // public key into buffer for ppk\n var pubbuffer = forge.util.createBuffer();\n _addStringToBuffer(pubbuffer, algorithm);\n _addBigIntegerToBuffer(pubbuffer, privateKey.e);\n _addBigIntegerToBuffer(pubbuffer, privateKey.n);\n\n // write public key\n var pub = forge.util.encode64(pubbuffer.bytes(), 64);\n var length = Math.floor(pub.length / 66) + 1; // 66 = 64 + \\r\\n\n ppk += 'Public-Lines: ' + length + '\\r\\n';\n ppk += pub;\n\n // private key into a buffer\n var privbuffer = forge.util.createBuffer();\n _addBigIntegerToBuffer(privbuffer, privateKey.d);\n _addBigIntegerToBuffer(privbuffer, privateKey.p);\n _addBigIntegerToBuffer(privbuffer, privateKey.q);\n _addBigIntegerToBuffer(privbuffer, privateKey.qInv);\n\n // optionally encrypt the private key\n var priv;\n if(!passphrase) {\n // use the unencrypted buffer\n priv = forge.util.encode64(privbuffer.bytes(), 64);\n } else {\n // encrypt RSA key using passphrase\n var encLen = privbuffer.length() + 16 - 1;\n encLen -= encLen % 16;\n\n // pad private key with sha1-d data -- needs to be a multiple of 16\n var padding = _sha1(privbuffer.bytes());\n\n padding.truncate(padding.length() - encLen + privbuffer.length());\n privbuffer.putBuffer(padding);\n\n var aeskey = forge.util.createBuffer();\n aeskey.putBuffer(_sha1('\\x00\\x00\\x00\\x00', passphrase));\n aeskey.putBuffer(_sha1('\\x00\\x00\\x00\\x01', passphrase));\n\n // encrypt some bytes using CBC mode\n // key is 40 bytes, so truncate *by* 8 bytes\n var cipher = forge.aes.createEncryptionCipher(aeskey.truncate(8), 'CBC');\n cipher.start(forge.util.createBuffer().fillWithByte(0, 16));\n cipher.update(privbuffer.copy());\n cipher.finish();\n var encrypted = cipher.output;\n\n // Note: this appears to differ from Putty -- is forge wrong, or putty?\n // due to padding we finish as an exact multiple of 16\n encrypted.truncate(16); // all padding\n\n priv = forge.util.encode64(encrypted.bytes(), 64);\n }\n\n // output private key\n length = Math.floor(priv.length / 66) + 1; // 64 + \\r\\n\n ppk += '\\r\\nPrivate-Lines: ' + length + '\\r\\n';\n ppk += priv;\n\n // MAC\n var mackey = _sha1('putty-private-key-file-mac-key', passphrase);\n\n var macbuffer = forge.util.createBuffer();\n _addStringToBuffer(macbuffer, algorithm);\n _addStringToBuffer(macbuffer, encryptionAlgorithm);\n _addStringToBuffer(macbuffer, comment);\n macbuffer.putInt32(pubbuffer.length());\n macbuffer.putBuffer(pubbuffer);\n macbuffer.putInt32(privbuffer.length());\n macbuffer.putBuffer(privbuffer);\n\n var hmac = forge.hmac.create();\n hmac.start('sha1', mackey);\n hmac.update(macbuffer.bytes());\n\n ppk += '\\r\\nPrivate-MAC: ' + hmac.digest().toHex() + '\\r\\n';\n\n return ppk;\n};\n\n/**\n * Encodes a public RSA key as an OpenSSH file.\n *\n * @param key the key.\n * @param comment a comment.\n *\n * @return the public key in OpenSSH format.\n */\nssh.publicKeyToOpenSSH = function(key, comment) {\n var type = 'ssh-rsa';\n comment = comment || '';\n\n var buffer = forge.util.createBuffer();\n _addStringToBuffer(buffer, type);\n _addBigIntegerToBuffer(buffer, key.e);\n _addBigIntegerToBuffer(buffer, key.n);\n\n return type + ' ' + forge.util.encode64(buffer.bytes()) + ' ' + comment;\n};\n\n/**\n * Encodes a private RSA key as an OpenSSH file.\n *\n * @param key the key.\n * @param passphrase a passphrase to protect the key (falsy for no encryption).\n *\n * @return the public key in OpenSSH format.\n */\nssh.privateKeyToOpenSSH = function(privateKey, passphrase) {\n if(!passphrase) {\n return forge.pki.privateKeyToPem(privateKey);\n }\n // OpenSSH private key is just a legacy format, it seems\n return forge.pki.encryptRsaPrivateKey(privateKey, passphrase,\n {legacy: true, algorithm: 'aes128'});\n};\n\n/**\n * Gets the SSH fingerprint for the given public key.\n *\n * @param options the options to use.\n * [md] the message digest object to use (defaults to forge.md.md5).\n * [encoding] an alternative output encoding, such as 'hex'\n * (defaults to none, outputs a byte buffer).\n * [delimiter] the delimiter to use between bytes for 'hex' encoded\n * output, eg: ':' (defaults to none).\n *\n * @return the fingerprint as a byte buffer or other encoding based on options.\n */\nssh.getPublicKeyFingerprint = function(key, options) {\n options = options || {};\n var md = options.md || forge.md.md5.create();\n\n var type = 'ssh-rsa';\n var buffer = forge.util.createBuffer();\n _addStringToBuffer(buffer, type);\n _addBigIntegerToBuffer(buffer, key.e);\n _addBigIntegerToBuffer(buffer, key.n);\n\n // hash public key bytes\n md.start();\n md.update(buffer.getBytes());\n var digest = md.digest();\n if(options.encoding === 'hex') {\n var hex = digest.toHex();\n if(options.delimiter) {\n return hex.match(/.{2}/g).join(options.delimiter);\n }\n return hex;\n } else if(options.encoding === 'binary') {\n return digest.getBytes();\n } else if(options.encoding) {\n throw new Error('Unknown encoding \"' + options.encoding + '\".');\n }\n return digest;\n};\n\n/**\n * Adds len(val) then val to a buffer.\n *\n * @param buffer the buffer to add to.\n * @param val a big integer.\n */\nfunction _addBigIntegerToBuffer(buffer, val) {\n var hexVal = val.toString(16);\n // ensure 2s complement +ve\n if(hexVal[0] >= '8') {\n hexVal = '00' + hexVal;\n }\n var bytes = forge.util.hexToBytes(hexVal);\n buffer.putInt32(bytes.length);\n buffer.putBytes(bytes);\n}\n\n/**\n * Adds len(val) then val to a buffer.\n *\n * @param buffer the buffer to add to.\n * @param val a string.\n */\nfunction _addStringToBuffer(buffer, val) {\n buffer.putInt32(val.length);\n buffer.putString(val);\n}\n\n/**\n * Hashes the arguments into one value using SHA-1.\n *\n * @return the sha1 hash of the provided arguments.\n */\nfunction _sha1() {\n var sha = forge.md.sha1.create();\n var num = arguments.length;\n for (var i = 0; i < num; ++i) {\n sha.update(arguments[i]);\n }\n return sha.digest();\n}\n","/**\n * Support for concurrent task management and synchronization in web\n * applications.\n *\n * @author Dave Longley\n * @author David I. Lehn \n *\n * Copyright (c) 2009-2013 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nrequire('./debug');\nrequire('./log');\nrequire('./util');\n\n// logging category\nvar cat = 'forge.task';\n\n// verbose level\n// 0: off, 1: a little, 2: a whole lot\n// Verbose debug logging is surrounded by a level check to avoid the\n// performance issues with even calling the logging code regardless if it\n// is actually logged. For performance reasons this should not be set to 2\n// for production use.\n// ex: if(sVL >= 2) forge.log.verbose(....)\nvar sVL = 0;\n\n// track tasks for debugging\nvar sTasks = {};\nvar sNextTaskId = 0;\n// debug access\nforge.debug.set(cat, 'tasks', sTasks);\n\n// a map of task type to task queue\nvar sTaskQueues = {};\n// debug access\nforge.debug.set(cat, 'queues', sTaskQueues);\n\n// name for unnamed tasks\nvar sNoTaskName = '?';\n\n// maximum number of doNext() recursions before a context swap occurs\n// FIXME: might need to tweak this based on the browser\nvar sMaxRecursions = 30;\n\n// time slice for doing tasks before a context swap occurs\n// FIXME: might need to tweak this based on the browser\nvar sTimeSlice = 20;\n\n/**\n * Task states.\n *\n * READY: ready to start processing\n * RUNNING: task or a subtask is running\n * BLOCKED: task is waiting to acquire N permits to continue\n * SLEEPING: task is sleeping for a period of time\n * DONE: task is done\n * ERROR: task has an error\n */\nvar READY = 'ready';\nvar RUNNING = 'running';\nvar BLOCKED = 'blocked';\nvar SLEEPING = 'sleeping';\nvar DONE = 'done';\nvar ERROR = 'error';\n\n/**\n * Task actions. Used to control state transitions.\n *\n * STOP: stop processing\n * START: start processing tasks\n * BLOCK: block task from continuing until 1 or more permits are released\n * UNBLOCK: release one or more permits\n * SLEEP: sleep for a period of time\n * WAKEUP: wakeup early from SLEEPING state\n * CANCEL: cancel further tasks\n * FAIL: a failure occured\n */\nvar STOP = 'stop';\nvar START = 'start';\nvar BLOCK = 'block';\nvar UNBLOCK = 'unblock';\nvar SLEEP = 'sleep';\nvar WAKEUP = 'wakeup';\nvar CANCEL = 'cancel';\nvar FAIL = 'fail';\n\n/**\n * State transition table.\n *\n * nextState = sStateTable[currentState][action]\n */\nvar sStateTable = {};\n\nsStateTable[READY] = {};\nsStateTable[READY][STOP] = READY;\nsStateTable[READY][START] = RUNNING;\nsStateTable[READY][CANCEL] = DONE;\nsStateTable[READY][FAIL] = ERROR;\n\nsStateTable[RUNNING] = {};\nsStateTable[RUNNING][STOP] = READY;\nsStateTable[RUNNING][START] = RUNNING;\nsStateTable[RUNNING][BLOCK] = BLOCKED;\nsStateTable[RUNNING][UNBLOCK] = RUNNING;\nsStateTable[RUNNING][SLEEP] = SLEEPING;\nsStateTable[RUNNING][WAKEUP] = RUNNING;\nsStateTable[RUNNING][CANCEL] = DONE;\nsStateTable[RUNNING][FAIL] = ERROR;\n\nsStateTable[BLOCKED] = {};\nsStateTable[BLOCKED][STOP] = BLOCKED;\nsStateTable[BLOCKED][START] = BLOCKED;\nsStateTable[BLOCKED][BLOCK] = BLOCKED;\nsStateTable[BLOCKED][UNBLOCK] = BLOCKED;\nsStateTable[BLOCKED][SLEEP] = BLOCKED;\nsStateTable[BLOCKED][WAKEUP] = BLOCKED;\nsStateTable[BLOCKED][CANCEL] = DONE;\nsStateTable[BLOCKED][FAIL] = ERROR;\n\nsStateTable[SLEEPING] = {};\nsStateTable[SLEEPING][STOP] = SLEEPING;\nsStateTable[SLEEPING][START] = SLEEPING;\nsStateTable[SLEEPING][BLOCK] = SLEEPING;\nsStateTable[SLEEPING][UNBLOCK] = SLEEPING;\nsStateTable[SLEEPING][SLEEP] = SLEEPING;\nsStateTable[SLEEPING][WAKEUP] = SLEEPING;\nsStateTable[SLEEPING][CANCEL] = DONE;\nsStateTable[SLEEPING][FAIL] = ERROR;\n\nsStateTable[DONE] = {};\nsStateTable[DONE][STOP] = DONE;\nsStateTable[DONE][START] = DONE;\nsStateTable[DONE][BLOCK] = DONE;\nsStateTable[DONE][UNBLOCK] = DONE;\nsStateTable[DONE][SLEEP] = DONE;\nsStateTable[DONE][WAKEUP] = DONE;\nsStateTable[DONE][CANCEL] = DONE;\nsStateTable[DONE][FAIL] = ERROR;\n\nsStateTable[ERROR] = {};\nsStateTable[ERROR][STOP] = ERROR;\nsStateTable[ERROR][START] = ERROR;\nsStateTable[ERROR][BLOCK] = ERROR;\nsStateTable[ERROR][UNBLOCK] = ERROR;\nsStateTable[ERROR][SLEEP] = ERROR;\nsStateTable[ERROR][WAKEUP] = ERROR;\nsStateTable[ERROR][CANCEL] = ERROR;\nsStateTable[ERROR][FAIL] = ERROR;\n\n/**\n * Creates a new task.\n *\n * @param options options for this task\n * run: the run function for the task (required)\n * name: the run function for the task (optional)\n * parent: parent of this task (optional)\n *\n * @return the empty task.\n */\nvar Task = function(options) {\n // task id\n this.id = -1;\n\n // task name\n this.name = options.name || sNoTaskName;\n\n // task has no parent\n this.parent = options.parent || null;\n\n // save run function\n this.run = options.run;\n\n // create a queue of subtasks to run\n this.subtasks = [];\n\n // error flag\n this.error = false;\n\n // state of the task\n this.state = READY;\n\n // number of times the task has been blocked (also the number\n // of permits needed to be released to continue running)\n this.blocks = 0;\n\n // timeout id when sleeping\n this.timeoutId = null;\n\n // no swap time yet\n this.swapTime = null;\n\n // no user data\n this.userData = null;\n\n // initialize task\n // FIXME: deal with overflow\n this.id = sNextTaskId++;\n sTasks[this.id] = this;\n if(sVL >= 1) {\n forge.log.verbose(cat, '[%s][%s] init', this.id, this.name, this);\n }\n};\n\n/**\n * Logs debug information on this task and the system state.\n */\nTask.prototype.debug = function(msg) {\n msg = msg || '';\n forge.log.debug(cat, msg,\n '[%s][%s] task:', this.id, this.name, this,\n 'subtasks:', this.subtasks.length,\n 'queue:', sTaskQueues);\n};\n\n/**\n * Adds a subtask to run after task.doNext() or task.fail() is called.\n *\n * @param name human readable name for this task (optional).\n * @param subrun a function to run that takes the current task as\n * its first parameter.\n *\n * @return the current task (useful for chaining next() calls).\n */\nTask.prototype.next = function(name, subrun) {\n // juggle parameters if it looks like no name is given\n if(typeof(name) === 'function') {\n subrun = name;\n\n // inherit parent's name\n name = this.name;\n }\n // create subtask, set parent to this task, propagate callbacks\n var subtask = new Task({\n run: subrun,\n name: name,\n parent: this\n });\n // start subtasks running\n subtask.state = RUNNING;\n subtask.type = this.type;\n subtask.successCallback = this.successCallback || null;\n subtask.failureCallback = this.failureCallback || null;\n\n // queue a new subtask\n this.subtasks.push(subtask);\n\n return this;\n};\n\n/**\n * Adds subtasks to run in parallel after task.doNext() or task.fail()\n * is called.\n *\n * @param name human readable name for this task (optional).\n * @param subrun functions to run that take the current task as\n * their first parameter.\n *\n * @return the current task (useful for chaining next() calls).\n */\nTask.prototype.parallel = function(name, subrun) {\n // juggle parameters if it looks like no name is given\n if(forge.util.isArray(name)) {\n subrun = name;\n\n // inherit parent's name\n name = this.name;\n }\n // Wrap parallel tasks in a regular task so they are started at the\n // proper time.\n return this.next(name, function(task) {\n // block waiting for subtasks\n var ptask = task;\n ptask.block(subrun.length);\n\n // we pass the iterator from the loop below as a parameter\n // to a function because it is otherwise included in the\n // closure and changes as the loop changes -- causing i\n // to always be set to its highest value\n var startParallelTask = function(pname, pi) {\n forge.task.start({\n type: pname,\n run: function(task) {\n subrun[pi](task);\n },\n success: function(task) {\n ptask.unblock();\n },\n failure: function(task) {\n ptask.unblock();\n }\n });\n };\n\n for(var i = 0; i < subrun.length; i++) {\n // Type must be unique so task starts in parallel:\n // name + private string + task id + sub-task index\n // start tasks in parallel and unblock when the finish\n var pname = name + '__parallel-' + task.id + '-' + i;\n var pi = i;\n startParallelTask(pname, pi);\n }\n });\n};\n\n/**\n * Stops a running task.\n */\nTask.prototype.stop = function() {\n this.state = sStateTable[this.state][STOP];\n};\n\n/**\n * Starts running a task.\n */\nTask.prototype.start = function() {\n this.error = false;\n this.state = sStateTable[this.state][START];\n\n // try to restart\n if(this.state === RUNNING) {\n this.start = new Date();\n this.run(this);\n runNext(this, 0);\n }\n};\n\n/**\n * Blocks a task until it one or more permits have been released. The\n * task will not resume until the requested number of permits have\n * been released with call(s) to unblock().\n *\n * @param n number of permits to wait for(default: 1).\n */\nTask.prototype.block = function(n) {\n n = typeof(n) === 'undefined' ? 1 : n;\n this.blocks += n;\n if(this.blocks > 0) {\n this.state = sStateTable[this.state][BLOCK];\n }\n};\n\n/**\n * Releases a permit to unblock a task. If a task was blocked by\n * requesting N permits via block(), then it will only continue\n * running once enough permits have been released via unblock() calls.\n *\n * If multiple processes need to synchronize with a single task then\n * use a condition variable (see forge.task.createCondition). It is\n * an error to unblock a task more times than it has been blocked.\n *\n * @param n number of permits to release (default: 1).\n *\n * @return the current block count (task is unblocked when count is 0)\n */\nTask.prototype.unblock = function(n) {\n n = typeof(n) === 'undefined' ? 1 : n;\n this.blocks -= n;\n if(this.blocks === 0 && this.state !== DONE) {\n this.state = RUNNING;\n runNext(this, 0);\n }\n return this.blocks;\n};\n\n/**\n * Sleep for a period of time before resuming tasks.\n *\n * @param n number of milliseconds to sleep (default: 0).\n */\nTask.prototype.sleep = function(n) {\n n = typeof(n) === 'undefined' ? 0 : n;\n this.state = sStateTable[this.state][SLEEP];\n var self = this;\n this.timeoutId = setTimeout(function() {\n self.timeoutId = null;\n self.state = RUNNING;\n runNext(self, 0);\n }, n);\n};\n\n/**\n * Waits on a condition variable until notified. The next task will\n * not be scheduled until notification. A condition variable can be\n * created with forge.task.createCondition().\n *\n * Once cond.notify() is called, the task will continue.\n *\n * @param cond the condition variable to wait on.\n */\nTask.prototype.wait = function(cond) {\n cond.wait(this);\n};\n\n/**\n * If sleeping, wakeup and continue running tasks.\n */\nTask.prototype.wakeup = function() {\n if(this.state === SLEEPING) {\n cancelTimeout(this.timeoutId);\n this.timeoutId = null;\n this.state = RUNNING;\n runNext(this, 0);\n }\n};\n\n/**\n * Cancel all remaining subtasks of this task.\n */\nTask.prototype.cancel = function() {\n this.state = sStateTable[this.state][CANCEL];\n // remove permits needed\n this.permitsNeeded = 0;\n // cancel timeouts\n if(this.timeoutId !== null) {\n cancelTimeout(this.timeoutId);\n this.timeoutId = null;\n }\n // remove subtasks\n this.subtasks = [];\n};\n\n/**\n * Finishes this task with failure and sets error flag. The entire\n * task will be aborted unless the next task that should execute\n * is passed as a parameter. This allows levels of subtasks to be\n * skipped. For instance, to abort only this tasks's subtasks, then\n * call fail(task.parent). To abort this task's subtasks and its\n * parent's subtasks, call fail(task.parent.parent). To abort\n * all tasks and simply call the task callback, call fail() or\n * fail(null).\n *\n * The task callback (success or failure) will always, eventually, be\n * called.\n *\n * @param next the task to continue at, or null to abort entirely.\n */\nTask.prototype.fail = function(next) {\n // set error flag\n this.error = true;\n\n // finish task\n finish(this, true);\n\n if(next) {\n // propagate task info\n next.error = this.error;\n next.swapTime = this.swapTime;\n next.userData = this.userData;\n\n // do next task as specified\n runNext(next, 0);\n } else {\n if(this.parent !== null) {\n // finish root task (ensures it is removed from task queue)\n var parent = this.parent;\n while(parent.parent !== null) {\n // propagate task info\n parent.error = this.error;\n parent.swapTime = this.swapTime;\n parent.userData = this.userData;\n parent = parent.parent;\n }\n finish(parent, true);\n }\n\n // call failure callback if one exists\n if(this.failureCallback) {\n this.failureCallback(this);\n }\n }\n};\n\n/**\n * Asynchronously start a task.\n *\n * @param task the task to start.\n */\nvar start = function(task) {\n task.error = false;\n task.state = sStateTable[task.state][START];\n setTimeout(function() {\n if(task.state === RUNNING) {\n task.swapTime = +new Date();\n task.run(task);\n runNext(task, 0);\n }\n }, 0);\n};\n\n/**\n * Run the next subtask or finish this task.\n *\n * @param task the task to process.\n * @param recurse the recursion count.\n */\nvar runNext = function(task, recurse) {\n // get time since last context swap (ms), if enough time has passed set\n // swap to true to indicate that doNext was performed asynchronously\n // also, if recurse is too high do asynchronously\n var swap =\n (recurse > sMaxRecursions) ||\n (+new Date() - task.swapTime) > sTimeSlice;\n\n var doNext = function(recurse) {\n recurse++;\n if(task.state === RUNNING) {\n if(swap) {\n // update swap time\n task.swapTime = +new Date();\n }\n\n if(task.subtasks.length > 0) {\n // run next subtask\n var subtask = task.subtasks.shift();\n subtask.error = task.error;\n subtask.swapTime = task.swapTime;\n subtask.userData = task.userData;\n subtask.run(subtask);\n if(!subtask.error) {\n runNext(subtask, recurse);\n }\n } else {\n finish(task);\n\n if(!task.error) {\n // chain back up and run parent\n if(task.parent !== null) {\n // propagate task info\n task.parent.error = task.error;\n task.parent.swapTime = task.swapTime;\n task.parent.userData = task.userData;\n\n // no subtasks left, call run next subtask on parent\n runNext(task.parent, recurse);\n }\n }\n }\n }\n };\n\n if(swap) {\n // we're swapping, so run asynchronously\n setTimeout(doNext, 0);\n } else {\n // not swapping, so run synchronously\n doNext(recurse);\n }\n};\n\n/**\n * Finishes a task and looks for the next task in the queue to start.\n *\n * @param task the task to finish.\n * @param suppressCallbacks true to suppress callbacks.\n */\nvar finish = function(task, suppressCallbacks) {\n // subtask is now done\n task.state = DONE;\n\n delete sTasks[task.id];\n if(sVL >= 1) {\n forge.log.verbose(cat, '[%s][%s] finish',\n task.id, task.name, task);\n }\n\n // only do queue processing for root tasks\n if(task.parent === null) {\n // report error if queue is missing\n if(!(task.type in sTaskQueues)) {\n forge.log.error(cat,\n '[%s][%s] task queue missing [%s]',\n task.id, task.name, task.type);\n } else if(sTaskQueues[task.type].length === 0) {\n // report error if queue is empty\n forge.log.error(cat,\n '[%s][%s] task queue empty [%s]',\n task.id, task.name, task.type);\n } else if(sTaskQueues[task.type][0] !== task) {\n // report error if this task isn't the first in the queue\n forge.log.error(cat,\n '[%s][%s] task not first in queue [%s]',\n task.id, task.name, task.type);\n } else {\n // remove ourselves from the queue\n sTaskQueues[task.type].shift();\n // clean up queue if it is empty\n if(sTaskQueues[task.type].length === 0) {\n if(sVL >= 1) {\n forge.log.verbose(cat, '[%s][%s] delete queue [%s]',\n task.id, task.name, task.type);\n }\n /* Note: Only a task can delete a queue of its own type. This\n is used as a way to synchronize tasks. If a queue for a certain\n task type exists, then a task of that type is running.\n */\n delete sTaskQueues[task.type];\n } else {\n // dequeue the next task and start it\n if(sVL >= 1) {\n forge.log.verbose(cat,\n '[%s][%s] queue start next [%s] remain:%s',\n task.id, task.name, task.type,\n sTaskQueues[task.type].length);\n }\n sTaskQueues[task.type][0].start();\n }\n }\n\n if(!suppressCallbacks) {\n // call final callback if one exists\n if(task.error && task.failureCallback) {\n task.failureCallback(task);\n } else if(!task.error && task.successCallback) {\n task.successCallback(task);\n }\n }\n }\n};\n\n/* Tasks API */\nmodule.exports = forge.task = forge.task || {};\n\n/**\n * Starts a new task that will run the passed function asynchronously.\n *\n * In order to finish the task, either task.doNext() or task.fail()\n * *must* be called.\n *\n * The task must have a type (a string identifier) that can be used to\n * synchronize it with other tasks of the same type. That type can also\n * be used to cancel tasks that haven't started yet.\n *\n * To start a task, the following object must be provided as a parameter\n * (each function takes a task object as its first parameter):\n *\n * {\n * type: the type of task.\n * run: the function to run to execute the task.\n * success: a callback to call when the task succeeds (optional).\n * failure: a callback to call when the task fails (optional).\n * }\n *\n * @param options the object as described above.\n */\nforge.task.start = function(options) {\n // create a new task\n var task = new Task({\n run: options.run,\n name: options.name || sNoTaskName\n });\n task.type = options.type;\n task.successCallback = options.success || null;\n task.failureCallback = options.failure || null;\n\n // append the task onto the appropriate queue\n if(!(task.type in sTaskQueues)) {\n if(sVL >= 1) {\n forge.log.verbose(cat, '[%s][%s] create queue [%s]',\n task.id, task.name, task.type);\n }\n // create the queue with the new task\n sTaskQueues[task.type] = [task];\n start(task);\n } else {\n // push the task onto the queue, it will be run after a task\n // with the same type completes\n sTaskQueues[options.type].push(task);\n }\n};\n\n/**\n * Cancels all tasks of the given type that haven't started yet.\n *\n * @param type the type of task to cancel.\n */\nforge.task.cancel = function(type) {\n // find the task queue\n if(type in sTaskQueues) {\n // empty all but the current task from the queue\n sTaskQueues[type] = [sTaskQueues[type][0]];\n }\n};\n\n/**\n * Creates a condition variable to synchronize tasks. To make a task wait\n * on the condition variable, call task.wait(condition). To notify all\n * tasks that are waiting, call condition.notify().\n *\n * @return the condition variable.\n */\nforge.task.createCondition = function() {\n var cond = {\n // all tasks that are blocked\n tasks: {}\n };\n\n /**\n * Causes the given task to block until notify is called. If the task\n * is already waiting on this condition then this is a no-op.\n *\n * @param task the task to cause to wait.\n */\n cond.wait = function(task) {\n // only block once\n if(!(task.id in cond.tasks)) {\n task.block();\n cond.tasks[task.id] = task;\n }\n };\n\n /**\n * Notifies all waiting tasks to wake up.\n */\n cond.notify = function() {\n // since unblock() will run the next task from here, make sure to\n // clear the condition's blocked task list before unblocking\n var tmp = cond.tasks;\n cond.tasks = {};\n for(var id in tmp) {\n tmp[id].unblock();\n }\n };\n\n return cond;\n};\n","/**\n * A Javascript implementation of Transport Layer Security (TLS).\n *\n * @author Dave Longley\n *\n * Copyright (c) 2009-2014 Digital Bazaar, Inc.\n *\n * The TLS Handshake Protocol involves the following steps:\n *\n * - Exchange hello messages to agree on algorithms, exchange random values,\n * and check for session resumption.\n *\n * - Exchange the necessary cryptographic parameters to allow the client and\n * server to agree on a premaster secret.\n *\n * - Exchange certificates and cryptographic information to allow the client\n * and server to authenticate themselves.\n *\n * - Generate a master secret from the premaster secret and exchanged random\n * values.\n *\n * - Provide security parameters to the record layer.\n *\n * - Allow the client and server to verify that their peer has calculated the\n * same security parameters and that the handshake occurred without tampering\n * by an attacker.\n *\n * Up to 4 different messages may be sent during a key exchange. The server\n * certificate, the server key exchange, the client certificate, and the\n * client key exchange.\n *\n * A typical handshake (from the client's perspective).\n *\n * 1. Client sends ClientHello.\n * 2. Client receives ServerHello.\n * 3. Client receives optional Certificate.\n * 4. Client receives optional ServerKeyExchange.\n * 5. Client receives ServerHelloDone.\n * 6. Client sends optional Certificate.\n * 7. Client sends ClientKeyExchange.\n * 8. Client sends optional CertificateVerify.\n * 9. Client sends ChangeCipherSpec.\n * 10. Client sends Finished.\n * 11. Client receives ChangeCipherSpec.\n * 12. Client receives Finished.\n * 13. Client sends/receives application data.\n *\n * To reuse an existing session:\n *\n * 1. Client sends ClientHello with session ID for reuse.\n * 2. Client receives ServerHello with same session ID if reusing.\n * 3. Client receives ChangeCipherSpec message if reusing.\n * 4. Client receives Finished.\n * 5. Client sends ChangeCipherSpec.\n * 6. Client sends Finished.\n *\n * Note: Client ignores HelloRequest if in the middle of a handshake.\n *\n * Record Layer:\n *\n * The record layer fragments information blocks into TLSPlaintext records\n * carrying data in chunks of 2^14 bytes or less. Client message boundaries are\n * not preserved in the record layer (i.e., multiple client messages of the\n * same ContentType MAY be coalesced into a single TLSPlaintext record, or a\n * single message MAY be fragmented across several records).\n *\n * struct {\n * uint8 major;\n * uint8 minor;\n * } ProtocolVersion;\n *\n * struct {\n * ContentType type;\n * ProtocolVersion version;\n * uint16 length;\n * opaque fragment[TLSPlaintext.length];\n * } TLSPlaintext;\n *\n * type:\n * The higher-level protocol used to process the enclosed fragment.\n *\n * version:\n * The version of the protocol being employed. TLS Version 1.2 uses version\n * {3, 3}. TLS Version 1.0 uses version {3, 1}. Note that a client that\n * supports multiple versions of TLS may not know what version will be\n * employed before it receives the ServerHello.\n *\n * length:\n * The length (in bytes) of the following TLSPlaintext.fragment. The length\n * MUST NOT exceed 2^14 = 16384 bytes.\n *\n * fragment:\n * The application data. This data is transparent and treated as an\n * independent block to be dealt with by the higher-level protocol specified\n * by the type field.\n *\n * Implementations MUST NOT send zero-length fragments of Handshake, Alert, or\n * ChangeCipherSpec content types. Zero-length fragments of Application data\n * MAY be sent as they are potentially useful as a traffic analysis\n * countermeasure.\n *\n * Note: Data of different TLS record layer content types MAY be interleaved.\n * Application data is generally of lower precedence for transmission than\n * other content types. However, records MUST be delivered to the network in\n * the same order as they are protected by the record layer. Recipients MUST\n * receive and process interleaved application layer traffic during handshakes\n * subsequent to the first one on a connection.\n *\n * struct {\n * ContentType type; // same as TLSPlaintext.type\n * ProtocolVersion version;// same as TLSPlaintext.version\n * uint16 length;\n * opaque fragment[TLSCompressed.length];\n * } TLSCompressed;\n *\n * length:\n * The length (in bytes) of the following TLSCompressed.fragment.\n * The length MUST NOT exceed 2^14 + 1024.\n *\n * fragment:\n * The compressed form of TLSPlaintext.fragment.\n *\n * Note: A CompressionMethod.null operation is an identity operation; no fields\n * are altered. In this implementation, since no compression is supported,\n * uncompressed records are always the same as compressed records.\n *\n * Encryption Information:\n *\n * The encryption and MAC functions translate a TLSCompressed structure into a\n * TLSCiphertext. The decryption functions reverse the process. The MAC of the\n * record also includes a sequence number so that missing, extra, or repeated\n * messages are detectable.\n *\n * struct {\n * ContentType type;\n * ProtocolVersion version;\n * uint16 length;\n * select (SecurityParameters.cipher_type) {\n * case stream: GenericStreamCipher;\n * case block: GenericBlockCipher;\n * case aead: GenericAEADCipher;\n * } fragment;\n * } TLSCiphertext;\n *\n * type:\n * The type field is identical to TLSCompressed.type.\n *\n * version:\n * The version field is identical to TLSCompressed.version.\n *\n * length:\n * The length (in bytes) of the following TLSCiphertext.fragment.\n * The length MUST NOT exceed 2^14 + 2048.\n *\n * fragment:\n * The encrypted form of TLSCompressed.fragment, with the MAC.\n *\n * Note: Only CBC Block Ciphers are supported by this implementation.\n *\n * The TLSCompressed.fragment structures are converted to/from block\n * TLSCiphertext.fragment structures.\n *\n * struct {\n * opaque IV[SecurityParameters.record_iv_length];\n * block-ciphered struct {\n * opaque content[TLSCompressed.length];\n * opaque MAC[SecurityParameters.mac_length];\n * uint8 padding[GenericBlockCipher.padding_length];\n * uint8 padding_length;\n * };\n * } GenericBlockCipher;\n *\n * The MAC is generated as described in Section 6.2.3.1.\n *\n * IV:\n * The Initialization Vector (IV) SHOULD be chosen at random, and MUST be\n * unpredictable. Note that in versions of TLS prior to 1.1, there was no\n * IV field, and the last ciphertext block of the previous record (the \"CBC\n * residue\") was used as the IV. This was changed to prevent the attacks\n * described in [CBCATT]. For block ciphers, the IV length is of length\n * SecurityParameters.record_iv_length, which is equal to the\n * SecurityParameters.block_size.\n *\n * padding:\n * Padding that is added to force the length of the plaintext to be an\n * integral multiple of the block cipher's block length. The padding MAY be\n * any length up to 255 bytes, as long as it results in the\n * TLSCiphertext.length being an integral multiple of the block length.\n * Lengths longer than necessary might be desirable to frustrate attacks on\n * a protocol that are based on analysis of the lengths of exchanged\n * messages. Each uint8 in the padding data vector MUST be filled with the\n * padding length value. The receiver MUST check this padding and MUST use\n * the bad_record_mac alert to indicate padding errors.\n *\n * padding_length:\n * The padding length MUST be such that the total size of the\n * GenericBlockCipher structure is a multiple of the cipher's block length.\n * Legal values range from zero to 255, inclusive. This length specifies the\n * length of the padding field exclusive of the padding_length field itself.\n *\n * The encrypted data length (TLSCiphertext.length) is one more than the sum of\n * SecurityParameters.block_length, TLSCompressed.length,\n * SecurityParameters.mac_length, and padding_length.\n *\n * Example: If the block length is 8 bytes, the content length\n * (TLSCompressed.length) is 61 bytes, and the MAC length is 20 bytes, then the\n * length before padding is 82 bytes (this does not include the IV. Thus, the\n * padding length modulo 8 must be equal to 6 in order to make the total length\n * an even multiple of 8 bytes (the block length). The padding length can be\n * 6, 14, 22, and so on, through 254. If the padding length were the minimum\n * necessary, 6, the padding would be 6 bytes, each containing the value 6.\n * Thus, the last 8 octets of the GenericBlockCipher before block encryption\n * would be xx 06 06 06 06 06 06 06, where xx is the last octet of the MAC.\n *\n * Note: With block ciphers in CBC mode (Cipher Block Chaining), it is critical\n * that the entire plaintext of the record be known before any ciphertext is\n * transmitted. Otherwise, it is possible for the attacker to mount the attack\n * described in [CBCATT].\n *\n * Implementation note: Canvel et al. [CBCTIME] have demonstrated a timing\n * attack on CBC padding based on the time required to compute the MAC. In\n * order to defend against this attack, implementations MUST ensure that\n * record processing time is essentially the same whether or not the padding\n * is correct. In general, the best way to do this is to compute the MAC even\n * if the padding is incorrect, and only then reject the packet. For instance,\n * if the pad appears to be incorrect, the implementation might assume a\n * zero-length pad and then compute the MAC. This leaves a small timing\n * channel, since MAC performance depends, to some extent, on the size of the\n * data fragment, but it is not believed to be large enough to be exploitable,\n * due to the large block size of existing MACs and the small size of the\n * timing signal.\n */\nvar forge = require('./forge');\nrequire('./asn1');\nrequire('./hmac');\nrequire('./md5');\nrequire('./pem');\nrequire('./pki');\nrequire('./random');\nrequire('./sha1');\nrequire('./util');\n\n/**\n * Generates pseudo random bytes by mixing the result of two hash functions,\n * MD5 and SHA-1.\n *\n * prf_TLS1(secret, label, seed) =\n * P_MD5(S1, label + seed) XOR P_SHA-1(S2, label + seed);\n *\n * Each P_hash function functions as follows:\n *\n * P_hash(secret, seed) = HMAC_hash(secret, A(1) + seed) +\n * HMAC_hash(secret, A(2) + seed) +\n * HMAC_hash(secret, A(3) + seed) + ...\n * A() is defined as:\n * A(0) = seed\n * A(i) = HMAC_hash(secret, A(i-1))\n *\n * The '+' operator denotes concatenation.\n *\n * As many iterations A(N) as are needed are performed to generate enough\n * pseudo random byte output. If an iteration creates more data than is\n * necessary, then it is truncated.\n *\n * Therefore:\n * A(1) = HMAC_hash(secret, A(0))\n * = HMAC_hash(secret, seed)\n * A(2) = HMAC_hash(secret, A(1))\n * = HMAC_hash(secret, HMAC_hash(secret, seed))\n *\n * Therefore:\n * P_hash(secret, seed) =\n * HMAC_hash(secret, HMAC_hash(secret, A(0)) + seed) +\n * HMAC_hash(secret, HMAC_hash(secret, A(1)) + seed) +\n * ...\n *\n * Therefore:\n * P_hash(secret, seed) =\n * HMAC_hash(secret, HMAC_hash(secret, seed) + seed) +\n * HMAC_hash(secret, HMAC_hash(secret, HMAC_hash(secret, seed)) + seed) +\n * ...\n *\n * @param secret the secret to use.\n * @param label the label to use.\n * @param seed the seed value to use.\n * @param length the number of bytes to generate.\n *\n * @return the pseudo random bytes in a byte buffer.\n */\nvar prf_TLS1 = function(secret, label, seed, length) {\n var rval = forge.util.createBuffer();\n\n /* For TLS 1.0, the secret is split in half, into two secrets of equal\n length. If the secret has an odd length then the last byte of the first\n half will be the same as the first byte of the second. The length of the\n two secrets is half of the secret rounded up. */\n var idx = (secret.length >> 1);\n var slen = idx + (secret.length & 1);\n var s1 = secret.substr(0, slen);\n var s2 = secret.substr(idx, slen);\n var ai = forge.util.createBuffer();\n var hmac = forge.hmac.create();\n seed = label + seed;\n\n // determine the number of iterations that must be performed to generate\n // enough output bytes, md5 creates 16 byte hashes, sha1 creates 20\n var md5itr = Math.ceil(length / 16);\n var sha1itr = Math.ceil(length / 20);\n\n // do md5 iterations\n hmac.start('MD5', s1);\n var md5bytes = forge.util.createBuffer();\n ai.putBytes(seed);\n for(var i = 0; i < md5itr; ++i) {\n // HMAC_hash(secret, A(i-1))\n hmac.start(null, null);\n hmac.update(ai.getBytes());\n ai.putBuffer(hmac.digest());\n\n // HMAC_hash(secret, A(i) + seed)\n hmac.start(null, null);\n hmac.update(ai.bytes() + seed);\n md5bytes.putBuffer(hmac.digest());\n }\n\n // do sha1 iterations\n hmac.start('SHA1', s2);\n var sha1bytes = forge.util.createBuffer();\n ai.clear();\n ai.putBytes(seed);\n for(var i = 0; i < sha1itr; ++i) {\n // HMAC_hash(secret, A(i-1))\n hmac.start(null, null);\n hmac.update(ai.getBytes());\n ai.putBuffer(hmac.digest());\n\n // HMAC_hash(secret, A(i) + seed)\n hmac.start(null, null);\n hmac.update(ai.bytes() + seed);\n sha1bytes.putBuffer(hmac.digest());\n }\n\n // XOR the md5 bytes with the sha1 bytes\n rval.putBytes(forge.util.xorBytes(\n md5bytes.getBytes(), sha1bytes.getBytes(), length));\n\n return rval;\n};\n\n/**\n * Generates pseudo random bytes using a SHA256 algorithm. For TLS 1.2.\n *\n * @param secret the secret to use.\n * @param label the label to use.\n * @param seed the seed value to use.\n * @param length the number of bytes to generate.\n *\n * @return the pseudo random bytes in a byte buffer.\n */\nvar prf_sha256 = function(secret, label, seed, length) {\n // FIXME: implement me for TLS 1.2\n};\n\n/**\n * Gets a MAC for a record using the SHA-1 hash algorithm.\n *\n * @param key the mac key.\n * @param state the sequence number (array of two 32-bit integers).\n * @param record the record.\n *\n * @return the sha-1 hash (20 bytes) for the given record.\n */\nvar hmac_sha1 = function(key, seqNum, record) {\n /* MAC is computed like so:\n HMAC_hash(\n key, seqNum +\n TLSCompressed.type +\n TLSCompressed.version +\n TLSCompressed.length +\n TLSCompressed.fragment)\n */\n var hmac = forge.hmac.create();\n hmac.start('SHA1', key);\n var b = forge.util.createBuffer();\n b.putInt32(seqNum[0]);\n b.putInt32(seqNum[1]);\n b.putByte(record.type);\n b.putByte(record.version.major);\n b.putByte(record.version.minor);\n b.putInt16(record.length);\n b.putBytes(record.fragment.bytes());\n hmac.update(b.getBytes());\n return hmac.digest().getBytes();\n};\n\n/**\n * Compresses the TLSPlaintext record into a TLSCompressed record using the\n * deflate algorithm.\n *\n * @param c the TLS connection.\n * @param record the TLSPlaintext record to compress.\n * @param s the ConnectionState to use.\n *\n * @return true on success, false on failure.\n */\nvar deflate = function(c, record, s) {\n var rval = false;\n\n try {\n var bytes = c.deflate(record.fragment.getBytes());\n record.fragment = forge.util.createBuffer(bytes);\n record.length = bytes.length;\n rval = true;\n } catch(ex) {\n // deflate error, fail out\n }\n\n return rval;\n};\n\n/**\n * Decompresses the TLSCompressed record into a TLSPlaintext record using the\n * deflate algorithm.\n *\n * @param c the TLS connection.\n * @param record the TLSCompressed record to decompress.\n * @param s the ConnectionState to use.\n *\n * @return true on success, false on failure.\n */\nvar inflate = function(c, record, s) {\n var rval = false;\n\n try {\n var bytes = c.inflate(record.fragment.getBytes());\n record.fragment = forge.util.createBuffer(bytes);\n record.length = bytes.length;\n rval = true;\n } catch(ex) {\n // inflate error, fail out\n }\n\n return rval;\n};\n\n/**\n * Reads a TLS variable-length vector from a byte buffer.\n *\n * Variable-length vectors are defined by specifying a subrange of legal\n * lengths, inclusively, using the notation . When these are\n * encoded, the actual length precedes the vector's contents in the byte\n * stream. The length will be in the form of a number consuming as many bytes\n * as required to hold the vector's specified maximum (ceiling) length. A\n * variable-length vector with an actual length field of zero is referred to\n * as an empty vector.\n *\n * @param b the byte buffer.\n * @param lenBytes the number of bytes required to store the length.\n *\n * @return the resulting byte buffer.\n */\nvar readVector = function(b, lenBytes) {\n var len = 0;\n switch(lenBytes) {\n case 1:\n len = b.getByte();\n break;\n case 2:\n len = b.getInt16();\n break;\n case 3:\n len = b.getInt24();\n break;\n case 4:\n len = b.getInt32();\n break;\n }\n\n // read vector bytes into a new buffer\n return forge.util.createBuffer(b.getBytes(len));\n};\n\n/**\n * Writes a TLS variable-length vector to a byte buffer.\n *\n * @param b the byte buffer.\n * @param lenBytes the number of bytes required to store the length.\n * @param v the byte buffer vector.\n */\nvar writeVector = function(b, lenBytes, v) {\n // encode length at the start of the vector, where the number of bytes for\n // the length is the maximum number of bytes it would take to encode the\n // vector's ceiling\n b.putInt(v.length(), lenBytes << 3);\n b.putBuffer(v);\n};\n\n/**\n * The tls implementation.\n */\nvar tls = {};\n\n/**\n * Version: TLS 1.2 = 3.3, TLS 1.1 = 3.2, TLS 1.0 = 3.1. Both TLS 1.1 and\n * TLS 1.2 were still too new (ie: openSSL didn't implement them) at the time\n * of this implementation so TLS 1.0 was implemented instead.\n */\ntls.Versions = {\n TLS_1_0: {major: 3, minor: 1},\n TLS_1_1: {major: 3, minor: 2},\n TLS_1_2: {major: 3, minor: 3}\n};\ntls.SupportedVersions = [\n tls.Versions.TLS_1_1,\n tls.Versions.TLS_1_0\n];\ntls.Version = tls.SupportedVersions[0];\n\n/**\n * Maximum fragment size. True maximum is 16384, but we fragment before that\n * to allow for unusual small increases during compression.\n */\ntls.MaxFragment = 16384 - 1024;\n\n/**\n * Whether this entity is considered the \"client\" or \"server\".\n * enum { server, client } ConnectionEnd;\n */\ntls.ConnectionEnd = {\n server: 0,\n client: 1\n};\n\n/**\n * Pseudo-random function algorithm used to generate keys from the master\n * secret.\n * enum { tls_prf_sha256 } PRFAlgorithm;\n */\ntls.PRFAlgorithm = {\n tls_prf_sha256: 0\n};\n\n/**\n * Bulk encryption algorithms.\n * enum { null, rc4, des3, aes } BulkCipherAlgorithm;\n */\ntls.BulkCipherAlgorithm = {\n none: null,\n rc4: 0,\n des3: 1,\n aes: 2\n};\n\n/**\n * Cipher types.\n * enum { stream, block, aead } CipherType;\n */\ntls.CipherType = {\n stream: 0,\n block: 1,\n aead: 2\n};\n\n/**\n * MAC (Message Authentication Code) algorithms.\n * enum { null, hmac_md5, hmac_sha1, hmac_sha256,\n * hmac_sha384, hmac_sha512} MACAlgorithm;\n */\ntls.MACAlgorithm = {\n none: null,\n hmac_md5: 0,\n hmac_sha1: 1,\n hmac_sha256: 2,\n hmac_sha384: 3,\n hmac_sha512: 4\n};\n\n/**\n * Compression algorithms.\n * enum { null(0), deflate(1), (255) } CompressionMethod;\n */\ntls.CompressionMethod = {\n none: 0,\n deflate: 1\n};\n\n/**\n * TLS record content types.\n * enum {\n * change_cipher_spec(20), alert(21), handshake(22),\n * application_data(23), (255)\n * } ContentType;\n */\ntls.ContentType = {\n change_cipher_spec: 20,\n alert: 21,\n handshake: 22,\n application_data: 23,\n heartbeat: 24\n};\n\n/**\n * TLS handshake types.\n * enum {\n * hello_request(0), client_hello(1), server_hello(2),\n * certificate(11), server_key_exchange (12),\n * certificate_request(13), server_hello_done(14),\n * certificate_verify(15), client_key_exchange(16),\n * finished(20), (255)\n * } HandshakeType;\n */\ntls.HandshakeType = {\n hello_request: 0,\n client_hello: 1,\n server_hello: 2,\n certificate: 11,\n server_key_exchange: 12,\n certificate_request: 13,\n server_hello_done: 14,\n certificate_verify: 15,\n client_key_exchange: 16,\n finished: 20\n};\n\n/**\n * TLS Alert Protocol.\n *\n * enum { warning(1), fatal(2), (255) } AlertLevel;\n *\n * enum {\n * close_notify(0),\n * unexpected_message(10),\n * bad_record_mac(20),\n * decryption_failed(21),\n * record_overflow(22),\n * decompression_failure(30),\n * handshake_failure(40),\n * bad_certificate(42),\n * unsupported_certificate(43),\n * certificate_revoked(44),\n * certificate_expired(45),\n * certificate_unknown(46),\n * illegal_parameter(47),\n * unknown_ca(48),\n * access_denied(49),\n * decode_error(50),\n * decrypt_error(51),\n * export_restriction(60),\n * protocol_version(70),\n * insufficient_security(71),\n * internal_error(80),\n * user_canceled(90),\n * no_renegotiation(100),\n * (255)\n * } AlertDescription;\n *\n * struct {\n * AlertLevel level;\n * AlertDescription description;\n * } Alert;\n */\ntls.Alert = {};\ntls.Alert.Level = {\n warning: 1,\n fatal: 2\n};\ntls.Alert.Description = {\n close_notify: 0,\n unexpected_message: 10,\n bad_record_mac: 20,\n decryption_failed: 21,\n record_overflow: 22,\n decompression_failure: 30,\n handshake_failure: 40,\n bad_certificate: 42,\n unsupported_certificate: 43,\n certificate_revoked: 44,\n certificate_expired: 45,\n certificate_unknown: 46,\n illegal_parameter: 47,\n unknown_ca: 48,\n access_denied: 49,\n decode_error: 50,\n decrypt_error: 51,\n export_restriction: 60,\n protocol_version: 70,\n insufficient_security: 71,\n internal_error: 80,\n user_canceled: 90,\n no_renegotiation: 100\n};\n\n/**\n * TLS Heartbeat Message types.\n * enum {\n * heartbeat_request(1),\n * heartbeat_response(2),\n * (255)\n * } HeartbeatMessageType;\n */\ntls.HeartbeatMessageType = {\n heartbeat_request: 1,\n heartbeat_response: 2\n};\n\n/**\n * Supported cipher suites.\n */\ntls.CipherSuites = {};\n\n/**\n * Gets a supported cipher suite from its 2 byte ID.\n *\n * @param twoBytes two bytes in a string.\n *\n * @return the matching supported cipher suite or null.\n */\ntls.getCipherSuite = function(twoBytes) {\n var rval = null;\n for(var key in tls.CipherSuites) {\n var cs = tls.CipherSuites[key];\n if(cs.id[0] === twoBytes.charCodeAt(0) &&\n cs.id[1] === twoBytes.charCodeAt(1)) {\n rval = cs;\n break;\n }\n }\n return rval;\n};\n\n/**\n * Called when an unexpected record is encountered.\n *\n * @param c the connection.\n * @param record the record.\n */\ntls.handleUnexpected = function(c, record) {\n // if connection is client and closed, ignore unexpected messages\n var ignore = (!c.open && c.entity === tls.ConnectionEnd.client);\n if(!ignore) {\n c.error(c, {\n message: 'Unexpected message. Received TLS record out of order.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.unexpected_message\n }\n });\n }\n};\n\n/**\n * Called when a client receives a HelloRequest record.\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleHelloRequest = function(c, record, length) {\n // ignore renegotiation requests from the server during a handshake, but\n // if handshaking, send a warning alert that renegotation is denied\n if(!c.handshaking && c.handshakes > 0) {\n // send alert warning\n tls.queue(c, tls.createAlert(c, {\n level: tls.Alert.Level.warning,\n description: tls.Alert.Description.no_renegotiation\n }));\n tls.flush(c);\n }\n\n // continue\n c.process();\n};\n\n/**\n * Parses a hello message from a ClientHello or ServerHello record.\n *\n * @param record the record to parse.\n *\n * @return the parsed message.\n */\ntls.parseHelloMessage = function(c, record, length) {\n var msg = null;\n\n var client = (c.entity === tls.ConnectionEnd.client);\n\n // minimum of 38 bytes in message\n if(length < 38) {\n c.error(c, {\n message: client ?\n 'Invalid ServerHello message. Message too short.' :\n 'Invalid ClientHello message. Message too short.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.illegal_parameter\n }\n });\n } else {\n // use 'remaining' to calculate # of remaining bytes in the message\n var b = record.fragment;\n var remaining = b.length();\n msg = {\n version: {\n major: b.getByte(),\n minor: b.getByte()\n },\n random: forge.util.createBuffer(b.getBytes(32)),\n session_id: readVector(b, 1),\n extensions: []\n };\n if(client) {\n msg.cipher_suite = b.getBytes(2);\n msg.compression_method = b.getByte();\n } else {\n msg.cipher_suites = readVector(b, 2);\n msg.compression_methods = readVector(b, 1);\n }\n\n // read extensions if there are any bytes left in the message\n remaining = length - (remaining - b.length());\n if(remaining > 0) {\n // parse extensions\n var exts = readVector(b, 2);\n while(exts.length() > 0) {\n msg.extensions.push({\n type: [exts.getByte(), exts.getByte()],\n data: readVector(exts, 2)\n });\n }\n\n // TODO: make extension support modular\n if(!client) {\n for(var i = 0; i < msg.extensions.length; ++i) {\n var ext = msg.extensions[i];\n\n // support SNI extension\n if(ext.type[0] === 0x00 && ext.type[1] === 0x00) {\n // get server name list\n var snl = readVector(ext.data, 2);\n while(snl.length() > 0) {\n // read server name type\n var snType = snl.getByte();\n\n // only HostName type (0x00) is known, break out if\n // another type is detected\n if(snType !== 0x00) {\n break;\n }\n\n // add host name to server name list\n c.session.extensions.server_name.serverNameList.push(\n readVector(snl, 2).getBytes());\n }\n }\n }\n }\n }\n\n // version already set, do not allow version change\n if(c.session.version) {\n if(msg.version.major !== c.session.version.major ||\n msg.version.minor !== c.session.version.minor) {\n return c.error(c, {\n message: 'TLS version change is disallowed during renegotiation.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.protocol_version\n }\n });\n }\n }\n\n // get the chosen (ServerHello) cipher suite\n if(client) {\n // FIXME: should be checking configured acceptable cipher suites\n c.session.cipherSuite = tls.getCipherSuite(msg.cipher_suite);\n } else {\n // get a supported preferred (ClientHello) cipher suite\n // choose the first supported cipher suite\n var tmp = forge.util.createBuffer(msg.cipher_suites.bytes());\n while(tmp.length() > 0) {\n // FIXME: should be checking configured acceptable suites\n // cipher suites take up 2 bytes\n c.session.cipherSuite = tls.getCipherSuite(tmp.getBytes(2));\n if(c.session.cipherSuite !== null) {\n break;\n }\n }\n }\n\n // cipher suite not supported\n if(c.session.cipherSuite === null) {\n return c.error(c, {\n message: 'No cipher suites in common.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.handshake_failure\n },\n cipherSuite: forge.util.bytesToHex(msg.cipher_suite)\n });\n }\n\n // TODO: handle compression methods\n if(client) {\n c.session.compressionMethod = msg.compression_method;\n } else {\n // no compression\n c.session.compressionMethod = tls.CompressionMethod.none;\n }\n }\n\n return msg;\n};\n\n/**\n * Creates security parameters for the given connection based on the given\n * hello message.\n *\n * @param c the TLS connection.\n * @param msg the hello message.\n */\ntls.createSecurityParameters = function(c, msg) {\n /* Note: security params are from TLS 1.2, some values like prf_algorithm\n are ignored for TLS 1.0/1.1 and the builtin as specified in the spec is\n used. */\n\n // TODO: handle other options from server when more supported\n\n // get client and server randoms\n var client = (c.entity === tls.ConnectionEnd.client);\n var msgRandom = msg.random.bytes();\n var cRandom = client ? c.session.sp.client_random : msgRandom;\n var sRandom = client ? msgRandom : tls.createRandom().getBytes();\n\n // create new security parameters\n c.session.sp = {\n entity: c.entity,\n prf_algorithm: tls.PRFAlgorithm.tls_prf_sha256,\n bulk_cipher_algorithm: null,\n cipher_type: null,\n enc_key_length: null,\n block_length: null,\n fixed_iv_length: null,\n record_iv_length: null,\n mac_algorithm: null,\n mac_length: null,\n mac_key_length: null,\n compression_algorithm: c.session.compressionMethod,\n pre_master_secret: null,\n master_secret: null,\n client_random: cRandom,\n server_random: sRandom\n };\n};\n\n/**\n * Called when a client receives a ServerHello record.\n *\n * When a ServerHello message will be sent:\n * The server will send this message in response to a client hello message\n * when it was able to find an acceptable set of algorithms. If it cannot\n * find such a match, it will respond with a handshake failure alert.\n *\n * uint24 length;\n * struct {\n * ProtocolVersion server_version;\n * Random random;\n * SessionID session_id;\n * CipherSuite cipher_suite;\n * CompressionMethod compression_method;\n * select(extensions_present) {\n * case false:\n * struct {};\n * case true:\n * Extension extensions<0..2^16-1>;\n * };\n * } ServerHello;\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleServerHello = function(c, record, length) {\n var msg = tls.parseHelloMessage(c, record, length);\n if(c.fail) {\n return;\n }\n\n // ensure server version is compatible\n if(msg.version.minor <= c.version.minor) {\n c.version.minor = msg.version.minor;\n } else {\n return c.error(c, {\n message: 'Incompatible TLS version.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.protocol_version\n }\n });\n }\n\n // indicate session version has been set\n c.session.version = c.version;\n\n // get the session ID from the message\n var sessionId = msg.session_id.bytes();\n\n // if the session ID is not blank and matches the cached one, resume\n // the session\n if(sessionId.length > 0 && sessionId === c.session.id) {\n // resuming session, expect a ChangeCipherSpec next\n c.expect = SCC;\n c.session.resuming = true;\n\n // get new server random\n c.session.sp.server_random = msg.random.bytes();\n } else {\n // not resuming, expect a server Certificate message next\n c.expect = SCE;\n c.session.resuming = false;\n\n // create new security parameters\n tls.createSecurityParameters(c, msg);\n }\n\n // set new session ID\n c.session.id = sessionId;\n\n // continue\n c.process();\n};\n\n/**\n * Called when a server receives a ClientHello record.\n *\n * When a ClientHello message will be sent:\n * When a client first connects to a server it is required to send the\n * client hello as its first message. The client can also send a client\n * hello in response to a hello request or on its own initiative in order\n * to renegotiate the security parameters in an existing connection.\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleClientHello = function(c, record, length) {\n var msg = tls.parseHelloMessage(c, record, length);\n if(c.fail) {\n return;\n }\n\n // get the session ID from the message\n var sessionId = msg.session_id.bytes();\n\n // see if the given session ID is in the cache\n var session = null;\n if(c.sessionCache) {\n session = c.sessionCache.getSession(sessionId);\n if(session === null) {\n // session ID not found\n sessionId = '';\n } else if(session.version.major !== msg.version.major ||\n session.version.minor > msg.version.minor) {\n // if session version is incompatible with client version, do not resume\n session = null;\n sessionId = '';\n }\n }\n\n // no session found to resume, generate a new session ID\n if(sessionId.length === 0) {\n sessionId = forge.random.getBytes(32);\n }\n\n // update session\n c.session.id = sessionId;\n c.session.clientHelloVersion = msg.version;\n c.session.sp = {};\n if(session) {\n // use version and security parameters from resumed session\n c.version = c.session.version = session.version;\n c.session.sp = session.sp;\n } else {\n // use highest compatible minor version\n var version;\n for(var i = 1; i < tls.SupportedVersions.length; ++i) {\n version = tls.SupportedVersions[i];\n if(version.minor <= msg.version.minor) {\n break;\n }\n }\n c.version = {major: version.major, minor: version.minor};\n c.session.version = c.version;\n }\n\n // if a session is set, resume it\n if(session !== null) {\n // resuming session, expect a ChangeCipherSpec next\n c.expect = CCC;\n c.session.resuming = true;\n\n // get new client random\n c.session.sp.client_random = msg.random.bytes();\n } else {\n // not resuming, expect a Certificate or ClientKeyExchange\n c.expect = (c.verifyClient !== false) ? CCE : CKE;\n c.session.resuming = false;\n\n // create new security parameters\n tls.createSecurityParameters(c, msg);\n }\n\n // connection now open\n c.open = true;\n\n // queue server hello\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createServerHello(c)\n }));\n\n if(c.session.resuming) {\n // queue change cipher spec message\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.change_cipher_spec,\n data: tls.createChangeCipherSpec()\n }));\n\n // create pending state\n c.state.pending = tls.createConnectionState(c);\n\n // change current write state to pending write state\n c.state.current.write = c.state.pending.write;\n\n // queue finished\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createFinished(c)\n }));\n } else {\n // queue server certificate\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createCertificate(c)\n }));\n\n if(!c.fail) {\n // queue server key exchange\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createServerKeyExchange(c)\n }));\n\n // request client certificate if set\n if(c.verifyClient !== false) {\n // queue certificate request\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createCertificateRequest(c)\n }));\n }\n\n // queue server hello done\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createServerHelloDone(c)\n }));\n }\n }\n\n // send records\n tls.flush(c);\n\n // continue\n c.process();\n};\n\n/**\n * Called when a client receives a Certificate record.\n *\n * When this message will be sent:\n * The server must send a certificate whenever the agreed-upon key exchange\n * method is not an anonymous one. This message will always immediately\n * follow the server hello message.\n *\n * Meaning of this message:\n * The certificate type must be appropriate for the selected cipher suite's\n * key exchange algorithm, and is generally an X.509v3 certificate. It must\n * contain a key which matches the key exchange method, as follows. Unless\n * otherwise specified, the signing algorithm for the certificate must be\n * the same as the algorithm for the certificate key. Unless otherwise\n * specified, the public key may be of any length.\n *\n * opaque ASN.1Cert<1..2^24-1>;\n * struct {\n * ASN.1Cert certificate_list<1..2^24-1>;\n * } Certificate;\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleCertificate = function(c, record, length) {\n // minimum of 3 bytes in message\n if(length < 3) {\n return c.error(c, {\n message: 'Invalid Certificate message. Message too short.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.illegal_parameter\n }\n });\n }\n\n var b = record.fragment;\n var msg = {\n certificate_list: readVector(b, 3)\n };\n\n /* The sender's certificate will be first in the list (chain), each\n subsequent one that follows will certify the previous one, but root\n certificates (self-signed) that specify the certificate authority may\n be omitted under the assumption that clients must already possess it. */\n var cert, asn1;\n var certs = [];\n try {\n while(msg.certificate_list.length() > 0) {\n // each entry in msg.certificate_list is a vector with 3 len bytes\n cert = readVector(msg.certificate_list, 3);\n asn1 = forge.asn1.fromDer(cert);\n cert = forge.pki.certificateFromAsn1(asn1, true);\n certs.push(cert);\n }\n } catch(ex) {\n return c.error(c, {\n message: 'Could not parse certificate list.',\n cause: ex,\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.bad_certificate\n }\n });\n }\n\n // ensure at least 1 certificate was provided if in client-mode\n // or if verifyClient was set to true to require a certificate\n // (as opposed to 'optional')\n var client = (c.entity === tls.ConnectionEnd.client);\n if((client || c.verifyClient === true) && certs.length === 0) {\n // error, no certificate\n c.error(c, {\n message: client ?\n 'No server certificate provided.' :\n 'No client certificate provided.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.illegal_parameter\n }\n });\n } else if(certs.length === 0) {\n // no certs to verify\n // expect a ServerKeyExchange or ClientKeyExchange message next\n c.expect = client ? SKE : CKE;\n } else {\n // save certificate in session\n if(client) {\n c.session.serverCertificate = certs[0];\n } else {\n c.session.clientCertificate = certs[0];\n }\n\n if(tls.verifyCertificateChain(c, certs)) {\n // expect a ServerKeyExchange or ClientKeyExchange message next\n c.expect = client ? SKE : CKE;\n }\n }\n\n // continue\n c.process();\n};\n\n/**\n * Called when a client receives a ServerKeyExchange record.\n *\n * When this message will be sent:\n * This message will be sent immediately after the server certificate\n * message (or the server hello message, if this is an anonymous\n * negotiation).\n *\n * The server key exchange message is sent by the server only when the\n * server certificate message (if sent) does not contain enough data to\n * allow the client to exchange a premaster secret.\n *\n * Meaning of this message:\n * This message conveys cryptographic information to allow the client to\n * communicate the premaster secret: either an RSA public key to encrypt\n * the premaster secret with, or a Diffie-Hellman public key with which the\n * client can complete a key exchange (with the result being the premaster\n * secret.)\n *\n * enum {\n * dhe_dss, dhe_rsa, dh_anon, rsa, dh_dss, dh_rsa\n * } KeyExchangeAlgorithm;\n *\n * struct {\n * opaque dh_p<1..2^16-1>;\n * opaque dh_g<1..2^16-1>;\n * opaque dh_Ys<1..2^16-1>;\n * } ServerDHParams;\n *\n * struct {\n * select(KeyExchangeAlgorithm) {\n * case dh_anon:\n * ServerDHParams params;\n * case dhe_dss:\n * case dhe_rsa:\n * ServerDHParams params;\n * digitally-signed struct {\n * opaque client_random[32];\n * opaque server_random[32];\n * ServerDHParams params;\n * } signed_params;\n * case rsa:\n * case dh_dss:\n * case dh_rsa:\n * struct {};\n * };\n * } ServerKeyExchange;\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleServerKeyExchange = function(c, record, length) {\n // this implementation only supports RSA, no Diffie-Hellman support\n // so any length > 0 is invalid\n if(length > 0) {\n return c.error(c, {\n message: 'Invalid key parameters. Only RSA is supported.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.unsupported_certificate\n }\n });\n }\n\n // expect an optional CertificateRequest message next\n c.expect = SCR;\n\n // continue\n c.process();\n};\n\n/**\n * Called when a client receives a ClientKeyExchange record.\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleClientKeyExchange = function(c, record, length) {\n // this implementation only supports RSA, no Diffie-Hellman support\n // so any length < 48 is invalid\n if(length < 48) {\n return c.error(c, {\n message: 'Invalid key parameters. Only RSA is supported.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.unsupported_certificate\n }\n });\n }\n\n var b = record.fragment;\n var msg = {\n enc_pre_master_secret: readVector(b, 2).getBytes()\n };\n\n // do rsa decryption\n var privateKey = null;\n if(c.getPrivateKey) {\n try {\n privateKey = c.getPrivateKey(c, c.session.serverCertificate);\n privateKey = forge.pki.privateKeyFromPem(privateKey);\n } catch(ex) {\n c.error(c, {\n message: 'Could not get private key.',\n cause: ex,\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.internal_error\n }\n });\n }\n }\n\n if(privateKey === null) {\n return c.error(c, {\n message: 'No private key set.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.internal_error\n }\n });\n }\n\n try {\n // decrypt 48-byte pre-master secret\n var sp = c.session.sp;\n sp.pre_master_secret = privateKey.decrypt(msg.enc_pre_master_secret);\n\n // ensure client hello version matches first 2 bytes\n var version = c.session.clientHelloVersion;\n if(version.major !== sp.pre_master_secret.charCodeAt(0) ||\n version.minor !== sp.pre_master_secret.charCodeAt(1)) {\n // error, do not send alert (see BLEI attack below)\n throw new Error('TLS version rollback attack detected.');\n }\n } catch(ex) {\n /* Note: Daniel Bleichenbacher [BLEI] can be used to attack a\n TLS server which is using PKCS#1 encoded RSA, so instead of\n failing here, we generate 48 random bytes and use that as\n the pre-master secret. */\n sp.pre_master_secret = forge.random.getBytes(48);\n }\n\n // expect a CertificateVerify message if a Certificate was received that\n // does not have fixed Diffie-Hellman params, otherwise expect\n // ChangeCipherSpec\n c.expect = CCC;\n if(c.session.clientCertificate !== null) {\n // only RSA support, so expect CertificateVerify\n // TODO: support Diffie-Hellman\n c.expect = CCV;\n }\n\n // continue\n c.process();\n};\n\n/**\n * Called when a client receives a CertificateRequest record.\n *\n * When this message will be sent:\n * A non-anonymous server can optionally request a certificate from the\n * client, if appropriate for the selected cipher suite. This message, if\n * sent, will immediately follow the Server Key Exchange message (if it is\n * sent; otherwise, the Server Certificate message).\n *\n * enum {\n * rsa_sign(1), dss_sign(2), rsa_fixed_dh(3), dss_fixed_dh(4),\n * rsa_ephemeral_dh_RESERVED(5), dss_ephemeral_dh_RESERVED(6),\n * fortezza_dms_RESERVED(20), (255)\n * } ClientCertificateType;\n *\n * opaque DistinguishedName<1..2^16-1>;\n *\n * struct {\n * ClientCertificateType certificate_types<1..2^8-1>;\n * SignatureAndHashAlgorithm supported_signature_algorithms<2^16-1>;\n * DistinguishedName certificate_authorities<0..2^16-1>;\n * } CertificateRequest;\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleCertificateRequest = function(c, record, length) {\n // minimum of 3 bytes in message\n if(length < 3) {\n return c.error(c, {\n message: 'Invalid CertificateRequest. Message too short.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.illegal_parameter\n }\n });\n }\n\n // TODO: TLS 1.2+ has different format including\n // SignatureAndHashAlgorithm after cert types\n var b = record.fragment;\n var msg = {\n certificate_types: readVector(b, 1),\n certificate_authorities: readVector(b, 2)\n };\n\n // save certificate request in session\n c.session.certificateRequest = msg;\n\n // expect a ServerHelloDone message next\n c.expect = SHD;\n\n // continue\n c.process();\n};\n\n/**\n * Called when a server receives a CertificateVerify record.\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleCertificateVerify = function(c, record, length) {\n if(length < 2) {\n return c.error(c, {\n message: 'Invalid CertificateVerify. Message too short.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.illegal_parameter\n }\n });\n }\n\n // rewind to get full bytes for message so it can be manually\n // digested below (special case for CertificateVerify messages because\n // they must be digested *after* handling as opposed to all others)\n var b = record.fragment;\n b.read -= 4;\n var msgBytes = b.bytes();\n b.read += 4;\n\n var msg = {\n signature: readVector(b, 2).getBytes()\n };\n\n // TODO: add support for DSA\n\n // generate data to verify\n var verify = forge.util.createBuffer();\n verify.putBuffer(c.session.md5.digest());\n verify.putBuffer(c.session.sha1.digest());\n verify = verify.getBytes();\n\n try {\n var cert = c.session.clientCertificate;\n /*b = forge.pki.rsa.decrypt(\n msg.signature, cert.publicKey, true, verify.length);\n if(b !== verify) {*/\n if(!cert.publicKey.verify(verify, msg.signature, 'NONE')) {\n throw new Error('CertificateVerify signature does not match.');\n }\n\n // digest message now that it has been handled\n c.session.md5.update(msgBytes);\n c.session.sha1.update(msgBytes);\n } catch(ex) {\n return c.error(c, {\n message: 'Bad signature in CertificateVerify.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.handshake_failure\n }\n });\n }\n\n // expect ChangeCipherSpec\n c.expect = CCC;\n\n // continue\n c.process();\n};\n\n/**\n * Called when a client receives a ServerHelloDone record.\n *\n * When this message will be sent:\n * The server hello done message is sent by the server to indicate the end\n * of the server hello and associated messages. After sending this message\n * the server will wait for a client response.\n *\n * Meaning of this message:\n * This message means that the server is done sending messages to support\n * the key exchange, and the client can proceed with its phase of the key\n * exchange.\n *\n * Upon receipt of the server hello done message the client should verify\n * that the server provided a valid certificate if required and check that\n * the server hello parameters are acceptable.\n *\n * struct {} ServerHelloDone;\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleServerHelloDone = function(c, record, length) {\n // len must be 0 bytes\n if(length > 0) {\n return c.error(c, {\n message: 'Invalid ServerHelloDone message. Invalid length.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.record_overflow\n }\n });\n }\n\n if(c.serverCertificate === null) {\n // no server certificate was provided\n var error = {\n message: 'No server certificate provided. Not enough security.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.insufficient_security\n }\n };\n\n // call application callback\n var depth = 0;\n var ret = c.verify(c, error.alert.description, depth, []);\n if(ret !== true) {\n // check for custom alert info\n if(ret || ret === 0) {\n // set custom message and alert description\n if(typeof ret === 'object' && !forge.util.isArray(ret)) {\n if(ret.message) {\n error.message = ret.message;\n }\n if(ret.alert) {\n error.alert.description = ret.alert;\n }\n } else if(typeof ret === 'number') {\n // set custom alert description\n error.alert.description = ret;\n }\n }\n\n // send error\n return c.error(c, error);\n }\n }\n\n // create client certificate message if requested\n if(c.session.certificateRequest !== null) {\n record = tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createCertificate(c)\n });\n tls.queue(c, record);\n }\n\n // create client key exchange message\n record = tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createClientKeyExchange(c)\n });\n tls.queue(c, record);\n\n // expect no messages until the following callback has been called\n c.expect = SER;\n\n // create callback to handle client signature (for client-certs)\n var callback = function(c, signature) {\n if(c.session.certificateRequest !== null &&\n c.session.clientCertificate !== null) {\n // create certificate verify message\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createCertificateVerify(c, signature)\n }));\n }\n\n // create change cipher spec message\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.change_cipher_spec,\n data: tls.createChangeCipherSpec()\n }));\n\n // create pending state\n c.state.pending = tls.createConnectionState(c);\n\n // change current write state to pending write state\n c.state.current.write = c.state.pending.write;\n\n // create finished message\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createFinished(c)\n }));\n\n // expect a server ChangeCipherSpec message next\n c.expect = SCC;\n\n // send records\n tls.flush(c);\n\n // continue\n c.process();\n };\n\n // if there is no certificate request or no client certificate, do\n // callback immediately\n if(c.session.certificateRequest === null ||\n c.session.clientCertificate === null) {\n return callback(c, null);\n }\n\n // otherwise get the client signature\n tls.getClientSignature(c, callback);\n};\n\n/**\n * Called when a ChangeCipherSpec record is received.\n *\n * @param c the connection.\n * @param record the record.\n */\ntls.handleChangeCipherSpec = function(c, record) {\n if(record.fragment.getByte() !== 0x01) {\n return c.error(c, {\n message: 'Invalid ChangeCipherSpec message received.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.illegal_parameter\n }\n });\n }\n\n // create pending state if:\n // 1. Resuming session in client mode OR\n // 2. NOT resuming session in server mode\n var client = (c.entity === tls.ConnectionEnd.client);\n if((c.session.resuming && client) || (!c.session.resuming && !client)) {\n c.state.pending = tls.createConnectionState(c);\n }\n\n // change current read state to pending read state\n c.state.current.read = c.state.pending.read;\n\n // clear pending state if:\n // 1. NOT resuming session in client mode OR\n // 2. resuming a session in server mode\n if((!c.session.resuming && client) || (c.session.resuming && !client)) {\n c.state.pending = null;\n }\n\n // expect a Finished record next\n c.expect = client ? SFI : CFI;\n\n // continue\n c.process();\n};\n\n/**\n * Called when a Finished record is received.\n *\n * When this message will be sent:\n * A finished message is always sent immediately after a change\n * cipher spec message to verify that the key exchange and\n * authentication processes were successful. It is essential that a\n * change cipher spec message be received between the other\n * handshake messages and the Finished message.\n *\n * Meaning of this message:\n * The finished message is the first protected with the just-\n * negotiated algorithms, keys, and secrets. Recipients of finished\n * messages must verify that the contents are correct. Once a side\n * has sent its Finished message and received and validated the\n * Finished message from its peer, it may begin to send and receive\n * application data over the connection.\n *\n * struct {\n * opaque verify_data[verify_data_length];\n * } Finished;\n *\n * verify_data\n * PRF(master_secret, finished_label, Hash(handshake_messages))\n * [0..verify_data_length-1];\n *\n * finished_label\n * For Finished messages sent by the client, the string\n * \"client finished\". For Finished messages sent by the server, the\n * string \"server finished\".\n *\n * verify_data_length depends on the cipher suite. If it is not specified\n * by the cipher suite, then it is 12. Versions of TLS < 1.2 always used\n * 12 bytes.\n *\n * @param c the connection.\n * @param record the record.\n * @param length the length of the handshake message.\n */\ntls.handleFinished = function(c, record, length) {\n // rewind to get full bytes for message so it can be manually\n // digested below (special case for Finished messages because they\n // must be digested *after* handling as opposed to all others)\n var b = record.fragment;\n b.read -= 4;\n var msgBytes = b.bytes();\n b.read += 4;\n\n // message contains only verify_data\n var vd = record.fragment.getBytes();\n\n // ensure verify data is correct\n b = forge.util.createBuffer();\n b.putBuffer(c.session.md5.digest());\n b.putBuffer(c.session.sha1.digest());\n\n // set label based on entity type\n var client = (c.entity === tls.ConnectionEnd.client);\n var label = client ? 'server finished' : 'client finished';\n\n // TODO: determine prf function and verify length for TLS 1.2\n var sp = c.session.sp;\n var vdl = 12;\n var prf = prf_TLS1;\n b = prf(sp.master_secret, label, b.getBytes(), vdl);\n if(b.getBytes() !== vd) {\n return c.error(c, {\n message: 'Invalid verify_data in Finished message.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.decrypt_error\n }\n });\n }\n\n // digest finished message now that it has been handled\n c.session.md5.update(msgBytes);\n c.session.sha1.update(msgBytes);\n\n // resuming session as client or NOT resuming session as server\n if((c.session.resuming && client) || (!c.session.resuming && !client)) {\n // create change cipher spec message\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.change_cipher_spec,\n data: tls.createChangeCipherSpec()\n }));\n\n // change current write state to pending write state, clear pending\n c.state.current.write = c.state.pending.write;\n c.state.pending = null;\n\n // create finished message\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createFinished(c)\n }));\n }\n\n // expect application data next\n c.expect = client ? SAD : CAD;\n\n // handshake complete\n c.handshaking = false;\n ++c.handshakes;\n\n // save access to peer certificate\n c.peerCertificate = client ?\n c.session.serverCertificate : c.session.clientCertificate;\n\n // send records\n tls.flush(c);\n\n // now connected\n c.isConnected = true;\n c.connected(c);\n\n // continue\n c.process();\n};\n\n/**\n * Called when an Alert record is received.\n *\n * @param c the connection.\n * @param record the record.\n */\ntls.handleAlert = function(c, record) {\n // read alert\n var b = record.fragment;\n var alert = {\n level: b.getByte(),\n description: b.getByte()\n };\n\n // TODO: consider using a table?\n // get appropriate message\n var msg;\n switch(alert.description) {\n case tls.Alert.Description.close_notify:\n msg = 'Connection closed.';\n break;\n case tls.Alert.Description.unexpected_message:\n msg = 'Unexpected message.';\n break;\n case tls.Alert.Description.bad_record_mac:\n msg = 'Bad record MAC.';\n break;\n case tls.Alert.Description.decryption_failed:\n msg = 'Decryption failed.';\n break;\n case tls.Alert.Description.record_overflow:\n msg = 'Record overflow.';\n break;\n case tls.Alert.Description.decompression_failure:\n msg = 'Decompression failed.';\n break;\n case tls.Alert.Description.handshake_failure:\n msg = 'Handshake failure.';\n break;\n case tls.Alert.Description.bad_certificate:\n msg = 'Bad certificate.';\n break;\n case tls.Alert.Description.unsupported_certificate:\n msg = 'Unsupported certificate.';\n break;\n case tls.Alert.Description.certificate_revoked:\n msg = 'Certificate revoked.';\n break;\n case tls.Alert.Description.certificate_expired:\n msg = 'Certificate expired.';\n break;\n case tls.Alert.Description.certificate_unknown:\n msg = 'Certificate unknown.';\n break;\n case tls.Alert.Description.illegal_parameter:\n msg = 'Illegal parameter.';\n break;\n case tls.Alert.Description.unknown_ca:\n msg = 'Unknown certificate authority.';\n break;\n case tls.Alert.Description.access_denied:\n msg = 'Access denied.';\n break;\n case tls.Alert.Description.decode_error:\n msg = 'Decode error.';\n break;\n case tls.Alert.Description.decrypt_error:\n msg = 'Decrypt error.';\n break;\n case tls.Alert.Description.export_restriction:\n msg = 'Export restriction.';\n break;\n case tls.Alert.Description.protocol_version:\n msg = 'Unsupported protocol version.';\n break;\n case tls.Alert.Description.insufficient_security:\n msg = 'Insufficient security.';\n break;\n case tls.Alert.Description.internal_error:\n msg = 'Internal error.';\n break;\n case tls.Alert.Description.user_canceled:\n msg = 'User canceled.';\n break;\n case tls.Alert.Description.no_renegotiation:\n msg = 'Renegotiation not supported.';\n break;\n default:\n msg = 'Unknown error.';\n break;\n }\n\n // close connection on close_notify, not an error\n if(alert.description === tls.Alert.Description.close_notify) {\n return c.close();\n }\n\n // call error handler\n c.error(c, {\n message: msg,\n send: false,\n // origin is the opposite end\n origin: (c.entity === tls.ConnectionEnd.client) ? 'server' : 'client',\n alert: alert\n });\n\n // continue\n c.process();\n};\n\n/**\n * Called when a Handshake record is received.\n *\n * @param c the connection.\n * @param record the record.\n */\ntls.handleHandshake = function(c, record) {\n // get the handshake type and message length\n var b = record.fragment;\n var type = b.getByte();\n var length = b.getInt24();\n\n // see if the record fragment doesn't yet contain the full message\n if(length > b.length()) {\n // cache the record, clear its fragment, and reset the buffer read\n // pointer before the type and length were read\n c.fragmented = record;\n record.fragment = forge.util.createBuffer();\n b.read -= 4;\n\n // continue\n return c.process();\n }\n\n // full message now available, clear cache, reset read pointer to\n // before type and length\n c.fragmented = null;\n b.read -= 4;\n\n // save the handshake bytes for digestion after handler is found\n // (include type and length of handshake msg)\n var bytes = b.bytes(length + 4);\n\n // restore read pointer\n b.read += 4;\n\n // handle expected message\n if(type in hsTable[c.entity][c.expect]) {\n // initialize server session\n if(c.entity === tls.ConnectionEnd.server && !c.open && !c.fail) {\n c.handshaking = true;\n c.session = {\n version: null,\n extensions: {\n server_name: {\n serverNameList: []\n }\n },\n cipherSuite: null,\n compressionMethod: null,\n serverCertificate: null,\n clientCertificate: null,\n md5: forge.md.md5.create(),\n sha1: forge.md.sha1.create()\n };\n }\n\n /* Update handshake messages digest. Finished and CertificateVerify\n messages are not digested here. They can't be digested as part of\n the verify_data that they contain. These messages are manually\n digested in their handlers. HelloRequest messages are simply never\n included in the handshake message digest according to spec. */\n if(type !== tls.HandshakeType.hello_request &&\n type !== tls.HandshakeType.certificate_verify &&\n type !== tls.HandshakeType.finished) {\n c.session.md5.update(bytes);\n c.session.sha1.update(bytes);\n }\n\n // handle specific handshake type record\n hsTable[c.entity][c.expect][type](c, record, length);\n } else {\n // unexpected record\n tls.handleUnexpected(c, record);\n }\n};\n\n/**\n * Called when an ApplicationData record is received.\n *\n * @param c the connection.\n * @param record the record.\n */\ntls.handleApplicationData = function(c, record) {\n // buffer data, notify that its ready\n c.data.putBuffer(record.fragment);\n c.dataReady(c);\n\n // continue\n c.process();\n};\n\n/**\n * Called when a Heartbeat record is received.\n *\n * @param c the connection.\n * @param record the record.\n */\ntls.handleHeartbeat = function(c, record) {\n // get the heartbeat type and payload\n var b = record.fragment;\n var type = b.getByte();\n var length = b.getInt16();\n var payload = b.getBytes(length);\n\n if(type === tls.HeartbeatMessageType.heartbeat_request) {\n // discard request during handshake or if length is too large\n if(c.handshaking || length > payload.length) {\n // continue\n return c.process();\n }\n // retransmit payload\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.heartbeat,\n data: tls.createHeartbeat(\n tls.HeartbeatMessageType.heartbeat_response, payload)\n }));\n tls.flush(c);\n } else if(type === tls.HeartbeatMessageType.heartbeat_response) {\n // check payload against expected payload, discard heartbeat if no match\n if(payload !== c.expectedHeartbeatPayload) {\n // continue\n return c.process();\n }\n\n // notify that a valid heartbeat was received\n if(c.heartbeatReceived) {\n c.heartbeatReceived(c, forge.util.createBuffer(payload));\n }\n }\n\n // continue\n c.process();\n};\n\n/**\n * The transistional state tables for receiving TLS records. It maps the\n * current TLS engine state and a received record to a function to handle the\n * record and update the state.\n *\n * For instance, if the current state is SHE, then the TLS engine is expecting\n * a ServerHello record. Once a record is received, the handler function is\n * looked up using the state SHE and the record's content type.\n *\n * The resulting function will either be an error handler or a record handler.\n * The function will take whatever action is appropriate and update the state\n * for the next record.\n *\n * The states are all based on possible server record types. Note that the\n * client will never specifically expect to receive a HelloRequest or an alert\n * from the server so there is no state that reflects this. These messages may\n * occur at any time.\n *\n * There are two tables for mapping states because there is a second tier of\n * types for handshake messages. Once a record with a content type of handshake\n * is received, the handshake record handler will look up the handshake type in\n * the secondary map to get its appropriate handler.\n *\n * Valid message orders are as follows:\n *\n * =======================FULL HANDSHAKE======================\n * Client Server\n *\n * ClientHello -------->\n * ServerHello\n * Certificate*\n * ServerKeyExchange*\n * CertificateRequest*\n * <-------- ServerHelloDone\n * Certificate*\n * ClientKeyExchange\n * CertificateVerify*\n * [ChangeCipherSpec]\n * Finished -------->\n * [ChangeCipherSpec]\n * <-------- Finished\n * Application Data <-------> Application Data\n *\n * =====================SESSION RESUMPTION=====================\n * Client Server\n *\n * ClientHello -------->\n * ServerHello\n * [ChangeCipherSpec]\n * <-------- Finished\n * [ChangeCipherSpec]\n * Finished -------->\n * Application Data <-------> Application Data\n */\n// client expect states (indicate which records are expected to be received)\nvar SHE = 0; // rcv server hello\nvar SCE = 1; // rcv server certificate\nvar SKE = 2; // rcv server key exchange\nvar SCR = 3; // rcv certificate request\nvar SHD = 4; // rcv server hello done\nvar SCC = 5; // rcv change cipher spec\nvar SFI = 6; // rcv finished\nvar SAD = 7; // rcv application data\nvar SER = 8; // not expecting any messages at this point\n\n// server expect states\nvar CHE = 0; // rcv client hello\nvar CCE = 1; // rcv client certificate\nvar CKE = 2; // rcv client key exchange\nvar CCV = 3; // rcv certificate verify\nvar CCC = 4; // rcv change cipher spec\nvar CFI = 5; // rcv finished\nvar CAD = 6; // rcv application data\nvar CER = 7; // not expecting any messages at this point\n\n// map client current expect state and content type to function\nvar __ = tls.handleUnexpected;\nvar R0 = tls.handleChangeCipherSpec;\nvar R1 = tls.handleAlert;\nvar R2 = tls.handleHandshake;\nvar R3 = tls.handleApplicationData;\nvar R4 = tls.handleHeartbeat;\nvar ctTable = [];\nctTable[tls.ConnectionEnd.client] = [\n// CC,AL,HS,AD,HB\n/*SHE*/[__,R1,R2,__,R4],\n/*SCE*/[__,R1,R2,__,R4],\n/*SKE*/[__,R1,R2,__,R4],\n/*SCR*/[__,R1,R2,__,R4],\n/*SHD*/[__,R1,R2,__,R4],\n/*SCC*/[R0,R1,__,__,R4],\n/*SFI*/[__,R1,R2,__,R4],\n/*SAD*/[__,R1,R2,R3,R4],\n/*SER*/[__,R1,R2,__,R4]\n];\n\n// map server current expect state and content type to function\nctTable[tls.ConnectionEnd.server] = [\n// CC,AL,HS,AD\n/*CHE*/[__,R1,R2,__,R4],\n/*CCE*/[__,R1,R2,__,R4],\n/*CKE*/[__,R1,R2,__,R4],\n/*CCV*/[__,R1,R2,__,R4],\n/*CCC*/[R0,R1,__,__,R4],\n/*CFI*/[__,R1,R2,__,R4],\n/*CAD*/[__,R1,R2,R3,R4],\n/*CER*/[__,R1,R2,__,R4]\n];\n\n// map client current expect state and handshake type to function\nvar H0 = tls.handleHelloRequest;\nvar H1 = tls.handleServerHello;\nvar H2 = tls.handleCertificate;\nvar H3 = tls.handleServerKeyExchange;\nvar H4 = tls.handleCertificateRequest;\nvar H5 = tls.handleServerHelloDone;\nvar H6 = tls.handleFinished;\nvar hsTable = [];\nhsTable[tls.ConnectionEnd.client] = [\n// HR,01,SH,03,04,05,06,07,08,09,10,SC,SK,CR,HD,15,CK,17,18,19,FI\n/*SHE*/[__,__,H1,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__],\n/*SCE*/[H0,__,__,__,__,__,__,__,__,__,__,H2,H3,H4,H5,__,__,__,__,__,__],\n/*SKE*/[H0,__,__,__,__,__,__,__,__,__,__,__,H3,H4,H5,__,__,__,__,__,__],\n/*SCR*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,H4,H5,__,__,__,__,__,__],\n/*SHD*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,H5,__,__,__,__,__,__],\n/*SCC*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__],\n/*SFI*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H6],\n/*SAD*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__],\n/*SER*/[H0,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__]\n];\n\n// map server current expect state and handshake type to function\n// Note: CAD[CH] does not map to FB because renegotation is prohibited\nvar H7 = tls.handleClientHello;\nvar H8 = tls.handleClientKeyExchange;\nvar H9 = tls.handleCertificateVerify;\nhsTable[tls.ConnectionEnd.server] = [\n// 01,CH,02,03,04,05,06,07,08,09,10,CC,12,13,14,CV,CK,17,18,19,FI\n/*CHE*/[__,H7,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__],\n/*CCE*/[__,__,__,__,__,__,__,__,__,__,__,H2,__,__,__,__,__,__,__,__,__],\n/*CKE*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H8,__,__,__,__],\n/*CCV*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H9,__,__,__,__,__],\n/*CCC*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__],\n/*CFI*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,H6],\n/*CAD*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__],\n/*CER*/[__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__,__]\n];\n\n/**\n * Generates the master_secret and keys using the given security parameters.\n *\n * The security parameters for a TLS connection state are defined as such:\n *\n * struct {\n * ConnectionEnd entity;\n * PRFAlgorithm prf_algorithm;\n * BulkCipherAlgorithm bulk_cipher_algorithm;\n * CipherType cipher_type;\n * uint8 enc_key_length;\n * uint8 block_length;\n * uint8 fixed_iv_length;\n * uint8 record_iv_length;\n * MACAlgorithm mac_algorithm;\n * uint8 mac_length;\n * uint8 mac_key_length;\n * CompressionMethod compression_algorithm;\n * opaque master_secret[48];\n * opaque client_random[32];\n * opaque server_random[32];\n * } SecurityParameters;\n *\n * Note that this definition is from TLS 1.2. In TLS 1.0 some of these\n * parameters are ignored because, for instance, the PRFAlgorithm is a\n * builtin-fixed algorithm combining iterations of MD5 and SHA-1 in TLS 1.0.\n *\n * The Record Protocol requires an algorithm to generate keys required by the\n * current connection state.\n *\n * The master secret is expanded into a sequence of secure bytes, which is then\n * split to a client write MAC key, a server write MAC key, a client write\n * encryption key, and a server write encryption key. In TLS 1.0 a client write\n * IV and server write IV are also generated. Each of these is generated from\n * the byte sequence in that order. Unused values are empty. In TLS 1.2, some\n * AEAD ciphers may additionally require a client write IV and a server write\n * IV (see Section 6.2.3.3).\n *\n * When keys, MAC keys, and IVs are generated, the master secret is used as an\n * entropy source.\n *\n * To generate the key material, compute:\n *\n * master_secret = PRF(pre_master_secret, \"master secret\",\n * ClientHello.random + ServerHello.random)\n *\n * key_block = PRF(SecurityParameters.master_secret,\n * \"key expansion\",\n * SecurityParameters.server_random +\n * SecurityParameters.client_random);\n *\n * until enough output has been generated. Then, the key_block is\n * partitioned as follows:\n *\n * client_write_MAC_key[SecurityParameters.mac_key_length]\n * server_write_MAC_key[SecurityParameters.mac_key_length]\n * client_write_key[SecurityParameters.enc_key_length]\n * server_write_key[SecurityParameters.enc_key_length]\n * client_write_IV[SecurityParameters.fixed_iv_length]\n * server_write_IV[SecurityParameters.fixed_iv_length]\n *\n * In TLS 1.2, the client_write_IV and server_write_IV are only generated for\n * implicit nonce techniques as described in Section 3.2.1 of [AEAD]. This\n * implementation uses TLS 1.0 so IVs are generated.\n *\n * Implementation note: The currently defined cipher suite which requires the\n * most material is AES_256_CBC_SHA256. It requires 2 x 32 byte keys and 2 x 32\n * byte MAC keys, for a total 128 bytes of key material. In TLS 1.0 it also\n * requires 2 x 16 byte IVs, so it actually takes 160 bytes of key material.\n *\n * @param c the connection.\n * @param sp the security parameters to use.\n *\n * @return the security keys.\n */\ntls.generateKeys = function(c, sp) {\n // TLS_RSA_WITH_AES_128_CBC_SHA (required to be compliant with TLS 1.2) &\n // TLS_RSA_WITH_AES_256_CBC_SHA are the only cipher suites implemented\n // at present\n\n // TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA is required to be compliant with\n // TLS 1.0 but we don't care right now because AES is better and we have\n // an implementation for it\n\n // TODO: TLS 1.2 implementation\n /*\n // determine the PRF\n var prf;\n switch(sp.prf_algorithm) {\n case tls.PRFAlgorithm.tls_prf_sha256:\n prf = prf_sha256;\n break;\n default:\n // should never happen\n throw new Error('Invalid PRF');\n }\n */\n\n // TLS 1.0/1.1 implementation\n var prf = prf_TLS1;\n\n // concatenate server and client random\n var random = sp.client_random + sp.server_random;\n\n // only create master secret if session is new\n if(!c.session.resuming) {\n // create master secret, clean up pre-master secret\n sp.master_secret = prf(\n sp.pre_master_secret, 'master secret', random, 48).bytes();\n sp.pre_master_secret = null;\n }\n\n // generate the amount of key material needed\n random = sp.server_random + sp.client_random;\n var length = 2 * sp.mac_key_length + 2 * sp.enc_key_length;\n\n // include IV for TLS/1.0\n var tls10 = (c.version.major === tls.Versions.TLS_1_0.major &&\n c.version.minor === tls.Versions.TLS_1_0.minor);\n if(tls10) {\n length += 2 * sp.fixed_iv_length;\n }\n var km = prf(sp.master_secret, 'key expansion', random, length);\n\n // split the key material into the MAC and encryption keys\n var rval = {\n client_write_MAC_key: km.getBytes(sp.mac_key_length),\n server_write_MAC_key: km.getBytes(sp.mac_key_length),\n client_write_key: km.getBytes(sp.enc_key_length),\n server_write_key: km.getBytes(sp.enc_key_length)\n };\n\n // include TLS 1.0 IVs\n if(tls10) {\n rval.client_write_IV = km.getBytes(sp.fixed_iv_length);\n rval.server_write_IV = km.getBytes(sp.fixed_iv_length);\n }\n\n return rval;\n};\n\n/**\n * Creates a new initialized TLS connection state. A connection state has\n * a read mode and a write mode.\n *\n * compression state:\n * The current state of the compression algorithm.\n *\n * cipher state:\n * The current state of the encryption algorithm. This will consist of the\n * scheduled key for that connection. For stream ciphers, this will also\n * contain whatever state information is necessary to allow the stream to\n * continue to encrypt or decrypt data.\n *\n * MAC key:\n * The MAC key for the connection.\n *\n * sequence number:\n * Each connection state contains a sequence number, which is maintained\n * separately for read and write states. The sequence number MUST be set to\n * zero whenever a connection state is made the active state. Sequence\n * numbers are of type uint64 and may not exceed 2^64-1. Sequence numbers do\n * not wrap. If a TLS implementation would need to wrap a sequence number,\n * it must renegotiate instead. A sequence number is incremented after each\n * record: specifically, the first record transmitted under a particular\n * connection state MUST use sequence number 0.\n *\n * @param c the connection.\n *\n * @return the new initialized TLS connection state.\n */\ntls.createConnectionState = function(c) {\n var client = (c.entity === tls.ConnectionEnd.client);\n\n var createMode = function() {\n var mode = {\n // two 32-bit numbers, first is most significant\n sequenceNumber: [0, 0],\n macKey: null,\n macLength: 0,\n macFunction: null,\n cipherState: null,\n cipherFunction: function(record) {return true;},\n compressionState: null,\n compressFunction: function(record) {return true;},\n updateSequenceNumber: function() {\n if(mode.sequenceNumber[1] === 0xFFFFFFFF) {\n mode.sequenceNumber[1] = 0;\n ++mode.sequenceNumber[0];\n } else {\n ++mode.sequenceNumber[1];\n }\n }\n };\n return mode;\n };\n var state = {\n read: createMode(),\n write: createMode()\n };\n\n // update function in read mode will decrypt then decompress a record\n state.read.update = function(c, record) {\n if(!state.read.cipherFunction(record, state.read)) {\n c.error(c, {\n message: 'Could not decrypt record or bad MAC.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n // doesn't matter if decryption failed or MAC was\n // invalid, return the same error so as not to reveal\n // which one occurred\n description: tls.Alert.Description.bad_record_mac\n }\n });\n } else if(!state.read.compressFunction(c, record, state.read)) {\n c.error(c, {\n message: 'Could not decompress record.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.decompression_failure\n }\n });\n }\n return !c.fail;\n };\n\n // update function in write mode will compress then encrypt a record\n state.write.update = function(c, record) {\n if(!state.write.compressFunction(c, record, state.write)) {\n // error, but do not send alert since it would require\n // compression as well\n c.error(c, {\n message: 'Could not compress record.',\n send: false,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.internal_error\n }\n });\n } else if(!state.write.cipherFunction(record, state.write)) {\n // error, but do not send alert since it would require\n // encryption as well\n c.error(c, {\n message: 'Could not encrypt record.',\n send: false,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.internal_error\n }\n });\n }\n return !c.fail;\n };\n\n // handle security parameters\n if(c.session) {\n var sp = c.session.sp;\n c.session.cipherSuite.initSecurityParameters(sp);\n\n // generate keys\n sp.keys = tls.generateKeys(c, sp);\n state.read.macKey = client ?\n sp.keys.server_write_MAC_key : sp.keys.client_write_MAC_key;\n state.write.macKey = client ?\n sp.keys.client_write_MAC_key : sp.keys.server_write_MAC_key;\n\n // cipher suite setup\n c.session.cipherSuite.initConnectionState(state, c, sp);\n\n // compression setup\n switch(sp.compression_algorithm) {\n case tls.CompressionMethod.none:\n break;\n case tls.CompressionMethod.deflate:\n state.read.compressFunction = inflate;\n state.write.compressFunction = deflate;\n break;\n default:\n throw new Error('Unsupported compression algorithm.');\n }\n }\n\n return state;\n};\n\n/**\n * Creates a Random structure.\n *\n * struct {\n * uint32 gmt_unix_time;\n * opaque random_bytes[28];\n * } Random;\n *\n * gmt_unix_time:\n * The current time and date in standard UNIX 32-bit format (seconds since\n * the midnight starting Jan 1, 1970, UTC, ignoring leap seconds) according\n * to the sender's internal clock. Clocks are not required to be set\n * correctly by the basic TLS protocol; higher-level or application\n * protocols may define additional requirements. Note that, for historical\n * reasons, the data element is named using GMT, the predecessor of the\n * current worldwide time base, UTC.\n * random_bytes:\n * 28 bytes generated by a secure random number generator.\n *\n * @return the Random structure as a byte array.\n */\ntls.createRandom = function() {\n // get UTC milliseconds\n var d = new Date();\n var utc = +d + d.getTimezoneOffset() * 60000;\n var rval = forge.util.createBuffer();\n rval.putInt32(utc);\n rval.putBytes(forge.random.getBytes(28));\n return rval;\n};\n\n/**\n * Creates a TLS record with the given type and data.\n *\n * @param c the connection.\n * @param options:\n * type: the record type.\n * data: the plain text data in a byte buffer.\n *\n * @return the created record.\n */\ntls.createRecord = function(c, options) {\n if(!options.data) {\n return null;\n }\n var record = {\n type: options.type,\n version: {\n major: c.version.major,\n minor: c.version.minor\n },\n length: options.data.length(),\n fragment: options.data\n };\n return record;\n};\n\n/**\n * Creates a TLS alert record.\n *\n * @param c the connection.\n * @param alert:\n * level: the TLS alert level.\n * description: the TLS alert description.\n *\n * @return the created alert record.\n */\ntls.createAlert = function(c, alert) {\n var b = forge.util.createBuffer();\n b.putByte(alert.level);\n b.putByte(alert.description);\n return tls.createRecord(c, {\n type: tls.ContentType.alert,\n data: b\n });\n};\n\n/* The structure of a TLS handshake message.\n *\n * struct {\n * HandshakeType msg_type; // handshake type\n * uint24 length; // bytes in message\n * select(HandshakeType) {\n * case hello_request: HelloRequest;\n * case client_hello: ClientHello;\n * case server_hello: ServerHello;\n * case certificate: Certificate;\n * case server_key_exchange: ServerKeyExchange;\n * case certificate_request: CertificateRequest;\n * case server_hello_done: ServerHelloDone;\n * case certificate_verify: CertificateVerify;\n * case client_key_exchange: ClientKeyExchange;\n * case finished: Finished;\n * } body;\n * } Handshake;\n */\n\n/**\n * Creates a ClientHello message.\n *\n * opaque SessionID<0..32>;\n * enum { null(0), deflate(1), (255) } CompressionMethod;\n * uint8 CipherSuite[2];\n *\n * struct {\n * ProtocolVersion client_version;\n * Random random;\n * SessionID session_id;\n * CipherSuite cipher_suites<2..2^16-2>;\n * CompressionMethod compression_methods<1..2^8-1>;\n * select(extensions_present) {\n * case false:\n * struct {};\n * case true:\n * Extension extensions<0..2^16-1>;\n * };\n * } ClientHello;\n *\n * The extension format for extended client hellos and server hellos is:\n *\n * struct {\n * ExtensionType extension_type;\n * opaque extension_data<0..2^16-1>;\n * } Extension;\n *\n * Here:\n *\n * - \"extension_type\" identifies the particular extension type.\n * - \"extension_data\" contains information specific to the particular\n * extension type.\n *\n * The extension types defined in this document are:\n *\n * enum {\n * server_name(0), max_fragment_length(1),\n * client_certificate_url(2), trusted_ca_keys(3),\n * truncated_hmac(4), status_request(5), (65535)\n * } ExtensionType;\n *\n * @param c the connection.\n *\n * @return the ClientHello byte buffer.\n */\ntls.createClientHello = function(c) {\n // save hello version\n c.session.clientHelloVersion = {\n major: c.version.major,\n minor: c.version.minor\n };\n\n // create supported cipher suites\n var cipherSuites = forge.util.createBuffer();\n for(var i = 0; i < c.cipherSuites.length; ++i) {\n var cs = c.cipherSuites[i];\n cipherSuites.putByte(cs.id[0]);\n cipherSuites.putByte(cs.id[1]);\n }\n var cSuites = cipherSuites.length();\n\n // create supported compression methods, null always supported, but\n // also support deflate if connection has inflate and deflate methods\n var compressionMethods = forge.util.createBuffer();\n compressionMethods.putByte(tls.CompressionMethod.none);\n // FIXME: deflate support disabled until issues with raw deflate data\n // without zlib headers are resolved\n /*\n if(c.inflate !== null && c.deflate !== null) {\n compressionMethods.putByte(tls.CompressionMethod.deflate);\n }\n */\n var cMethods = compressionMethods.length();\n\n // create TLS SNI (server name indication) extension if virtual host\n // has been specified, see RFC 3546\n var extensions = forge.util.createBuffer();\n if(c.virtualHost) {\n // create extension struct\n var ext = forge.util.createBuffer();\n ext.putByte(0x00); // type server_name (ExtensionType is 2 bytes)\n ext.putByte(0x00);\n\n /* In order to provide the server name, clients MAY include an\n * extension of type \"server_name\" in the (extended) client hello.\n * The \"extension_data\" field of this extension SHALL contain\n * \"ServerNameList\" where:\n *\n * struct {\n * NameType name_type;\n * select(name_type) {\n * case host_name: HostName;\n * } name;\n * } ServerName;\n *\n * enum {\n * host_name(0), (255)\n * } NameType;\n *\n * opaque HostName<1..2^16-1>;\n *\n * struct {\n * ServerName server_name_list<1..2^16-1>\n * } ServerNameList;\n */\n var serverName = forge.util.createBuffer();\n serverName.putByte(0x00); // type host_name\n writeVector(serverName, 2, forge.util.createBuffer(c.virtualHost));\n\n // ServerNameList is in extension_data\n var snList = forge.util.createBuffer();\n writeVector(snList, 2, serverName);\n writeVector(ext, 2, snList);\n extensions.putBuffer(ext);\n }\n var extLength = extensions.length();\n if(extLength > 0) {\n // add extension vector length\n extLength += 2;\n }\n\n // determine length of the handshake message\n // cipher suites and compression methods size will need to be\n // updated if more get added to the list\n var sessionId = c.session.id;\n var length =\n sessionId.length + 1 + // session ID vector\n 2 + // version (major + minor)\n 4 + 28 + // random time and random bytes\n 2 + cSuites + // cipher suites vector\n 1 + cMethods + // compression methods vector\n extLength; // extensions vector\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.client_hello);\n rval.putInt24(length); // handshake length\n rval.putByte(c.version.major); // major version\n rval.putByte(c.version.minor); // minor version\n rval.putBytes(c.session.sp.client_random); // random time + bytes\n writeVector(rval, 1, forge.util.createBuffer(sessionId));\n writeVector(rval, 2, cipherSuites);\n writeVector(rval, 1, compressionMethods);\n if(extLength > 0) {\n writeVector(rval, 2, extensions);\n }\n return rval;\n};\n\n/**\n * Creates a ServerHello message.\n *\n * @param c the connection.\n *\n * @return the ServerHello byte buffer.\n */\ntls.createServerHello = function(c) {\n // determine length of the handshake message\n var sessionId = c.session.id;\n var length =\n sessionId.length + 1 + // session ID vector\n 2 + // version (major + minor)\n 4 + 28 + // random time and random bytes\n 2 + // chosen cipher suite\n 1; // chosen compression method\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.server_hello);\n rval.putInt24(length); // handshake length\n rval.putByte(c.version.major); // major version\n rval.putByte(c.version.minor); // minor version\n rval.putBytes(c.session.sp.server_random); // random time + bytes\n writeVector(rval, 1, forge.util.createBuffer(sessionId));\n rval.putByte(c.session.cipherSuite.id[0]);\n rval.putByte(c.session.cipherSuite.id[1]);\n rval.putByte(c.session.compressionMethod);\n return rval;\n};\n\n/**\n * Creates a Certificate message.\n *\n * When this message will be sent:\n * This is the first message the client can send after receiving a server\n * hello done message and the first message the server can send after\n * sending a ServerHello. This client message is only sent if the server\n * requests a certificate. If no suitable certificate is available, the\n * client should send a certificate message containing no certificates. If\n * client authentication is required by the server for the handshake to\n * continue, it may respond with a fatal handshake failure alert.\n *\n * opaque ASN.1Cert<1..2^24-1>;\n *\n * struct {\n * ASN.1Cert certificate_list<0..2^24-1>;\n * } Certificate;\n *\n * @param c the connection.\n *\n * @return the Certificate byte buffer.\n */\ntls.createCertificate = function(c) {\n // TODO: check certificate request to ensure types are supported\n\n // get a certificate (a certificate as a PEM string)\n var client = (c.entity === tls.ConnectionEnd.client);\n var cert = null;\n if(c.getCertificate) {\n var hint;\n if(client) {\n hint = c.session.certificateRequest;\n } else {\n hint = c.session.extensions.server_name.serverNameList;\n }\n cert = c.getCertificate(c, hint);\n }\n\n // buffer to hold certificate list\n var certList = forge.util.createBuffer();\n if(cert !== null) {\n try {\n // normalize cert to a chain of certificates\n if(!forge.util.isArray(cert)) {\n cert = [cert];\n }\n var asn1 = null;\n for(var i = 0; i < cert.length; ++i) {\n var msg = forge.pem.decode(cert[i])[0];\n if(msg.type !== 'CERTIFICATE' &&\n msg.type !== 'X509 CERTIFICATE' &&\n msg.type !== 'TRUSTED CERTIFICATE') {\n var error = new Error('Could not convert certificate from PEM; PEM ' +\n 'header type is not \"CERTIFICATE\", \"X509 CERTIFICATE\", or ' +\n '\"TRUSTED CERTIFICATE\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert certificate from PEM; PEM is encrypted.');\n }\n\n var der = forge.util.createBuffer(msg.body);\n if(asn1 === null) {\n asn1 = forge.asn1.fromDer(der.bytes(), false);\n }\n\n // certificate entry is itself a vector with 3 length bytes\n var certBuffer = forge.util.createBuffer();\n writeVector(certBuffer, 3, der);\n\n // add cert vector to cert list vector\n certList.putBuffer(certBuffer);\n }\n\n // save certificate\n cert = forge.pki.certificateFromAsn1(asn1);\n if(client) {\n c.session.clientCertificate = cert;\n } else {\n c.session.serverCertificate = cert;\n }\n } catch(ex) {\n return c.error(c, {\n message: 'Could not send certificate list.',\n cause: ex,\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.bad_certificate\n }\n });\n }\n }\n\n // determine length of the handshake message\n var length = 3 + certList.length(); // cert list vector\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.certificate);\n rval.putInt24(length);\n writeVector(rval, 3, certList);\n return rval;\n};\n\n/**\n * Creates a ClientKeyExchange message.\n *\n * When this message will be sent:\n * This message is always sent by the client. It will immediately follow the\n * client certificate message, if it is sent. Otherwise it will be the first\n * message sent by the client after it receives the server hello done\n * message.\n *\n * Meaning of this message:\n * With this message, the premaster secret is set, either though direct\n * transmission of the RSA-encrypted secret, or by the transmission of\n * Diffie-Hellman parameters which will allow each side to agree upon the\n * same premaster secret. When the key exchange method is DH_RSA or DH_DSS,\n * client certification has been requested, and the client was able to\n * respond with a certificate which contained a Diffie-Hellman public key\n * whose parameters (group and generator) matched those specified by the\n * server in its certificate, this message will not contain any data.\n *\n * Meaning of this message:\n * If RSA is being used for key agreement and authentication, the client\n * generates a 48-byte premaster secret, encrypts it using the public key\n * from the server's certificate or the temporary RSA key provided in a\n * server key exchange message, and sends the result in an encrypted\n * premaster secret message. This structure is a variant of the client\n * key exchange message, not a message in itself.\n *\n * struct {\n * select(KeyExchangeAlgorithm) {\n * case rsa: EncryptedPreMasterSecret;\n * case diffie_hellman: ClientDiffieHellmanPublic;\n * } exchange_keys;\n * } ClientKeyExchange;\n *\n * struct {\n * ProtocolVersion client_version;\n * opaque random[46];\n * } PreMasterSecret;\n *\n * struct {\n * public-key-encrypted PreMasterSecret pre_master_secret;\n * } EncryptedPreMasterSecret;\n *\n * A public-key-encrypted element is encoded as a vector <0..2^16-1>.\n *\n * @param c the connection.\n *\n * @return the ClientKeyExchange byte buffer.\n */\ntls.createClientKeyExchange = function(c) {\n // create buffer to encrypt\n var b = forge.util.createBuffer();\n\n // add highest client-supported protocol to help server avoid version\n // rollback attacks\n b.putByte(c.session.clientHelloVersion.major);\n b.putByte(c.session.clientHelloVersion.minor);\n\n // generate and add 46 random bytes\n b.putBytes(forge.random.getBytes(46));\n\n // save pre-master secret\n var sp = c.session.sp;\n sp.pre_master_secret = b.getBytes();\n\n // RSA-encrypt the pre-master secret\n var key = c.session.serverCertificate.publicKey;\n b = key.encrypt(sp.pre_master_secret);\n\n /* Note: The encrypted pre-master secret will be stored in a\n public-key-encrypted opaque vector that has the length prefixed using\n 2 bytes, so include those 2 bytes in the handshake message length. This\n is done as a minor optimization instead of calling writeVector(). */\n\n // determine length of the handshake message\n var length = b.length + 2;\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.client_key_exchange);\n rval.putInt24(length);\n // add vector length bytes\n rval.putInt16(b.length);\n rval.putBytes(b);\n return rval;\n};\n\n/**\n * Creates a ServerKeyExchange message.\n *\n * @param c the connection.\n *\n * @return the ServerKeyExchange byte buffer.\n */\ntls.createServerKeyExchange = function(c) {\n // this implementation only supports RSA, no Diffie-Hellman support,\n // so this record is empty\n\n // determine length of the handshake message\n var length = 0;\n\n // build record fragment\n var rval = forge.util.createBuffer();\n if(length > 0) {\n rval.putByte(tls.HandshakeType.server_key_exchange);\n rval.putInt24(length);\n }\n return rval;\n};\n\n/**\n * Gets the signed data used to verify a client-side certificate. See\n * tls.createCertificateVerify() for details.\n *\n * @param c the connection.\n * @param callback the callback to call once the signed data is ready.\n */\ntls.getClientSignature = function(c, callback) {\n // generate data to RSA encrypt\n var b = forge.util.createBuffer();\n b.putBuffer(c.session.md5.digest());\n b.putBuffer(c.session.sha1.digest());\n b = b.getBytes();\n\n // create default signing function as necessary\n c.getSignature = c.getSignature || function(c, b, callback) {\n // do rsa encryption, call callback\n var privateKey = null;\n if(c.getPrivateKey) {\n try {\n privateKey = c.getPrivateKey(c, c.session.clientCertificate);\n privateKey = forge.pki.privateKeyFromPem(privateKey);\n } catch(ex) {\n c.error(c, {\n message: 'Could not get private key.',\n cause: ex,\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.internal_error\n }\n });\n }\n }\n if(privateKey === null) {\n c.error(c, {\n message: 'No private key set.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.internal_error\n }\n });\n } else {\n b = privateKey.sign(b, null);\n }\n callback(c, b);\n };\n\n // get client signature\n c.getSignature(c, b, callback);\n};\n\n/**\n * Creates a CertificateVerify message.\n *\n * Meaning of this message:\n * This structure conveys the client's Diffie-Hellman public value\n * (Yc) if it was not already included in the client's certificate.\n * The encoding used for Yc is determined by the enumerated\n * PublicValueEncoding. This structure is a variant of the client\n * key exchange message, not a message in itself.\n *\n * When this message will be sent:\n * This message is used to provide explicit verification of a client\n * certificate. This message is only sent following a client\n * certificate that has signing capability (i.e. all certificates\n * except those containing fixed Diffie-Hellman parameters). When\n * sent, it will immediately follow the client key exchange message.\n *\n * struct {\n * Signature signature;\n * } CertificateVerify;\n *\n * CertificateVerify.signature.md5_hash\n * MD5(handshake_messages);\n *\n * Certificate.signature.sha_hash\n * SHA(handshake_messages);\n *\n * Here handshake_messages refers to all handshake messages sent or\n * received starting at client hello up to but not including this\n * message, including the type and length fields of the handshake\n * messages.\n *\n * select(SignatureAlgorithm) {\n * case anonymous: struct { };\n * case rsa:\n * digitally-signed struct {\n * opaque md5_hash[16];\n * opaque sha_hash[20];\n * };\n * case dsa:\n * digitally-signed struct {\n * opaque sha_hash[20];\n * };\n * } Signature;\n *\n * In digital signing, one-way hash functions are used as input for a\n * signing algorithm. A digitally-signed element is encoded as an opaque\n * vector <0..2^16-1>, where the length is specified by the signing\n * algorithm and key.\n *\n * In RSA signing, a 36-byte structure of two hashes (one SHA and one\n * MD5) is signed (encrypted with the private key). It is encoded with\n * PKCS #1 block type 0 or type 1 as described in [PKCS1].\n *\n * In DSS, the 20 bytes of the SHA hash are run directly through the\n * Digital Signing Algorithm with no additional hashing.\n *\n * @param c the connection.\n * @param signature the signature to include in the message.\n *\n * @return the CertificateVerify byte buffer.\n */\ntls.createCertificateVerify = function(c, signature) {\n /* Note: The signature will be stored in a \"digitally-signed\" opaque\n vector that has the length prefixed using 2 bytes, so include those\n 2 bytes in the handshake message length. This is done as a minor\n optimization instead of calling writeVector(). */\n\n // determine length of the handshake message\n var length = signature.length + 2;\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.certificate_verify);\n rval.putInt24(length);\n // add vector length bytes\n rval.putInt16(signature.length);\n rval.putBytes(signature);\n return rval;\n};\n\n/**\n * Creates a CertificateRequest message.\n *\n * @param c the connection.\n *\n * @return the CertificateRequest byte buffer.\n */\ntls.createCertificateRequest = function(c) {\n // TODO: support other certificate types\n var certTypes = forge.util.createBuffer();\n\n // common RSA certificate type\n certTypes.putByte(0x01);\n\n // add distinguished names from CA store\n var cAs = forge.util.createBuffer();\n for(var key in c.caStore.certs) {\n var cert = c.caStore.certs[key];\n var dn = forge.pki.distinguishedNameToAsn1(cert.subject);\n var byteBuffer = forge.asn1.toDer(dn);\n cAs.putInt16(byteBuffer.length());\n cAs.putBuffer(byteBuffer);\n }\n\n // TODO: TLS 1.2+ has a different format\n\n // determine length of the handshake message\n var length =\n 1 + certTypes.length() +\n 2 + cAs.length();\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.certificate_request);\n rval.putInt24(length);\n writeVector(rval, 1, certTypes);\n writeVector(rval, 2, cAs);\n return rval;\n};\n\n/**\n * Creates a ServerHelloDone message.\n *\n * @param c the connection.\n *\n * @return the ServerHelloDone byte buffer.\n */\ntls.createServerHelloDone = function(c) {\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.server_hello_done);\n rval.putInt24(0);\n return rval;\n};\n\n/**\n * Creates a ChangeCipherSpec message.\n *\n * The change cipher spec protocol exists to signal transitions in\n * ciphering strategies. The protocol consists of a single message,\n * which is encrypted and compressed under the current (not the pending)\n * connection state. The message consists of a single byte of value 1.\n *\n * struct {\n * enum { change_cipher_spec(1), (255) } type;\n * } ChangeCipherSpec;\n *\n * @return the ChangeCipherSpec byte buffer.\n */\ntls.createChangeCipherSpec = function() {\n var rval = forge.util.createBuffer();\n rval.putByte(0x01);\n return rval;\n};\n\n/**\n * Creates a Finished message.\n *\n * struct {\n * opaque verify_data[12];\n * } Finished;\n *\n * verify_data\n * PRF(master_secret, finished_label, MD5(handshake_messages) +\n * SHA-1(handshake_messages)) [0..11];\n *\n * finished_label\n * For Finished messages sent by the client, the string \"client\n * finished\". For Finished messages sent by the server, the\n * string \"server finished\".\n *\n * handshake_messages\n * All of the data from all handshake messages up to but not\n * including this message. This is only data visible at the\n * handshake layer and does not include record layer headers.\n * This is the concatenation of all the Handshake structures as\n * defined in 7.4 exchanged thus far.\n *\n * @param c the connection.\n *\n * @return the Finished byte buffer.\n */\ntls.createFinished = function(c) {\n // generate verify_data\n var b = forge.util.createBuffer();\n b.putBuffer(c.session.md5.digest());\n b.putBuffer(c.session.sha1.digest());\n\n // TODO: determine prf function and verify length for TLS 1.2\n var client = (c.entity === tls.ConnectionEnd.client);\n var sp = c.session.sp;\n var vdl = 12;\n var prf = prf_TLS1;\n var label = client ? 'client finished' : 'server finished';\n b = prf(sp.master_secret, label, b.getBytes(), vdl);\n\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(tls.HandshakeType.finished);\n rval.putInt24(b.length());\n rval.putBuffer(b);\n return rval;\n};\n\n/**\n * Creates a HeartbeatMessage (See RFC 6520).\n *\n * struct {\n * HeartbeatMessageType type;\n * uint16 payload_length;\n * opaque payload[HeartbeatMessage.payload_length];\n * opaque padding[padding_length];\n * } HeartbeatMessage;\n *\n * The total length of a HeartbeatMessage MUST NOT exceed 2^14 or\n * max_fragment_length when negotiated as defined in [RFC6066].\n *\n * type: The message type, either heartbeat_request or heartbeat_response.\n *\n * payload_length: The length of the payload.\n *\n * payload: The payload consists of arbitrary content.\n *\n * padding: The padding is random content that MUST be ignored by the\n * receiver. The length of a HeartbeatMessage is TLSPlaintext.length\n * for TLS and DTLSPlaintext.length for DTLS. Furthermore, the\n * length of the type field is 1 byte, and the length of the\n * payload_length is 2. Therefore, the padding_length is\n * TLSPlaintext.length - payload_length - 3 for TLS and\n * DTLSPlaintext.length - payload_length - 3 for DTLS. The\n * padding_length MUST be at least 16.\n *\n * The sender of a HeartbeatMessage MUST use a random padding of at\n * least 16 bytes. The padding of a received HeartbeatMessage message\n * MUST be ignored.\n *\n * If the payload_length of a received HeartbeatMessage is too large,\n * the received HeartbeatMessage MUST be discarded silently.\n *\n * @param c the connection.\n * @param type the tls.HeartbeatMessageType.\n * @param payload the heartbeat data to send as the payload.\n * @param [payloadLength] the payload length to use, defaults to the\n * actual payload length.\n *\n * @return the HeartbeatRequest byte buffer.\n */\ntls.createHeartbeat = function(type, payload, payloadLength) {\n if(typeof payloadLength === 'undefined') {\n payloadLength = payload.length;\n }\n // build record fragment\n var rval = forge.util.createBuffer();\n rval.putByte(type); // heartbeat message type\n rval.putInt16(payloadLength); // payload length\n rval.putBytes(payload); // payload\n // padding\n var plaintextLength = rval.length();\n var paddingLength = Math.max(16, plaintextLength - payloadLength - 3);\n rval.putBytes(forge.random.getBytes(paddingLength));\n return rval;\n};\n\n/**\n * Fragments, compresses, encrypts, and queues a record for delivery.\n *\n * @param c the connection.\n * @param record the record to queue.\n */\ntls.queue = function(c, record) {\n // error during record creation\n if(!record) {\n return;\n }\n\n if(record.fragment.length() === 0) {\n if(record.type === tls.ContentType.handshake ||\n record.type === tls.ContentType.alert ||\n record.type === tls.ContentType.change_cipher_spec) {\n // Empty handshake, alert of change cipher spec messages are not allowed per the TLS specification and should not be sent.\n return;\n }\n }\n\n // if the record is a handshake record, update handshake hashes\n if(record.type === tls.ContentType.handshake) {\n var bytes = record.fragment.bytes();\n c.session.md5.update(bytes);\n c.session.sha1.update(bytes);\n bytes = null;\n }\n\n // handle record fragmentation\n var records;\n if(record.fragment.length() <= tls.MaxFragment) {\n records = [record];\n } else {\n // fragment data as long as it is too long\n records = [];\n var data = record.fragment.bytes();\n while(data.length > tls.MaxFragment) {\n records.push(tls.createRecord(c, {\n type: record.type,\n data: forge.util.createBuffer(data.slice(0, tls.MaxFragment))\n }));\n data = data.slice(tls.MaxFragment);\n }\n // add last record\n if(data.length > 0) {\n records.push(tls.createRecord(c, {\n type: record.type,\n data: forge.util.createBuffer(data)\n }));\n }\n }\n\n // compress and encrypt all fragmented records\n for(var i = 0; i < records.length && !c.fail; ++i) {\n // update the record using current write state\n var rec = records[i];\n var s = c.state.current.write;\n if(s.update(c, rec)) {\n // store record\n c.records.push(rec);\n }\n }\n};\n\n/**\n * Flushes all queued records to the output buffer and calls the\n * tlsDataReady() handler on the given connection.\n *\n * @param c the connection.\n *\n * @return true on success, false on failure.\n */\ntls.flush = function(c) {\n for(var i = 0; i < c.records.length; ++i) {\n var record = c.records[i];\n\n // add record header and fragment\n c.tlsData.putByte(record.type);\n c.tlsData.putByte(record.version.major);\n c.tlsData.putByte(record.version.minor);\n c.tlsData.putInt16(record.fragment.length());\n c.tlsData.putBuffer(c.records[i].fragment);\n }\n c.records = [];\n return c.tlsDataReady(c);\n};\n\n/**\n * Maps a pki.certificateError to a tls.Alert.Description.\n *\n * @param error the error to map.\n *\n * @return the alert description.\n */\nvar _certErrorToAlertDesc = function(error) {\n switch(error) {\n case true:\n return true;\n case forge.pki.certificateError.bad_certificate:\n return tls.Alert.Description.bad_certificate;\n case forge.pki.certificateError.unsupported_certificate:\n return tls.Alert.Description.unsupported_certificate;\n case forge.pki.certificateError.certificate_revoked:\n return tls.Alert.Description.certificate_revoked;\n case forge.pki.certificateError.certificate_expired:\n return tls.Alert.Description.certificate_expired;\n case forge.pki.certificateError.certificate_unknown:\n return tls.Alert.Description.certificate_unknown;\n case forge.pki.certificateError.unknown_ca:\n return tls.Alert.Description.unknown_ca;\n default:\n return tls.Alert.Description.bad_certificate;\n }\n};\n\n/**\n * Maps a tls.Alert.Description to a pki.certificateError.\n *\n * @param desc the alert description.\n *\n * @return the certificate error.\n */\nvar _alertDescToCertError = function(desc) {\n switch(desc) {\n case true:\n return true;\n case tls.Alert.Description.bad_certificate:\n return forge.pki.certificateError.bad_certificate;\n case tls.Alert.Description.unsupported_certificate:\n return forge.pki.certificateError.unsupported_certificate;\n case tls.Alert.Description.certificate_revoked:\n return forge.pki.certificateError.certificate_revoked;\n case tls.Alert.Description.certificate_expired:\n return forge.pki.certificateError.certificate_expired;\n case tls.Alert.Description.certificate_unknown:\n return forge.pki.certificateError.certificate_unknown;\n case tls.Alert.Description.unknown_ca:\n return forge.pki.certificateError.unknown_ca;\n default:\n return forge.pki.certificateError.bad_certificate;\n }\n};\n\n/**\n * Verifies a certificate chain against the given connection's\n * Certificate Authority store.\n *\n * @param c the TLS connection.\n * @param chain the certificate chain to verify, with the root or highest\n * authority at the end.\n *\n * @return true if successful, false if not.\n */\ntls.verifyCertificateChain = function(c, chain) {\n try {\n // Make a copy of c.verifyOptions so that we can modify options.verify\n // without modifying c.verifyOptions.\n var options = {};\n for (var key in c.verifyOptions) {\n options[key] = c.verifyOptions[key];\n }\n\n options.verify = function(vfd, depth, chain) {\n // convert pki.certificateError to tls alert description\n var desc = _certErrorToAlertDesc(vfd);\n\n // call application callback\n var ret = c.verify(c, vfd, depth, chain);\n if(ret !== true) {\n if(typeof ret === 'object' && !forge.util.isArray(ret)) {\n // throw custom error\n var error = new Error('The application rejected the certificate.');\n error.send = true;\n error.alert = {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.bad_certificate\n };\n if(ret.message) {\n error.message = ret.message;\n }\n if(ret.alert) {\n error.alert.description = ret.alert;\n }\n throw error;\n }\n\n // convert tls alert description to pki.certificateError\n if(ret !== vfd) {\n ret = _alertDescToCertError(ret);\n }\n }\n\n return ret;\n };\n\n // verify chain\n forge.pki.verifyCertificateChain(c.caStore, chain, options);\n } catch(ex) {\n // build tls error if not already customized\n var err = ex;\n if(typeof err !== 'object' || forge.util.isArray(err)) {\n err = {\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: _certErrorToAlertDesc(ex)\n }\n };\n }\n if(!('send' in err)) {\n err.send = true;\n }\n if(!('alert' in err)) {\n err.alert = {\n level: tls.Alert.Level.fatal,\n description: _certErrorToAlertDesc(err.error)\n };\n }\n\n // send error\n c.error(c, err);\n }\n\n return !c.fail;\n};\n\n/**\n * Creates a new TLS session cache.\n *\n * @param cache optional map of session ID to cached session.\n * @param capacity the maximum size for the cache (default: 100).\n *\n * @return the new TLS session cache.\n */\ntls.createSessionCache = function(cache, capacity) {\n var rval = null;\n\n // assume input is already a session cache object\n if(cache && cache.getSession && cache.setSession && cache.order) {\n rval = cache;\n } else {\n // create cache\n rval = {};\n rval.cache = cache || {};\n rval.capacity = Math.max(capacity || 100, 1);\n rval.order = [];\n\n // store order for sessions, delete session overflow\n for(var key in cache) {\n if(rval.order.length <= capacity) {\n rval.order.push(key);\n } else {\n delete cache[key];\n }\n }\n\n // get a session from a session ID (or get any session)\n rval.getSession = function(sessionId) {\n var session = null;\n var key = null;\n\n // if session ID provided, use it\n if(sessionId) {\n key = forge.util.bytesToHex(sessionId);\n } else if(rval.order.length > 0) {\n // get first session from cache\n key = rval.order[0];\n }\n\n if(key !== null && key in rval.cache) {\n // get cached session and remove from cache\n session = rval.cache[key];\n delete rval.cache[key];\n for(var i in rval.order) {\n if(rval.order[i] === key) {\n rval.order.splice(i, 1);\n break;\n }\n }\n }\n\n return session;\n };\n\n // set a session in the cache\n rval.setSession = function(sessionId, session) {\n // remove session from cache if at capacity\n if(rval.order.length === rval.capacity) {\n var key = rval.order.shift();\n delete rval.cache[key];\n }\n // add session to cache\n var key = forge.util.bytesToHex(sessionId);\n rval.order.push(key);\n rval.cache[key] = session;\n };\n }\n\n return rval;\n};\n\n/**\n * Creates a new TLS connection.\n *\n * See public createConnection() docs for more details.\n *\n * @param options the options for this connection.\n *\n * @return the new TLS connection.\n */\ntls.createConnection = function(options) {\n var caStore = null;\n if(options.caStore) {\n // if CA store is an array, convert it to a CA store object\n if(forge.util.isArray(options.caStore)) {\n caStore = forge.pki.createCaStore(options.caStore);\n } else {\n caStore = options.caStore;\n }\n } else {\n // create empty CA store\n caStore = forge.pki.createCaStore();\n }\n\n // setup default cipher suites\n var cipherSuites = options.cipherSuites || null;\n if(cipherSuites === null) {\n cipherSuites = [];\n for(var key in tls.CipherSuites) {\n cipherSuites.push(tls.CipherSuites[key]);\n }\n }\n\n // set default entity\n var entity = (options.server || false) ?\n tls.ConnectionEnd.server : tls.ConnectionEnd.client;\n\n // create session cache if requested\n var sessionCache = options.sessionCache ?\n tls.createSessionCache(options.sessionCache) : null;\n\n // create TLS connection\n var c = {\n version: {major: tls.Version.major, minor: tls.Version.minor},\n entity: entity,\n sessionId: options.sessionId,\n caStore: caStore,\n sessionCache: sessionCache,\n cipherSuites: cipherSuites,\n connected: options.connected,\n virtualHost: options.virtualHost || null,\n verifyClient: options.verifyClient || false,\n verify: options.verify || function(cn, vfd, dpth, cts) {return vfd;},\n verifyOptions: options.verifyOptions || {},\n getCertificate: options.getCertificate || null,\n getPrivateKey: options.getPrivateKey || null,\n getSignature: options.getSignature || null,\n input: forge.util.createBuffer(),\n tlsData: forge.util.createBuffer(),\n data: forge.util.createBuffer(),\n tlsDataReady: options.tlsDataReady,\n dataReady: options.dataReady,\n heartbeatReceived: options.heartbeatReceived,\n closed: options.closed,\n error: function(c, ex) {\n // set origin if not set\n ex.origin = ex.origin ||\n ((c.entity === tls.ConnectionEnd.client) ? 'client' : 'server');\n\n // send TLS alert\n if(ex.send) {\n tls.queue(c, tls.createAlert(c, ex.alert));\n tls.flush(c);\n }\n\n // error is fatal by default\n var fatal = (ex.fatal !== false);\n if(fatal) {\n // set fail flag\n c.fail = true;\n }\n\n // call error handler first\n options.error(c, ex);\n\n if(fatal) {\n // fatal error, close connection, do not clear fail\n c.close(false);\n }\n },\n deflate: options.deflate || null,\n inflate: options.inflate || null\n };\n\n /**\n * Resets a closed TLS connection for reuse. Called in c.close().\n *\n * @param clearFail true to clear the fail flag (default: true).\n */\n c.reset = function(clearFail) {\n c.version = {major: tls.Version.major, minor: tls.Version.minor};\n c.record = null;\n c.session = null;\n c.peerCertificate = null;\n c.state = {\n pending: null,\n current: null\n };\n c.expect = (c.entity === tls.ConnectionEnd.client) ? SHE : CHE;\n c.fragmented = null;\n c.records = [];\n c.open = false;\n c.handshakes = 0;\n c.handshaking = false;\n c.isConnected = false;\n c.fail = !(clearFail || typeof(clearFail) === 'undefined');\n c.input.clear();\n c.tlsData.clear();\n c.data.clear();\n c.state.current = tls.createConnectionState(c);\n };\n\n // do initial reset of connection\n c.reset();\n\n /**\n * Updates the current TLS engine state based on the given record.\n *\n * @param c the TLS connection.\n * @param record the TLS record to act on.\n */\n var _update = function(c, record) {\n // get record handler (align type in table by subtracting lowest)\n var aligned = record.type - tls.ContentType.change_cipher_spec;\n var handlers = ctTable[c.entity][c.expect];\n if(aligned in handlers) {\n handlers[aligned](c, record);\n } else {\n // unexpected record\n tls.handleUnexpected(c, record);\n }\n };\n\n /**\n * Reads the record header and initializes the next record on the given\n * connection.\n *\n * @param c the TLS connection with the next record.\n *\n * @return 0 if the input data could be processed, otherwise the\n * number of bytes required for data to be processed.\n */\n var _readRecordHeader = function(c) {\n var rval = 0;\n\n // get input buffer and its length\n var b = c.input;\n var len = b.length();\n\n // need at least 5 bytes to initialize a record\n if(len < 5) {\n rval = 5 - len;\n } else {\n // enough bytes for header\n // initialize record\n c.record = {\n type: b.getByte(),\n version: {\n major: b.getByte(),\n minor: b.getByte()\n },\n length: b.getInt16(),\n fragment: forge.util.createBuffer(),\n ready: false\n };\n\n // check record version\n var compatibleVersion = (c.record.version.major === c.version.major);\n if(compatibleVersion && c.session && c.session.version) {\n // session version already set, require same minor version\n compatibleVersion = (c.record.version.minor === c.version.minor);\n }\n if(!compatibleVersion) {\n c.error(c, {\n message: 'Incompatible TLS version.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description: tls.Alert.Description.protocol_version\n }\n });\n }\n }\n\n return rval;\n };\n\n /**\n * Reads the next record's contents and appends its message to any\n * previously fragmented message.\n *\n * @param c the TLS connection with the next record.\n *\n * @return 0 if the input data could be processed, otherwise the\n * number of bytes required for data to be processed.\n */\n var _readRecord = function(c) {\n var rval = 0;\n\n // ensure there is enough input data to get the entire record\n var b = c.input;\n var len = b.length();\n if(len < c.record.length) {\n // not enough data yet, return how much is required\n rval = c.record.length - len;\n } else {\n // there is enough data to parse the pending record\n // fill record fragment and compact input buffer\n c.record.fragment.putBytes(b.getBytes(c.record.length));\n b.compact();\n\n // update record using current read state\n var s = c.state.current.read;\n if(s.update(c, c.record)) {\n // see if there is a previously fragmented message that the\n // new record's message fragment should be appended to\n if(c.fragmented !== null) {\n // if the record type matches a previously fragmented\n // record, append the record fragment to it\n if(c.fragmented.type === c.record.type) {\n // concatenate record fragments\n c.fragmented.fragment.putBuffer(c.record.fragment);\n c.record = c.fragmented;\n } else {\n // error, invalid fragmented record\n c.error(c, {\n message: 'Invalid fragmented record.',\n send: true,\n alert: {\n level: tls.Alert.Level.fatal,\n description:\n tls.Alert.Description.unexpected_message\n }\n });\n }\n }\n\n // record is now ready\n c.record.ready = true;\n }\n }\n\n return rval;\n };\n\n /**\n * Performs a handshake using the TLS Handshake Protocol, as a client.\n *\n * This method should only be called if the connection is in client mode.\n *\n * @param sessionId the session ID to use, null to start a new one.\n */\n c.handshake = function(sessionId) {\n // error to call this in non-client mode\n if(c.entity !== tls.ConnectionEnd.client) {\n // not fatal error\n c.error(c, {\n message: 'Cannot initiate handshake as a server.',\n fatal: false\n });\n } else if(c.handshaking) {\n // handshake is already in progress, fail but not fatal error\n c.error(c, {\n message: 'Handshake already in progress.',\n fatal: false\n });\n } else {\n // clear fail flag on reuse\n if(c.fail && !c.open && c.handshakes === 0) {\n c.fail = false;\n }\n\n // now handshaking\n c.handshaking = true;\n\n // default to blank (new session)\n sessionId = sessionId || '';\n\n // if a session ID was specified, try to find it in the cache\n var session = null;\n if(sessionId.length > 0) {\n if(c.sessionCache) {\n session = c.sessionCache.getSession(sessionId);\n }\n\n // matching session not found in cache, clear session ID\n if(session === null) {\n sessionId = '';\n }\n }\n\n // no session given, grab a session from the cache, if available\n if(sessionId.length === 0 && c.sessionCache) {\n session = c.sessionCache.getSession();\n if(session !== null) {\n sessionId = session.id;\n }\n }\n\n // set up session\n c.session = {\n id: sessionId,\n version: null,\n cipherSuite: null,\n compressionMethod: null,\n serverCertificate: null,\n certificateRequest: null,\n clientCertificate: null,\n sp: {},\n md5: forge.md.md5.create(),\n sha1: forge.md.sha1.create()\n };\n\n // use existing session information\n if(session) {\n // only update version on connection, session version not yet set\n c.version = session.version;\n c.session.sp = session.sp;\n }\n\n // generate new client random\n c.session.sp.client_random = tls.createRandom().getBytes();\n\n // connection now open\n c.open = true;\n\n // send hello\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.handshake,\n data: tls.createClientHello(c)\n }));\n tls.flush(c);\n }\n };\n\n /**\n * Called when TLS protocol data has been received from somewhere and should\n * be processed by the TLS engine.\n *\n * @param data the TLS protocol data, as a string, to process.\n *\n * @return 0 if the data could be processed, otherwise the number of bytes\n * required for data to be processed.\n */\n c.process = function(data) {\n var rval = 0;\n\n // buffer input data\n if(data) {\n c.input.putBytes(data);\n }\n\n // process next record if no failure, process will be called after\n // each record is handled (since handling can be asynchronous)\n if(!c.fail) {\n // reset record if ready and now empty\n if(c.record !== null &&\n c.record.ready && c.record.fragment.isEmpty()) {\n c.record = null;\n }\n\n // if there is no pending record, try to read record header\n if(c.record === null) {\n rval = _readRecordHeader(c);\n }\n\n // read the next record (if record not yet ready)\n if(!c.fail && c.record !== null && !c.record.ready) {\n rval = _readRecord(c);\n }\n\n // record ready to be handled, update engine state\n if(!c.fail && c.record !== null && c.record.ready) {\n _update(c, c.record);\n }\n }\n\n return rval;\n };\n\n /**\n * Requests that application data be packaged into a TLS record. The\n * tlsDataReady handler will be called when the TLS record(s) have been\n * prepared.\n *\n * @param data the application data, as a raw 'binary' encoded string, to\n * be sent; to send utf-16/utf-8 string data, use the return value\n * of util.encodeUtf8(str).\n *\n * @return true on success, false on failure.\n */\n c.prepare = function(data) {\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.application_data,\n data: forge.util.createBuffer(data)\n }));\n return tls.flush(c);\n };\n\n /**\n * Requests that a heartbeat request be packaged into a TLS record for\n * transmission. The tlsDataReady handler will be called when TLS record(s)\n * have been prepared.\n *\n * When a heartbeat response has been received, the heartbeatReceived\n * handler will be called with the matching payload. This handler can\n * be used to clear a retransmission timer, etc.\n *\n * @param payload the heartbeat data to send as the payload in the message.\n * @param [payloadLength] the payload length to use, defaults to the\n * actual payload length.\n *\n * @return true on success, false on failure.\n */\n c.prepareHeartbeatRequest = function(payload, payloadLength) {\n if(payload instanceof forge.util.ByteBuffer) {\n payload = payload.bytes();\n }\n if(typeof payloadLength === 'undefined') {\n payloadLength = payload.length;\n }\n c.expectedHeartbeatPayload = payload;\n tls.queue(c, tls.createRecord(c, {\n type: tls.ContentType.heartbeat,\n data: tls.createHeartbeat(\n tls.HeartbeatMessageType.heartbeat_request, payload, payloadLength)\n }));\n return tls.flush(c);\n };\n\n /**\n * Closes the connection (sends a close_notify alert).\n *\n * @param clearFail true to clear the fail flag (default: true).\n */\n c.close = function(clearFail) {\n // save session if connection didn't fail\n if(!c.fail && c.sessionCache && c.session) {\n // only need to preserve session ID, version, and security params\n var session = {\n id: c.session.id,\n version: c.session.version,\n sp: c.session.sp\n };\n session.sp.keys = null;\n c.sessionCache.setSession(session.id, session);\n }\n\n if(c.open) {\n // connection no longer open, clear input\n c.open = false;\n c.input.clear();\n\n // if connected or handshaking, send an alert\n if(c.isConnected || c.handshaking) {\n c.isConnected = c.handshaking = false;\n\n // send close_notify alert\n tls.queue(c, tls.createAlert(c, {\n level: tls.Alert.Level.warning,\n description: tls.Alert.Description.close_notify\n }));\n tls.flush(c);\n }\n\n // call handler\n c.closed(c);\n }\n\n // reset TLS connection, do not clear fail flag\n c.reset(clearFail);\n };\n\n return c;\n};\n\n/* TLS API */\nmodule.exports = forge.tls = forge.tls || {};\n\n// expose non-functions\nfor(var key in tls) {\n if(typeof tls[key] !== 'function') {\n forge.tls[key] = tls[key];\n }\n}\n\n// expose prf_tls1 for testing\nforge.tls.prf_tls1 = prf_TLS1;\n\n// expose sha1 hmac method\nforge.tls.hmac_sha1 = hmac_sha1;\n\n// expose session cache creation\nforge.tls.createSessionCache = tls.createSessionCache;\n\n/**\n * Creates a new TLS connection. This does not make any assumptions about the\n * transport layer that TLS is working on top of, ie: it does not assume there\n * is a TCP/IP connection or establish one. A TLS connection is totally\n * abstracted away from the layer is runs on top of, it merely establishes a\n * secure channel between a client\" and a \"server\".\n *\n * A TLS connection contains 4 connection states: pending read and write, and\n * current read and write.\n *\n * At initialization, the current read and write states will be null. Only once\n * the security parameters have been set and the keys have been generated can\n * the pending states be converted into current states. Current states will be\n * updated for each record processed.\n *\n * A custom certificate verify callback may be provided to check information\n * like the common name on the server's certificate. It will be called for\n * every certificate in the chain. It has the following signature:\n *\n * variable func(c, certs, index, preVerify)\n * Where:\n * c The TLS connection\n * verified Set to true if certificate was verified, otherwise the alert\n * tls.Alert.Description for why the certificate failed.\n * depth The current index in the chain, where 0 is the server's cert.\n * certs The certificate chain, *NOTE* if the server was anonymous then\n * the chain will be empty.\n *\n * The function returns true on success and on failure either the appropriate\n * tls.Alert.Description or an object with 'alert' set to the appropriate\n * tls.Alert.Description and 'message' set to a custom error message. If true\n * is not returned then the connection will abort using, in order of\n * availability, first the returned alert description, second the preVerify\n * alert description, and lastly the default 'bad_certificate'.\n *\n * There are three callbacks that can be used to make use of client-side\n * certificates where each takes the TLS connection as the first parameter:\n *\n * getCertificate(conn, hint)\n * The second parameter is a hint as to which certificate should be\n * returned. If the connection entity is a client, then the hint will be\n * the CertificateRequest message from the server that is part of the\n * TLS protocol. If the connection entity is a server, then it will be\n * the servername list provided via an SNI extension the ClientHello, if\n * one was provided (empty array if not). The hint can be examined to\n * determine which certificate to use (advanced). Most implementations\n * will just return a certificate. The return value must be a\n * PEM-formatted certificate or an array of PEM-formatted certificates\n * that constitute a certificate chain, with the first in the array/chain\n * being the client's certificate.\n * getPrivateKey(conn, certificate)\n * The second parameter is an forge.pki X.509 certificate object that\n * is associated with the requested private key. The return value must\n * be a PEM-formatted private key.\n * getSignature(conn, bytes, callback)\n * This callback can be used instead of getPrivateKey if the private key\n * is not directly accessible in javascript or should not be. For\n * instance, a secure external web service could provide the signature\n * in exchange for appropriate credentials. The second parameter is a\n * string of bytes to be signed that are part of the TLS protocol. These\n * bytes are used to verify that the private key for the previously\n * provided client-side certificate is accessible to the client. The\n * callback is a function that takes 2 parameters, the TLS connection\n * and the RSA encrypted (signed) bytes as a string. This callback must\n * be called once the signature is ready.\n *\n * @param options the options for this connection:\n * server: true if the connection is server-side, false for client.\n * sessionId: a session ID to reuse, null for a new connection.\n * caStore: an array of certificates to trust.\n * sessionCache: a session cache to use.\n * cipherSuites: an optional array of cipher suites to use,\n * see tls.CipherSuites.\n * connected: function(conn) called when the first handshake completes.\n * virtualHost: the virtual server name to use in a TLS SNI extension.\n * verifyClient: true to require a client certificate in server mode,\n * 'optional' to request one, false not to (default: false).\n * verify: a handler used to custom verify certificates in the chain.\n * verifyOptions: an object with options for the certificate chain validation.\n * See documentation of pki.verifyCertificateChain for possible options.\n * verifyOptions.verify is ignored. If you wish to specify a verify handler\n * use the verify key.\n * getCertificate: an optional callback used to get a certificate or\n * a chain of certificates (as an array).\n * getPrivateKey: an optional callback used to get a private key.\n * getSignature: an optional callback used to get a signature.\n * tlsDataReady: function(conn) called when TLS protocol data has been\n * prepared and is ready to be used (typically sent over a socket\n * connection to its destination), read from conn.tlsData buffer.\n * dataReady: function(conn) called when application data has\n * been parsed from a TLS record and should be consumed by the\n * application, read from conn.data buffer.\n * closed: function(conn) called when the connection has been closed.\n * error: function(conn, error) called when there was an error.\n * deflate: function(inBytes) if provided, will deflate TLS records using\n * the deflate algorithm if the server supports it.\n * inflate: function(inBytes) if provided, will inflate TLS records using\n * the deflate algorithm if the server supports it.\n *\n * @return the new TLS connection.\n */\nforge.tls.createConnection = tls.createConnection;\n","/**\n * Utility functions for web applications.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2018 Digital Bazaar, Inc.\n */\nvar forge = require('./forge');\nvar baseN = require('./baseN');\n\n/* Utilities API */\nvar util = module.exports = forge.util = forge.util || {};\n\n// define setImmediate and nextTick\n(function() {\n // use native nextTick (unless we're in webpack)\n // webpack (or better node-libs-browser polyfill) sets process.browser.\n // this way we can detect webpack properly\n if(typeof process !== 'undefined' && process.nextTick && !process.browser) {\n util.nextTick = process.nextTick;\n if(typeof setImmediate === 'function') {\n util.setImmediate = setImmediate;\n } else {\n // polyfill setImmediate with nextTick, older versions of node\n // (those w/o setImmediate) won't totally starve IO\n util.setImmediate = util.nextTick;\n }\n return;\n }\n\n // polyfill nextTick with native setImmediate\n if(typeof setImmediate === 'function') {\n util.setImmediate = function() { return setImmediate.apply(undefined, arguments); };\n util.nextTick = function(callback) {\n return setImmediate(callback);\n };\n return;\n }\n\n /* Note: A polyfill upgrade pattern is used here to allow combining\n polyfills. For example, MutationObserver is fast, but blocks UI updates,\n so it needs to allow UI updates periodically, so it falls back on\n postMessage or setTimeout. */\n\n // polyfill with setTimeout\n util.setImmediate = function(callback) {\n setTimeout(callback, 0);\n };\n\n // upgrade polyfill to use postMessage\n if(typeof window !== 'undefined' &&\n typeof window.postMessage === 'function') {\n var msg = 'forge.setImmediate';\n var callbacks = [];\n util.setImmediate = function(callback) {\n callbacks.push(callback);\n // only send message when one hasn't been sent in\n // the current turn of the event loop\n if(callbacks.length === 1) {\n window.postMessage(msg, '*');\n }\n };\n function handler(event) {\n if(event.source === window && event.data === msg) {\n event.stopPropagation();\n var copy = callbacks.slice();\n callbacks.length = 0;\n copy.forEach(function(callback) {\n callback();\n });\n }\n }\n window.addEventListener('message', handler, true);\n }\n\n // upgrade polyfill to use MutationObserver\n if(typeof MutationObserver !== 'undefined') {\n // polyfill with MutationObserver\n var now = Date.now();\n var attr = true;\n var div = document.createElement('div');\n var callbacks = [];\n new MutationObserver(function() {\n var copy = callbacks.slice();\n callbacks.length = 0;\n copy.forEach(function(callback) {\n callback();\n });\n }).observe(div, {attributes: true});\n var oldSetImmediate = util.setImmediate;\n util.setImmediate = function(callback) {\n if(Date.now() - now > 15) {\n now = Date.now();\n oldSetImmediate(callback);\n } else {\n callbacks.push(callback);\n // only trigger observer when it hasn't been triggered in\n // the current turn of the event loop\n if(callbacks.length === 1) {\n div.setAttribute('a', attr = !attr);\n }\n }\n };\n }\n\n util.nextTick = util.setImmediate;\n})();\n\n// check if running under Node.js\nutil.isNodejs =\n typeof process !== 'undefined' && process.versions && process.versions.node;\n\n\n// 'self' will also work in Web Workers (instance of WorkerGlobalScope) while\n// it will point to `window` in the main thread.\n// To remain compatible with older browsers, we fall back to 'window' if 'self'\n// is not available.\nutil.globalScope = (function() {\n if(util.isNodejs) {\n return global;\n }\n\n return typeof self === 'undefined' ? window : self;\n})();\n\n// define isArray\nutil.isArray = Array.isArray || function(x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n};\n\n// define isArrayBuffer\nutil.isArrayBuffer = function(x) {\n return typeof ArrayBuffer !== 'undefined' && x instanceof ArrayBuffer;\n};\n\n// define isArrayBufferView\nutil.isArrayBufferView = function(x) {\n return x && util.isArrayBuffer(x.buffer) && x.byteLength !== undefined;\n};\n\n/**\n * Ensure a bits param is 8, 16, 24, or 32. Used to validate input for\n * algorithms where bit manipulation, JavaScript limitations, and/or algorithm\n * design only allow for byte operations of a limited size.\n *\n * @param n number of bits.\n *\n * Throw Error if n invalid.\n */\nfunction _checkBitsParam(n) {\n if(!(n === 8 || n === 16 || n === 24 || n === 32)) {\n throw new Error('Only 8, 16, 24, or 32 bits supported: ' + n);\n }\n}\n\n// TODO: set ByteBuffer to best available backing\nutil.ByteBuffer = ByteStringBuffer;\n\n/** Buffer w/BinaryString backing */\n\n/**\n * Constructor for a binary string backed byte buffer.\n *\n * @param [b] the bytes to wrap (either encoded as string, one byte per\n * character, or as an ArrayBuffer or Typed Array).\n */\nfunction ByteStringBuffer(b) {\n // TODO: update to match DataBuffer API\n\n // the data in this buffer\n this.data = '';\n // the pointer for reading from this buffer\n this.read = 0;\n\n if(typeof b === 'string') {\n this.data = b;\n } else if(util.isArrayBuffer(b) || util.isArrayBufferView(b)) {\n if(typeof Buffer !== 'undefined' && b instanceof Buffer) {\n this.data = b.toString('binary');\n } else {\n // convert native buffer to forge buffer\n // FIXME: support native buffers internally instead\n var arr = new Uint8Array(b);\n try {\n this.data = String.fromCharCode.apply(null, arr);\n } catch(e) {\n for(var i = 0; i < arr.length; ++i) {\n this.putByte(arr[i]);\n }\n }\n }\n } else if(b instanceof ByteStringBuffer ||\n (typeof b === 'object' && typeof b.data === 'string' &&\n typeof b.read === 'number')) {\n // copy existing buffer\n this.data = b.data;\n this.read = b.read;\n }\n\n // used for v8 optimization\n this._constructedStringLength = 0;\n}\nutil.ByteStringBuffer = ByteStringBuffer;\n\n/* Note: This is an optimization for V8-based browsers. When V8 concatenates\n a string, the strings are only joined logically using a \"cons string\" or\n \"constructed/concatenated string\". These containers keep references to one\n another and can result in very large memory usage. For example, if a 2MB\n string is constructed by concatenating 4 bytes together at a time, the\n memory usage will be ~44MB; so ~22x increase. The strings are only joined\n together when an operation requiring their joining takes place, such as\n substr(). This function is called when adding data to this buffer to ensure\n these types of strings are periodically joined to reduce the memory\n footprint. */\nvar _MAX_CONSTRUCTED_STRING_LENGTH = 4096;\nutil.ByteStringBuffer.prototype._optimizeConstructedString = function(x) {\n this._constructedStringLength += x;\n if(this._constructedStringLength > _MAX_CONSTRUCTED_STRING_LENGTH) {\n // this substr() should cause the constructed string to join\n this.data.substr(0, 1);\n this._constructedStringLength = 0;\n }\n};\n\n/**\n * Gets the number of bytes in this buffer.\n *\n * @return the number of bytes in this buffer.\n */\nutil.ByteStringBuffer.prototype.length = function() {\n return this.data.length - this.read;\n};\n\n/**\n * Gets whether or not this buffer is empty.\n *\n * @return true if this buffer is empty, false if not.\n */\nutil.ByteStringBuffer.prototype.isEmpty = function() {\n return this.length() <= 0;\n};\n\n/**\n * Puts a byte in this buffer.\n *\n * @param b the byte to put.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putByte = function(b) {\n return this.putBytes(String.fromCharCode(b));\n};\n\n/**\n * Puts a byte in this buffer N times.\n *\n * @param b the byte to put.\n * @param n the number of bytes of value b to put.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.fillWithByte = function(b, n) {\n b = String.fromCharCode(b);\n var d = this.data;\n while(n > 0) {\n if(n & 1) {\n d += b;\n }\n n >>>= 1;\n if(n > 0) {\n b += b;\n }\n }\n this.data = d;\n this._optimizeConstructedString(n);\n return this;\n};\n\n/**\n * Puts bytes in this buffer.\n *\n * @param bytes the bytes (as a binary encoded string) to put.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putBytes = function(bytes) {\n this.data += bytes;\n this._optimizeConstructedString(bytes.length);\n return this;\n};\n\n/**\n * Puts a UTF-16 encoded string into this buffer.\n *\n * @param str the string to put.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putString = function(str) {\n return this.putBytes(util.encodeUtf8(str));\n};\n\n/**\n * Puts a 16-bit integer in this buffer in big-endian order.\n *\n * @param i the 16-bit integer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt16 = function(i) {\n return this.putBytes(\n String.fromCharCode(i >> 8 & 0xFF) +\n String.fromCharCode(i & 0xFF));\n};\n\n/**\n * Puts a 24-bit integer in this buffer in big-endian order.\n *\n * @param i the 24-bit integer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt24 = function(i) {\n return this.putBytes(\n String.fromCharCode(i >> 16 & 0xFF) +\n String.fromCharCode(i >> 8 & 0xFF) +\n String.fromCharCode(i & 0xFF));\n};\n\n/**\n * Puts a 32-bit integer in this buffer in big-endian order.\n *\n * @param i the 32-bit integer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt32 = function(i) {\n return this.putBytes(\n String.fromCharCode(i >> 24 & 0xFF) +\n String.fromCharCode(i >> 16 & 0xFF) +\n String.fromCharCode(i >> 8 & 0xFF) +\n String.fromCharCode(i & 0xFF));\n};\n\n/**\n * Puts a 16-bit integer in this buffer in little-endian order.\n *\n * @param i the 16-bit integer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt16Le = function(i) {\n return this.putBytes(\n String.fromCharCode(i & 0xFF) +\n String.fromCharCode(i >> 8 & 0xFF));\n};\n\n/**\n * Puts a 24-bit integer in this buffer in little-endian order.\n *\n * @param i the 24-bit integer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt24Le = function(i) {\n return this.putBytes(\n String.fromCharCode(i & 0xFF) +\n String.fromCharCode(i >> 8 & 0xFF) +\n String.fromCharCode(i >> 16 & 0xFF));\n};\n\n/**\n * Puts a 32-bit integer in this buffer in little-endian order.\n *\n * @param i the 32-bit integer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt32Le = function(i) {\n return this.putBytes(\n String.fromCharCode(i & 0xFF) +\n String.fromCharCode(i >> 8 & 0xFF) +\n String.fromCharCode(i >> 16 & 0xFF) +\n String.fromCharCode(i >> 24 & 0xFF));\n};\n\n/**\n * Puts an n-bit integer in this buffer in big-endian order.\n *\n * @param i the n-bit integer.\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putInt = function(i, n) {\n _checkBitsParam(n);\n var bytes = '';\n do {\n n -= 8;\n bytes += String.fromCharCode((i >> n) & 0xFF);\n } while(n > 0);\n return this.putBytes(bytes);\n};\n\n/**\n * Puts a signed n-bit integer in this buffer in big-endian order. Two's\n * complement representation is used.\n *\n * @param i the n-bit integer.\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putSignedInt = function(i, n) {\n // putInt checks n\n if(i < 0) {\n i += 2 << (n - 1);\n }\n return this.putInt(i, n);\n};\n\n/**\n * Puts the given buffer into this buffer.\n *\n * @param buffer the buffer to put into this one.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.putBuffer = function(buffer) {\n return this.putBytes(buffer.getBytes());\n};\n\n/**\n * Gets a byte from this buffer and advances the read pointer by 1.\n *\n * @return the byte.\n */\nutil.ByteStringBuffer.prototype.getByte = function() {\n return this.data.charCodeAt(this.read++);\n};\n\n/**\n * Gets a uint16 from this buffer in big-endian order and advances the read\n * pointer by 2.\n *\n * @return the uint16.\n */\nutil.ByteStringBuffer.prototype.getInt16 = function() {\n var rval = (\n this.data.charCodeAt(this.read) << 8 ^\n this.data.charCodeAt(this.read + 1));\n this.read += 2;\n return rval;\n};\n\n/**\n * Gets a uint24 from this buffer in big-endian order and advances the read\n * pointer by 3.\n *\n * @return the uint24.\n */\nutil.ByteStringBuffer.prototype.getInt24 = function() {\n var rval = (\n this.data.charCodeAt(this.read) << 16 ^\n this.data.charCodeAt(this.read + 1) << 8 ^\n this.data.charCodeAt(this.read + 2));\n this.read += 3;\n return rval;\n};\n\n/**\n * Gets a uint32 from this buffer in big-endian order and advances the read\n * pointer by 4.\n *\n * @return the word.\n */\nutil.ByteStringBuffer.prototype.getInt32 = function() {\n var rval = (\n this.data.charCodeAt(this.read) << 24 ^\n this.data.charCodeAt(this.read + 1) << 16 ^\n this.data.charCodeAt(this.read + 2) << 8 ^\n this.data.charCodeAt(this.read + 3));\n this.read += 4;\n return rval;\n};\n\n/**\n * Gets a uint16 from this buffer in little-endian order and advances the read\n * pointer by 2.\n *\n * @return the uint16.\n */\nutil.ByteStringBuffer.prototype.getInt16Le = function() {\n var rval = (\n this.data.charCodeAt(this.read) ^\n this.data.charCodeAt(this.read + 1) << 8);\n this.read += 2;\n return rval;\n};\n\n/**\n * Gets a uint24 from this buffer in little-endian order and advances the read\n * pointer by 3.\n *\n * @return the uint24.\n */\nutil.ByteStringBuffer.prototype.getInt24Le = function() {\n var rval = (\n this.data.charCodeAt(this.read) ^\n this.data.charCodeAt(this.read + 1) << 8 ^\n this.data.charCodeAt(this.read + 2) << 16);\n this.read += 3;\n return rval;\n};\n\n/**\n * Gets a uint32 from this buffer in little-endian order and advances the read\n * pointer by 4.\n *\n * @return the word.\n */\nutil.ByteStringBuffer.prototype.getInt32Le = function() {\n var rval = (\n this.data.charCodeAt(this.read) ^\n this.data.charCodeAt(this.read + 1) << 8 ^\n this.data.charCodeAt(this.read + 2) << 16 ^\n this.data.charCodeAt(this.read + 3) << 24);\n this.read += 4;\n return rval;\n};\n\n/**\n * Gets an n-bit integer from this buffer in big-endian order and advances the\n * read pointer by ceil(n/8).\n *\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return the integer.\n */\nutil.ByteStringBuffer.prototype.getInt = function(n) {\n _checkBitsParam(n);\n var rval = 0;\n do {\n // TODO: Use (rval * 0x100) if adding support for 33 to 53 bits.\n rval = (rval << 8) + this.data.charCodeAt(this.read++);\n n -= 8;\n } while(n > 0);\n return rval;\n};\n\n/**\n * Gets a signed n-bit integer from this buffer in big-endian order, using\n * two's complement, and advances the read pointer by n/8.\n *\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return the integer.\n */\nutil.ByteStringBuffer.prototype.getSignedInt = function(n) {\n // getInt checks n\n var x = this.getInt(n);\n var max = 2 << (n - 2);\n if(x >= max) {\n x -= max << 1;\n }\n return x;\n};\n\n/**\n * Reads bytes out as a binary encoded string and clears them from the\n * buffer. Note that the resulting string is binary encoded (in node.js this\n * encoding is referred to as `binary`, it is *not* `utf8`).\n *\n * @param count the number of bytes to read, undefined or null for all.\n *\n * @return a binary encoded string of bytes.\n */\nutil.ByteStringBuffer.prototype.getBytes = function(count) {\n var rval;\n if(count) {\n // read count bytes\n count = Math.min(this.length(), count);\n rval = this.data.slice(this.read, this.read + count);\n this.read += count;\n } else if(count === 0) {\n rval = '';\n } else {\n // read all bytes, optimize to only copy when needed\n rval = (this.read === 0) ? this.data : this.data.slice(this.read);\n this.clear();\n }\n return rval;\n};\n\n/**\n * Gets a binary encoded string of the bytes from this buffer without\n * modifying the read pointer.\n *\n * @param count the number of bytes to get, omit to get all.\n *\n * @return a string full of binary encoded characters.\n */\nutil.ByteStringBuffer.prototype.bytes = function(count) {\n return (typeof(count) === 'undefined' ?\n this.data.slice(this.read) :\n this.data.slice(this.read, this.read + count));\n};\n\n/**\n * Gets a byte at the given index without modifying the read pointer.\n *\n * @param i the byte index.\n *\n * @return the byte.\n */\nutil.ByteStringBuffer.prototype.at = function(i) {\n return this.data.charCodeAt(this.read + i);\n};\n\n/**\n * Puts a byte at the given index without modifying the read pointer.\n *\n * @param i the byte index.\n * @param b the byte to put.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.setAt = function(i, b) {\n this.data = this.data.substr(0, this.read + i) +\n String.fromCharCode(b) +\n this.data.substr(this.read + i + 1);\n return this;\n};\n\n/**\n * Gets the last byte without modifying the read pointer.\n *\n * @return the last byte.\n */\nutil.ByteStringBuffer.prototype.last = function() {\n return this.data.charCodeAt(this.data.length - 1);\n};\n\n/**\n * Creates a copy of this buffer.\n *\n * @return the copy.\n */\nutil.ByteStringBuffer.prototype.copy = function() {\n var c = util.createBuffer(this.data);\n c.read = this.read;\n return c;\n};\n\n/**\n * Compacts this buffer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.compact = function() {\n if(this.read > 0) {\n this.data = this.data.slice(this.read);\n this.read = 0;\n }\n return this;\n};\n\n/**\n * Clears this buffer.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.clear = function() {\n this.data = '';\n this.read = 0;\n return this;\n};\n\n/**\n * Shortens this buffer by triming bytes off of the end of this buffer.\n *\n * @param count the number of bytes to trim off.\n *\n * @return this buffer.\n */\nutil.ByteStringBuffer.prototype.truncate = function(count) {\n var len = Math.max(0, this.length() - count);\n this.data = this.data.substr(this.read, len);\n this.read = 0;\n return this;\n};\n\n/**\n * Converts this buffer to a hexadecimal string.\n *\n * @return a hexadecimal string.\n */\nutil.ByteStringBuffer.prototype.toHex = function() {\n var rval = '';\n for(var i = this.read; i < this.data.length; ++i) {\n var b = this.data.charCodeAt(i);\n if(b < 16) {\n rval += '0';\n }\n rval += b.toString(16);\n }\n return rval;\n};\n\n/**\n * Converts this buffer to a UTF-16 string (standard JavaScript string).\n *\n * @return a UTF-16 string.\n */\nutil.ByteStringBuffer.prototype.toString = function() {\n return util.decodeUtf8(this.bytes());\n};\n\n/** End Buffer w/BinaryString backing */\n\n/** Buffer w/UInt8Array backing */\n\n/**\n * FIXME: Experimental. Do not use yet.\n *\n * Constructor for an ArrayBuffer-backed byte buffer.\n *\n * The buffer may be constructed from a string, an ArrayBuffer, DataView, or a\n * TypedArray.\n *\n * If a string is given, its encoding should be provided as an option,\n * otherwise it will default to 'binary'. A 'binary' string is encoded such\n * that each character is one byte in length and size.\n *\n * If an ArrayBuffer, DataView, or TypedArray is given, it will be used\n * *directly* without any copying. Note that, if a write to the buffer requires\n * more space, the buffer will allocate a new backing ArrayBuffer to\n * accommodate. The starting read and write offsets for the buffer may be\n * given as options.\n *\n * @param [b] the initial bytes for this buffer.\n * @param options the options to use:\n * [readOffset] the starting read offset to use (default: 0).\n * [writeOffset] the starting write offset to use (default: the\n * length of the first parameter).\n * [growSize] the minimum amount, in bytes, to grow the buffer by to\n * accommodate writes (default: 1024).\n * [encoding] the encoding ('binary', 'utf8', 'utf16', 'hex') for the\n * first parameter, if it is a string (default: 'binary').\n */\nfunction DataBuffer(b, options) {\n // default options\n options = options || {};\n\n // pointers for read from/write to buffer\n this.read = options.readOffset || 0;\n this.growSize = options.growSize || 1024;\n\n var isArrayBuffer = util.isArrayBuffer(b);\n var isArrayBufferView = util.isArrayBufferView(b);\n if(isArrayBuffer || isArrayBufferView) {\n // use ArrayBuffer directly\n if(isArrayBuffer) {\n this.data = new DataView(b);\n } else {\n // TODO: adjust read/write offset based on the type of view\n // or specify that this must be done in the options ... that the\n // offsets are byte-based\n this.data = new DataView(b.buffer, b.byteOffset, b.byteLength);\n }\n this.write = ('writeOffset' in options ?\n options.writeOffset : this.data.byteLength);\n return;\n }\n\n // initialize to empty array buffer and add any given bytes using putBytes\n this.data = new DataView(new ArrayBuffer(0));\n this.write = 0;\n\n if(b !== null && b !== undefined) {\n this.putBytes(b);\n }\n\n if('writeOffset' in options) {\n this.write = options.writeOffset;\n }\n}\nutil.DataBuffer = DataBuffer;\n\n/**\n * Gets the number of bytes in this buffer.\n *\n * @return the number of bytes in this buffer.\n */\nutil.DataBuffer.prototype.length = function() {\n return this.write - this.read;\n};\n\n/**\n * Gets whether or not this buffer is empty.\n *\n * @return true if this buffer is empty, false if not.\n */\nutil.DataBuffer.prototype.isEmpty = function() {\n return this.length() <= 0;\n};\n\n/**\n * Ensures this buffer has enough empty space to accommodate the given number\n * of bytes. An optional parameter may be given that indicates a minimum\n * amount to grow the buffer if necessary. If the parameter is not given,\n * the buffer will be grown by some previously-specified default amount\n * or heuristic.\n *\n * @param amount the number of bytes to accommodate.\n * @param [growSize] the minimum amount, in bytes, to grow the buffer by if\n * necessary.\n */\nutil.DataBuffer.prototype.accommodate = function(amount, growSize) {\n if(this.length() >= amount) {\n return this;\n }\n growSize = Math.max(growSize || this.growSize, amount);\n\n // grow buffer\n var src = new Uint8Array(\n this.data.buffer, this.data.byteOffset, this.data.byteLength);\n var dst = new Uint8Array(this.length() + growSize);\n dst.set(src);\n this.data = new DataView(dst.buffer);\n\n return this;\n};\n\n/**\n * Puts a byte in this buffer.\n *\n * @param b the byte to put.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putByte = function(b) {\n this.accommodate(1);\n this.data.setUint8(this.write++, b);\n return this;\n};\n\n/**\n * Puts a byte in this buffer N times.\n *\n * @param b the byte to put.\n * @param n the number of bytes of value b to put.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.fillWithByte = function(b, n) {\n this.accommodate(n);\n for(var i = 0; i < n; ++i) {\n this.data.setUint8(b);\n }\n return this;\n};\n\n/**\n * Puts bytes in this buffer. The bytes may be given as a string, an\n * ArrayBuffer, a DataView, or a TypedArray.\n *\n * @param bytes the bytes to put.\n * @param [encoding] the encoding for the first parameter ('binary', 'utf8',\n * 'utf16', 'hex'), if it is a string (default: 'binary').\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putBytes = function(bytes, encoding) {\n if(util.isArrayBufferView(bytes)) {\n var src = new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.byteLength);\n var len = src.byteLength - src.byteOffset;\n this.accommodate(len);\n var dst = new Uint8Array(this.data.buffer, this.write);\n dst.set(src);\n this.write += len;\n return this;\n }\n\n if(util.isArrayBuffer(bytes)) {\n var src = new Uint8Array(bytes);\n this.accommodate(src.byteLength);\n var dst = new Uint8Array(this.data.buffer);\n dst.set(src, this.write);\n this.write += src.byteLength;\n return this;\n }\n\n // bytes is a util.DataBuffer or equivalent\n if(bytes instanceof util.DataBuffer ||\n (typeof bytes === 'object' &&\n typeof bytes.read === 'number' && typeof bytes.write === 'number' &&\n util.isArrayBufferView(bytes.data))) {\n var src = new Uint8Array(bytes.data.byteLength, bytes.read, bytes.length());\n this.accommodate(src.byteLength);\n var dst = new Uint8Array(bytes.data.byteLength, this.write);\n dst.set(src);\n this.write += src.byteLength;\n return this;\n }\n\n if(bytes instanceof util.ByteStringBuffer) {\n // copy binary string and process as the same as a string parameter below\n bytes = bytes.data;\n encoding = 'binary';\n }\n\n // string conversion\n encoding = encoding || 'binary';\n if(typeof bytes === 'string') {\n var view;\n\n // decode from string\n if(encoding === 'hex') {\n this.accommodate(Math.ceil(bytes.length / 2));\n view = new Uint8Array(this.data.buffer, this.write);\n this.write += util.binary.hex.decode(bytes, view, this.write);\n return this;\n }\n if(encoding === 'base64') {\n this.accommodate(Math.ceil(bytes.length / 4) * 3);\n view = new Uint8Array(this.data.buffer, this.write);\n this.write += util.binary.base64.decode(bytes, view, this.write);\n return this;\n }\n\n // encode text as UTF-8 bytes\n if(encoding === 'utf8') {\n // encode as UTF-8 then decode string as raw binary\n bytes = util.encodeUtf8(bytes);\n encoding = 'binary';\n }\n\n // decode string as raw binary\n if(encoding === 'binary' || encoding === 'raw') {\n // one byte per character\n this.accommodate(bytes.length);\n view = new Uint8Array(this.data.buffer, this.write);\n this.write += util.binary.raw.decode(view);\n return this;\n }\n\n // encode text as UTF-16 bytes\n if(encoding === 'utf16') {\n // two bytes per character\n this.accommodate(bytes.length * 2);\n view = new Uint16Array(this.data.buffer, this.write);\n this.write += util.text.utf16.encode(view);\n return this;\n }\n\n throw new Error('Invalid encoding: ' + encoding);\n }\n\n throw Error('Invalid parameter: ' + bytes);\n};\n\n/**\n * Puts the given buffer into this buffer.\n *\n * @param buffer the buffer to put into this one.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putBuffer = function(buffer) {\n this.putBytes(buffer);\n buffer.clear();\n return this;\n};\n\n/**\n * Puts a string into this buffer.\n *\n * @param str the string to put.\n * @param [encoding] the encoding for the string (default: 'utf16').\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putString = function(str) {\n return this.putBytes(str, 'utf16');\n};\n\n/**\n * Puts a 16-bit integer in this buffer in big-endian order.\n *\n * @param i the 16-bit integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt16 = function(i) {\n this.accommodate(2);\n this.data.setInt16(this.write, i);\n this.write += 2;\n return this;\n};\n\n/**\n * Puts a 24-bit integer in this buffer in big-endian order.\n *\n * @param i the 24-bit integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt24 = function(i) {\n this.accommodate(3);\n this.data.setInt16(this.write, i >> 8 & 0xFFFF);\n this.data.setInt8(this.write, i >> 16 & 0xFF);\n this.write += 3;\n return this;\n};\n\n/**\n * Puts a 32-bit integer in this buffer in big-endian order.\n *\n * @param i the 32-bit integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt32 = function(i) {\n this.accommodate(4);\n this.data.setInt32(this.write, i);\n this.write += 4;\n return this;\n};\n\n/**\n * Puts a 16-bit integer in this buffer in little-endian order.\n *\n * @param i the 16-bit integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt16Le = function(i) {\n this.accommodate(2);\n this.data.setInt16(this.write, i, true);\n this.write += 2;\n return this;\n};\n\n/**\n * Puts a 24-bit integer in this buffer in little-endian order.\n *\n * @param i the 24-bit integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt24Le = function(i) {\n this.accommodate(3);\n this.data.setInt8(this.write, i >> 16 & 0xFF);\n this.data.setInt16(this.write, i >> 8 & 0xFFFF, true);\n this.write += 3;\n return this;\n};\n\n/**\n * Puts a 32-bit integer in this buffer in little-endian order.\n *\n * @param i the 32-bit integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt32Le = function(i) {\n this.accommodate(4);\n this.data.setInt32(this.write, i, true);\n this.write += 4;\n return this;\n};\n\n/**\n * Puts an n-bit integer in this buffer in big-endian order.\n *\n * @param i the n-bit integer.\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putInt = function(i, n) {\n _checkBitsParam(n);\n this.accommodate(n / 8);\n do {\n n -= 8;\n this.data.setInt8(this.write++, (i >> n) & 0xFF);\n } while(n > 0);\n return this;\n};\n\n/**\n * Puts a signed n-bit integer in this buffer in big-endian order. Two's\n * complement representation is used.\n *\n * @param i the n-bit integer.\n * @param n the number of bits in the integer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.putSignedInt = function(i, n) {\n _checkBitsParam(n);\n this.accommodate(n / 8);\n if(i < 0) {\n i += 2 << (n - 1);\n }\n return this.putInt(i, n);\n};\n\n/**\n * Gets a byte from this buffer and advances the read pointer by 1.\n *\n * @return the byte.\n */\nutil.DataBuffer.prototype.getByte = function() {\n return this.data.getInt8(this.read++);\n};\n\n/**\n * Gets a uint16 from this buffer in big-endian order and advances the read\n * pointer by 2.\n *\n * @return the uint16.\n */\nutil.DataBuffer.prototype.getInt16 = function() {\n var rval = this.data.getInt16(this.read);\n this.read += 2;\n return rval;\n};\n\n/**\n * Gets a uint24 from this buffer in big-endian order and advances the read\n * pointer by 3.\n *\n * @return the uint24.\n */\nutil.DataBuffer.prototype.getInt24 = function() {\n var rval = (\n this.data.getInt16(this.read) << 8 ^\n this.data.getInt8(this.read + 2));\n this.read += 3;\n return rval;\n};\n\n/**\n * Gets a uint32 from this buffer in big-endian order and advances the read\n * pointer by 4.\n *\n * @return the word.\n */\nutil.DataBuffer.prototype.getInt32 = function() {\n var rval = this.data.getInt32(this.read);\n this.read += 4;\n return rval;\n};\n\n/**\n * Gets a uint16 from this buffer in little-endian order and advances the read\n * pointer by 2.\n *\n * @return the uint16.\n */\nutil.DataBuffer.prototype.getInt16Le = function() {\n var rval = this.data.getInt16(this.read, true);\n this.read += 2;\n return rval;\n};\n\n/**\n * Gets a uint24 from this buffer in little-endian order and advances the read\n * pointer by 3.\n *\n * @return the uint24.\n */\nutil.DataBuffer.prototype.getInt24Le = function() {\n var rval = (\n this.data.getInt8(this.read) ^\n this.data.getInt16(this.read + 1, true) << 8);\n this.read += 3;\n return rval;\n};\n\n/**\n * Gets a uint32 from this buffer in little-endian order and advances the read\n * pointer by 4.\n *\n * @return the word.\n */\nutil.DataBuffer.prototype.getInt32Le = function() {\n var rval = this.data.getInt32(this.read, true);\n this.read += 4;\n return rval;\n};\n\n/**\n * Gets an n-bit integer from this buffer in big-endian order and advances the\n * read pointer by n/8.\n *\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return the integer.\n */\nutil.DataBuffer.prototype.getInt = function(n) {\n _checkBitsParam(n);\n var rval = 0;\n do {\n // TODO: Use (rval * 0x100) if adding support for 33 to 53 bits.\n rval = (rval << 8) + this.data.getInt8(this.read++);\n n -= 8;\n } while(n > 0);\n return rval;\n};\n\n/**\n * Gets a signed n-bit integer from this buffer in big-endian order, using\n * two's complement, and advances the read pointer by n/8.\n *\n * @param n the number of bits in the integer (8, 16, 24, or 32).\n *\n * @return the integer.\n */\nutil.DataBuffer.prototype.getSignedInt = function(n) {\n // getInt checks n\n var x = this.getInt(n);\n var max = 2 << (n - 2);\n if(x >= max) {\n x -= max << 1;\n }\n return x;\n};\n\n/**\n * Reads bytes out as a binary encoded string and clears them from the\n * buffer.\n *\n * @param count the number of bytes to read, undefined or null for all.\n *\n * @return a binary encoded string of bytes.\n */\nutil.DataBuffer.prototype.getBytes = function(count) {\n // TODO: deprecate this method, it is poorly named and\n // this.toString('binary') replaces it\n // add a toTypedArray()/toArrayBuffer() function\n var rval;\n if(count) {\n // read count bytes\n count = Math.min(this.length(), count);\n rval = this.data.slice(this.read, this.read + count);\n this.read += count;\n } else if(count === 0) {\n rval = '';\n } else {\n // read all bytes, optimize to only copy when needed\n rval = (this.read === 0) ? this.data : this.data.slice(this.read);\n this.clear();\n }\n return rval;\n};\n\n/**\n * Gets a binary encoded string of the bytes from this buffer without\n * modifying the read pointer.\n *\n * @param count the number of bytes to get, omit to get all.\n *\n * @return a string full of binary encoded characters.\n */\nutil.DataBuffer.prototype.bytes = function(count) {\n // TODO: deprecate this method, it is poorly named, add \"getString()\"\n return (typeof(count) === 'undefined' ?\n this.data.slice(this.read) :\n this.data.slice(this.read, this.read + count));\n};\n\n/**\n * Gets a byte at the given index without modifying the read pointer.\n *\n * @param i the byte index.\n *\n * @return the byte.\n */\nutil.DataBuffer.prototype.at = function(i) {\n return this.data.getUint8(this.read + i);\n};\n\n/**\n * Puts a byte at the given index without modifying the read pointer.\n *\n * @param i the byte index.\n * @param b the byte to put.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.setAt = function(i, b) {\n this.data.setUint8(i, b);\n return this;\n};\n\n/**\n * Gets the last byte without modifying the read pointer.\n *\n * @return the last byte.\n */\nutil.DataBuffer.prototype.last = function() {\n return this.data.getUint8(this.write - 1);\n};\n\n/**\n * Creates a copy of this buffer.\n *\n * @return the copy.\n */\nutil.DataBuffer.prototype.copy = function() {\n return new util.DataBuffer(this);\n};\n\n/**\n * Compacts this buffer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.compact = function() {\n if(this.read > 0) {\n var src = new Uint8Array(this.data.buffer, this.read);\n var dst = new Uint8Array(src.byteLength);\n dst.set(src);\n this.data = new DataView(dst);\n this.write -= this.read;\n this.read = 0;\n }\n return this;\n};\n\n/**\n * Clears this buffer.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.clear = function() {\n this.data = new DataView(new ArrayBuffer(0));\n this.read = this.write = 0;\n return this;\n};\n\n/**\n * Shortens this buffer by triming bytes off of the end of this buffer.\n *\n * @param count the number of bytes to trim off.\n *\n * @return this buffer.\n */\nutil.DataBuffer.prototype.truncate = function(count) {\n this.write = Math.max(0, this.length() - count);\n this.read = Math.min(this.read, this.write);\n return this;\n};\n\n/**\n * Converts this buffer to a hexadecimal string.\n *\n * @return a hexadecimal string.\n */\nutil.DataBuffer.prototype.toHex = function() {\n var rval = '';\n for(var i = this.read; i < this.data.byteLength; ++i) {\n var b = this.data.getUint8(i);\n if(b < 16) {\n rval += '0';\n }\n rval += b.toString(16);\n }\n return rval;\n};\n\n/**\n * Converts this buffer to a string, using the given encoding. If no\n * encoding is given, 'utf8' (UTF-8) is used.\n *\n * @param [encoding] the encoding to use: 'binary', 'utf8', 'utf16', 'hex',\n * 'base64' (default: 'utf8').\n *\n * @return a string representation of the bytes in this buffer.\n */\nutil.DataBuffer.prototype.toString = function(encoding) {\n var view = new Uint8Array(this.data, this.read, this.length());\n encoding = encoding || 'utf8';\n\n // encode to string\n if(encoding === 'binary' || encoding === 'raw') {\n return util.binary.raw.encode(view);\n }\n if(encoding === 'hex') {\n return util.binary.hex.encode(view);\n }\n if(encoding === 'base64') {\n return util.binary.base64.encode(view);\n }\n\n // decode to text\n if(encoding === 'utf8') {\n return util.text.utf8.decode(view);\n }\n if(encoding === 'utf16') {\n return util.text.utf16.decode(view);\n }\n\n throw new Error('Invalid encoding: ' + encoding);\n};\n\n/** End Buffer w/UInt8Array backing */\n\n/**\n * Creates a buffer that stores bytes. A value may be given to populate the\n * buffer with data. This value can either be string of encoded bytes or a\n * regular string of characters. When passing a string of binary encoded\n * bytes, the encoding `raw` should be given. This is also the default. When\n * passing a string of characters, the encoding `utf8` should be given.\n *\n * @param [input] a string with encoded bytes to store in the buffer.\n * @param [encoding] (default: 'raw', other: 'utf8').\n */\nutil.createBuffer = function(input, encoding) {\n // TODO: deprecate, use new ByteBuffer() instead\n encoding = encoding || 'raw';\n if(input !== undefined && encoding === 'utf8') {\n input = util.encodeUtf8(input);\n }\n return new util.ByteBuffer(input);\n};\n\n/**\n * Fills a string with a particular value. If you want the string to be a byte\n * string, pass in String.fromCharCode(theByte).\n *\n * @param c the character to fill the string with, use String.fromCharCode\n * to fill the string with a byte value.\n * @param n the number of characters of value c to fill with.\n *\n * @return the filled string.\n */\nutil.fillString = function(c, n) {\n var s = '';\n while(n > 0) {\n if(n & 1) {\n s += c;\n }\n n >>>= 1;\n if(n > 0) {\n c += c;\n }\n }\n return s;\n};\n\n/**\n * Performs a per byte XOR between two byte strings and returns the result as a\n * string of bytes.\n *\n * @param s1 first string of bytes.\n * @param s2 second string of bytes.\n * @param n the number of bytes to XOR.\n *\n * @return the XOR'd result.\n */\nutil.xorBytes = function(s1, s2, n) {\n var s3 = '';\n var b = '';\n var t = '';\n var i = 0;\n var c = 0;\n for(; n > 0; --n, ++i) {\n b = s1.charCodeAt(i) ^ s2.charCodeAt(i);\n if(c >= 10) {\n s3 += t;\n t = '';\n c = 0;\n }\n t += String.fromCharCode(b);\n ++c;\n }\n s3 += t;\n return s3;\n};\n\n/**\n * Converts a hex string into a 'binary' encoded string of bytes.\n *\n * @param hex the hexadecimal string to convert.\n *\n * @return the binary-encoded string of bytes.\n */\nutil.hexToBytes = function(hex) {\n // TODO: deprecate: \"Deprecated. Use util.binary.hex.decode instead.\"\n var rval = '';\n var i = 0;\n if(hex.length & 1 == 1) {\n // odd number of characters, convert first character alone\n i = 1;\n rval += String.fromCharCode(parseInt(hex[0], 16));\n }\n // convert 2 characters (1 byte) at a time\n for(; i < hex.length; i += 2) {\n rval += String.fromCharCode(parseInt(hex.substr(i, 2), 16));\n }\n return rval;\n};\n\n/**\n * Converts a 'binary' encoded string of bytes to hex.\n *\n * @param bytes the byte string to convert.\n *\n * @return the string of hexadecimal characters.\n */\nutil.bytesToHex = function(bytes) {\n // TODO: deprecate: \"Deprecated. Use util.binary.hex.encode instead.\"\n return util.createBuffer(bytes).toHex();\n};\n\n/**\n * Converts an 32-bit integer to 4-big-endian byte string.\n *\n * @param i the integer.\n *\n * @return the byte string.\n */\nutil.int32ToBytes = function(i) {\n return (\n String.fromCharCode(i >> 24 & 0xFF) +\n String.fromCharCode(i >> 16 & 0xFF) +\n String.fromCharCode(i >> 8 & 0xFF) +\n String.fromCharCode(i & 0xFF));\n};\n\n// base64 characters, reverse mapping\nvar _base64 =\n 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nvar _base64Idx = [\n/*43 -43 = 0*/\n/*'+', 1, 2, 3,'/' */\n 62, -1, -1, -1, 63,\n\n/*'0','1','2','3','4','5','6','7','8','9' */\n 52, 53, 54, 55, 56, 57, 58, 59, 60, 61,\n\n/*15, 16, 17,'=', 19, 20, 21 */\n -1, -1, -1, 64, -1, -1, -1,\n\n/*65 - 43 = 22*/\n/*'A','B','C','D','E','F','G','H','I','J','K','L','M', */\n 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,\n\n/*'N','O','P','Q','R','S','T','U','V','W','X','Y','Z' */\n 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,\n\n/*91 - 43 = 48 */\n/*48, 49, 50, 51, 52, 53 */\n -1, -1, -1, -1, -1, -1,\n\n/*97 - 43 = 54*/\n/*'a','b','c','d','e','f','g','h','i','j','k','l','m' */\n 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,\n\n/*'n','o','p','q','r','s','t','u','v','w','x','y','z' */\n 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51\n];\n\n// base58 characters (Bitcoin alphabet)\nvar _base58 = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';\n\n/**\n * Base64 encodes a 'binary' encoded string of bytes.\n *\n * @param input the binary encoded string of bytes to base64-encode.\n * @param maxline the maximum number of encoded characters per line to use,\n * defaults to none.\n *\n * @return the base64-encoded output.\n */\nutil.encode64 = function(input, maxline) {\n // TODO: deprecate: \"Deprecated. Use util.binary.base64.encode instead.\"\n var line = '';\n var output = '';\n var chr1, chr2, chr3;\n var i = 0;\n while(i < input.length) {\n chr1 = input.charCodeAt(i++);\n chr2 = input.charCodeAt(i++);\n chr3 = input.charCodeAt(i++);\n\n // encode 4 character group\n line += _base64.charAt(chr1 >> 2);\n line += _base64.charAt(((chr1 & 3) << 4) | (chr2 >> 4));\n if(isNaN(chr2)) {\n line += '==';\n } else {\n line += _base64.charAt(((chr2 & 15) << 2) | (chr3 >> 6));\n line += isNaN(chr3) ? '=' : _base64.charAt(chr3 & 63);\n }\n\n if(maxline && line.length > maxline) {\n output += line.substr(0, maxline) + '\\r\\n';\n line = line.substr(maxline);\n }\n }\n output += line;\n return output;\n};\n\n/**\n * Base64 decodes a string into a 'binary' encoded string of bytes.\n *\n * @param input the base64-encoded input.\n *\n * @return the binary encoded string.\n */\nutil.decode64 = function(input) {\n // TODO: deprecate: \"Deprecated. Use util.binary.base64.decode instead.\"\n\n // remove all non-base64 characters\n input = input.replace(/[^A-Za-z0-9\\+\\/\\=]/g, '');\n\n var output = '';\n var enc1, enc2, enc3, enc4;\n var i = 0;\n\n while(i < input.length) {\n enc1 = _base64Idx[input.charCodeAt(i++) - 43];\n enc2 = _base64Idx[input.charCodeAt(i++) - 43];\n enc3 = _base64Idx[input.charCodeAt(i++) - 43];\n enc4 = _base64Idx[input.charCodeAt(i++) - 43];\n\n output += String.fromCharCode((enc1 << 2) | (enc2 >> 4));\n if(enc3 !== 64) {\n // decoded at least 2 bytes\n output += String.fromCharCode(((enc2 & 15) << 4) | (enc3 >> 2));\n if(enc4 !== 64) {\n // decoded 3 bytes\n output += String.fromCharCode(((enc3 & 3) << 6) | enc4);\n }\n }\n }\n\n return output;\n};\n\n/**\n * Encodes the given string of characters (a standard JavaScript\n * string) as a binary encoded string where the bytes represent\n * a UTF-8 encoded string of characters. Non-ASCII characters will be\n * encoded as multiple bytes according to UTF-8.\n *\n * @param str a standard string of characters to encode.\n *\n * @return the binary encoded string.\n */\nutil.encodeUtf8 = function(str) {\n return unescape(encodeURIComponent(str));\n};\n\n/**\n * Decodes a binary encoded string that contains bytes that\n * represent a UTF-8 encoded string of characters -- into a\n * string of characters (a standard JavaScript string).\n *\n * @param str the binary encoded string to decode.\n *\n * @return the resulting standard string of characters.\n */\nutil.decodeUtf8 = function(str) {\n return decodeURIComponent(escape(str));\n};\n\n// binary encoding/decoding tools\n// FIXME: Experimental. Do not use yet.\nutil.binary = {\n raw: {},\n hex: {},\n base64: {},\n base58: {},\n baseN : {\n encode: baseN.encode,\n decode: baseN.decode\n }\n};\n\n/**\n * Encodes a Uint8Array as a binary-encoded string. This encoding uses\n * a value between 0 and 255 for each character.\n *\n * @param bytes the Uint8Array to encode.\n *\n * @return the binary-encoded string.\n */\nutil.binary.raw.encode = function(bytes) {\n return String.fromCharCode.apply(null, bytes);\n};\n\n/**\n * Decodes a binary-encoded string to a Uint8Array. This encoding uses\n * a value between 0 and 255 for each character.\n *\n * @param str the binary-encoded string to decode.\n * @param [output] an optional Uint8Array to write the output to; if it\n * is too small, an exception will be thrown.\n * @param [offset] the start offset for writing to the output (default: 0).\n *\n * @return the Uint8Array or the number of bytes written if output was given.\n */\nutil.binary.raw.decode = function(str, output, offset) {\n var out = output;\n if(!out) {\n out = new Uint8Array(str.length);\n }\n offset = offset || 0;\n var j = offset;\n for(var i = 0; i < str.length; ++i) {\n out[j++] = str.charCodeAt(i);\n }\n return output ? (j - offset) : out;\n};\n\n/**\n * Encodes a 'binary' string, ArrayBuffer, DataView, TypedArray, or\n * ByteBuffer as a string of hexadecimal characters.\n *\n * @param bytes the bytes to convert.\n *\n * @return the string of hexadecimal characters.\n */\nutil.binary.hex.encode = util.bytesToHex;\n\n/**\n * Decodes a hex-encoded string to a Uint8Array.\n *\n * @param hex the hexadecimal string to convert.\n * @param [output] an optional Uint8Array to write the output to; if it\n * is too small, an exception will be thrown.\n * @param [offset] the start offset for writing to the output (default: 0).\n *\n * @return the Uint8Array or the number of bytes written if output was given.\n */\nutil.binary.hex.decode = function(hex, output, offset) {\n var out = output;\n if(!out) {\n out = new Uint8Array(Math.ceil(hex.length / 2));\n }\n offset = offset || 0;\n var i = 0, j = offset;\n if(hex.length & 1) {\n // odd number of characters, convert first character alone\n i = 1;\n out[j++] = parseInt(hex[0], 16);\n }\n // convert 2 characters (1 byte) at a time\n for(; i < hex.length; i += 2) {\n out[j++] = parseInt(hex.substr(i, 2), 16);\n }\n return output ? (j - offset) : out;\n};\n\n/**\n * Base64-encodes a Uint8Array.\n *\n * @param input the Uint8Array to encode.\n * @param maxline the maximum number of encoded characters per line to use,\n * defaults to none.\n *\n * @return the base64-encoded output string.\n */\nutil.binary.base64.encode = function(input, maxline) {\n var line = '';\n var output = '';\n var chr1, chr2, chr3;\n var i = 0;\n while(i < input.byteLength) {\n chr1 = input[i++];\n chr2 = input[i++];\n chr3 = input[i++];\n\n // encode 4 character group\n line += _base64.charAt(chr1 >> 2);\n line += _base64.charAt(((chr1 & 3) << 4) | (chr2 >> 4));\n if(isNaN(chr2)) {\n line += '==';\n } else {\n line += _base64.charAt(((chr2 & 15) << 2) | (chr3 >> 6));\n line += isNaN(chr3) ? '=' : _base64.charAt(chr3 & 63);\n }\n\n if(maxline && line.length > maxline) {\n output += line.substr(0, maxline) + '\\r\\n';\n line = line.substr(maxline);\n }\n }\n output += line;\n return output;\n};\n\n/**\n * Decodes a base64-encoded string to a Uint8Array.\n *\n * @param input the base64-encoded input string.\n * @param [output] an optional Uint8Array to write the output to; if it\n * is too small, an exception will be thrown.\n * @param [offset] the start offset for writing to the output (default: 0).\n *\n * @return the Uint8Array or the number of bytes written if output was given.\n */\nutil.binary.base64.decode = function(input, output, offset) {\n var out = output;\n if(!out) {\n out = new Uint8Array(Math.ceil(input.length / 4) * 3);\n }\n\n // remove all non-base64 characters\n input = input.replace(/[^A-Za-z0-9\\+\\/\\=]/g, '');\n\n offset = offset || 0;\n var enc1, enc2, enc3, enc4;\n var i = 0, j = offset;\n\n while(i < input.length) {\n enc1 = _base64Idx[input.charCodeAt(i++) - 43];\n enc2 = _base64Idx[input.charCodeAt(i++) - 43];\n enc3 = _base64Idx[input.charCodeAt(i++) - 43];\n enc4 = _base64Idx[input.charCodeAt(i++) - 43];\n\n out[j++] = (enc1 << 2) | (enc2 >> 4);\n if(enc3 !== 64) {\n // decoded at least 2 bytes\n out[j++] = ((enc2 & 15) << 4) | (enc3 >> 2);\n if(enc4 !== 64) {\n // decoded 3 bytes\n out[j++] = ((enc3 & 3) << 6) | enc4;\n }\n }\n }\n\n // make sure result is the exact decoded length\n return output ? (j - offset) : out.subarray(0, j);\n};\n\n// add support for base58 encoding/decoding with Bitcoin alphabet\nutil.binary.base58.encode = function(input, maxline) {\n return util.binary.baseN.encode(input, _base58, maxline);\n};\nutil.binary.base58.decode = function(input, maxline) {\n return util.binary.baseN.decode(input, _base58, maxline);\n};\n\n// text encoding/decoding tools\n// FIXME: Experimental. Do not use yet.\nutil.text = {\n utf8: {},\n utf16: {}\n};\n\n/**\n * Encodes the given string as UTF-8 in a Uint8Array.\n *\n * @param str the string to encode.\n * @param [output] an optional Uint8Array to write the output to; if it\n * is too small, an exception will be thrown.\n * @param [offset] the start offset for writing to the output (default: 0).\n *\n * @return the Uint8Array or the number of bytes written if output was given.\n */\nutil.text.utf8.encode = function(str, output, offset) {\n str = util.encodeUtf8(str);\n var out = output;\n if(!out) {\n out = new Uint8Array(str.length);\n }\n offset = offset || 0;\n var j = offset;\n for(var i = 0; i < str.length; ++i) {\n out[j++] = str.charCodeAt(i);\n }\n return output ? (j - offset) : out;\n};\n\n/**\n * Decodes the UTF-8 contents from a Uint8Array.\n *\n * @param bytes the Uint8Array to decode.\n *\n * @return the resulting string.\n */\nutil.text.utf8.decode = function(bytes) {\n return util.decodeUtf8(String.fromCharCode.apply(null, bytes));\n};\n\n/**\n * Encodes the given string as UTF-16 in a Uint8Array.\n *\n * @param str the string to encode.\n * @param [output] an optional Uint8Array to write the output to; if it\n * is too small, an exception will be thrown.\n * @param [offset] the start offset for writing to the output (default: 0).\n *\n * @return the Uint8Array or the number of bytes written if output was given.\n */\nutil.text.utf16.encode = function(str, output, offset) {\n var out = output;\n if(!out) {\n out = new Uint8Array(str.length * 2);\n }\n var view = new Uint16Array(out.buffer);\n offset = offset || 0;\n var j = offset;\n var k = offset;\n for(var i = 0; i < str.length; ++i) {\n view[k++] = str.charCodeAt(i);\n j += 2;\n }\n return output ? (j - offset) : out;\n};\n\n/**\n * Decodes the UTF-16 contents from a Uint8Array.\n *\n * @param bytes the Uint8Array to decode.\n *\n * @return the resulting string.\n */\nutil.text.utf16.decode = function(bytes) {\n return String.fromCharCode.apply(null, new Uint16Array(bytes.buffer));\n};\n\n/**\n * Deflates the given data using a flash interface.\n *\n * @param api the flash interface.\n * @param bytes the data.\n * @param raw true to return only raw deflate data, false to include zlib\n * header and trailer.\n *\n * @return the deflated data as a string.\n */\nutil.deflate = function(api, bytes, raw) {\n bytes = util.decode64(api.deflate(util.encode64(bytes)).rval);\n\n // strip zlib header and trailer if necessary\n if(raw) {\n // zlib header is 2 bytes (CMF,FLG) where FLG indicates that\n // there is a 4-byte DICT (alder-32) block before the data if\n // its 5th bit is set\n var start = 2;\n var flg = bytes.charCodeAt(1);\n if(flg & 0x20) {\n start = 6;\n }\n // zlib trailer is 4 bytes of adler-32\n bytes = bytes.substring(start, bytes.length - 4);\n }\n\n return bytes;\n};\n\n/**\n * Inflates the given data using a flash interface.\n *\n * @param api the flash interface.\n * @param bytes the data.\n * @param raw true if the incoming data has no zlib header or trailer and is\n * raw DEFLATE data.\n *\n * @return the inflated data as a string, null on error.\n */\nutil.inflate = function(api, bytes, raw) {\n // TODO: add zlib header and trailer if necessary/possible\n var rval = api.inflate(util.encode64(bytes)).rval;\n return (rval === null) ? null : util.decode64(rval);\n};\n\n/**\n * Sets a storage object.\n *\n * @param api the storage interface.\n * @param id the storage ID to use.\n * @param obj the storage object, null to remove.\n */\nvar _setStorageObject = function(api, id, obj) {\n if(!api) {\n throw new Error('WebStorage not available.');\n }\n\n var rval;\n if(obj === null) {\n rval = api.removeItem(id);\n } else {\n // json-encode and base64-encode object\n obj = util.encode64(JSON.stringify(obj));\n rval = api.setItem(id, obj);\n }\n\n // handle potential flash error\n if(typeof(rval) !== 'undefined' && rval.rval !== true) {\n var error = new Error(rval.error.message);\n error.id = rval.error.id;\n error.name = rval.error.name;\n throw error;\n }\n};\n\n/**\n * Gets a storage object.\n *\n * @param api the storage interface.\n * @param id the storage ID to use.\n *\n * @return the storage object entry or null if none exists.\n */\nvar _getStorageObject = function(api, id) {\n if(!api) {\n throw new Error('WebStorage not available.');\n }\n\n // get the existing entry\n var rval = api.getItem(id);\n\n /* Note: We check api.init because we can't do (api == localStorage)\n on IE because of \"Class doesn't support Automation\" exception. Only\n the flash api has an init method so this works too, but we need a\n better solution in the future. */\n\n // flash returns item wrapped in an object, handle special case\n if(api.init) {\n if(rval.rval === null) {\n if(rval.error) {\n var error = new Error(rval.error.message);\n error.id = rval.error.id;\n error.name = rval.error.name;\n throw error;\n }\n // no error, but also no item\n rval = null;\n } else {\n rval = rval.rval;\n }\n }\n\n // handle decoding\n if(rval !== null) {\n // base64-decode and json-decode data\n rval = JSON.parse(util.decode64(rval));\n }\n\n return rval;\n};\n\n/**\n * Stores an item in local storage.\n *\n * @param api the storage interface.\n * @param id the storage ID to use.\n * @param key the key for the item.\n * @param data the data for the item (any javascript object/primitive).\n */\nvar _setItem = function(api, id, key, data) {\n // get storage object\n var obj = _getStorageObject(api, id);\n if(obj === null) {\n // create a new storage object\n obj = {};\n }\n // update key\n obj[key] = data;\n\n // set storage object\n _setStorageObject(api, id, obj);\n};\n\n/**\n * Gets an item from local storage.\n *\n * @param api the storage interface.\n * @param id the storage ID to use.\n * @param key the key for the item.\n *\n * @return the item.\n */\nvar _getItem = function(api, id, key) {\n // get storage object\n var rval = _getStorageObject(api, id);\n if(rval !== null) {\n // return data at key\n rval = (key in rval) ? rval[key] : null;\n }\n\n return rval;\n};\n\n/**\n * Removes an item from local storage.\n *\n * @param api the storage interface.\n * @param id the storage ID to use.\n * @param key the key for the item.\n */\nvar _removeItem = function(api, id, key) {\n // get storage object\n var obj = _getStorageObject(api, id);\n if(obj !== null && key in obj) {\n // remove key\n delete obj[key];\n\n // see if entry has no keys remaining\n var empty = true;\n for(var prop in obj) {\n empty = false;\n break;\n }\n if(empty) {\n // remove entry entirely if no keys are left\n obj = null;\n }\n\n // set storage object\n _setStorageObject(api, id, obj);\n }\n};\n\n/**\n * Clears the local disk storage identified by the given ID.\n *\n * @param api the storage interface.\n * @param id the storage ID to use.\n */\nvar _clearItems = function(api, id) {\n _setStorageObject(api, id, null);\n};\n\n/**\n * Calls a storage function.\n *\n * @param func the function to call.\n * @param args the arguments for the function.\n * @param location the location argument.\n *\n * @return the return value from the function.\n */\nvar _callStorageFunction = function(func, args, location) {\n var rval = null;\n\n // default storage types\n if(typeof(location) === 'undefined') {\n location = ['web', 'flash'];\n }\n\n // apply storage types in order of preference\n var type;\n var done = false;\n var exception = null;\n for(var idx in location) {\n type = location[idx];\n try {\n if(type === 'flash' || type === 'both') {\n if(args[0] === null) {\n throw new Error('Flash local storage not available.');\n }\n rval = func.apply(this, args);\n done = (type === 'flash');\n }\n if(type === 'web' || type === 'both') {\n args[0] = localStorage;\n rval = func.apply(this, args);\n done = true;\n }\n } catch(ex) {\n exception = ex;\n }\n if(done) {\n break;\n }\n }\n\n if(!done) {\n throw exception;\n }\n\n return rval;\n};\n\n/**\n * Stores an item on local disk.\n *\n * The available types of local storage include 'flash', 'web', and 'both'.\n *\n * The type 'flash' refers to flash local storage (SharedObject). In order\n * to use flash local storage, the 'api' parameter must be valid. The type\n * 'web' refers to WebStorage, if supported by the browser. The type 'both'\n * refers to storing using both 'flash' and 'web', not just one or the\n * other.\n *\n * The location array should list the storage types to use in order of\n * preference:\n *\n * ['flash']: flash only storage\n * ['web']: web only storage\n * ['both']: try to store in both\n * ['flash','web']: store in flash first, but if not available, 'web'\n * ['web','flash']: store in web first, but if not available, 'flash'\n *\n * The location array defaults to: ['web', 'flash']\n *\n * @param api the flash interface, null to use only WebStorage.\n * @param id the storage ID to use.\n * @param key the key for the item.\n * @param data the data for the item (any javascript object/primitive).\n * @param location an array with the preferred types of storage to use.\n */\nutil.setItem = function(api, id, key, data, location) {\n _callStorageFunction(_setItem, arguments, location);\n};\n\n/**\n * Gets an item on local disk.\n *\n * Set setItem() for details on storage types.\n *\n * @param api the flash interface, null to use only WebStorage.\n * @param id the storage ID to use.\n * @param key the key for the item.\n * @param location an array with the preferred types of storage to use.\n *\n * @return the item.\n */\nutil.getItem = function(api, id, key, location) {\n return _callStorageFunction(_getItem, arguments, location);\n};\n\n/**\n * Removes an item on local disk.\n *\n * Set setItem() for details on storage types.\n *\n * @param api the flash interface.\n * @param id the storage ID to use.\n * @param key the key for the item.\n * @param location an array with the preferred types of storage to use.\n */\nutil.removeItem = function(api, id, key, location) {\n _callStorageFunction(_removeItem, arguments, location);\n};\n\n/**\n * Clears the local disk storage identified by the given ID.\n *\n * Set setItem() for details on storage types.\n *\n * @param api the flash interface if flash is available.\n * @param id the storage ID to use.\n * @param location an array with the preferred types of storage to use.\n */\nutil.clearItems = function(api, id, location) {\n _callStorageFunction(_clearItems, arguments, location);\n};\n\n/**\n * Parses the scheme, host, and port from an http(s) url.\n *\n * @param str the url string.\n *\n * @return the parsed url object or null if the url is invalid.\n */\nutil.parseUrl = function(str) {\n // FIXME: this regex looks a bit broken\n var regex = /^(https?):\\/\\/([^:&^\\/]*):?(\\d*)(.*)$/g;\n regex.lastIndex = 0;\n var m = regex.exec(str);\n var url = (m === null) ? null : {\n full: str,\n scheme: m[1],\n host: m[2],\n port: m[3],\n path: m[4]\n };\n if(url) {\n url.fullHost = url.host;\n if(url.port) {\n if(url.port !== 80 && url.scheme === 'http') {\n url.fullHost += ':' + url.port;\n } else if(url.port !== 443 && url.scheme === 'https') {\n url.fullHost += ':' + url.port;\n }\n } else if(url.scheme === 'http') {\n url.port = 80;\n } else if(url.scheme === 'https') {\n url.port = 443;\n }\n url.full = url.scheme + '://' + url.fullHost;\n }\n return url;\n};\n\n/* Storage for query variables */\nvar _queryVariables = null;\n\n/**\n * Returns the window location query variables. Query is parsed on the first\n * call and the same object is returned on subsequent calls. The mapping\n * is from keys to an array of values. Parameters without values will have\n * an object key set but no value added to the value array. Values are\n * unescaped.\n *\n * ...?k1=v1&k2=v2:\n * {\n * \"k1\": [\"v1\"],\n * \"k2\": [\"v2\"]\n * }\n *\n * ...?k1=v1&k1=v2:\n * {\n * \"k1\": [\"v1\", \"v2\"]\n * }\n *\n * ...?k1=v1&k2:\n * {\n * \"k1\": [\"v1\"],\n * \"k2\": []\n * }\n *\n * ...?k1=v1&k1:\n * {\n * \"k1\": [\"v1\"]\n * }\n *\n * ...?k1&k1:\n * {\n * \"k1\": []\n * }\n *\n * @param query the query string to parse (optional, default to cached\n * results from parsing window location search query).\n *\n * @return object mapping keys to variables.\n */\nutil.getQueryVariables = function(query) {\n var parse = function(q) {\n var rval = {};\n var kvpairs = q.split('&');\n for(var i = 0; i < kvpairs.length; i++) {\n var pos = kvpairs[i].indexOf('=');\n var key;\n var val;\n if(pos > 0) {\n key = kvpairs[i].substring(0, pos);\n val = kvpairs[i].substring(pos + 1);\n } else {\n key = kvpairs[i];\n val = null;\n }\n if(!(key in rval)) {\n rval[key] = [];\n }\n // disallow overriding object prototype keys\n if(!(key in Object.prototype) && val !== null) {\n rval[key].push(unescape(val));\n }\n }\n return rval;\n };\n\n var rval;\n if(typeof(query) === 'undefined') {\n // set cached variables if needed\n if(_queryVariables === null) {\n if(typeof(window) !== 'undefined' && window.location && window.location.search) {\n // parse window search query\n _queryVariables = parse(window.location.search.substring(1));\n } else {\n // no query variables available\n _queryVariables = {};\n }\n }\n rval = _queryVariables;\n } else {\n // parse given query\n rval = parse(query);\n }\n return rval;\n};\n\n/**\n * Parses a fragment into a path and query. This method will take a URI\n * fragment and break it up as if it were the main URI. For example:\n * /bar/baz?a=1&b=2\n * results in:\n * {\n * path: [\"bar\", \"baz\"],\n * query: {\"k1\": [\"v1\"], \"k2\": [\"v2\"]}\n * }\n *\n * @return object with a path array and query object.\n */\nutil.parseFragment = function(fragment) {\n // default to whole fragment\n var fp = fragment;\n var fq = '';\n // split into path and query if possible at the first '?'\n var pos = fragment.indexOf('?');\n if(pos > 0) {\n fp = fragment.substring(0, pos);\n fq = fragment.substring(pos + 1);\n }\n // split path based on '/' and ignore first element if empty\n var path = fp.split('/');\n if(path.length > 0 && path[0] === '') {\n path.shift();\n }\n // convert query into object\n var query = (fq === '') ? {} : util.getQueryVariables(fq);\n\n return {\n pathString: fp,\n queryString: fq,\n path: path,\n query: query\n };\n};\n\n/**\n * Makes a request out of a URI-like request string. This is intended to\n * be used where a fragment id (after a URI '#') is parsed as a URI with\n * path and query parts. The string should have a path beginning and\n * delimited by '/' and optional query parameters following a '?'. The\n * query should be a standard URL set of key value pairs delimited by\n * '&'. For backwards compatibility the initial '/' on the path is not\n * required. The request object has the following API, (fully described\n * in the method code):\n * {\n * path: .\n * query: ,\n * getPath(i): get part or all of the split path array,\n * getQuery(k, i): get part or all of a query key array,\n * getQueryLast(k, _default): get last element of a query key array.\n * }\n *\n * @return object with request parameters.\n */\nutil.makeRequest = function(reqString) {\n var frag = util.parseFragment(reqString);\n var req = {\n // full path string\n path: frag.pathString,\n // full query string\n query: frag.queryString,\n /**\n * Get path or element in path.\n *\n * @param i optional path index.\n *\n * @return path or part of path if i provided.\n */\n getPath: function(i) {\n return (typeof(i) === 'undefined') ? frag.path : frag.path[i];\n },\n /**\n * Get query, values for a key, or value for a key index.\n *\n * @param k optional query key.\n * @param i optional query key index.\n *\n * @return query, values for a key, or value for a key index.\n */\n getQuery: function(k, i) {\n var rval;\n if(typeof(k) === 'undefined') {\n rval = frag.query;\n } else {\n rval = frag.query[k];\n if(rval && typeof(i) !== 'undefined') {\n rval = rval[i];\n }\n }\n return rval;\n },\n getQueryLast: function(k, _default) {\n var rval;\n var vals = req.getQuery(k);\n if(vals) {\n rval = vals[vals.length - 1];\n } else {\n rval = _default;\n }\n return rval;\n }\n };\n return req;\n};\n\n/**\n * Makes a URI out of a path, an object with query parameters, and a\n * fragment. Uses jQuery.param() internally for query string creation.\n * If the path is an array, it will be joined with '/'.\n *\n * @param path string path or array of strings.\n * @param query object with query parameters. (optional)\n * @param fragment fragment string. (optional)\n *\n * @return string object with request parameters.\n */\nutil.makeLink = function(path, query, fragment) {\n // join path parts if needed\n path = jQuery.isArray(path) ? path.join('/') : path;\n\n var qstr = jQuery.param(query || {});\n fragment = fragment || '';\n return path +\n ((qstr.length > 0) ? ('?' + qstr) : '') +\n ((fragment.length > 0) ? ('#' + fragment) : '');\n};\n\n/**\n * Check if an object is empty.\n *\n * Taken from:\n * http://stackoverflow.com/questions/679915/how-do-i-test-for-an-empty-javascript-object-from-json/679937#679937\n *\n * @param object the object to check.\n */\nutil.isEmpty = function(obj) {\n for(var prop in obj) {\n if(obj.hasOwnProperty(prop)) {\n return false;\n }\n }\n return true;\n};\n\n/**\n * Format with simple printf-style interpolation.\n *\n * %%: literal '%'\n * %s,%o: convert next argument into a string.\n *\n * @param format the string to format.\n * @param ... arguments to interpolate into the format string.\n */\nutil.format = function(format) {\n var re = /%./g;\n // current match\n var match;\n // current part\n var part;\n // current arg index\n var argi = 0;\n // collected parts to recombine later\n var parts = [];\n // last index found\n var last = 0;\n // loop while matches remain\n while((match = re.exec(format))) {\n part = format.substring(last, re.lastIndex - 2);\n // don't add empty strings (ie, parts between %s%s)\n if(part.length > 0) {\n parts.push(part);\n }\n last = re.lastIndex;\n // switch on % code\n var code = match[0][1];\n switch(code) {\n case 's':\n case 'o':\n // check if enough arguments were given\n if(argi < arguments.length) {\n parts.push(arguments[argi++ + 1]);\n } else {\n parts.push('');\n }\n break;\n // FIXME: do proper formating for numbers, etc\n //case 'f':\n //case 'd':\n case '%':\n parts.push('%');\n break;\n default:\n parts.push('<%' + code + '?>');\n }\n }\n // add trailing part of format string\n parts.push(format.substring(last));\n return parts.join('');\n};\n\n/**\n * Formats a number.\n *\n * http://snipplr.com/view/5945/javascript-numberformat--ported-from-php/\n */\nutil.formatNumber = function(number, decimals, dec_point, thousands_sep) {\n // http://kevin.vanzonneveld.net\n // + original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)\n // + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n // + bugfix by: Michael White (http://crestidg.com)\n // + bugfix by: Benjamin Lupton\n // + bugfix by: Allan Jensen (http://www.winternet.no)\n // + revised by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)\n // * example 1: number_format(1234.5678, 2, '.', '');\n // * returns 1: 1234.57\n\n var n = number, c = isNaN(decimals = Math.abs(decimals)) ? 2 : decimals;\n var d = dec_point === undefined ? ',' : dec_point;\n var t = thousands_sep === undefined ?\n '.' : thousands_sep, s = n < 0 ? '-' : '';\n var i = parseInt((n = Math.abs(+n || 0).toFixed(c)), 10) + '';\n var j = (i.length > 3) ? i.length % 3 : 0;\n return s + (j ? i.substr(0, j) + t : '') +\n i.substr(j).replace(/(\\d{3})(?=\\d)/g, '$1' + t) +\n (c ? d + Math.abs(n - i).toFixed(c).slice(2) : '');\n};\n\n/**\n * Formats a byte size.\n *\n * http://snipplr.com/view/5949/format-humanize-file-byte-size-presentation-in-javascript/\n */\nutil.formatSize = function(size) {\n if(size >= 1073741824) {\n size = util.formatNumber(size / 1073741824, 2, '.', '') + ' GiB';\n } else if(size >= 1048576) {\n size = util.formatNumber(size / 1048576, 2, '.', '') + ' MiB';\n } else if(size >= 1024) {\n size = util.formatNumber(size / 1024, 0) + ' KiB';\n } else {\n size = util.formatNumber(size, 0) + ' bytes';\n }\n return size;\n};\n\n/**\n * Converts an IPv4 or IPv6 string representation into bytes (in network order).\n *\n * @param ip the IPv4 or IPv6 address to convert.\n *\n * @return the 4-byte IPv6 or 16-byte IPv6 address or null if the address can't\n * be parsed.\n */\nutil.bytesFromIP = function(ip) {\n if(ip.indexOf('.') !== -1) {\n return util.bytesFromIPv4(ip);\n }\n if(ip.indexOf(':') !== -1) {\n return util.bytesFromIPv6(ip);\n }\n return null;\n};\n\n/**\n * Converts an IPv4 string representation into bytes (in network order).\n *\n * @param ip the IPv4 address to convert.\n *\n * @return the 4-byte address or null if the address can't be parsed.\n */\nutil.bytesFromIPv4 = function(ip) {\n ip = ip.split('.');\n if(ip.length !== 4) {\n return null;\n }\n var b = util.createBuffer();\n for(var i = 0; i < ip.length; ++i) {\n var num = parseInt(ip[i], 10);\n if(isNaN(num)) {\n return null;\n }\n b.putByte(num);\n }\n return b.getBytes();\n};\n\n/**\n * Converts an IPv6 string representation into bytes (in network order).\n *\n * @param ip the IPv6 address to convert.\n *\n * @return the 16-byte address or null if the address can't be parsed.\n */\nutil.bytesFromIPv6 = function(ip) {\n var blanks = 0;\n ip = ip.split(':').filter(function(e) {\n if(e.length === 0) ++blanks;\n return true;\n });\n var zeros = (8 - ip.length + blanks) * 2;\n var b = util.createBuffer();\n for(var i = 0; i < 8; ++i) {\n if(!ip[i] || ip[i].length === 0) {\n b.fillWithByte(0, zeros);\n zeros = 0;\n continue;\n }\n var bytes = util.hexToBytes(ip[i]);\n if(bytes.length < 2) {\n b.putByte(0);\n }\n b.putBytes(bytes);\n }\n return b.getBytes();\n};\n\n/**\n * Converts 4-bytes into an IPv4 string representation or 16-bytes into\n * an IPv6 string representation. The bytes must be in network order.\n *\n * @param bytes the bytes to convert.\n *\n * @return the IPv4 or IPv6 string representation if 4 or 16 bytes,\n * respectively, are given, otherwise null.\n */\nutil.bytesToIP = function(bytes) {\n if(bytes.length === 4) {\n return util.bytesToIPv4(bytes);\n }\n if(bytes.length === 16) {\n return util.bytesToIPv6(bytes);\n }\n return null;\n};\n\n/**\n * Converts 4-bytes into an IPv4 string representation. The bytes must be\n * in network order.\n *\n * @param bytes the bytes to convert.\n *\n * @return the IPv4 string representation or null for an invalid # of bytes.\n */\nutil.bytesToIPv4 = function(bytes) {\n if(bytes.length !== 4) {\n return null;\n }\n var ip = [];\n for(var i = 0; i < bytes.length; ++i) {\n ip.push(bytes.charCodeAt(i));\n }\n return ip.join('.');\n};\n\n/**\n * Converts 16-bytes into an IPv16 string representation. The bytes must be\n * in network order.\n *\n * @param bytes the bytes to convert.\n *\n * @return the IPv16 string representation or null for an invalid # of bytes.\n */\nutil.bytesToIPv6 = function(bytes) {\n if(bytes.length !== 16) {\n return null;\n }\n var ip = [];\n var zeroGroups = [];\n var zeroMaxGroup = 0;\n for(var i = 0; i < bytes.length; i += 2) {\n var hex = util.bytesToHex(bytes[i] + bytes[i + 1]);\n // canonicalize zero representation\n while(hex[0] === '0' && hex !== '0') {\n hex = hex.substr(1);\n }\n if(hex === '0') {\n var last = zeroGroups[zeroGroups.length - 1];\n var idx = ip.length;\n if(!last || idx !== last.end + 1) {\n zeroGroups.push({start: idx, end: idx});\n } else {\n last.end = idx;\n if((last.end - last.start) >\n (zeroGroups[zeroMaxGroup].end - zeroGroups[zeroMaxGroup].start)) {\n zeroMaxGroup = zeroGroups.length - 1;\n }\n }\n }\n ip.push(hex);\n }\n if(zeroGroups.length > 0) {\n var group = zeroGroups[zeroMaxGroup];\n // only shorten group of length > 0\n if(group.end - group.start > 0) {\n ip.splice(group.start, group.end - group.start + 1, '');\n if(group.start === 0) {\n ip.unshift('');\n }\n if(group.end === 7) {\n ip.push('');\n }\n }\n }\n return ip.join(':');\n};\n\n/**\n * Estimates the number of processes that can be run concurrently. If\n * creating Web Workers, keep in mind that the main JavaScript process needs\n * its own core.\n *\n * @param options the options to use:\n * update true to force an update (not use the cached value).\n * @param callback(err, max) called once the operation completes.\n */\nutil.estimateCores = function(options, callback) {\n if(typeof options === 'function') {\n callback = options;\n options = {};\n }\n options = options || {};\n if('cores' in util && !options.update) {\n return callback(null, util.cores);\n }\n if(typeof navigator !== 'undefined' &&\n 'hardwareConcurrency' in navigator &&\n navigator.hardwareConcurrency > 0) {\n util.cores = navigator.hardwareConcurrency;\n return callback(null, util.cores);\n }\n if(typeof Worker === 'undefined') {\n // workers not available\n util.cores = 1;\n return callback(null, util.cores);\n }\n if(typeof Blob === 'undefined') {\n // can't estimate, default to 2\n util.cores = 2;\n return callback(null, util.cores);\n }\n\n // create worker concurrency estimation code as blob\n var blobUrl = URL.createObjectURL(new Blob(['(',\n function() {\n self.addEventListener('message', function(e) {\n // run worker for 4 ms\n var st = Date.now();\n var et = st + 4;\n while(Date.now() < et);\n self.postMessage({st: st, et: et});\n });\n }.toString(),\n ')()'], {type: 'application/javascript'}));\n\n // take 5 samples using 16 workers\n sample([], 5, 16);\n\n function sample(max, samples, numWorkers) {\n if(samples === 0) {\n // get overlap average\n var avg = Math.floor(max.reduce(function(avg, x) {\n return avg + x;\n }, 0) / max.length);\n util.cores = Math.max(1, avg);\n URL.revokeObjectURL(blobUrl);\n return callback(null, util.cores);\n }\n map(numWorkers, function(err, results) {\n max.push(reduce(numWorkers, results));\n sample(max, samples - 1, numWorkers);\n });\n }\n\n function map(numWorkers, callback) {\n var workers = [];\n var results = [];\n for(var i = 0; i < numWorkers; ++i) {\n var worker = new Worker(blobUrl);\n worker.addEventListener('message', function(e) {\n results.push(e.data);\n if(results.length === numWorkers) {\n for(var i = 0; i < numWorkers; ++i) {\n workers[i].terminate();\n }\n callback(null, results);\n }\n });\n workers.push(worker);\n }\n for(var i = 0; i < numWorkers; ++i) {\n workers[i].postMessage(i);\n }\n }\n\n function reduce(numWorkers, results) {\n // find overlapping time windows\n var overlaps = [];\n for(var n = 0; n < numWorkers; ++n) {\n var r1 = results[n];\n var overlap = overlaps[n] = [];\n for(var i = 0; i < numWorkers; ++i) {\n if(n === i) {\n continue;\n }\n var r2 = results[i];\n if((r1.st > r2.st && r1.st < r2.et) ||\n (r2.st > r1.st && r2.st < r1.et)) {\n overlap.push(i);\n }\n }\n }\n // get maximum overlaps ... don't include overlapping worker itself\n // as the main JS process was also being scheduled during the work and\n // would have to be subtracted from the estimate anyway\n return overlaps.reduce(function(max, overlap) {\n return Math.max(max, overlap.length);\n }, 0);\n }\n};\n","/**\n * Javascript implementation of X.509 and related components (such as\n * Certification Signing Requests) of a Public Key Infrastructure.\n *\n * @author Dave Longley\n *\n * Copyright (c) 2010-2014 Digital Bazaar, Inc.\n *\n * The ASN.1 representation of an X.509v3 certificate is as follows\n * (see RFC 2459):\n *\n * Certificate ::= SEQUENCE {\n * tbsCertificate TBSCertificate,\n * signatureAlgorithm AlgorithmIdentifier,\n * signatureValue BIT STRING\n * }\n *\n * TBSCertificate ::= SEQUENCE {\n * version [0] EXPLICIT Version DEFAULT v1,\n * serialNumber CertificateSerialNumber,\n * signature AlgorithmIdentifier,\n * issuer Name,\n * validity Validity,\n * subject Name,\n * subjectPublicKeyInfo SubjectPublicKeyInfo,\n * issuerUniqueID [1] IMPLICIT UniqueIdentifier OPTIONAL,\n * -- If present, version shall be v2 or v3\n * subjectUniqueID [2] IMPLICIT UniqueIdentifier OPTIONAL,\n * -- If present, version shall be v2 or v3\n * extensions [3] EXPLICIT Extensions OPTIONAL\n * -- If present, version shall be v3\n * }\n *\n * Version ::= INTEGER { v1(0), v2(1), v3(2) }\n *\n * CertificateSerialNumber ::= INTEGER\n *\n * Name ::= CHOICE {\n * // only one possible choice for now\n * RDNSequence\n * }\n *\n * RDNSequence ::= SEQUENCE OF RelativeDistinguishedName\n *\n * RelativeDistinguishedName ::= SET OF AttributeTypeAndValue\n *\n * AttributeTypeAndValue ::= SEQUENCE {\n * type AttributeType,\n * value AttributeValue\n * }\n * AttributeType ::= OBJECT IDENTIFIER\n * AttributeValue ::= ANY DEFINED BY AttributeType\n *\n * Validity ::= SEQUENCE {\n * notBefore Time,\n * notAfter Time\n * }\n *\n * Time ::= CHOICE {\n * utcTime UTCTime,\n * generalTime GeneralizedTime\n * }\n *\n * UniqueIdentifier ::= BIT STRING\n *\n * SubjectPublicKeyInfo ::= SEQUENCE {\n * algorithm AlgorithmIdentifier,\n * subjectPublicKey BIT STRING\n * }\n *\n * Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension\n *\n * Extension ::= SEQUENCE {\n * extnID OBJECT IDENTIFIER,\n * critical BOOLEAN DEFAULT FALSE,\n * extnValue OCTET STRING\n * }\n *\n * The only key algorithm currently supported for PKI is RSA.\n *\n * RSASSA-PSS signatures are described in RFC 3447 and RFC 4055.\n *\n * PKCS#10 v1.7 describes certificate signing requests:\n *\n * CertificationRequestInfo:\n *\n * CertificationRequestInfo ::= SEQUENCE {\n * version INTEGER { v1(0) } (v1,...),\n * subject Name,\n * subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},\n * attributes [0] Attributes{{ CRIAttributes }}\n * }\n *\n * Attributes { ATTRIBUTE:IOSet } ::= SET OF Attribute{{ IOSet }}\n *\n * CRIAttributes ATTRIBUTE ::= {\n * ... -- add any locally defined attributes here -- }\n *\n * Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE {\n * type ATTRIBUTE.&id({IOSet}),\n * values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{@type})\n * }\n *\n * CertificationRequest ::= SEQUENCE {\n * certificationRequestInfo CertificationRequestInfo,\n * signatureAlgorithm AlgorithmIdentifier{{ SignatureAlgorithms }},\n * signature BIT STRING\n * }\n */\nvar forge = require('./forge');\nrequire('./aes');\nrequire('./asn1');\nrequire('./des');\nrequire('./md');\nrequire('./mgf');\nrequire('./oids');\nrequire('./pem');\nrequire('./pss');\nrequire('./rsa');\nrequire('./util');\n\n// shortcut for asn.1 API\nvar asn1 = forge.asn1;\n\n/* Public Key Infrastructure (PKI) implementation. */\nvar pki = module.exports = forge.pki = forge.pki || {};\nvar oids = pki.oids;\n\n// short name OID mappings\nvar _shortNames = {};\n_shortNames['CN'] = oids['commonName'];\n_shortNames['commonName'] = 'CN';\n_shortNames['C'] = oids['countryName'];\n_shortNames['countryName'] = 'C';\n_shortNames['L'] = oids['localityName'];\n_shortNames['localityName'] = 'L';\n_shortNames['ST'] = oids['stateOrProvinceName'];\n_shortNames['stateOrProvinceName'] = 'ST';\n_shortNames['O'] = oids['organizationName'];\n_shortNames['organizationName'] = 'O';\n_shortNames['OU'] = oids['organizationalUnitName'];\n_shortNames['organizationalUnitName'] = 'OU';\n_shortNames['E'] = oids['emailAddress'];\n_shortNames['emailAddress'] = 'E';\n\n// validator for an SubjectPublicKeyInfo structure\n// Note: Currently only works with an RSA public key\nvar publicKeyValidator = forge.pki.rsa.publicKeyValidator;\n\n// validator for an X.509v3 certificate\nvar x509CertificateValidator = {\n name: 'Certificate',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'Certificate.TBSCertificate',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'tbsCertificate',\n value: [{\n name: 'Certificate.TBSCertificate.version',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n constructed: true,\n optional: true,\n value: [{\n name: 'Certificate.TBSCertificate.version.integer',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'certVersion'\n }]\n }, {\n name: 'Certificate.TBSCertificate.serialNumber',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'certSerialNumber'\n }, {\n name: 'Certificate.TBSCertificate.signature',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'Certificate.TBSCertificate.signature.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'certinfoSignatureOid'\n }, {\n name: 'Certificate.TBSCertificate.signature.parameters',\n tagClass: asn1.Class.UNIVERSAL,\n optional: true,\n captureAsn1: 'certinfoSignatureParams'\n }]\n }, {\n name: 'Certificate.TBSCertificate.issuer',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'certIssuer'\n }, {\n name: 'Certificate.TBSCertificate.validity',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n // Note: UTC and generalized times may both appear so the capture\n // names are based on their detected order, the names used below\n // are only for the common case, which validity time really means\n // \"notBefore\" and which means \"notAfter\" will be determined by order\n value: [{\n // notBefore (Time) (UTC time case)\n name: 'Certificate.TBSCertificate.validity.notBefore (utc)',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.UTCTIME,\n constructed: false,\n optional: true,\n capture: 'certValidity1UTCTime'\n }, {\n // notBefore (Time) (generalized time case)\n name: 'Certificate.TBSCertificate.validity.notBefore (generalized)',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.GENERALIZEDTIME,\n constructed: false,\n optional: true,\n capture: 'certValidity2GeneralizedTime'\n }, {\n // notAfter (Time) (only UTC time is supported)\n name: 'Certificate.TBSCertificate.validity.notAfter (utc)',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.UTCTIME,\n constructed: false,\n optional: true,\n capture: 'certValidity3UTCTime'\n }, {\n // notAfter (Time) (only UTC time is supported)\n name: 'Certificate.TBSCertificate.validity.notAfter (generalized)',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.GENERALIZEDTIME,\n constructed: false,\n optional: true,\n capture: 'certValidity4GeneralizedTime'\n }]\n }, {\n // Name (subject) (RDNSequence)\n name: 'Certificate.TBSCertificate.subject',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'certSubject'\n },\n // SubjectPublicKeyInfo\n publicKeyValidator,\n {\n // issuerUniqueID (optional)\n name: 'Certificate.TBSCertificate.issuerUniqueID',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 1,\n constructed: true,\n optional: true,\n value: [{\n name: 'Certificate.TBSCertificate.issuerUniqueID.id',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n // TODO: support arbitrary bit length ids\n captureBitStringValue: 'certIssuerUniqueId'\n }]\n }, {\n // subjectUniqueID (optional)\n name: 'Certificate.TBSCertificate.subjectUniqueID',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 2,\n constructed: true,\n optional: true,\n value: [{\n name: 'Certificate.TBSCertificate.subjectUniqueID.id',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n // TODO: support arbitrary bit length ids\n captureBitStringValue: 'certSubjectUniqueId'\n }]\n }, {\n // Extensions (optional)\n name: 'Certificate.TBSCertificate.extensions',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 3,\n constructed: true,\n captureAsn1: 'certExtensions',\n optional: true\n }]\n }, {\n // AlgorithmIdentifier (signature algorithm)\n name: 'Certificate.signatureAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n // algorithm\n name: 'Certificate.signatureAlgorithm.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'certSignatureOid'\n }, {\n name: 'Certificate.TBSCertificate.signature.parameters',\n tagClass: asn1.Class.UNIVERSAL,\n optional: true,\n captureAsn1: 'certSignatureParams'\n }]\n }, {\n // SignatureValue\n name: 'Certificate.signatureValue',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n captureBitStringValue: 'certSignature'\n }]\n};\n\nvar rsassaPssParameterValidator = {\n name: 'rsapss',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'rsapss.hashAlgorithm',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n constructed: true,\n value: [{\n name: 'rsapss.hashAlgorithm.AlgorithmIdentifier',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Class.SEQUENCE,\n constructed: true,\n optional: true,\n value: [{\n name: 'rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'hashOid'\n /* parameter block omitted, for SHA1 NULL anyhow. */\n }]\n }]\n }, {\n name: 'rsapss.maskGenAlgorithm',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 1,\n constructed: true,\n value: [{\n name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Class.SEQUENCE,\n constructed: true,\n optional: true,\n value: [{\n name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'maskGenOid'\n }, {\n name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.params',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'maskGenHashOid'\n /* parameter block omitted, for SHA1 NULL anyhow. */\n }]\n }]\n }]\n }, {\n name: 'rsapss.saltLength',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 2,\n optional: true,\n value: [{\n name: 'rsapss.saltLength.saltLength',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Class.INTEGER,\n constructed: false,\n capture: 'saltLength'\n }]\n }, {\n name: 'rsapss.trailerField',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 3,\n optional: true,\n value: [{\n name: 'rsapss.trailer.trailer',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Class.INTEGER,\n constructed: false,\n capture: 'trailer'\n }]\n }]\n};\n\n// validator for a CertificationRequestInfo structure\nvar certificationRequestInfoValidator = {\n name: 'CertificationRequestInfo',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'certificationRequestInfo',\n value: [{\n name: 'CertificationRequestInfo.integer',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.INTEGER,\n constructed: false,\n capture: 'certificationRequestInfoVersion'\n }, {\n // Name (subject) (RDNSequence)\n name: 'CertificationRequestInfo.subject',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'certificationRequestInfoSubject'\n },\n // SubjectPublicKeyInfo\n publicKeyValidator,\n {\n name: 'CertificationRequestInfo.attributes',\n tagClass: asn1.Class.CONTEXT_SPECIFIC,\n type: 0,\n constructed: true,\n optional: true,\n capture: 'certificationRequestInfoAttributes',\n value: [{\n name: 'CertificationRequestInfo.attributes',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n name: 'CertificationRequestInfo.attributes.type',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false\n }, {\n name: 'CertificationRequestInfo.attributes.value',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SET,\n constructed: true\n }]\n }]\n }]\n};\n\n// validator for a CertificationRequest structure\nvar certificationRequestValidator = {\n name: 'CertificationRequest',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n captureAsn1: 'csr',\n value: [\n certificationRequestInfoValidator, {\n // AlgorithmIdentifier (signature algorithm)\n name: 'CertificationRequest.signatureAlgorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.SEQUENCE,\n constructed: true,\n value: [{\n // algorithm\n name: 'CertificationRequest.signatureAlgorithm.algorithm',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.OID,\n constructed: false,\n capture: 'csrSignatureOid'\n }, {\n name: 'CertificationRequest.signatureAlgorithm.parameters',\n tagClass: asn1.Class.UNIVERSAL,\n optional: true,\n captureAsn1: 'csrSignatureParams'\n }]\n }, {\n // signature\n name: 'CertificationRequest.signature',\n tagClass: asn1.Class.UNIVERSAL,\n type: asn1.Type.BITSTRING,\n constructed: false,\n captureBitStringValue: 'csrSignature'\n }\n ]\n};\n\n/**\n * Converts an RDNSequence of ASN.1 DER-encoded RelativeDistinguishedName\n * sets into an array with objects that have type and value properties.\n *\n * @param rdn the RDNSequence to convert.\n * @param md a message digest to append type and value to if provided.\n */\npki.RDNAttributesAsArray = function(rdn, md) {\n var rval = [];\n\n // each value in 'rdn' in is a SET of RelativeDistinguishedName\n var set, attr, obj;\n for(var si = 0; si < rdn.value.length; ++si) {\n // get the RelativeDistinguishedName set\n set = rdn.value[si];\n\n // each value in the SET is an AttributeTypeAndValue sequence\n // containing first a type (an OID) and second a value (defined by\n // the OID)\n for(var i = 0; i < set.value.length; ++i) {\n obj = {};\n attr = set.value[i];\n obj.type = asn1.derToOid(attr.value[0].value);\n obj.value = attr.value[1].value;\n obj.valueTagClass = attr.value[1].type;\n // if the OID is known, get its name and short name\n if(obj.type in oids) {\n obj.name = oids[obj.type];\n if(obj.name in _shortNames) {\n obj.shortName = _shortNames[obj.name];\n }\n }\n if(md) {\n md.update(obj.type);\n md.update(obj.value);\n }\n rval.push(obj);\n }\n }\n\n return rval;\n};\n\n/**\n * Converts ASN.1 CRIAttributes into an array with objects that have type and\n * value properties.\n *\n * @param attributes the CRIAttributes to convert.\n */\npki.CRIAttributesAsArray = function(attributes) {\n var rval = [];\n\n // each value in 'attributes' in is a SEQUENCE with an OID and a SET\n for(var si = 0; si < attributes.length; ++si) {\n // get the attribute sequence\n var seq = attributes[si];\n\n // each value in the SEQUENCE containing first a type (an OID) and\n // second a set of values (defined by the OID)\n var type = asn1.derToOid(seq.value[0].value);\n var values = seq.value[1].value;\n for(var vi = 0; vi < values.length; ++vi) {\n var obj = {};\n obj.type = type;\n obj.value = values[vi].value;\n obj.valueTagClass = values[vi].type;\n // if the OID is known, get its name and short name\n if(obj.type in oids) {\n obj.name = oids[obj.type];\n if(obj.name in _shortNames) {\n obj.shortName = _shortNames[obj.name];\n }\n }\n // parse extensions\n if(obj.type === oids.extensionRequest) {\n obj.extensions = [];\n for(var ei = 0; ei < obj.value.length; ++ei) {\n obj.extensions.push(pki.certificateExtensionFromAsn1(obj.value[ei]));\n }\n }\n rval.push(obj);\n }\n }\n\n return rval;\n};\n\n/**\n * Gets an issuer or subject attribute from its name, type, or short name.\n *\n * @param obj the issuer or subject object.\n * @param options a short name string or an object with:\n * shortName the short name for the attribute.\n * name the name for the attribute.\n * type the type for the attribute.\n *\n * @return the attribute.\n */\nfunction _getAttribute(obj, options) {\n if(typeof options === 'string') {\n options = {shortName: options};\n }\n\n var rval = null;\n var attr;\n for(var i = 0; rval === null && i < obj.attributes.length; ++i) {\n attr = obj.attributes[i];\n if(options.type && options.type === attr.type) {\n rval = attr;\n } else if(options.name && options.name === attr.name) {\n rval = attr;\n } else if(options.shortName && options.shortName === attr.shortName) {\n rval = attr;\n }\n }\n return rval;\n}\n\n/**\n * Converts signature parameters from ASN.1 structure.\n *\n * Currently only RSASSA-PSS supported. The PKCS#1 v1.5 signature scheme had\n * no parameters.\n *\n * RSASSA-PSS-params ::= SEQUENCE {\n * hashAlgorithm [0] HashAlgorithm DEFAULT\n * sha1Identifier,\n * maskGenAlgorithm [1] MaskGenAlgorithm DEFAULT\n * mgf1SHA1Identifier,\n * saltLength [2] INTEGER DEFAULT 20,\n * trailerField [3] INTEGER DEFAULT 1\n * }\n *\n * HashAlgorithm ::= AlgorithmIdentifier\n *\n * MaskGenAlgorithm ::= AlgorithmIdentifier\n *\n * AlgorithmIdentifer ::= SEQUENCE {\n * algorithm OBJECT IDENTIFIER,\n * parameters ANY DEFINED BY algorithm OPTIONAL\n * }\n *\n * @param oid The OID specifying the signature algorithm\n * @param obj The ASN.1 structure holding the parameters\n * @param fillDefaults Whether to use return default values where omitted\n * @return signature parameter object\n */\nvar _readSignatureParameters = function(oid, obj, fillDefaults) {\n var params = {};\n\n if(oid !== oids['RSASSA-PSS']) {\n return params;\n }\n\n if(fillDefaults) {\n params = {\n hash: {\n algorithmOid: oids['sha1']\n },\n mgf: {\n algorithmOid: oids['mgf1'],\n hash: {\n algorithmOid: oids['sha1']\n }\n },\n saltLength: 20\n };\n }\n\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, rsassaPssParameterValidator, capture, errors)) {\n var error = new Error('Cannot read RSASSA-PSS parameter block.');\n error.errors = errors;\n throw error;\n }\n\n if(capture.hashOid !== undefined) {\n params.hash = params.hash || {};\n params.hash.algorithmOid = asn1.derToOid(capture.hashOid);\n }\n\n if(capture.maskGenOid !== undefined) {\n params.mgf = params.mgf || {};\n params.mgf.algorithmOid = asn1.derToOid(capture.maskGenOid);\n params.mgf.hash = params.mgf.hash || {};\n params.mgf.hash.algorithmOid = asn1.derToOid(capture.maskGenHashOid);\n }\n\n if(capture.saltLength !== undefined) {\n params.saltLength = capture.saltLength.charCodeAt(0);\n }\n\n return params;\n};\n\n/**\n * Converts an X.509 certificate from PEM format.\n *\n * Note: If the certificate is to be verified then compute hash should\n * be set to true. This will scan the TBSCertificate part of the ASN.1\n * object while it is converted so it doesn't need to be converted back\n * to ASN.1-DER-encoding later.\n *\n * @param pem the PEM-formatted certificate.\n * @param computeHash true to compute the hash for verification.\n * @param strict true to be strict when checking ASN.1 value lengths, false to\n * allow truncated values (default: true).\n *\n * @return the certificate.\n */\npki.certificateFromPem = function(pem, computeHash, strict) {\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'CERTIFICATE' &&\n msg.type !== 'X509 CERTIFICATE' &&\n msg.type !== 'TRUSTED CERTIFICATE') {\n var error = new Error(\n 'Could not convert certificate from PEM; PEM header type ' +\n 'is not \"CERTIFICATE\", \"X509 CERTIFICATE\", or \"TRUSTED CERTIFICATE\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error(\n 'Could not convert certificate from PEM; PEM is encrypted.');\n }\n\n // convert DER to ASN.1 object\n var obj = asn1.fromDer(msg.body, strict);\n\n return pki.certificateFromAsn1(obj, computeHash);\n};\n\n/**\n * Converts an X.509 certificate to PEM format.\n *\n * @param cert the certificate.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted certificate.\n */\npki.certificateToPem = function(cert, maxline) {\n // convert to ASN.1, then DER, then PEM-encode\n var msg = {\n type: 'CERTIFICATE',\n body: asn1.toDer(pki.certificateToAsn1(cert)).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n\n/**\n * Converts an RSA public key from PEM format.\n *\n * @param pem the PEM-formatted public key.\n *\n * @return the public key.\n */\npki.publicKeyFromPem = function(pem) {\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'PUBLIC KEY' && msg.type !== 'RSA PUBLIC KEY') {\n var error = new Error('Could not convert public key from PEM; PEM header ' +\n 'type is not \"PUBLIC KEY\" or \"RSA PUBLIC KEY\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert public key from PEM; PEM is encrypted.');\n }\n\n // convert DER to ASN.1 object\n var obj = asn1.fromDer(msg.body);\n\n return pki.publicKeyFromAsn1(obj);\n};\n\n/**\n * Converts an RSA public key to PEM format (using a SubjectPublicKeyInfo).\n *\n * @param key the public key.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted public key.\n */\npki.publicKeyToPem = function(key, maxline) {\n // convert to ASN.1, then DER, then PEM-encode\n var msg = {\n type: 'PUBLIC KEY',\n body: asn1.toDer(pki.publicKeyToAsn1(key)).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n\n/**\n * Converts an RSA public key to PEM format (using an RSAPublicKey).\n *\n * @param key the public key.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted public key.\n */\npki.publicKeyToRSAPublicKeyPem = function(key, maxline) {\n // convert to ASN.1, then DER, then PEM-encode\n var msg = {\n type: 'RSA PUBLIC KEY',\n body: asn1.toDer(pki.publicKeyToRSAPublicKey(key)).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n\n/**\n * Gets a fingerprint for the given public key.\n *\n * @param options the options to use.\n * [md] the message digest object to use (defaults to forge.md.sha1).\n * [type] the type of fingerprint, such as 'RSAPublicKey',\n * 'SubjectPublicKeyInfo' (defaults to 'RSAPublicKey').\n * [encoding] an alternative output encoding, such as 'hex'\n * (defaults to none, outputs a byte buffer).\n * [delimiter] the delimiter to use between bytes for 'hex' encoded\n * output, eg: ':' (defaults to none).\n *\n * @return the fingerprint as a byte buffer or other encoding based on options.\n */\npki.getPublicKeyFingerprint = function(key, options) {\n options = options || {};\n var md = options.md || forge.md.sha1.create();\n var type = options.type || 'RSAPublicKey';\n\n var bytes;\n switch(type) {\n case 'RSAPublicKey':\n bytes = asn1.toDer(pki.publicKeyToRSAPublicKey(key)).getBytes();\n break;\n case 'SubjectPublicKeyInfo':\n bytes = asn1.toDer(pki.publicKeyToAsn1(key)).getBytes();\n break;\n default:\n throw new Error('Unknown fingerprint type \"' + options.type + '\".');\n }\n\n // hash public key bytes\n md.start();\n md.update(bytes);\n var digest = md.digest();\n if(options.encoding === 'hex') {\n var hex = digest.toHex();\n if(options.delimiter) {\n return hex.match(/.{2}/g).join(options.delimiter);\n }\n return hex;\n } else if(options.encoding === 'binary') {\n return digest.getBytes();\n } else if(options.encoding) {\n throw new Error('Unknown encoding \"' + options.encoding + '\".');\n }\n return digest;\n};\n\n/**\n * Converts a PKCS#10 certification request (CSR) from PEM format.\n *\n * Note: If the certification request is to be verified then compute hash\n * should be set to true. This will scan the CertificationRequestInfo part of\n * the ASN.1 object while it is converted so it doesn't need to be converted\n * back to ASN.1-DER-encoding later.\n *\n * @param pem the PEM-formatted certificate.\n * @param computeHash true to compute the hash for verification.\n * @param strict true to be strict when checking ASN.1 value lengths, false to\n * allow truncated values (default: true).\n *\n * @return the certification request (CSR).\n */\npki.certificationRequestFromPem = function(pem, computeHash, strict) {\n var msg = forge.pem.decode(pem)[0];\n\n if(msg.type !== 'CERTIFICATE REQUEST') {\n var error = new Error('Could not convert certification request from PEM; ' +\n 'PEM header type is not \"CERTIFICATE REQUEST\".');\n error.headerType = msg.type;\n throw error;\n }\n if(msg.procType && msg.procType.type === 'ENCRYPTED') {\n throw new Error('Could not convert certification request from PEM; ' +\n 'PEM is encrypted.');\n }\n\n // convert DER to ASN.1 object\n var obj = asn1.fromDer(msg.body, strict);\n\n return pki.certificationRequestFromAsn1(obj, computeHash);\n};\n\n/**\n * Converts a PKCS#10 certification request (CSR) to PEM format.\n *\n * @param csr the certification request.\n * @param maxline the maximum characters per line, defaults to 64.\n *\n * @return the PEM-formatted certification request.\n */\npki.certificationRequestToPem = function(csr, maxline) {\n // convert to ASN.1, then DER, then PEM-encode\n var msg = {\n type: 'CERTIFICATE REQUEST',\n body: asn1.toDer(pki.certificationRequestToAsn1(csr)).getBytes()\n };\n return forge.pem.encode(msg, {maxline: maxline});\n};\n\n/**\n * Creates an empty X.509v3 RSA certificate.\n *\n * @return the certificate.\n */\npki.createCertificate = function() {\n var cert = {};\n cert.version = 0x02;\n cert.serialNumber = '00';\n cert.signatureOid = null;\n cert.signature = null;\n cert.siginfo = {};\n cert.siginfo.algorithmOid = null;\n cert.validity = {};\n cert.validity.notBefore = new Date();\n cert.validity.notAfter = new Date();\n\n cert.issuer = {};\n cert.issuer.getField = function(sn) {\n return _getAttribute(cert.issuer, sn);\n };\n cert.issuer.addField = function(attr) {\n _fillMissingFields([attr]);\n cert.issuer.attributes.push(attr);\n };\n cert.issuer.attributes = [];\n cert.issuer.hash = null;\n\n cert.subject = {};\n cert.subject.getField = function(sn) {\n return _getAttribute(cert.subject, sn);\n };\n cert.subject.addField = function(attr) {\n _fillMissingFields([attr]);\n cert.subject.attributes.push(attr);\n };\n cert.subject.attributes = [];\n cert.subject.hash = null;\n\n cert.extensions = [];\n cert.publicKey = null;\n cert.md = null;\n\n /**\n * Sets the subject of this certificate.\n *\n * @param attrs the array of subject attributes to use.\n * @param uniqueId an optional a unique ID to use.\n */\n cert.setSubject = function(attrs, uniqueId) {\n // set new attributes, clear hash\n _fillMissingFields(attrs);\n cert.subject.attributes = attrs;\n delete cert.subject.uniqueId;\n if(uniqueId) {\n // TODO: support arbitrary bit length ids\n cert.subject.uniqueId = uniqueId;\n }\n cert.subject.hash = null;\n };\n\n /**\n * Sets the issuer of this certificate.\n *\n * @param attrs the array of issuer attributes to use.\n * @param uniqueId an optional a unique ID to use.\n */\n cert.setIssuer = function(attrs, uniqueId) {\n // set new attributes, clear hash\n _fillMissingFields(attrs);\n cert.issuer.attributes = attrs;\n delete cert.issuer.uniqueId;\n if(uniqueId) {\n // TODO: support arbitrary bit length ids\n cert.issuer.uniqueId = uniqueId;\n }\n cert.issuer.hash = null;\n };\n\n /**\n * Sets the extensions of this certificate.\n *\n * @param exts the array of extensions to use.\n */\n cert.setExtensions = function(exts) {\n for(var i = 0; i < exts.length; ++i) {\n _fillMissingExtensionFields(exts[i], {cert: cert});\n }\n // set new extensions\n cert.extensions = exts;\n };\n\n /**\n * Gets an extension by its name or id.\n *\n * @param options the name to use or an object with:\n * name the name to use.\n * id the id to use.\n *\n * @return the extension or null if not found.\n */\n cert.getExtension = function(options) {\n if(typeof options === 'string') {\n options = {name: options};\n }\n\n var rval = null;\n var ext;\n for(var i = 0; rval === null && i < cert.extensions.length; ++i) {\n ext = cert.extensions[i];\n if(options.id && ext.id === options.id) {\n rval = ext;\n } else if(options.name && ext.name === options.name) {\n rval = ext;\n }\n }\n return rval;\n };\n\n /**\n * Signs this certificate using the given private key.\n *\n * @param key the private key to sign with.\n * @param md the message digest object to use (defaults to forge.md.sha1).\n */\n cert.sign = function(key, md) {\n // TODO: get signature OID from private key\n cert.md = md || forge.md.sha1.create();\n var algorithmOid = oids[cert.md.algorithm + 'WithRSAEncryption'];\n if(!algorithmOid) {\n var error = new Error('Could not compute certificate digest. ' +\n 'Unknown message digest algorithm OID.');\n error.algorithm = cert.md.algorithm;\n throw error;\n }\n cert.signatureOid = cert.siginfo.algorithmOid = algorithmOid;\n\n // get TBSCertificate, convert to DER\n cert.tbsCertificate = pki.getTBSCertificate(cert);\n var bytes = asn1.toDer(cert.tbsCertificate);\n\n // digest and sign\n cert.md.update(bytes.getBytes());\n cert.signature = key.sign(cert.md);\n };\n\n /**\n * Attempts verify the signature on the passed certificate using this\n * certificate's public key.\n *\n * @param child the certificate to verify.\n *\n * @return true if verified, false if not.\n */\n cert.verify = function(child) {\n var rval = false;\n\n if(!cert.issued(child)) {\n var issuer = child.issuer;\n var subject = cert.subject;\n var error = new Error(\n 'The parent certificate did not issue the given child ' +\n 'certificate; the child certificate\\'s issuer does not match the ' +\n 'parent\\'s subject.');\n error.expectedIssuer = issuer.attributes;\n error.actualIssuer = subject.attributes;\n throw error;\n }\n\n var md = child.md;\n if(md === null) {\n // check signature OID for supported signature types\n if(child.signatureOid in oids) {\n var oid = oids[child.signatureOid];\n switch(oid) {\n case 'sha1WithRSAEncryption':\n md = forge.md.sha1.create();\n break;\n case 'md5WithRSAEncryption':\n md = forge.md.md5.create();\n break;\n case 'sha256WithRSAEncryption':\n md = forge.md.sha256.create();\n break;\n case 'sha384WithRSAEncryption':\n md = forge.md.sha384.create();\n break;\n case 'sha512WithRSAEncryption':\n md = forge.md.sha512.create();\n break;\n case 'RSASSA-PSS':\n md = forge.md.sha256.create();\n break;\n }\n }\n if(md === null) {\n var error = new Error('Could not compute certificate digest. ' +\n 'Unknown signature OID.');\n error.signatureOid = child.signatureOid;\n throw error;\n }\n\n // produce DER formatted TBSCertificate and digest it\n var tbsCertificate = child.tbsCertificate || pki.getTBSCertificate(child);\n var bytes = asn1.toDer(tbsCertificate);\n md.update(bytes.getBytes());\n }\n\n if(md !== null) {\n var scheme;\n\n switch(child.signatureOid) {\n case oids.sha1WithRSAEncryption:\n scheme = undefined; /* use PKCS#1 v1.5 padding scheme */\n break;\n case oids['RSASSA-PSS']:\n var hash, mgf;\n\n /* initialize mgf */\n hash = oids[child.signatureParameters.mgf.hash.algorithmOid];\n if(hash === undefined || forge.md[hash] === undefined) {\n var error = new Error('Unsupported MGF hash function.');\n error.oid = child.signatureParameters.mgf.hash.algorithmOid;\n error.name = hash;\n throw error;\n }\n\n mgf = oids[child.signatureParameters.mgf.algorithmOid];\n if(mgf === undefined || forge.mgf[mgf] === undefined) {\n var error = new Error('Unsupported MGF function.');\n error.oid = child.signatureParameters.mgf.algorithmOid;\n error.name = mgf;\n throw error;\n }\n\n mgf = forge.mgf[mgf].create(forge.md[hash].create());\n\n /* initialize hash function */\n hash = oids[child.signatureParameters.hash.algorithmOid];\n if(hash === undefined || forge.md[hash] === undefined) {\n throw {\n message: 'Unsupported RSASSA-PSS hash function.',\n oid: child.signatureParameters.hash.algorithmOid,\n name: hash\n };\n }\n\n scheme = forge.pss.create(forge.md[hash].create(), mgf,\n child.signatureParameters.saltLength);\n break;\n }\n\n // verify signature on cert using public key\n rval = cert.publicKey.verify(\n md.digest().getBytes(), child.signature, scheme);\n }\n\n return rval;\n };\n\n /**\n * Returns true if this certificate's issuer matches the passed\n * certificate's subject. Note that no signature check is performed.\n *\n * @param parent the certificate to check.\n *\n * @return true if this certificate's issuer matches the passed certificate's\n * subject.\n */\n cert.isIssuer = function(parent) {\n var rval = false;\n\n var i = cert.issuer;\n var s = parent.subject;\n\n // compare hashes if present\n if(i.hash && s.hash) {\n rval = (i.hash === s.hash);\n } else if(i.attributes.length === s.attributes.length) {\n // all attributes are the same so issuer matches subject\n rval = true;\n var iattr, sattr;\n for(var n = 0; rval && n < i.attributes.length; ++n) {\n iattr = i.attributes[n];\n sattr = s.attributes[n];\n if(iattr.type !== sattr.type || iattr.value !== sattr.value) {\n // attribute mismatch\n rval = false;\n }\n }\n }\n\n return rval;\n };\n\n /**\n * Returns true if this certificate's subject matches the issuer of the\n * given certificate). Note that not signature check is performed.\n *\n * @param child the certificate to check.\n *\n * @return true if this certificate's subject matches the passed\n * certificate's issuer.\n */\n cert.issued = function(child) {\n return child.isIssuer(cert);\n };\n\n /**\n * Generates the subjectKeyIdentifier for this certificate as byte buffer.\n *\n * @return the subjectKeyIdentifier for this certificate as byte buffer.\n */\n cert.generateSubjectKeyIdentifier = function() {\n /* See: 4.2.1.2 section of the the RFC3280, keyIdentifier is either:\n\n (1) The keyIdentifier is composed of the 160-bit SHA-1 hash of the\n value of the BIT STRING subjectPublicKey (excluding the tag,\n length, and number of unused bits).\n\n (2) The keyIdentifier is composed of a four bit type field with\n the value 0100 followed by the least significant 60 bits of the\n SHA-1 hash of the value of the BIT STRING subjectPublicKey\n (excluding the tag, length, and number of unused bit string bits).\n */\n\n // skipping the tag, length, and number of unused bits is the same\n // as just using the RSAPublicKey (for RSA keys, which are the\n // only ones supported)\n return pki.getPublicKeyFingerprint(cert.publicKey, {type: 'RSAPublicKey'});\n };\n\n /**\n * Verifies the subjectKeyIdentifier extension value for this certificate\n * against its public key. If no extension is found, false will be\n * returned.\n *\n * @return true if verified, false if not.\n */\n cert.verifySubjectKeyIdentifier = function() {\n var oid = oids['subjectKeyIdentifier'];\n for(var i = 0; i < cert.extensions.length; ++i) {\n var ext = cert.extensions[i];\n if(ext.id === oid) {\n var ski = cert.generateSubjectKeyIdentifier().getBytes();\n return (forge.util.hexToBytes(ext.subjectKeyIdentifier) === ski);\n }\n }\n return false;\n };\n\n return cert;\n};\n\n/**\n * Converts an X.509v3 RSA certificate from an ASN.1 object.\n *\n * Note: If the certificate is to be verified then compute hash should\n * be set to true. There is currently no implementation for converting\n * a certificate back to ASN.1 so the TBSCertificate part of the ASN.1\n * object needs to be scanned before the cert object is created.\n *\n * @param obj the asn1 representation of an X.509v3 RSA certificate.\n * @param computeHash true to compute the hash for verification.\n *\n * @return the certificate.\n */\npki.certificateFromAsn1 = function(obj, computeHash) {\n // validate certificate and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, x509CertificateValidator, capture, errors)) {\n var error = new Error('Cannot read X.509 certificate. ' +\n 'ASN.1 object is not an X509v3 Certificate.');\n error.errors = errors;\n throw error;\n }\n\n // get oid\n var oid = asn1.derToOid(capture.publicKeyOid);\n if(oid !== pki.oids.rsaEncryption) {\n throw new Error('Cannot read public key. OID is not RSA.');\n }\n\n // create certificate\n var cert = pki.createCertificate();\n cert.version = capture.certVersion ?\n capture.certVersion.charCodeAt(0) : 0;\n var serial = forge.util.createBuffer(capture.certSerialNumber);\n cert.serialNumber = serial.toHex();\n cert.signatureOid = forge.asn1.derToOid(capture.certSignatureOid);\n cert.signatureParameters = _readSignatureParameters(\n cert.signatureOid, capture.certSignatureParams, true);\n cert.siginfo.algorithmOid = forge.asn1.derToOid(capture.certinfoSignatureOid);\n cert.siginfo.parameters = _readSignatureParameters(cert.siginfo.algorithmOid,\n capture.certinfoSignatureParams, false);\n cert.signature = capture.certSignature;\n\n var validity = [];\n if(capture.certValidity1UTCTime !== undefined) {\n validity.push(asn1.utcTimeToDate(capture.certValidity1UTCTime));\n }\n if(capture.certValidity2GeneralizedTime !== undefined) {\n validity.push(asn1.generalizedTimeToDate(\n capture.certValidity2GeneralizedTime));\n }\n if(capture.certValidity3UTCTime !== undefined) {\n validity.push(asn1.utcTimeToDate(capture.certValidity3UTCTime));\n }\n if(capture.certValidity4GeneralizedTime !== undefined) {\n validity.push(asn1.generalizedTimeToDate(\n capture.certValidity4GeneralizedTime));\n }\n if(validity.length > 2) {\n throw new Error('Cannot read notBefore/notAfter validity times; more ' +\n 'than two times were provided in the certificate.');\n }\n if(validity.length < 2) {\n throw new Error('Cannot read notBefore/notAfter validity times; they ' +\n 'were not provided as either UTCTime or GeneralizedTime.');\n }\n cert.validity.notBefore = validity[0];\n cert.validity.notAfter = validity[1];\n\n // keep TBSCertificate to preserve signature when exporting\n cert.tbsCertificate = capture.tbsCertificate;\n\n if(computeHash) {\n // check signature OID for supported signature types\n cert.md = null;\n if(cert.signatureOid in oids) {\n var oid = oids[cert.signatureOid];\n switch(oid) {\n case 'sha1WithRSAEncryption':\n cert.md = forge.md.sha1.create();\n break;\n case 'md5WithRSAEncryption':\n cert.md = forge.md.md5.create();\n break;\n case 'sha256WithRSAEncryption':\n cert.md = forge.md.sha256.create();\n break;\n case 'sha384WithRSAEncryption':\n cert.md = forge.md.sha384.create();\n break;\n case 'sha512WithRSAEncryption':\n cert.md = forge.md.sha512.create();\n break;\n case 'RSASSA-PSS':\n cert.md = forge.md.sha256.create();\n break;\n }\n }\n if(cert.md === null) {\n var error = new Error('Could not compute certificate digest. ' +\n 'Unknown signature OID.');\n error.signatureOid = cert.signatureOid;\n throw error;\n }\n\n // produce DER formatted TBSCertificate and digest it\n var bytes = asn1.toDer(cert.tbsCertificate);\n cert.md.update(bytes.getBytes());\n }\n\n // handle issuer, build issuer message digest\n var imd = forge.md.sha1.create();\n cert.issuer.getField = function(sn) {\n return _getAttribute(cert.issuer, sn);\n };\n cert.issuer.addField = function(attr) {\n _fillMissingFields([attr]);\n cert.issuer.attributes.push(attr);\n };\n cert.issuer.attributes = pki.RDNAttributesAsArray(capture.certIssuer, imd);\n if(capture.certIssuerUniqueId) {\n cert.issuer.uniqueId = capture.certIssuerUniqueId;\n }\n cert.issuer.hash = imd.digest().toHex();\n\n // handle subject, build subject message digest\n var smd = forge.md.sha1.create();\n cert.subject.getField = function(sn) {\n return _getAttribute(cert.subject, sn);\n };\n cert.subject.addField = function(attr) {\n _fillMissingFields([attr]);\n cert.subject.attributes.push(attr);\n };\n cert.subject.attributes = pki.RDNAttributesAsArray(capture.certSubject, smd);\n if(capture.certSubjectUniqueId) {\n cert.subject.uniqueId = capture.certSubjectUniqueId;\n }\n cert.subject.hash = smd.digest().toHex();\n\n // handle extensions\n if(capture.certExtensions) {\n cert.extensions = pki.certificateExtensionsFromAsn1(capture.certExtensions);\n } else {\n cert.extensions = [];\n }\n\n // convert RSA public key from ASN.1\n cert.publicKey = pki.publicKeyFromAsn1(capture.subjectPublicKeyInfo);\n\n return cert;\n};\n\n/**\n * Converts an ASN.1 extensions object (with extension sequences as its\n * values) into an array of extension objects with types and values.\n *\n * Supported extensions:\n *\n * id-ce-keyUsage OBJECT IDENTIFIER ::= { id-ce 15 }\n * KeyUsage ::= BIT STRING {\n * digitalSignature (0),\n * nonRepudiation (1),\n * keyEncipherment (2),\n * dataEncipherment (3),\n * keyAgreement (4),\n * keyCertSign (5),\n * cRLSign (6),\n * encipherOnly (7),\n * decipherOnly (8)\n * }\n *\n * id-ce-basicConstraints OBJECT IDENTIFIER ::= { id-ce 19 }\n * BasicConstraints ::= SEQUENCE {\n * cA BOOLEAN DEFAULT FALSE,\n * pathLenConstraint INTEGER (0..MAX) OPTIONAL\n * }\n *\n * subjectAltName EXTENSION ::= {\n * SYNTAX GeneralNames\n * IDENTIFIED BY id-ce-subjectAltName\n * }\n *\n * GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName\n *\n * GeneralName ::= CHOICE {\n * otherName [0] INSTANCE OF OTHER-NAME,\n * rfc822Name [1] IA5String,\n * dNSName [2] IA5String,\n * x400Address [3] ORAddress,\n * directoryName [4] Name,\n * ediPartyName [5] EDIPartyName,\n * uniformResourceIdentifier [6] IA5String,\n * IPAddress [7] OCTET STRING,\n * registeredID [8] OBJECT IDENTIFIER\n * }\n *\n * OTHER-NAME ::= TYPE-IDENTIFIER\n *\n * EDIPartyName ::= SEQUENCE {\n * nameAssigner [0] DirectoryString {ub-name} OPTIONAL,\n * partyName [1] DirectoryString {ub-name}\n * }\n *\n * @param exts the extensions ASN.1 with extension sequences to parse.\n *\n * @return the array.\n */\npki.certificateExtensionsFromAsn1 = function(exts) {\n var rval = [];\n for(var i = 0; i < exts.value.length; ++i) {\n // get extension sequence\n var extseq = exts.value[i];\n for(var ei = 0; ei < extseq.value.length; ++ei) {\n rval.push(pki.certificateExtensionFromAsn1(extseq.value[ei]));\n }\n }\n\n return rval;\n};\n\n/**\n * Parses a single certificate extension from ASN.1.\n *\n * @param ext the extension in ASN.1 format.\n *\n * @return the parsed extension as an object.\n */\npki.certificateExtensionFromAsn1 = function(ext) {\n // an extension has:\n // [0] extnID OBJECT IDENTIFIER\n // [1] critical BOOLEAN DEFAULT FALSE\n // [2] extnValue OCTET STRING\n var e = {};\n e.id = asn1.derToOid(ext.value[0].value);\n e.critical = false;\n if(ext.value[1].type === asn1.Type.BOOLEAN) {\n e.critical = (ext.value[1].value.charCodeAt(0) !== 0x00);\n e.value = ext.value[2].value;\n } else {\n e.value = ext.value[1].value;\n }\n // if the oid is known, get its name\n if(e.id in oids) {\n e.name = oids[e.id];\n\n // handle key usage\n if(e.name === 'keyUsage') {\n // get value as BIT STRING\n var ev = asn1.fromDer(e.value);\n var b2 = 0x00;\n var b3 = 0x00;\n if(ev.value.length > 1) {\n // skip first byte, just indicates unused bits which\n // will be padded with 0s anyway\n // get bytes with flag bits\n b2 = ev.value.charCodeAt(1);\n b3 = ev.value.length > 2 ? ev.value.charCodeAt(2) : 0;\n }\n // set flags\n e.digitalSignature = (b2 & 0x80) === 0x80;\n e.nonRepudiation = (b2 & 0x40) === 0x40;\n e.keyEncipherment = (b2 & 0x20) === 0x20;\n e.dataEncipherment = (b2 & 0x10) === 0x10;\n e.keyAgreement = (b2 & 0x08) === 0x08;\n e.keyCertSign = (b2 & 0x04) === 0x04;\n e.cRLSign = (b2 & 0x02) === 0x02;\n e.encipherOnly = (b2 & 0x01) === 0x01;\n e.decipherOnly = (b3 & 0x80) === 0x80;\n } else if(e.name === 'basicConstraints') {\n // handle basic constraints\n // get value as SEQUENCE\n var ev = asn1.fromDer(e.value);\n // get cA BOOLEAN flag (defaults to false)\n if(ev.value.length > 0 && ev.value[0].type === asn1.Type.BOOLEAN) {\n e.cA = (ev.value[0].value.charCodeAt(0) !== 0x00);\n } else {\n e.cA = false;\n }\n // get path length constraint\n var value = null;\n if(ev.value.length > 0 && ev.value[0].type === asn1.Type.INTEGER) {\n value = ev.value[0].value;\n } else if(ev.value.length > 1) {\n value = ev.value[1].value;\n }\n if(value !== null) {\n e.pathLenConstraint = asn1.derToInteger(value);\n }\n } else if(e.name === 'extKeyUsage') {\n // handle extKeyUsage\n // value is a SEQUENCE of OIDs\n var ev = asn1.fromDer(e.value);\n for(var vi = 0; vi < ev.value.length; ++vi) {\n var oid = asn1.derToOid(ev.value[vi].value);\n if(oid in oids) {\n e[oids[oid]] = true;\n } else {\n e[oid] = true;\n }\n }\n } else if(e.name === 'nsCertType') {\n // handle nsCertType\n // get value as BIT STRING\n var ev = asn1.fromDer(e.value);\n var b2 = 0x00;\n if(ev.value.length > 1) {\n // skip first byte, just indicates unused bits which\n // will be padded with 0s anyway\n // get bytes with flag bits\n b2 = ev.value.charCodeAt(1);\n }\n // set flags\n e.client = (b2 & 0x80) === 0x80;\n e.server = (b2 & 0x40) === 0x40;\n e.email = (b2 & 0x20) === 0x20;\n e.objsign = (b2 & 0x10) === 0x10;\n e.reserved = (b2 & 0x08) === 0x08;\n e.sslCA = (b2 & 0x04) === 0x04;\n e.emailCA = (b2 & 0x02) === 0x02;\n e.objCA = (b2 & 0x01) === 0x01;\n } else if(\n e.name === 'subjectAltName' ||\n e.name === 'issuerAltName') {\n // handle subjectAltName/issuerAltName\n e.altNames = [];\n\n // ev is a SYNTAX SEQUENCE\n var gn;\n var ev = asn1.fromDer(e.value);\n for(var n = 0; n < ev.value.length; ++n) {\n // get GeneralName\n gn = ev.value[n];\n\n var altName = {\n type: gn.type,\n value: gn.value\n };\n e.altNames.push(altName);\n\n // Note: Support for types 1,2,6,7,8\n switch(gn.type) {\n // rfc822Name\n case 1:\n // dNSName\n case 2:\n // uniformResourceIdentifier (URI)\n case 6:\n break;\n // IPAddress\n case 7:\n // convert to IPv4/IPv6 string representation\n altName.ip = forge.util.bytesToIP(gn.value);\n break;\n // registeredID\n case 8:\n altName.oid = asn1.derToOid(gn.value);\n break;\n default:\n // unsupported\n }\n }\n } else if(e.name === 'subjectKeyIdentifier') {\n // value is an OCTETSTRING w/the hash of the key-type specific\n // public key structure (eg: RSAPublicKey)\n var ev = asn1.fromDer(e.value);\n e.subjectKeyIdentifier = forge.util.bytesToHex(ev.value);\n }\n }\n return e;\n};\n\n/**\n * Converts a PKCS#10 certification request (CSR) from an ASN.1 object.\n *\n * Note: If the certification request is to be verified then compute hash\n * should be set to true. There is currently no implementation for converting\n * a certificate back to ASN.1 so the CertificationRequestInfo part of the\n * ASN.1 object needs to be scanned before the csr object is created.\n *\n * @param obj the asn1 representation of a PKCS#10 certification request (CSR).\n * @param computeHash true to compute the hash for verification.\n *\n * @return the certification request (CSR).\n */\npki.certificationRequestFromAsn1 = function(obj, computeHash) {\n // validate certification request and capture data\n var capture = {};\n var errors = [];\n if(!asn1.validate(obj, certificationRequestValidator, capture, errors)) {\n var error = new Error('Cannot read PKCS#10 certificate request. ' +\n 'ASN.1 object is not a PKCS#10 CertificationRequest.');\n error.errors = errors;\n throw error;\n }\n\n // get oid\n var oid = asn1.derToOid(capture.publicKeyOid);\n if(oid !== pki.oids.rsaEncryption) {\n throw new Error('Cannot read public key. OID is not RSA.');\n }\n\n // create certification request\n var csr = pki.createCertificationRequest();\n csr.version = capture.csrVersion ? capture.csrVersion.charCodeAt(0) : 0;\n csr.signatureOid = forge.asn1.derToOid(capture.csrSignatureOid);\n csr.signatureParameters = _readSignatureParameters(\n csr.signatureOid, capture.csrSignatureParams, true);\n csr.siginfo.algorithmOid = forge.asn1.derToOid(capture.csrSignatureOid);\n csr.siginfo.parameters = _readSignatureParameters(\n csr.siginfo.algorithmOid, capture.csrSignatureParams, false);\n csr.signature = capture.csrSignature;\n\n // keep CertificationRequestInfo to preserve signature when exporting\n csr.certificationRequestInfo = capture.certificationRequestInfo;\n\n if(computeHash) {\n // check signature OID for supported signature types\n csr.md = null;\n if(csr.signatureOid in oids) {\n var oid = oids[csr.signatureOid];\n switch(oid) {\n case 'sha1WithRSAEncryption':\n csr.md = forge.md.sha1.create();\n break;\n case 'md5WithRSAEncryption':\n csr.md = forge.md.md5.create();\n break;\n case 'sha256WithRSAEncryption':\n csr.md = forge.md.sha256.create();\n break;\n case 'sha384WithRSAEncryption':\n csr.md = forge.md.sha384.create();\n break;\n case 'sha512WithRSAEncryption':\n csr.md = forge.md.sha512.create();\n break;\n case 'RSASSA-PSS':\n csr.md = forge.md.sha256.create();\n break;\n }\n }\n if(csr.md === null) {\n var error = new Error('Could not compute certification request digest. ' +\n 'Unknown signature OID.');\n error.signatureOid = csr.signatureOid;\n throw error;\n }\n\n // produce DER formatted CertificationRequestInfo and digest it\n var bytes = asn1.toDer(csr.certificationRequestInfo);\n csr.md.update(bytes.getBytes());\n }\n\n // handle subject, build subject message digest\n var smd = forge.md.sha1.create();\n csr.subject.getField = function(sn) {\n return _getAttribute(csr.subject, sn);\n };\n csr.subject.addField = function(attr) {\n _fillMissingFields([attr]);\n csr.subject.attributes.push(attr);\n };\n csr.subject.attributes = pki.RDNAttributesAsArray(\n capture.certificationRequestInfoSubject, smd);\n csr.subject.hash = smd.digest().toHex();\n\n // convert RSA public key from ASN.1\n csr.publicKey = pki.publicKeyFromAsn1(capture.subjectPublicKeyInfo);\n\n // convert attributes from ASN.1\n csr.getAttribute = function(sn) {\n return _getAttribute(csr, sn);\n };\n csr.addAttribute = function(attr) {\n _fillMissingFields([attr]);\n csr.attributes.push(attr);\n };\n csr.attributes = pki.CRIAttributesAsArray(\n capture.certificationRequestInfoAttributes || []);\n\n return csr;\n};\n\n/**\n * Creates an empty certification request (a CSR or certificate signing\n * request). Once created, its public key and attributes can be set and then\n * it can be signed.\n *\n * @return the empty certification request.\n */\npki.createCertificationRequest = function() {\n var csr = {};\n csr.version = 0x00;\n csr.signatureOid = null;\n csr.signature = null;\n csr.siginfo = {};\n csr.siginfo.algorithmOid = null;\n\n csr.subject = {};\n csr.subject.getField = function(sn) {\n return _getAttribute(csr.subject, sn);\n };\n csr.subject.addField = function(attr) {\n _fillMissingFields([attr]);\n csr.subject.attributes.push(attr);\n };\n csr.subject.attributes = [];\n csr.subject.hash = null;\n\n csr.publicKey = null;\n csr.attributes = [];\n csr.getAttribute = function(sn) {\n return _getAttribute(csr, sn);\n };\n csr.addAttribute = function(attr) {\n _fillMissingFields([attr]);\n csr.attributes.push(attr);\n };\n csr.md = null;\n\n /**\n * Sets the subject of this certification request.\n *\n * @param attrs the array of subject attributes to use.\n */\n csr.setSubject = function(attrs) {\n // set new attributes\n _fillMissingFields(attrs);\n csr.subject.attributes = attrs;\n csr.subject.hash = null;\n };\n\n /**\n * Sets the attributes of this certification request.\n *\n * @param attrs the array of attributes to use.\n */\n csr.setAttributes = function(attrs) {\n // set new attributes\n _fillMissingFields(attrs);\n csr.attributes = attrs;\n };\n\n /**\n * Signs this certification request using the given private key.\n *\n * @param key the private key to sign with.\n * @param md the message digest object to use (defaults to forge.md.sha1).\n */\n csr.sign = function(key, md) {\n // TODO: get signature OID from private key\n csr.md = md || forge.md.sha1.create();\n var algorithmOid = oids[csr.md.algorithm + 'WithRSAEncryption'];\n if(!algorithmOid) {\n var error = new Error('Could not compute certification request digest. ' +\n 'Unknown message digest algorithm OID.');\n error.algorithm = csr.md.algorithm;\n throw error;\n }\n csr.signatureOid = csr.siginfo.algorithmOid = algorithmOid;\n\n // get CertificationRequestInfo, convert to DER\n csr.certificationRequestInfo = pki.getCertificationRequestInfo(csr);\n var bytes = asn1.toDer(csr.certificationRequestInfo);\n\n // digest and sign\n csr.md.update(bytes.getBytes());\n csr.signature = key.sign(csr.md);\n };\n\n /**\n * Attempts verify the signature on the passed certification request using\n * its public key.\n *\n * A CSR that has been exported to a file in PEM format can be verified using\n * OpenSSL using this command:\n *\n * openssl req -in -verify -noout -text\n *\n * @return true if verified, false if not.\n */\n csr.verify = function() {\n var rval = false;\n\n var md = csr.md;\n if(md === null) {\n // check signature OID for supported signature types\n if(csr.signatureOid in oids) {\n // TODO: create DRY `OID to md` function\n var oid = oids[csr.signatureOid];\n switch(oid) {\n case 'sha1WithRSAEncryption':\n md = forge.md.sha1.create();\n break;\n case 'md5WithRSAEncryption':\n md = forge.md.md5.create();\n break;\n case 'sha256WithRSAEncryption':\n md = forge.md.sha256.create();\n break;\n case 'sha384WithRSAEncryption':\n md = forge.md.sha384.create();\n break;\n case 'sha512WithRSAEncryption':\n md = forge.md.sha512.create();\n break;\n case 'RSASSA-PSS':\n md = forge.md.sha256.create();\n break;\n }\n }\n if(md === null) {\n var error = new Error(\n 'Could not compute certification request digest. ' +\n 'Unknown signature OID.');\n error.signatureOid = csr.signatureOid;\n throw error;\n }\n\n // produce DER formatted CertificationRequestInfo and digest it\n var cri = csr.certificationRequestInfo ||\n pki.getCertificationRequestInfo(csr);\n var bytes = asn1.toDer(cri);\n md.update(bytes.getBytes());\n }\n\n if(md !== null) {\n var scheme;\n\n switch(csr.signatureOid) {\n case oids.sha1WithRSAEncryption:\n /* use PKCS#1 v1.5 padding scheme */\n break;\n case oids['RSASSA-PSS']:\n var hash, mgf;\n\n /* initialize mgf */\n hash = oids[csr.signatureParameters.mgf.hash.algorithmOid];\n if(hash === undefined || forge.md[hash] === undefined) {\n var error = new Error('Unsupported MGF hash function.');\n error.oid = csr.signatureParameters.mgf.hash.algorithmOid;\n error.name = hash;\n throw error;\n }\n\n mgf = oids[csr.signatureParameters.mgf.algorithmOid];\n if(mgf === undefined || forge.mgf[mgf] === undefined) {\n var error = new Error('Unsupported MGF function.');\n error.oid = csr.signatureParameters.mgf.algorithmOid;\n error.name = mgf;\n throw error;\n }\n\n mgf = forge.mgf[mgf].create(forge.md[hash].create());\n\n /* initialize hash function */\n hash = oids[csr.signatureParameters.hash.algorithmOid];\n if(hash === undefined || forge.md[hash] === undefined) {\n var error = new Error('Unsupported RSASSA-PSS hash function.');\n error.oid = csr.signatureParameters.hash.algorithmOid;\n error.name = hash;\n throw error;\n }\n\n scheme = forge.pss.create(forge.md[hash].create(), mgf,\n csr.signatureParameters.saltLength);\n break;\n }\n\n // verify signature on csr using its public key\n rval = csr.publicKey.verify(\n md.digest().getBytes(), csr.signature, scheme);\n }\n\n return rval;\n };\n\n return csr;\n};\n\n/**\n * Converts an X.509 subject or issuer to an ASN.1 RDNSequence.\n *\n * @param obj the subject or issuer (distinguished name).\n *\n * @return the ASN.1 RDNSequence.\n */\nfunction _dnToAsn1(obj) {\n // create an empty RDNSequence\n var rval = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n\n // iterate over attributes\n var attr, set;\n var attrs = obj.attributes;\n for(var i = 0; i < attrs.length; ++i) {\n attr = attrs[i];\n var value = attr.value;\n\n // reuse tag class for attribute value if available\n var valueTagClass = asn1.Type.PRINTABLESTRING;\n if('valueTagClass' in attr) {\n valueTagClass = attr.valueTagClass;\n\n if(valueTagClass === asn1.Type.UTF8) {\n value = forge.util.encodeUtf8(value);\n }\n // FIXME: handle more encodings\n }\n\n // create a RelativeDistinguishedName set\n // each value in the set is an AttributeTypeAndValue first\n // containing the type (an OID) and second the value\n set = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // AttributeType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(attr.type).getBytes()),\n // AttributeValue\n asn1.create(asn1.Class.UNIVERSAL, valueTagClass, false, value)\n ])\n ]);\n rval.value.push(set);\n }\n\n return rval;\n}\n\n/**\n * Gets all printable attributes (typically of an issuer or subject) in a\n * simplified JSON format for display.\n *\n * @param attrs the attributes.\n *\n * @return the JSON for display.\n */\nfunction _getAttributesAsJson(attrs) {\n var rval = {};\n for(var i = 0; i < attrs.length; ++i) {\n var attr = attrs[i];\n if(attr.shortName && (\n attr.valueTagClass === asn1.Type.UTF8 ||\n attr.valueTagClass === asn1.Type.PRINTABLESTRING ||\n attr.valueTagClass === asn1.Type.IA5STRING)) {\n var value = attr.value;\n if(attr.valueTagClass === asn1.Type.UTF8) {\n value = forge.util.encodeUtf8(attr.value);\n }\n if(!(attr.shortName in rval)) {\n rval[attr.shortName] = value;\n } else if(forge.util.isArray(rval[attr.shortName])) {\n rval[attr.shortName].push(value);\n } else {\n rval[attr.shortName] = [rval[attr.shortName], value];\n }\n }\n }\n return rval;\n}\n\n/**\n * Fills in missing fields in attributes.\n *\n * @param attrs the attributes to fill missing fields in.\n */\nfunction _fillMissingFields(attrs) {\n var attr;\n for(var i = 0; i < attrs.length; ++i) {\n attr = attrs[i];\n\n // populate missing name\n if(typeof attr.name === 'undefined') {\n if(attr.type && attr.type in pki.oids) {\n attr.name = pki.oids[attr.type];\n } else if(attr.shortName && attr.shortName in _shortNames) {\n attr.name = pki.oids[_shortNames[attr.shortName]];\n }\n }\n\n // populate missing type (OID)\n if(typeof attr.type === 'undefined') {\n if(attr.name && attr.name in pki.oids) {\n attr.type = pki.oids[attr.name];\n } else {\n var error = new Error('Attribute type not specified.');\n error.attribute = attr;\n throw error;\n }\n }\n\n // populate missing shortname\n if(typeof attr.shortName === 'undefined') {\n if(attr.name && attr.name in _shortNames) {\n attr.shortName = _shortNames[attr.name];\n }\n }\n\n // convert extensions to value\n if(attr.type === oids.extensionRequest) {\n attr.valueConstructed = true;\n attr.valueTagClass = asn1.Type.SEQUENCE;\n if(!attr.value && attr.extensions) {\n attr.value = [];\n for(var ei = 0; ei < attr.extensions.length; ++ei) {\n attr.value.push(pki.certificateExtensionToAsn1(\n _fillMissingExtensionFields(attr.extensions[ei])));\n }\n }\n }\n\n if(typeof attr.value === 'undefined') {\n var error = new Error('Attribute value not specified.');\n error.attribute = attr;\n throw error;\n }\n }\n}\n\n/**\n * Fills in missing fields in certificate extensions.\n *\n * @param e the extension.\n * @param [options] the options to use.\n * [cert] the certificate the extensions are for.\n *\n * @return the extension.\n */\nfunction _fillMissingExtensionFields(e, options) {\n options = options || {};\n\n // populate missing name\n if(typeof e.name === 'undefined') {\n if(e.id && e.id in pki.oids) {\n e.name = pki.oids[e.id];\n }\n }\n\n // populate missing id\n if(typeof e.id === 'undefined') {\n if(e.name && e.name in pki.oids) {\n e.id = pki.oids[e.name];\n } else {\n var error = new Error('Extension ID not specified.');\n error.extension = e;\n throw error;\n }\n }\n\n if(typeof e.value !== 'undefined') {\n return e;\n }\n\n // handle missing value:\n\n // value is a BIT STRING\n if(e.name === 'keyUsage') {\n // build flags\n var unused = 0;\n var b2 = 0x00;\n var b3 = 0x00;\n if(e.digitalSignature) {\n b2 |= 0x80;\n unused = 7;\n }\n if(e.nonRepudiation) {\n b2 |= 0x40;\n unused = 6;\n }\n if(e.keyEncipherment) {\n b2 |= 0x20;\n unused = 5;\n }\n if(e.dataEncipherment) {\n b2 |= 0x10;\n unused = 4;\n }\n if(e.keyAgreement) {\n b2 |= 0x08;\n unused = 3;\n }\n if(e.keyCertSign) {\n b2 |= 0x04;\n unused = 2;\n }\n if(e.cRLSign) {\n b2 |= 0x02;\n unused = 1;\n }\n if(e.encipherOnly) {\n b2 |= 0x01;\n unused = 0;\n }\n if(e.decipherOnly) {\n b3 |= 0x80;\n unused = 7;\n }\n\n // create bit string\n var value = String.fromCharCode(unused);\n if(b3 !== 0) {\n value += String.fromCharCode(b2) + String.fromCharCode(b3);\n } else if(b2 !== 0) {\n value += String.fromCharCode(b2);\n }\n e.value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, value);\n } else if(e.name === 'basicConstraints') {\n // basicConstraints is a SEQUENCE\n e.value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n // cA BOOLEAN flag defaults to false\n if(e.cA) {\n e.value.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.BOOLEAN, false,\n String.fromCharCode(0xFF)));\n }\n if('pathLenConstraint' in e) {\n e.value.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(e.pathLenConstraint).getBytes()));\n }\n } else if(e.name === 'extKeyUsage') {\n // extKeyUsage is a SEQUENCE of OIDs\n e.value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n var seq = e.value.value;\n for(var key in e) {\n if(e[key] !== true) {\n continue;\n }\n // key is name in OID map\n if(key in oids) {\n seq.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID,\n false, asn1.oidToDer(oids[key]).getBytes()));\n } else if(key.indexOf('.') !== -1) {\n // assume key is an OID\n seq.push(asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID,\n false, asn1.oidToDer(key).getBytes()));\n }\n }\n } else if(e.name === 'nsCertType') {\n // nsCertType is a BIT STRING\n // build flags\n var unused = 0;\n var b2 = 0x00;\n\n if(e.client) {\n b2 |= 0x80;\n unused = 7;\n }\n if(e.server) {\n b2 |= 0x40;\n unused = 6;\n }\n if(e.email) {\n b2 |= 0x20;\n unused = 5;\n }\n if(e.objsign) {\n b2 |= 0x10;\n unused = 4;\n }\n if(e.reserved) {\n b2 |= 0x08;\n unused = 3;\n }\n if(e.sslCA) {\n b2 |= 0x04;\n unused = 2;\n }\n if(e.emailCA) {\n b2 |= 0x02;\n unused = 1;\n }\n if(e.objCA) {\n b2 |= 0x01;\n unused = 0;\n }\n\n // create bit string\n var value = String.fromCharCode(unused);\n if(b2 !== 0) {\n value += String.fromCharCode(b2);\n }\n e.value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false, value);\n } else if(e.name === 'subjectAltName' || e.name === 'issuerAltName') {\n // SYNTAX SEQUENCE\n e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n\n var altName;\n for(var n = 0; n < e.altNames.length; ++n) {\n altName = e.altNames[n];\n var value = altName.value;\n // handle IP\n if(altName.type === 7 && altName.ip) {\n value = forge.util.bytesFromIP(altName.ip);\n if(value === null) {\n var error = new Error(\n 'Extension \"ip\" value is not a valid IPv4 or IPv6 address.');\n error.extension = e;\n throw error;\n }\n } else if(altName.type === 8) {\n // handle OID\n if(altName.oid) {\n value = asn1.oidToDer(asn1.oidToDer(altName.oid));\n } else {\n // deprecated ... convert value to OID\n value = asn1.oidToDer(value);\n }\n }\n e.value.value.push(asn1.create(\n asn1.Class.CONTEXT_SPECIFIC, altName.type, false,\n value));\n }\n } else if(e.name === 'nsComment' && options.cert) {\n // sanity check value is ASCII (req'd) and not too big\n if(!(/^[\\x00-\\x7F]*$/.test(e.comment)) ||\n (e.comment.length < 1) || (e.comment.length > 128)) {\n throw new Error('Invalid \"nsComment\" content.');\n }\n // IA5STRING opaque comment\n e.value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.IA5STRING, false, e.comment);\n } else if(e.name === 'subjectKeyIdentifier' && options.cert) {\n var ski = options.cert.generateSubjectKeyIdentifier();\n e.subjectKeyIdentifier = ski.toHex();\n // OCTETSTRING w/digest\n e.value = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, ski.getBytes());\n } else if(e.name === 'authorityKeyIdentifier' && options.cert) {\n // SYNTAX SEQUENCE\n e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n var seq = e.value.value;\n\n if(e.keyIdentifier) {\n var keyIdentifier = (e.keyIdentifier === true ?\n options.cert.generateSubjectKeyIdentifier().getBytes() :\n e.keyIdentifier);\n seq.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, false, keyIdentifier));\n }\n\n if(e.authorityCertIssuer) {\n var authorityCertIssuer = [\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 4, true, [\n _dnToAsn1(e.authorityCertIssuer === true ?\n options.cert.issuer : e.authorityCertIssuer)\n ])\n ];\n seq.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, authorityCertIssuer));\n }\n\n if(e.serialNumber) {\n var serialNumber = forge.util.hexToBytes(e.serialNumber === true ?\n options.cert.serialNumber : e.serialNumber);\n seq.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, false, serialNumber));\n }\n } else if(e.name === 'cRLDistributionPoints') {\n e.value = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n var seq = e.value.value;\n\n // Create sub SEQUENCE of DistributionPointName\n var subSeq = asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n\n // Create fullName CHOICE\n var fullNameGeneralNames = asn1.create(\n asn1.Class.CONTEXT_SPECIFIC, 0, true, []);\n var altName;\n for(var n = 0; n < e.altNames.length; ++n) {\n altName = e.altNames[n];\n var value = altName.value;\n // handle IP\n if(altName.type === 7 && altName.ip) {\n value = forge.util.bytesFromIP(altName.ip);\n if(value === null) {\n var error = new Error(\n 'Extension \"ip\" value is not a valid IPv4 or IPv6 address.');\n error.extension = e;\n throw error;\n }\n } else if(altName.type === 8) {\n // handle OID\n if(altName.oid) {\n value = asn1.oidToDer(asn1.oidToDer(altName.oid));\n } else {\n // deprecated ... convert value to OID\n value = asn1.oidToDer(value);\n }\n }\n fullNameGeneralNames.value.push(asn1.create(\n asn1.Class.CONTEXT_SPECIFIC, altName.type, false,\n value));\n }\n\n // Add to the parent SEQUENCE\n subSeq.value.push(asn1.create(\n asn1.Class.CONTEXT_SPECIFIC, 0, true, [fullNameGeneralNames]));\n seq.push(subSeq);\n }\n\n // ensure value has been defined by now\n if(typeof e.value === 'undefined') {\n var error = new Error('Extension value not specified.');\n error.extension = e;\n throw error;\n }\n\n return e;\n}\n\n/**\n * Convert signature parameters object to ASN.1\n *\n * @param {String} oid Signature algorithm OID\n * @param params The signature parametrs object\n * @return ASN.1 object representing signature parameters\n */\nfunction _signatureParametersToAsn1(oid, params) {\n switch(oid) {\n case oids['RSASSA-PSS']:\n var parts = [];\n\n if(params.hash.algorithmOid !== undefined) {\n parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(params.hash.algorithmOid).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ])\n ]));\n }\n\n if(params.mgf.algorithmOid !== undefined) {\n parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(params.mgf.algorithmOid).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(params.mgf.hash.algorithmOid).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '')\n ])\n ])\n ]));\n }\n\n if(params.saltLength !== undefined) {\n parts.push(asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(params.saltLength).getBytes())\n ]));\n }\n\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, parts);\n\n default:\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.NULL, false, '');\n }\n}\n\n/**\n * Converts a certification request's attributes to an ASN.1 set of\n * CRIAttributes.\n *\n * @param csr certification request.\n *\n * @return the ASN.1 set of CRIAttributes.\n */\nfunction _CRIAttributesToAsn1(csr) {\n // create an empty context-specific container\n var rval = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, []);\n\n // no attributes, return empty container\n if(csr.attributes.length === 0) {\n return rval;\n }\n\n // each attribute has a sequence with a type and a set of values\n var attrs = csr.attributes;\n for(var i = 0; i < attrs.length; ++i) {\n var attr = attrs[i];\n var value = attr.value;\n\n // reuse tag class for attribute value if available\n var valueTagClass = asn1.Type.UTF8;\n if('valueTagClass' in attr) {\n valueTagClass = attr.valueTagClass;\n }\n if(valueTagClass === asn1.Type.UTF8) {\n value = forge.util.encodeUtf8(value);\n }\n var valueConstructed = false;\n if('valueConstructed' in attr) {\n valueConstructed = attr.valueConstructed;\n }\n // FIXME: handle more encodings\n\n // create a RelativeDistinguishedName set\n // each value in the set is an AttributeTypeAndValue first\n // containing the type (an OID) and second the value\n var seq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // AttributeType\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(attr.type).getBytes()),\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SET, true, [\n // AttributeValue\n asn1.create(\n asn1.Class.UNIVERSAL, valueTagClass, valueConstructed, value)\n ])\n ]);\n rval.value.push(seq);\n }\n\n return rval;\n}\n\nvar jan_1_1950 = new Date('1950-01-01T00:00:00Z');\nvar jan_1_2050 = new Date('2050-01-01T00:00:00Z');\n\n/**\n * Converts a Date object to ASN.1\n * Handles the different format before and after 1st January 2050\n *\n * @param date date object.\n *\n * @return the ASN.1 object representing the date.\n */\nfunction _dateToAsn1(date) {\n if(date >= jan_1_1950 && date < jan_1_2050) {\n return asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.UTCTIME, false,\n asn1.dateToUtcTime(date));\n } else {\n return asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.GENERALIZEDTIME, false,\n asn1.dateToGeneralizedTime(date));\n }\n}\n\n/**\n * Gets the ASN.1 TBSCertificate part of an X.509v3 certificate.\n *\n * @param cert the certificate.\n *\n * @return the asn1 TBSCertificate.\n */\npki.getTBSCertificate = function(cert) {\n // TBSCertificate\n var notBefore = _dateToAsn1(cert.validity.notBefore);\n var notAfter = _dateToAsn1(cert.validity.notAfter);\n var tbs = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // version\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0, true, [\n // integer\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(cert.version).getBytes())\n ]),\n // serialNumber\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n forge.util.hexToBytes(cert.serialNumber)),\n // signature\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(cert.siginfo.algorithmOid).getBytes()),\n // parameters\n _signatureParametersToAsn1(\n cert.siginfo.algorithmOid, cert.siginfo.parameters)\n ]),\n // issuer\n _dnToAsn1(cert.issuer),\n // validity\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n notBefore,\n notAfter\n ]),\n // subject\n _dnToAsn1(cert.subject),\n // SubjectPublicKeyInfo\n pki.publicKeyToAsn1(cert.publicKey)\n ]);\n\n if(cert.issuer.uniqueId) {\n // issuerUniqueID (optional)\n tbs.value.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 1, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,\n // TODO: support arbitrary bit length ids\n String.fromCharCode(0x00) +\n cert.issuer.uniqueId\n )\n ])\n );\n }\n if(cert.subject.uniqueId) {\n // subjectUniqueID (optional)\n tbs.value.push(\n asn1.create(asn1.Class.CONTEXT_SPECIFIC, 2, true, [\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,\n // TODO: support arbitrary bit length ids\n String.fromCharCode(0x00) +\n cert.subject.uniqueId\n )\n ])\n );\n }\n\n if(cert.extensions.length > 0) {\n // extensions (optional)\n tbs.value.push(pki.certificateExtensionsToAsn1(cert.extensions));\n }\n\n return tbs;\n};\n\n/**\n * Gets the ASN.1 CertificationRequestInfo part of a\n * PKCS#10 CertificationRequest.\n *\n * @param csr the certification request.\n *\n * @return the asn1 CertificationRequestInfo.\n */\npki.getCertificationRequestInfo = function(csr) {\n // CertificationRequestInfo\n var cri = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // version\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.INTEGER, false,\n asn1.integerToDer(csr.version).getBytes()),\n // subject\n _dnToAsn1(csr.subject),\n // SubjectPublicKeyInfo\n pki.publicKeyToAsn1(csr.publicKey),\n // attributes\n _CRIAttributesToAsn1(csr)\n ]);\n\n return cri;\n};\n\n/**\n * Converts a DistinguishedName (subject or issuer) to an ASN.1 object.\n *\n * @param dn the DistinguishedName.\n *\n * @return the asn1 representation of a DistinguishedName.\n */\npki.distinguishedNameToAsn1 = function(dn) {\n return _dnToAsn1(dn);\n};\n\n/**\n * Converts an X.509v3 RSA certificate to an ASN.1 object.\n *\n * @param cert the certificate.\n *\n * @return the asn1 representation of an X.509v3 RSA certificate.\n */\npki.certificateToAsn1 = function(cert) {\n // prefer cached TBSCertificate over generating one\n var tbsCertificate = cert.tbsCertificate || pki.getTBSCertificate(cert);\n\n // Certificate\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // TBSCertificate\n tbsCertificate,\n // AlgorithmIdentifier (signature algorithm)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(cert.signatureOid).getBytes()),\n // parameters\n _signatureParametersToAsn1(cert.signatureOid, cert.signatureParameters)\n ]),\n // SignatureValue\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,\n String.fromCharCode(0x00) + cert.signature)\n ]);\n};\n\n/**\n * Converts X.509v3 certificate extensions to ASN.1.\n *\n * @param exts the extensions to convert.\n *\n * @return the extensions in ASN.1 format.\n */\npki.certificateExtensionsToAsn1 = function(exts) {\n // create top-level extension container\n var rval = asn1.create(asn1.Class.CONTEXT_SPECIFIC, 3, true, []);\n\n // create extension sequence (stores a sequence for each extension)\n var seq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n rval.value.push(seq);\n\n for(var i = 0; i < exts.length; ++i) {\n seq.value.push(pki.certificateExtensionToAsn1(exts[i]));\n }\n\n return rval;\n};\n\n/**\n * Converts a single certificate extension to ASN.1.\n *\n * @param ext the extension to convert.\n *\n * @return the extension in ASN.1 format.\n */\npki.certificateExtensionToAsn1 = function(ext) {\n // create a sequence for each extension\n var extseq = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);\n\n // extnID (OID)\n extseq.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(ext.id).getBytes()));\n\n // critical defaults to false\n if(ext.critical) {\n // critical BOOLEAN DEFAULT FALSE\n extseq.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.BOOLEAN, false,\n String.fromCharCode(0xFF)));\n }\n\n var value = ext.value;\n if(typeof ext.value !== 'string') {\n // value is asn.1\n value = asn1.toDer(value).getBytes();\n }\n\n // extnValue (OCTET STRING)\n extseq.value.push(asn1.create(\n asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false, value));\n\n return extseq;\n};\n\n/**\n * Converts a PKCS#10 certification request to an ASN.1 object.\n *\n * @param csr the certification request.\n *\n * @return the asn1 representation of a certification request.\n */\npki.certificationRequestToAsn1 = function(csr) {\n // prefer cached CertificationRequestInfo over generating one\n var cri = csr.certificationRequestInfo ||\n pki.getCertificationRequestInfo(csr);\n\n // Certificate\n return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // CertificationRequestInfo\n cri,\n // AlgorithmIdentifier (signature algorithm)\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [\n // algorithm\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,\n asn1.oidToDer(csr.signatureOid).getBytes()),\n // parameters\n _signatureParametersToAsn1(csr.signatureOid, csr.signatureParameters)\n ]),\n // signature\n asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,\n String.fromCharCode(0x00) + csr.signature)\n ]);\n};\n\n/**\n * Creates a CA store.\n *\n * @param certs an optional array of certificate objects or PEM-formatted\n * certificate strings to add to the CA store.\n *\n * @return the CA store.\n */\npki.createCaStore = function(certs) {\n // create CA store\n var caStore = {\n // stored certificates\n certs: {}\n };\n\n /**\n * Gets the certificate that issued the passed certificate or its\n * 'parent'.\n *\n * @param cert the certificate to get the parent for.\n *\n * @return the parent certificate or null if none was found.\n */\n caStore.getIssuer = function(cert) {\n var rval = getBySubject(cert.issuer);\n\n // see if there are multiple matches\n /*if(forge.util.isArray(rval)) {\n // TODO: resolve multiple matches by checking\n // authorityKey/subjectKey/issuerUniqueID/other identifiers, etc.\n // FIXME: or alternatively do authority key mapping\n // if possible (X.509v1 certs can't work?)\n throw new Error('Resolving multiple issuer matches not implemented yet.');\n }*/\n\n return rval;\n };\n\n /**\n * Adds a trusted certificate to the store.\n *\n * @param cert the certificate to add as a trusted certificate (either a\n * pki.certificate object or a PEM-formatted certificate).\n */\n caStore.addCertificate = function(cert) {\n // convert from pem if necessary\n if(typeof cert === 'string') {\n cert = forge.pki.certificateFromPem(cert);\n }\n\n ensureSubjectHasHash(cert.subject);\n\n if(!caStore.hasCertificate(cert)) { // avoid duplicate certificates in store\n if(cert.subject.hash in caStore.certs) {\n // subject hash already exists, append to array\n var tmp = caStore.certs[cert.subject.hash];\n if(!forge.util.isArray(tmp)) {\n tmp = [tmp];\n }\n tmp.push(cert);\n caStore.certs[cert.subject.hash] = tmp;\n } else {\n caStore.certs[cert.subject.hash] = cert;\n }\n }\n };\n\n /**\n * Checks to see if the given certificate is in the store.\n *\n * @param cert the certificate to check (either a pki.certificate or a\n * PEM-formatted certificate).\n *\n * @return true if the certificate is in the store, false if not.\n */\n caStore.hasCertificate = function(cert) {\n // convert from pem if necessary\n if(typeof cert === 'string') {\n cert = forge.pki.certificateFromPem(cert);\n }\n\n var match = getBySubject(cert.subject);\n if(!match) {\n return false;\n }\n if(!forge.util.isArray(match)) {\n match = [match];\n }\n // compare DER-encoding of certificates\n var der1 = asn1.toDer(pki.certificateToAsn1(cert)).getBytes();\n for(var i = 0; i < match.length; ++i) {\n var der2 = asn1.toDer(pki.certificateToAsn1(match[i])).getBytes();\n if(der1 === der2) {\n return true;\n }\n }\n return false;\n };\n\n /**\n * Lists all of the certificates kept in the store.\n *\n * @return an array of all of the pki.certificate objects in the store.\n */\n caStore.listAllCertificates = function() {\n var certList = [];\n\n for(var hash in caStore.certs) {\n if(caStore.certs.hasOwnProperty(hash)) {\n var value = caStore.certs[hash];\n if(!forge.util.isArray(value)) {\n certList.push(value);\n } else {\n for(var i = 0; i < value.length; ++i) {\n certList.push(value[i]);\n }\n }\n }\n }\n\n return certList;\n };\n\n /**\n * Removes a certificate from the store.\n *\n * @param cert the certificate to remove (either a pki.certificate or a\n * PEM-formatted certificate).\n *\n * @return the certificate that was removed or null if the certificate\n * wasn't in store.\n */\n caStore.removeCertificate = function(cert) {\n var result;\n\n // convert from pem if necessary\n if(typeof cert === 'string') {\n cert = forge.pki.certificateFromPem(cert);\n }\n ensureSubjectHasHash(cert.subject);\n if(!caStore.hasCertificate(cert)) {\n return null;\n }\n\n var match = getBySubject(cert.subject);\n\n if(!forge.util.isArray(match)) {\n result = caStore.certs[cert.subject.hash];\n delete caStore.certs[cert.subject.hash];\n return result;\n }\n\n // compare DER-encoding of certificates\n var der1 = asn1.toDer(pki.certificateToAsn1(cert)).getBytes();\n for(var i = 0; i < match.length; ++i) {\n var der2 = asn1.toDer(pki.certificateToAsn1(match[i])).getBytes();\n if(der1 === der2) {\n result = match[i];\n match.splice(i, 1);\n }\n }\n if(match.length === 0) {\n delete caStore.certs[cert.subject.hash];\n }\n\n return result;\n };\n\n function getBySubject(subject) {\n ensureSubjectHasHash(subject);\n return caStore.certs[subject.hash] || null;\n }\n\n function ensureSubjectHasHash(subject) {\n // produce subject hash if it doesn't exist\n if(!subject.hash) {\n var md = forge.md.sha1.create();\n subject.attributes = pki.RDNAttributesAsArray(_dnToAsn1(subject), md);\n subject.hash = md.digest().toHex();\n }\n }\n\n // auto-add passed in certs\n if(certs) {\n // parse PEM-formatted certificates as necessary\n for(var i = 0; i < certs.length; ++i) {\n var cert = certs[i];\n caStore.addCertificate(cert);\n }\n }\n\n return caStore;\n};\n\n/**\n * Certificate verification errors, based on TLS.\n */\npki.certificateError = {\n bad_certificate: 'forge.pki.BadCertificate',\n unsupported_certificate: 'forge.pki.UnsupportedCertificate',\n certificate_revoked: 'forge.pki.CertificateRevoked',\n certificate_expired: 'forge.pki.CertificateExpired',\n certificate_unknown: 'forge.pki.CertificateUnknown',\n unknown_ca: 'forge.pki.UnknownCertificateAuthority'\n};\n\n/**\n * Verifies a certificate chain against the given Certificate Authority store\n * with an optional custom verify callback.\n *\n * @param caStore a certificate store to verify against.\n * @param chain the certificate chain to verify, with the root or highest\n * authority at the end (an array of certificates).\n * @param options a callback to be called for every certificate in the chain or\n * an object with:\n * verify a callback to be called for every certificate in the\n * chain\n * validityCheckDate the date against which the certificate\n * validity period should be checked. Pass null to not check\n * the validity period. By default, the current date is used.\n *\n * The verify callback has the following signature:\n *\n * verified - Set to true if certificate was verified, otherwise the\n * pki.certificateError for why the certificate failed.\n * depth - The current index in the chain, where 0 is the end point's cert.\n * certs - The certificate chain, *NOTE* an empty chain indicates an anonymous\n * end point.\n *\n * The function returns true on success and on failure either the appropriate\n * pki.certificateError or an object with 'error' set to the appropriate\n * pki.certificateError and 'message' set to a custom error message.\n *\n * @return true if successful, error thrown if not.\n */\npki.verifyCertificateChain = function(caStore, chain, options) {\n /* From: RFC3280 - Internet X.509 Public Key Infrastructure Certificate\n Section 6: Certification Path Validation\n See inline parentheticals related to this particular implementation.\n\n The primary goal of path validation is to verify the binding between\n a subject distinguished name or a subject alternative name and subject\n public key, as represented in the end entity certificate, based on the\n public key of the trust anchor. This requires obtaining a sequence of\n certificates that support that binding. That sequence should be provided\n in the passed 'chain'. The trust anchor should be in the given CA\n store. The 'end entity' certificate is the certificate provided by the\n end point (typically a server) and is the first in the chain.\n\n To meet this goal, the path validation process verifies, among other\n things, that a prospective certification path (a sequence of n\n certificates or a 'chain') satisfies the following conditions:\n\n (a) for all x in {1, ..., n-1}, the subject of certificate x is\n the issuer of certificate x+1;\n\n (b) certificate 1 is issued by the trust anchor;\n\n (c) certificate n is the certificate to be validated; and\n\n (d) for all x in {1, ..., n}, the certificate was valid at the\n time in question.\n\n Note that here 'n' is index 0 in the chain and 1 is the last certificate\n in the chain and it must be signed by a certificate in the connection's\n CA store.\n\n The path validation process also determines the set of certificate\n policies that are valid for this path, based on the certificate policies\n extension, policy mapping extension, policy constraints extension, and\n inhibit any-policy extension.\n\n Note: Policy mapping extension not supported (Not Required).\n\n Note: If the certificate has an unsupported critical extension, then it\n must be rejected.\n\n Note: A certificate is self-issued if the DNs that appear in the subject\n and issuer fields are identical and are not empty.\n\n The path validation algorithm assumes the following seven inputs are\n provided to the path processing logic. What this specific implementation\n will use is provided parenthetically:\n\n (a) a prospective certification path of length n (the 'chain')\n (b) the current date/time: ('now').\n (c) user-initial-policy-set: A set of certificate policy identifiers\n naming the policies that are acceptable to the certificate user.\n The user-initial-policy-set contains the special value any-policy\n if the user is not concerned about certificate policy\n (Not implemented. Any policy is accepted).\n (d) trust anchor information, describing a CA that serves as a trust\n anchor for the certification path. The trust anchor information\n includes:\n\n (1) the trusted issuer name,\n (2) the trusted public key algorithm,\n (3) the trusted public key, and\n (4) optionally, the trusted public key parameters associated\n with the public key.\n\n (Trust anchors are provided via certificates in the CA store).\n\n The trust anchor information may be provided to the path processing\n procedure in the form of a self-signed certificate. The trusted anchor\n information is trusted because it was delivered to the path processing\n procedure by some trustworthy out-of-band procedure. If the trusted\n public key algorithm requires parameters, then the parameters are\n provided along with the trusted public key (No parameters used in this\n implementation).\n\n (e) initial-policy-mapping-inhibit, which indicates if policy mapping is\n allowed in the certification path.\n (Not implemented, no policy checking)\n\n (f) initial-explicit-policy, which indicates if the path must be valid\n for at least one of the certificate policies in the user-initial-\n policy-set.\n (Not implemented, no policy checking)\n\n (g) initial-any-policy-inhibit, which indicates whether the\n anyPolicy OID should be processed if it is included in a\n certificate.\n (Not implemented, so any policy is valid provided that it is\n not marked as critical) */\n\n /* Basic Path Processing:\n\n For each certificate in the 'chain', the following is checked:\n\n 1. The certificate validity period includes the current time.\n 2. The certificate was signed by its parent (where the parent is either\n the next in the chain or from the CA store). Allow processing to\n continue to the next step if no parent is found but the certificate is\n in the CA store.\n 3. TODO: The certificate has not been revoked.\n 4. The certificate issuer name matches the parent's subject name.\n 5. TODO: If the certificate is self-issued and not the final certificate\n in the chain, skip this step, otherwise verify that the subject name\n is within one of the permitted subtrees of X.500 distinguished names\n and that each of the alternative names in the subjectAltName extension\n (critical or non-critical) is within one of the permitted subtrees for\n that name type.\n 6. TODO: If the certificate is self-issued and not the final certificate\n in the chain, skip this step, otherwise verify that the subject name\n is not within one of the excluded subtrees for X.500 distinguished\n names and none of the subjectAltName extension names are excluded for\n that name type.\n 7. The other steps in the algorithm for basic path processing involve\n handling the policy extension which is not presently supported in this\n implementation. Instead, if a critical policy extension is found, the\n certificate is rejected as not supported.\n 8. If the certificate is not the first or if its the only certificate in\n the chain (having no parent from the CA store or is self-signed) and it\n has a critical key usage extension, verify that the keyCertSign bit is\n set. If the key usage extension exists, verify that the basic\n constraints extension exists. If the basic constraints extension exists,\n verify that the cA flag is set. If pathLenConstraint is set, ensure that\n the number of certificates that precede in the chain (come earlier\n in the chain as implemented below), excluding the very first in the\n chain (typically the end-entity one), isn't greater than the\n pathLenConstraint. This constraint limits the number of intermediate\n CAs that may appear below a CA before only end-entity certificates\n may be issued. */\n\n // if a verify callback is passed as the third parameter, package it within\n // the options object. This is to support a legacy function signature that\n // expected the verify callback as the third parameter.\n if(typeof options === 'function') {\n options = {verify: options};\n }\n options = options || {};\n\n // copy cert chain references to another array to protect against changes\n // in verify callback\n chain = chain.slice(0);\n var certs = chain.slice(0);\n\n var validityCheckDate = options.validityCheckDate;\n // if no validityCheckDate is specified, default to the current date. Make\n // sure to maintain the value null because it indicates that the validity\n // period should not be checked.\n if(typeof validityCheckDate === 'undefined') {\n validityCheckDate = new Date();\n }\n\n // verify each cert in the chain using its parent, where the parent\n // is either the next in the chain or from the CA store\n var first = true;\n var error = null;\n var depth = 0;\n do {\n var cert = chain.shift();\n var parent = null;\n var selfSigned = false;\n\n if(validityCheckDate) {\n // 1. check valid time\n if(validityCheckDate < cert.validity.notBefore ||\n validityCheckDate > cert.validity.notAfter) {\n error = {\n message: 'Certificate is not valid yet or has expired.',\n error: pki.certificateError.certificate_expired,\n notBefore: cert.validity.notBefore,\n notAfter: cert.validity.notAfter,\n // TODO: we might want to reconsider renaming 'now' to\n // 'validityCheckDate' should this API be changed in the future.\n now: validityCheckDate\n };\n }\n }\n\n // 2. verify with parent from chain or CA store\n if(error === null) {\n parent = chain[0] || caStore.getIssuer(cert);\n if(parent === null) {\n // check for self-signed cert\n if(cert.isIssuer(cert)) {\n selfSigned = true;\n parent = cert;\n }\n }\n\n if(parent) {\n // FIXME: current CA store implementation might have multiple\n // certificates where the issuer can't be determined from the\n // certificate (happens rarely with, eg: old certificates) so normalize\n // by always putting parents into an array\n // TODO: there's may be an extreme degenerate case currently uncovered\n // where an old intermediate certificate seems to have a matching parent\n // but none of the parents actually verify ... but the intermediate\n // is in the CA and it should pass this check; needs investigation\n var parents = parent;\n if(!forge.util.isArray(parents)) {\n parents = [parents];\n }\n\n // try to verify with each possible parent (typically only one)\n var verified = false;\n while(!verified && parents.length > 0) {\n parent = parents.shift();\n try {\n verified = parent.verify(cert);\n } catch(ex) {\n // failure to verify, don't care why, try next one\n }\n }\n\n if(!verified) {\n error = {\n message: 'Certificate signature is invalid.',\n error: pki.certificateError.bad_certificate\n };\n }\n }\n\n if(error === null && (!parent || selfSigned) &&\n !caStore.hasCertificate(cert)) {\n // no parent issuer and certificate itself is not trusted\n error = {\n message: 'Certificate is not trusted.',\n error: pki.certificateError.unknown_ca\n };\n }\n }\n\n // TODO: 3. check revoked\n\n // 4. check for matching issuer/subject\n if(error === null && parent && !cert.isIssuer(parent)) {\n // parent is not issuer\n error = {\n message: 'Certificate issuer is invalid.',\n error: pki.certificateError.bad_certificate\n };\n }\n\n // 5. TODO: check names with permitted names tree\n\n // 6. TODO: check names against excluded names tree\n\n // 7. check for unsupported critical extensions\n if(error === null) {\n // supported extensions\n var se = {\n keyUsage: true,\n basicConstraints: true\n };\n for(var i = 0; error === null && i < cert.extensions.length; ++i) {\n var ext = cert.extensions[i];\n if(ext.critical && !(ext.name in se)) {\n error = {\n message:\n 'Certificate has an unsupported critical extension.',\n error: pki.certificateError.unsupported_certificate\n };\n }\n }\n }\n\n // 8. check for CA if cert is not first or is the only certificate\n // remaining in chain with no parent or is self-signed\n if(error === null &&\n (!first || (chain.length === 0 && (!parent || selfSigned)))) {\n // first check keyUsage extension and then basic constraints\n var bcExt = cert.getExtension('basicConstraints');\n var keyUsageExt = cert.getExtension('keyUsage');\n if(keyUsageExt !== null) {\n // keyCertSign must be true and there must be a basic\n // constraints extension\n if(!keyUsageExt.keyCertSign || bcExt === null) {\n // bad certificate\n error = {\n message:\n 'Certificate keyUsage or basicConstraints conflict ' +\n 'or indicate that the certificate is not a CA. ' +\n 'If the certificate is the only one in the chain or ' +\n 'isn\\'t the first then the certificate must be a ' +\n 'valid CA.',\n error: pki.certificateError.bad_certificate\n };\n }\n }\n // basic constraints cA flag must be set\n if(error === null && bcExt !== null && !bcExt.cA) {\n // bad certificate\n error = {\n message:\n 'Certificate basicConstraints indicates the certificate ' +\n 'is not a CA.',\n error: pki.certificateError.bad_certificate\n };\n }\n // if error is not null and keyUsage is available, then we know it\n // has keyCertSign and there is a basic constraints extension too,\n // which means we can check pathLenConstraint (if it exists)\n if(error === null && keyUsageExt !== null &&\n 'pathLenConstraint' in bcExt) {\n // pathLen is the maximum # of intermediate CA certs that can be\n // found between the current certificate and the end-entity (depth 0)\n // certificate; this number does not include the end-entity (depth 0,\n // last in the chain) even if it happens to be a CA certificate itself\n var pathLen = depth - 1;\n if(pathLen > bcExt.pathLenConstraint) {\n // pathLenConstraint violated, bad certificate\n error = {\n message:\n 'Certificate basicConstraints pathLenConstraint violated.',\n error: pki.certificateError.bad_certificate\n };\n }\n }\n }\n\n // call application callback\n var vfd = (error === null) ? true : error.error;\n var ret = options.verify ? options.verify(vfd, depth, certs) : vfd;\n if(ret === true) {\n // clear any set error\n error = null;\n } else {\n // if passed basic tests, set default message and alert\n if(vfd === true) {\n error = {\n message: 'The application rejected the certificate.',\n error: pki.certificateError.bad_certificate\n };\n }\n\n // check for custom error info\n if(ret || ret === 0) {\n // set custom message and error\n if(typeof ret === 'object' && !forge.util.isArray(ret)) {\n if(ret.message) {\n error.message = ret.message;\n }\n if(ret.error) {\n error.error = ret.error;\n }\n } else if(typeof ret === 'string') {\n // set custom error\n error.error = ret;\n }\n }\n\n // throw error\n throw error;\n }\n\n // no longer first cert in chain\n first = false;\n ++depth;\n } while(chain.length > 0);\n\n return true;\n};\n","'use strict';\n// TODO: Use the `URL` global when targeting Node.js 10\nconst URLParser = typeof URL === 'undefined' ? require('url').URL : URL;\n\n// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs\nconst DATA_URL_DEFAULT_MIME_TYPE = 'text/plain';\nconst DATA_URL_DEFAULT_CHARSET = 'us-ascii';\n\nconst testParameter = (name, filters) => {\n\treturn filters.some(filter => filter instanceof RegExp ? filter.test(name) : filter === name);\n};\n\nconst normalizeDataURL = (urlString, {stripHash}) => {\n\tconst parts = urlString.match(/^data:([^,]*?),([^#]*?)(?:#(.*))?$/);\n\n\tif (!parts) {\n\t\tthrow new Error(`Invalid URL: ${urlString}`);\n\t}\n\n\tconst mediaType = parts[1].split(';');\n\tconst body = parts[2];\n\tconst hash = stripHash ? '' : parts[3];\n\n\tlet base64 = false;\n\n\tif (mediaType[mediaType.length - 1] === 'base64') {\n\t\tmediaType.pop();\n\t\tbase64 = true;\n\t}\n\n\t// Lowercase MIME type\n\tconst mimeType = (mediaType.shift() || '').toLowerCase();\n\tconst attributes = mediaType\n\t\t.map(attribute => {\n\t\t\tlet [key, value = ''] = attribute.split('=').map(string => string.trim());\n\n\t\t\t// Lowercase `charset`\n\t\t\tif (key === 'charset') {\n\t\t\t\tvalue = value.toLowerCase();\n\n\t\t\t\tif (value === DATA_URL_DEFAULT_CHARSET) {\n\t\t\t\t\treturn '';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn `${key}${value ? `=${value}` : ''}`;\n\t\t})\n\t\t.filter(Boolean);\n\n\tconst normalizedMediaType = [\n\t\t...attributes\n\t];\n\n\tif (base64) {\n\t\tnormalizedMediaType.push('base64');\n\t}\n\n\tif (normalizedMediaType.length !== 0 || (mimeType && mimeType !== DATA_URL_DEFAULT_MIME_TYPE)) {\n\t\tnormalizedMediaType.unshift(mimeType);\n\t}\n\n\treturn `data:${normalizedMediaType.join(';')},${base64 ? body.trim() : body}${hash ? `#${hash}` : ''}`;\n};\n\nconst normalizeUrl = (urlString, options) => {\n\toptions = {\n\t\tdefaultProtocol: 'http:',\n\t\tnormalizeProtocol: true,\n\t\tforceHttp: false,\n\t\tforceHttps: false,\n\t\tstripAuthentication: true,\n\t\tstripHash: false,\n\t\tstripWWW: true,\n\t\tremoveQueryParameters: [/^utm_\\w+/i],\n\t\tremoveTrailingSlash: true,\n\t\tremoveDirectoryIndex: false,\n\t\tsortQueryParameters: true,\n\t\t...options\n\t};\n\n\t// TODO: Remove this at some point in the future\n\tif (Reflect.has(options, 'normalizeHttps')) {\n\t\tthrow new Error('options.normalizeHttps is renamed to options.forceHttp');\n\t}\n\n\tif (Reflect.has(options, 'normalizeHttp')) {\n\t\tthrow new Error('options.normalizeHttp is renamed to options.forceHttps');\n\t}\n\n\tif (Reflect.has(options, 'stripFragment')) {\n\t\tthrow new Error('options.stripFragment is renamed to options.stripHash');\n\t}\n\n\turlString = urlString.trim();\n\n\t// Data URL\n\tif (/^data:/i.test(urlString)) {\n\t\treturn normalizeDataURL(urlString, options);\n\t}\n\n\tconst hasRelativeProtocol = urlString.startsWith('//');\n\tconst isRelativeUrl = !hasRelativeProtocol && /^\\.*\\//.test(urlString);\n\n\t// Prepend protocol\n\tif (!isRelativeUrl) {\n\t\turlString = urlString.replace(/^(?!(?:\\w+:)?\\/\\/)|^\\/\\//, options.defaultProtocol);\n\t}\n\n\tconst urlObj = new URLParser(urlString);\n\n\tif (options.forceHttp && options.forceHttps) {\n\t\tthrow new Error('The `forceHttp` and `forceHttps` options cannot be used together');\n\t}\n\n\tif (options.forceHttp && urlObj.protocol === 'https:') {\n\t\turlObj.protocol = 'http:';\n\t}\n\n\tif (options.forceHttps && urlObj.protocol === 'http:') {\n\t\turlObj.protocol = 'https:';\n\t}\n\n\t// Remove auth\n\tif (options.stripAuthentication) {\n\t\turlObj.username = '';\n\t\turlObj.password = '';\n\t}\n\n\t// Remove hash\n\tif (options.stripHash) {\n\t\turlObj.hash = '';\n\t}\n\n\t// Remove duplicate slashes if not preceded by a protocol\n\tif (urlObj.pathname) {\n\t\t// TODO: Use the following instead when targeting Node.js 10\n\t\t// `urlObj.pathname = urlObj.pathname.replace(/(? {\n\t\t\tif (/^(?!\\/)/g.test(p1)) {\n\t\t\t\treturn `${p1}/`;\n\t\t\t}\n\n\t\t\treturn '/';\n\t\t});\n\t}\n\n\t// Decode URI octets\n\tif (urlObj.pathname) {\n\t\turlObj.pathname = decodeURI(urlObj.pathname);\n\t}\n\n\t// Remove directory index\n\tif (options.removeDirectoryIndex === true) {\n\t\toptions.removeDirectoryIndex = [/^index\\.[a-z]+$/];\n\t}\n\n\tif (Array.isArray(options.removeDirectoryIndex) && options.removeDirectoryIndex.length > 0) {\n\t\tlet pathComponents = urlObj.pathname.split('/');\n\t\tconst lastComponent = pathComponents[pathComponents.length - 1];\n\n\t\tif (testParameter(lastComponent, options.removeDirectoryIndex)) {\n\t\t\tpathComponents = pathComponents.slice(0, pathComponents.length - 1);\n\t\t\turlObj.pathname = pathComponents.slice(1).join('/') + '/';\n\t\t}\n\t}\n\n\tif (urlObj.hostname) {\n\t\t// Remove trailing dot\n\t\turlObj.hostname = urlObj.hostname.replace(/\\.$/, '');\n\n\t\t// Remove `www.`\n\t\tif (options.stripWWW && /^www\\.([a-z\\-\\d]{2,63})\\.([a-z.]{2,5})$/.test(urlObj.hostname)) {\n\t\t\t// Each label should be max 63 at length (min: 2).\n\t\t\t// The extension should be max 5 at length (min: 2).\n\t\t\t// Source: https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names\n\t\t\turlObj.hostname = urlObj.hostname.replace(/^www\\./, '');\n\t\t}\n\t}\n\n\t// Remove query unwanted parameters\n\tif (Array.isArray(options.removeQueryParameters)) {\n\t\tfor (const key of [...urlObj.searchParams.keys()]) {\n\t\t\tif (testParameter(key, options.removeQueryParameters)) {\n\t\t\t\turlObj.searchParams.delete(key);\n\t\t\t}\n\t\t}\n\t}\n\n\t// Sort query parameters\n\tif (options.sortQueryParameters) {\n\t\turlObj.searchParams.sort();\n\t}\n\n\tif (options.removeTrailingSlash) {\n\t\turlObj.pathname = urlObj.pathname.replace(/\\/$/, '');\n\t}\n\n\t// Take advantage of many of the Node `url` normalizations\n\turlString = urlObj.toString();\n\n\t// Remove ending `/`\n\tif ((options.removeTrailingSlash || urlObj.pathname === '/') && urlObj.hash === '') {\n\t\turlString = urlString.replace(/\\/$/, '');\n\t}\n\n\t// Restore relative protocol, if applicable\n\tif (hasRelativeProtocol && !options.normalizeProtocol) {\n\t\turlString = urlString.replace(/^http:\\/\\//, '//');\n\t}\n\n\t// Remove http/https\n\tif (options.stripProtocol) {\n\t\turlString = urlString.replace(/^(?:https?:)?\\/\\//, '');\n\t}\n\n\treturn urlString;\n};\n\nmodule.exports = normalizeUrl;\n// TODO: Remove this for the next major release\nmodule.exports.default = normalizeUrl;\n","var hasMap = typeof Map === 'function' && Map.prototype;\nvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\nvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\nvar mapForEach = hasMap && Map.prototype.forEach;\nvar hasSet = typeof Set === 'function' && Set.prototype;\nvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\nvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\nvar setForEach = hasSet && Set.prototype.forEach;\nvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\nvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\nvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\nvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\nvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\nvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\nvar booleanValueOf = Boolean.prototype.valueOf;\nvar objectToString = Object.prototype.toString;\nvar functionToString = Function.prototype.toString;\nvar $match = String.prototype.match;\nvar $slice = String.prototype.slice;\nvar $replace = String.prototype.replace;\nvar $toUpperCase = String.prototype.toUpperCase;\nvar $toLowerCase = String.prototype.toLowerCase;\nvar $test = RegExp.prototype.test;\nvar $concat = Array.prototype.concat;\nvar $join = Array.prototype.join;\nvar $arrSlice = Array.prototype.slice;\nvar $floor = Math.floor;\nvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\nvar gOPS = Object.getOwnPropertySymbols;\nvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\nvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n// ie, `has-tostringtag/shams\nvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n ? Symbol.toStringTag\n : null;\nvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\nvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n [].__proto__ === Array.prototype // eslint-disable-line no-proto\n ? function (O) {\n return O.__proto__; // eslint-disable-line no-proto\n }\n : null\n);\n\nfunction addNumericSeparator(num, str) {\n if (\n num === Infinity\n || num === -Infinity\n || num !== num\n || (num && num > -1000 && num < 1000)\n || $test.call(/e/, str)\n ) {\n return str;\n }\n var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n if (typeof num === 'number') {\n var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n if (int !== num) {\n var intStr = String(int);\n var dec = $slice.call(str, intStr.length + 1);\n return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n }\n }\n return $replace.call(str, sepRegex, '$&_');\n}\n\nvar utilInspect = require('./util.inspect');\nvar inspectCustom = utilInspect.custom;\nvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\nmodule.exports = function inspect_(obj, options, depth, seen) {\n var opts = options || {};\n\n if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n }\n if (\n has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n : opts.maxStringLength !== null\n )\n ) {\n throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n }\n var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n }\n\n if (\n has(opts, 'indent')\n && opts.indent !== null\n && opts.indent !== '\\t'\n && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n ) {\n throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n }\n if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n }\n var numericSeparator = opts.numericSeparator;\n\n if (typeof obj === 'undefined') {\n return 'undefined';\n }\n if (obj === null) {\n return 'null';\n }\n if (typeof obj === 'boolean') {\n return obj ? 'true' : 'false';\n }\n\n if (typeof obj === 'string') {\n return inspectString(obj, opts);\n }\n if (typeof obj === 'number') {\n if (obj === 0) {\n return Infinity / obj > 0 ? '0' : '-0';\n }\n var str = String(obj);\n return numericSeparator ? addNumericSeparator(obj, str) : str;\n }\n if (typeof obj === 'bigint') {\n var bigIntStr = String(obj) + 'n';\n return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n }\n\n var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n if (typeof depth === 'undefined') { depth = 0; }\n if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n return isArray(obj) ? '[Array]' : '[Object]';\n }\n\n var indent = getIndent(opts, depth);\n\n if (typeof seen === 'undefined') {\n seen = [];\n } else if (indexOf(seen, obj) >= 0) {\n return '[Circular]';\n }\n\n function inspect(value, from, noIndent) {\n if (from) {\n seen = $arrSlice.call(seen);\n seen.push(from);\n }\n if (noIndent) {\n var newOpts = {\n depth: opts.depth\n };\n if (has(opts, 'quoteStyle')) {\n newOpts.quoteStyle = opts.quoteStyle;\n }\n return inspect_(value, newOpts, depth + 1, seen);\n }\n return inspect_(value, opts, depth + 1, seen);\n }\n\n if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n var name = nameOf(obj);\n var keys = arrObjKeys(obj, inspect);\n return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n }\n if (isSymbol(obj)) {\n var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n }\n if (isElement(obj)) {\n var s = '<' + $toLowerCase.call(String(obj.nodeName));\n var attrs = obj.attributes || [];\n for (var i = 0; i < attrs.length; i++) {\n s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n }\n s += '>';\n if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n s += '';\n return s;\n }\n if (isArray(obj)) {\n if (obj.length === 0) { return '[]'; }\n var xs = arrObjKeys(obj, inspect);\n if (indent && !singleLineValues(xs)) {\n return '[' + indentedJoin(xs, indent) + ']';\n }\n return '[ ' + $join.call(xs, ', ') + ' ]';\n }\n if (isError(obj)) {\n var parts = arrObjKeys(obj, inspect);\n if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n }\n if (parts.length === 0) { return '[' + String(obj) + ']'; }\n return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n }\n if (typeof obj === 'object' && customInspect) {\n if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) {\n return utilInspect(obj, { depth: maxDepth - depth });\n } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n return obj.inspect();\n }\n }\n if (isMap(obj)) {\n var mapParts = [];\n mapForEach.call(obj, function (value, key) {\n mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n });\n return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n }\n if (isSet(obj)) {\n var setParts = [];\n setForEach.call(obj, function (value) {\n setParts.push(inspect(value, obj));\n });\n return collectionOf('Set', setSize.call(obj), setParts, indent);\n }\n if (isWeakMap(obj)) {\n return weakCollectionOf('WeakMap');\n }\n if (isWeakSet(obj)) {\n return weakCollectionOf('WeakSet');\n }\n if (isWeakRef(obj)) {\n return weakCollectionOf('WeakRef');\n }\n if (isNumber(obj)) {\n return markBoxed(inspect(Number(obj)));\n }\n if (isBigInt(obj)) {\n return markBoxed(inspect(bigIntValueOf.call(obj)));\n }\n if (isBoolean(obj)) {\n return markBoxed(booleanValueOf.call(obj));\n }\n if (isString(obj)) {\n return markBoxed(inspect(String(obj)));\n }\n if (!isDate(obj) && !isRegExp(obj)) {\n var ys = arrObjKeys(obj, inspect);\n var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n var protoTag = obj instanceof Object ? '' : 'null prototype';\n var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';\n var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n if (ys.length === 0) { return tag + '{}'; }\n if (indent) {\n return tag + '{' + indentedJoin(ys, indent) + '}';\n }\n return tag + '{ ' + $join.call(ys, ', ') + ' }';\n }\n return String(obj);\n};\n\nfunction wrapQuotes(s, defaultStyle, opts) {\n var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n return quoteChar + s + quoteChar;\n}\n\nfunction quote(s) {\n return $replace.call(String(s), /\"/g, '"');\n}\n\nfunction isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\nfunction isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\nfunction isSymbol(obj) {\n if (hasShammedSymbols) {\n return obj && typeof obj === 'object' && obj instanceof Symbol;\n }\n if (typeof obj === 'symbol') {\n return true;\n }\n if (!obj || typeof obj !== 'object' || !symToString) {\n return false;\n }\n try {\n symToString.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isBigInt(obj) {\n if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n return false;\n }\n try {\n bigIntValueOf.call(obj);\n return true;\n } catch (e) {}\n return false;\n}\n\nvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\nfunction has(obj, key) {\n return hasOwn.call(obj, key);\n}\n\nfunction toStr(obj) {\n return objectToString.call(obj);\n}\n\nfunction nameOf(f) {\n if (f.name) { return f.name; }\n var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n if (m) { return m[1]; }\n return null;\n}\n\nfunction indexOf(xs, x) {\n if (xs.indexOf) { return xs.indexOf(x); }\n for (var i = 0, l = xs.length; i < l; i++) {\n if (xs[i] === x) { return i; }\n }\n return -1;\n}\n\nfunction isMap(x) {\n if (!mapSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n mapSize.call(x);\n try {\n setSize.call(x);\n } catch (s) {\n return true;\n }\n return x instanceof Map; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakMap(x) {\n if (!weakMapHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakMapHas.call(x, weakMapHas);\n try {\n weakSetHas.call(x, weakSetHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakRef(x) {\n if (!weakRefDeref || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakRefDeref.call(x);\n return true;\n } catch (e) {}\n return false;\n}\n\nfunction isSet(x) {\n if (!setSize || !x || typeof x !== 'object') {\n return false;\n }\n try {\n setSize.call(x);\n try {\n mapSize.call(x);\n } catch (m) {\n return true;\n }\n return x instanceof Set; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isWeakSet(x) {\n if (!weakSetHas || !x || typeof x !== 'object') {\n return false;\n }\n try {\n weakSetHas.call(x, weakSetHas);\n try {\n weakMapHas.call(x, weakMapHas);\n } catch (s) {\n return true;\n }\n return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n } catch (e) {}\n return false;\n}\n\nfunction isElement(x) {\n if (!x || typeof x !== 'object') { return false; }\n if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n return true;\n }\n return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n}\n\nfunction inspectString(str, opts) {\n if (str.length > opts.maxStringLength) {\n var remaining = str.length - opts.maxStringLength;\n var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n }\n // eslint-disable-next-line no-control-regex\n var s = $replace.call($replace.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n return wrapQuotes(s, 'single', opts);\n}\n\nfunction lowbyte(c) {\n var n = c.charCodeAt(0);\n var x = {\n 8: 'b',\n 9: 't',\n 10: 'n',\n 12: 'f',\n 13: 'r'\n }[n];\n if (x) { return '\\\\' + x; }\n return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n}\n\nfunction markBoxed(str) {\n return 'Object(' + str + ')';\n}\n\nfunction weakCollectionOf(type) {\n return type + ' { ? }';\n}\n\nfunction collectionOf(type, size, entries, indent) {\n var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n return type + ' (' + size + ') {' + joinedEntries + '}';\n}\n\nfunction singleLineValues(xs) {\n for (var i = 0; i < xs.length; i++) {\n if (indexOf(xs[i], '\\n') >= 0) {\n return false;\n }\n }\n return true;\n}\n\nfunction getIndent(opts, depth) {\n var baseIndent;\n if (opts.indent === '\\t') {\n baseIndent = '\\t';\n } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n baseIndent = $join.call(Array(opts.indent + 1), ' ');\n } else {\n return null;\n }\n return {\n base: baseIndent,\n prev: $join.call(Array(depth + 1), baseIndent)\n };\n}\n\nfunction indentedJoin(xs, indent) {\n if (xs.length === 0) { return ''; }\n var lineJoiner = '\\n' + indent.prev + indent.base;\n return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n}\n\nfunction arrObjKeys(obj, inspect) {\n var isArr = isArray(obj);\n var xs = [];\n if (isArr) {\n xs.length = obj.length;\n for (var i = 0; i < obj.length; i++) {\n xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n }\n }\n var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n var symMap;\n if (hasShammedSymbols) {\n symMap = {};\n for (var k = 0; k < syms.length; k++) {\n symMap['$' + syms[k]] = syms[k];\n }\n }\n\n for (var key in obj) { // eslint-disable-line no-restricted-syntax\n if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n continue; // eslint-disable-line no-restricted-syntax, no-continue\n } else if ($test.call(/[^\\w$]/, key)) {\n xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n } else {\n xs.push(key + ': ' + inspect(obj[key], obj));\n }\n }\n if (typeof gOPS === 'function') {\n for (var j = 0; j < syms.length; j++) {\n if (isEnumerable.call(obj, syms[j])) {\n xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n }\n }\n }\n return xs;\n}\n","module.exports = require('util').inspect;\n","'use strict';\nmodule.exports = milliseconds => {\n\tif (typeof milliseconds !== 'number') {\n\t\tthrow new TypeError('Expected a number');\n\t}\n\n\tconst roundTowardsZero = milliseconds > 0 ? Math.floor : Math.ceil;\n\n\treturn {\n\t\tdays: roundTowardsZero(milliseconds / 86400000),\n\t\thours: roundTowardsZero(milliseconds / 3600000) % 24,\n\t\tminutes: roundTowardsZero(milliseconds / 60000) % 60,\n\t\tseconds: roundTowardsZero(milliseconds / 1000) % 60,\n\t\tmilliseconds: roundTowardsZero(milliseconds) % 1000,\n\t\tmicroseconds: roundTowardsZero(milliseconds * 1000) % 1000,\n\t\tnanoseconds: roundTowardsZero(milliseconds * 1e6) % 1000\n\t};\n};\n","'use strict';\n\nconst processFn = (fn, options, proxy, unwrapped) => function (...arguments_) {\n\tconst P = options.promiseModule;\n\n\treturn new P((resolve, reject) => {\n\t\tif (options.multiArgs) {\n\t\t\targuments_.push((...result) => {\n\t\t\t\tif (options.errorFirst) {\n\t\t\t\t\tif (result[0]) {\n\t\t\t\t\t\treject(result);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult.shift();\n\t\t\t\t\t\tresolve(result);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresolve(result);\n\t\t\t\t}\n\t\t\t});\n\t\t} else if (options.errorFirst) {\n\t\t\targuments_.push((error, result) => {\n\t\t\t\tif (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t} else {\n\t\t\t\t\tresolve(result);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\targuments_.push(resolve);\n\t\t}\n\n\t\tconst self = this === proxy ? unwrapped : this;\n\t\tReflect.apply(fn, self, arguments_);\n\t});\n};\n\nconst filterCache = new WeakMap();\n\nmodule.exports = (input, options) => {\n\toptions = {\n\t\texclude: [/.+(?:Sync|Stream)$/],\n\t\terrorFirst: true,\n\t\tpromiseModule: Promise,\n\t\t...options\n\t};\n\n\tconst objectType = typeof input;\n\tif (!(input !== null && (objectType === 'object' || objectType === 'function'))) {\n\t\tthrow new TypeError(`Expected \\`input\\` to be a \\`Function\\` or \\`Object\\`, got \\`${input === null ? 'null' : objectType}\\``);\n\t}\n\n\tconst filter = (target, key) => {\n\t\tlet cached = filterCache.get(target);\n\n\t\tif (!cached) {\n\t\t\tcached = {};\n\t\t\tfilterCache.set(target, cached);\n\t\t}\n\n\t\tif (key in cached) {\n\t\t\treturn cached[key];\n\t\t}\n\n\t\tconst match = pattern => (typeof pattern === 'string' || typeof key === 'symbol') ? key === pattern : pattern.test(key);\n\t\tconst desc = Reflect.getOwnPropertyDescriptor(target, key);\n\t\tconst writableOrConfigurableOwn = (desc === undefined || desc.writable || desc.configurable);\n\t\tconst included = options.include ? options.include.some(match) : !options.exclude.some(match);\n\t\tconst shouldFilter = included && writableOrConfigurableOwn;\n\t\tcached[key] = shouldFilter;\n\t\treturn shouldFilter;\n\t};\n\n\tconst cache = new WeakMap();\n\n\tconst proxy = new Proxy(input, {\n\t\tapply(target, thisArg, args) {\n\t\t\tconst cached = cache.get(target);\n\n\t\t\tif (cached) {\n\t\t\t\treturn Reflect.apply(cached, thisArg, args);\n\t\t\t}\n\n\t\t\tconst pified = options.excludeMain ? target : processFn(target, options, proxy, target);\n\t\t\tcache.set(target, pified);\n\t\t\treturn Reflect.apply(pified, thisArg, args);\n\t\t},\n\n\t\tget(target, key) {\n\t\t\tconst property = target[key];\n\n\t\t\t// eslint-disable-next-line no-use-extend-native/no-use-extend-native\n\t\t\tif (!filter(target, key) || property === Function.prototype[key]) {\n\t\t\t\treturn property;\n\t\t\t}\n\n\t\t\tconst cached = cache.get(property);\n\n\t\t\tif (cached) {\n\t\t\t\treturn cached;\n\t\t\t}\n\n\t\t\tif (typeof property === 'function') {\n\t\t\t\tconst pified = processFn(property, options, proxy, target);\n\t\t\t\tcache.set(property, pified);\n\t\t\t\treturn pified;\n\t\t\t}\n\n\t\t\treturn property;\n\t\t}\n\t});\n\n\treturn proxy;\n};\n","'use strict';\nmodule.exports = (url, options) => {\n\tif (typeof url !== 'string') {\n\t\tthrow new TypeError(`Expected \\`url\\` to be of type \\`string\\`, got \\`${typeof url}\\``);\n\t}\n\n\turl = url.trim();\n\n\toptions = {\n\t\thttps: true,\n\t\t...options\n\t};\n\n\tif (/^\\.*\\/|^(?!localhost)\\w+:/.test(url)) {\n\t\treturn url;\n\t}\n\n\treturn url.replace(/^(?!(?:\\w+:)?\\/\\/)/, options.https ? 'https://' : 'http://');\n};\n","'use strict';\nconst parseMilliseconds = require('parse-ms');\n\nconst pluralize = (word, count) => count === 1 ? word : `${word}s`;\n\nmodule.exports = (milliseconds, options = {}) => {\n\tif (!Number.isFinite(milliseconds)) {\n\t\tthrow new TypeError('Expected a finite number');\n\t}\n\n\tif (options.colonNotation) {\n\t\toptions.compact = false;\n\t\toptions.formatSubMilliseconds = false;\n\t\toptions.separateMilliseconds = false;\n\t\toptions.verbose = false;\n\t}\n\n\tif (options.compact) {\n\t\toptions.secondsDecimalDigits = 0;\n\t\toptions.millisecondsDecimalDigits = 0;\n\t}\n\n\tconst result = [];\n\n\tconst add = (value, long, short, valueString) => {\n\t\tif ((result.length === 0 || !options.colonNotation) && value === 0 && !(options.colonNotation && short === 'm')) {\n\t\t\treturn;\n\t\t}\n\n\t\tvalueString = (valueString || value || '0').toString();\n\t\tlet prefix;\n\t\tlet suffix;\n\t\tif (options.colonNotation) {\n\t\t\tprefix = result.length > 0 ? ':' : '';\n\t\t\tsuffix = '';\n\t\t\tconst wholeDigits = valueString.includes('.') ? valueString.split('.')[0].length : valueString.length;\n\t\t\tconst minLength = result.length > 0 ? 2 : 1;\n\t\t\tvalueString = '0'.repeat(Math.max(0, minLength - wholeDigits)) + valueString;\n\t\t} else {\n\t\t\tprefix = '';\n\t\t\tsuffix = options.verbose ? ' ' + pluralize(long, value) : short;\n\t\t}\n\n\t\tresult.push(prefix + valueString + suffix);\n\t};\n\n\tconst secondsDecimalDigits =\n\t\ttypeof options.secondsDecimalDigits === 'number' ?\n\t\t\toptions.secondsDecimalDigits :\n\t\t\t1;\n\n\tif (secondsDecimalDigits < 1) {\n\t\tconst difference = 1000 - (milliseconds % 1000);\n\t\tif (difference < 500) {\n\t\t\tmilliseconds += difference;\n\t\t}\n\t}\n\n\t// Round up milliseconds for values lager than 1 minute - 50ms since these\n\t// always need to be round up. This fixes issues when rounding seconds\n\t// independently of minutes later on.\n\tif (\n\t\tmilliseconds >= (1000 * 60) - 50 &&\n\t\t!options.separateMilliseconds &&\n\t\t!options.formatSubMilliseconds\n\t) {\n\t\tconst difference = 60 - (milliseconds % 60);\n\t\tif (difference <= 50) {\n\t\t\tmilliseconds += difference;\n\t\t}\n\t}\n\n\tconst parsed = parseMilliseconds(milliseconds);\n\n\tadd(Math.trunc(parsed.days / 365), 'year', 'y');\n\tadd(parsed.days % 365, 'day', 'd');\n\tadd(parsed.hours, 'hour', 'h');\n\tadd(parsed.minutes, 'minute', 'm');\n\n\tif (\n\t\toptions.separateMilliseconds ||\n\t\toptions.formatSubMilliseconds ||\n\t\tmilliseconds < 1000\n\t) {\n\t\tadd(parsed.seconds, 'second', 's');\n\t\tif (options.formatSubMilliseconds) {\n\t\t\tadd(parsed.milliseconds, 'millisecond', 'ms');\n\t\t\tadd(parsed.microseconds, 'microsecond', 'µs');\n\t\t\tadd(parsed.nanoseconds, 'nanosecond', 'ns');\n\t\t} else {\n\t\t\tconst millisecondsAndBelow =\n\t\t\t\tparsed.milliseconds +\n\t\t\t\t(parsed.microseconds / 1000) +\n\t\t\t\t(parsed.nanoseconds / 1e6);\n\n\t\t\tconst millisecondsDecimalDigits =\n\t\t\t\ttypeof options.millisecondsDecimalDigits === 'number' ?\n\t\t\t\t\toptions.millisecondsDecimalDigits :\n\t\t\t\t\t0;\n\n\t\t\tconst roundedMiliseconds = millisecondsAndBelow >= 1 ?\n\t\t\t\tMath.round(millisecondsAndBelow) :\n\t\t\t\tMath.ceil(millisecondsAndBelow);\n\n\t\t\tconst millisecondsString = millisecondsDecimalDigits ?\n\t\t\t\tmillisecondsAndBelow.toFixed(millisecondsDecimalDigits) :\n\t\t\t\troundedMiliseconds;\n\n\t\t\tadd(\n\t\t\t\tparseFloat(millisecondsString, 10),\n\t\t\t\t'millisecond',\n\t\t\t\t'ms',\n\t\t\t\tmillisecondsString\n\t\t\t);\n\t\t}\n\t} else {\n\t\tconst seconds = (milliseconds / 1000) % 60;\n\t\tconst secondsDecimalDigits =\n\t\t\ttypeof options.secondsDecimalDigits === 'number' ?\n\t\t\t\toptions.secondsDecimalDigits :\n\t\t\t\t1;\n\t\tconst secondsFixed = seconds.toFixed(secondsDecimalDigits);\n\t\tconst secondsString = options.keepDecimalsOnWholeSeconds ?\n\t\t\tsecondsFixed :\n\t\t\tsecondsFixed.replace(/\\.0+$/, '');\n\t\tadd(parseFloat(secondsString, 10), 'second', 's', secondsString);\n\t}\n\n\tif (result.length === 0) {\n\t\treturn '0' + (options.verbose ? ' milliseconds' : 'ms');\n\t}\n\n\tif (options.compact) {\n\t\treturn result[0];\n\t}\n\n\tif (typeof options.unitCount === 'number') {\n\t\tconst separator = options.colonNotation ? '' : ' ';\n\t\treturn result.slice(0, Math.max(options.unitCount, 1)).join(separator);\n\t}\n\n\treturn options.colonNotation ? result.join('') : result.join(' ');\n};\n","'use strict';\nconst {google} = require('googleapis');\nconst pify = require('pify');\nconst output = require('./lib/output');\nconst {getOptions} = require('./lib/options-handler');\nconst {pagespeedapi} = google.pagespeedonline('v5');\n\nconst runpagespeed = pify(pagespeedapi.runpagespeed).bind(pagespeedapi);\n\nconst psi = (url, options) => Promise.resolve().then(() => {\n if (!url) {\n throw new Error('URL required');\n }\n\n return runpagespeed(getOptions(url, options));\n});\n\nmodule.exports = psi;\n\nmodule.exports.output = (url, options) => psi(url, options).then(data => output(getOptions(url, options), data.data));\n","'use strict';\n\nconst chalk = require('chalk');\nconst utils = require('../utils');\n\nconst renderSection = item => utils.labelize(item.label) + chalk.cyan(item.value);\nconst setTitle = sectionName => (chalk.gray.underline(sectionName) + '\\n');\nconst renderInfo = str => (chalk.white(str) + '\\n');\n\nconst renderOverview = item => {\n const color = (item.label === 'Performance') ? utils.scoreColor(item.value) : chalk.cyan;\n return item.label + ':' + utils.buffer(item.label, 14) + color(item.value);\n};\n\nconst getDataOutput = (data, msg = 'No info provided') => data.length > 0 ?\n data.map(renderSection).join('\\n') :\n renderInfo(msg);\n\nmodule.exports = (overview, statistics, ruleSetResults, opportunities) => {\n return [\n utils.divider,\n setTitle('Summary'),\n overview.map(renderOverview).join('\\n') + '\\n',\n setTitle('Field Data'),\n getDataOutput(\n statistics,\n 'The Chrome User Experience Report does not have sufficient real-world speed data for this page.'\n ),\n '',\n setTitle('Lab Data'),\n ruleSetResults.map(renderSection).join('\\n'),\n '',\n setTitle('Opportunities'),\n getDataOutput(\n opportunities,\n 'No opportunities provided.'\n ),\n utils.divider\n ].join('\\n');\n};\n","'use strict';\n\nconst zip = section => section.reduce((acc, current) => {\n const {label, value} = current;\n acc[label] = value;\n return acc;\n}, {});\n\nmodule.exports = (overview, statistics, ruleSetResults, opportunities) => {\n return JSON.stringify({\n overview: zip(overview),\n statistics: zip(statistics),\n ruleResults: zip(ruleSetResults),\n opportunities: zip(opportunities)\n }, null, 2);\n};\n","'use strict';\nmodule.exports = (overview, statistics, ruleSetResults, threshold) => {\n const outputTest = (overview, threshold) => {\n const score = overview[2].value;\n const result = score < threshold ? 'not ok' : 'ok';\n return `${result} 1 - psi`;\n };\n\n return [\n 'TAP version 13',\n '1..1',\n outputTest(overview, threshold)\n ].join('\\n');\n};\n","const prependHttp = require('prepend-http');\n\nconst THRESHOLD = 70;\n\nconst getOptions = (url, options) => {\n options = Object.assign({strategy: 'mobile'}, options);\n options.nokey = options.key === undefined;\n options.url = prependHttp(url);\n return options;\n};\n\nconst getThreshold = threshold => (typeof threshold === 'number' && threshold && threshold < 100) ? threshold : THRESHOLD;\n\nconst getReporter = format => ['cli', 'json', 'tap'].includes(format) ? format : 'cli';\n\nmodule.exports = {\n getOptions,\n getThreshold,\n getReporter\n};\n",null,"const getLink = str => {\n const containsLink = str.match(/\\(https?:(.*)\\)/);\n\n return containsLink ? containsLink[0].replace('(', '').replace(')', '') : '';\n};\n\nmodule.exports = {\n getLink\n};\n","'use strict';\nconst chalk = require('chalk');\n\nconst humanizeTitleMap = {\n FIRST_CONTENTFUL_PAINT_MS: 'First Contentful Paint (FCP)',\n FIRST_INPUT_DELAY_MS: 'First Input Delay (FID)',\n CUMULATIVE_LAYOUT_SHIFT_SCORE: 'Cumulative Layout Shift (CLS)',\n LARGEST_CONTENTFUL_PAINT_MS: 'Largest Contentful Paint (LCP)'\n};\n\nexports.divider = '\\n' + chalk.grey('-'.repeat(56)) + '\\n';\n\nexports.buffer = (msg, length) => {\n let ret = '';\n\n if (length === undefined) {\n length = 44;\n }\n\n length = length - msg.length - 1;\n\n if (length > 0) {\n ret = ' '.repeat(length);\n }\n\n return ret;\n};\n\nexports.scoreColor = score => {\n let color = chalk.yellow;\n color = score < 50 ? chalk.red : color;\n color = score > 89 ? chalk.green : color;\n return color;\n};\n\nexports.labelize = str => {\n const label = humanizeTitleMap[str] || str;\n return label + exports.buffer(label) + chalk.grey('| ');\n};\n","'use strict';\n\nconst wrapAnsi16 = (fn, offset) => (...args) => {\n\tconst code = fn(...args);\n\treturn `\\u001B[${code + offset}m`;\n};\n\nconst wrapAnsi256 = (fn, offset) => (...args) => {\n\tconst code = fn(...args);\n\treturn `\\u001B[${38 + offset};5;${code}m`;\n};\n\nconst wrapAnsi16m = (fn, offset) => (...args) => {\n\tconst rgb = fn(...args);\n\treturn `\\u001B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;\n};\n\nconst ansi2ansi = n => n;\nconst rgb2rgb = (r, g, b) => [r, g, b];\n\nconst setLazyProperty = (object, property, get) => {\n\tObject.defineProperty(object, property, {\n\t\tget: () => {\n\t\t\tconst value = get();\n\n\t\t\tObject.defineProperty(object, property, {\n\t\t\t\tvalue,\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true\n\t\t\t});\n\n\t\t\treturn value;\n\t\t},\n\t\tenumerable: true,\n\t\tconfigurable: true\n\t});\n};\n\n/** @type {typeof import('color-convert')} */\nlet colorConvert;\nconst makeDynamicStyles = (wrap, targetSpace, identity, isBackground) => {\n\tif (colorConvert === undefined) {\n\t\tcolorConvert = require('color-convert');\n\t}\n\n\tconst offset = isBackground ? 10 : 0;\n\tconst styles = {};\n\n\tfor (const [sourceSpace, suite] of Object.entries(colorConvert)) {\n\t\tconst name = sourceSpace === 'ansi16' ? 'ansi' : sourceSpace;\n\t\tif (sourceSpace === targetSpace) {\n\t\t\tstyles[name] = wrap(identity, offset);\n\t\t} else if (typeof suite === 'object') {\n\t\t\tstyles[name] = wrap(suite[targetSpace], offset);\n\t\t}\n\t}\n\n\treturn styles;\n};\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\tconst styles = {\n\t\tmodifier: {\n\t\t\treset: [0, 0],\n\t\t\t// 21 isn't widely supported and 22 does the same thing\n\t\t\tbold: [1, 22],\n\t\t\tdim: [2, 22],\n\t\t\titalic: [3, 23],\n\t\t\tunderline: [4, 24],\n\t\t\tinverse: [7, 27],\n\t\t\thidden: [8, 28],\n\t\t\tstrikethrough: [9, 29]\n\t\t},\n\t\tcolor: {\n\t\t\tblack: [30, 39],\n\t\t\tred: [31, 39],\n\t\t\tgreen: [32, 39],\n\t\t\tyellow: [33, 39],\n\t\t\tblue: [34, 39],\n\t\t\tmagenta: [35, 39],\n\t\t\tcyan: [36, 39],\n\t\t\twhite: [37, 39],\n\n\t\t\t// Bright color\n\t\t\tblackBright: [90, 39],\n\t\t\tredBright: [91, 39],\n\t\t\tgreenBright: [92, 39],\n\t\t\tyellowBright: [93, 39],\n\t\t\tblueBright: [94, 39],\n\t\t\tmagentaBright: [95, 39],\n\t\t\tcyanBright: [96, 39],\n\t\t\twhiteBright: [97, 39]\n\t\t},\n\t\tbgColor: {\n\t\t\tbgBlack: [40, 49],\n\t\t\tbgRed: [41, 49],\n\t\t\tbgGreen: [42, 49],\n\t\t\tbgYellow: [43, 49],\n\t\t\tbgBlue: [44, 49],\n\t\t\tbgMagenta: [45, 49],\n\t\t\tbgCyan: [46, 49],\n\t\t\tbgWhite: [47, 49],\n\n\t\t\t// Bright color\n\t\t\tbgBlackBright: [100, 49],\n\t\t\tbgRedBright: [101, 49],\n\t\t\tbgGreenBright: [102, 49],\n\t\t\tbgYellowBright: [103, 49],\n\t\t\tbgBlueBright: [104, 49],\n\t\t\tbgMagentaBright: [105, 49],\n\t\t\tbgCyanBright: [106, 49],\n\t\t\tbgWhiteBright: [107, 49]\n\t\t}\n\t};\n\n\t// Alias bright black as gray (and grey)\n\tstyles.color.gray = styles.color.blackBright;\n\tstyles.bgColor.bgGray = styles.bgColor.bgBlackBright;\n\tstyles.color.grey = styles.color.blackBright;\n\tstyles.bgColor.bgGrey = styles.bgColor.bgBlackBright;\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tsetLazyProperty(styles.color, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, false));\n\tsetLazyProperty(styles.color, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, false));\n\tsetLazyProperty(styles.color, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, false));\n\tsetLazyProperty(styles.bgColor, 'ansi', () => makeDynamicStyles(wrapAnsi16, 'ansi16', ansi2ansi, true));\n\tsetLazyProperty(styles.bgColor, 'ansi256', () => makeDynamicStyles(wrapAnsi256, 'ansi256', ansi2ansi, true));\n\tsetLazyProperty(styles.bgColor, 'ansi16m', () => makeDynamicStyles(wrapAnsi16m, 'rgb', rgb2rgb, true));\n\n\treturn styles;\n}\n\n// Make the export immutable\nObject.defineProperty(module, 'exports', {\n\tenumerable: true,\n\tget: assembleStyles\n});\n","'use strict';\nconst ansiStyles = require('ansi-styles');\nconst {stdout: stdoutColor, stderr: stderrColor} = require('supports-color');\nconst {\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex\n} = require('./util');\n\n// `supportsColor.level` → `ansiStyles.color[name]` mapping\nconst levelMapping = [\n\t'ansi',\n\t'ansi',\n\t'ansi256',\n\t'ansi16m'\n];\n\nconst styles = Object.create(null);\n\nconst applyOptions = (object, options = {}) => {\n\tif (options.level > 3 || options.level < 0) {\n\t\tthrow new Error('The `level` option should be an integer from 0 to 3');\n\t}\n\n\t// Detect level if not set manually\n\tconst colorLevel = stdoutColor ? stdoutColor.level : 0;\n\tobject.level = options.level === undefined ? colorLevel : options.level;\n};\n\nclass ChalkClass {\n\tconstructor(options) {\n\t\treturn chalkFactory(options);\n\t}\n}\n\nconst chalkFactory = options => {\n\tconst chalk = {};\n\tapplyOptions(chalk, options);\n\n\tchalk.template = (...arguments_) => chalkTag(chalk.template, ...arguments_);\n\n\tObject.setPrototypeOf(chalk, Chalk.prototype);\n\tObject.setPrototypeOf(chalk.template, chalk);\n\n\tchalk.template.constructor = () => {\n\t\tthrow new Error('`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.');\n\t};\n\n\tchalk.template.Instance = ChalkClass;\n\n\treturn chalk.template;\n};\n\nfunction Chalk(options) {\n\treturn chalkFactory(options);\n}\n\nfor (const [styleName, style] of Object.entries(ansiStyles)) {\n\tstyles[styleName] = {\n\t\tget() {\n\t\t\tconst builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);\n\t\t\tObject.defineProperty(this, styleName, {value: builder});\n\t\t\treturn builder;\n\t\t}\n\t};\n}\n\nstyles.visible = {\n\tget() {\n\t\tconst builder = createBuilder(this, this._styler, true);\n\t\tObject.defineProperty(this, 'visible', {value: builder});\n\t\treturn builder;\n\t}\n};\n\nconst usedModels = ['rgb', 'hex', 'keyword', 'hsl', 'hsv', 'hwb', 'ansi', 'ansi256'];\n\nfor (const model of usedModels) {\n\tstyles[model] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);\n\t\t\t\treturn createBuilder(this, styler, this._isEmpty);\n\t\t\t};\n\t\t}\n\t};\n}\n\nfor (const model of usedModels) {\n\tconst bgModel = 'bg' + model[0].toUpperCase() + model.slice(1);\n\tstyles[bgModel] = {\n\t\tget() {\n\t\t\tconst {level} = this;\n\t\t\treturn function (...arguments_) {\n\t\t\t\tconst styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);\n\t\t\t\treturn createBuilder(this, styler, this._isEmpty);\n\t\t\t};\n\t\t}\n\t};\n}\n\nconst proto = Object.defineProperties(() => {}, {\n\t...styles,\n\tlevel: {\n\t\tenumerable: true,\n\t\tget() {\n\t\t\treturn this._generator.level;\n\t\t},\n\t\tset(level) {\n\t\t\tthis._generator.level = level;\n\t\t}\n\t}\n});\n\nconst createStyler = (open, close, parent) => {\n\tlet openAll;\n\tlet closeAll;\n\tif (parent === undefined) {\n\t\topenAll = open;\n\t\tcloseAll = close;\n\t} else {\n\t\topenAll = parent.openAll + open;\n\t\tcloseAll = close + parent.closeAll;\n\t}\n\n\treturn {\n\t\topen,\n\t\tclose,\n\t\topenAll,\n\t\tcloseAll,\n\t\tparent\n\t};\n};\n\nconst createBuilder = (self, _styler, _isEmpty) => {\n\tconst builder = (...arguments_) => {\n\t\t// Single argument is hot path, implicit coercion is faster than anything\n\t\t// eslint-disable-next-line no-implicit-coercion\n\t\treturn applyStyle(builder, (arguments_.length === 1) ? ('' + arguments_[0]) : arguments_.join(' '));\n\t};\n\n\t// `__proto__` is used because we must return a function, but there is\n\t// no way to create a function with a different prototype\n\tbuilder.__proto__ = proto; // eslint-disable-line no-proto\n\n\tbuilder._generator = self;\n\tbuilder._styler = _styler;\n\tbuilder._isEmpty = _isEmpty;\n\n\treturn builder;\n};\n\nconst applyStyle = (self, string) => {\n\tif (self.level <= 0 || !string) {\n\t\treturn self._isEmpty ? '' : string;\n\t}\n\n\tlet styler = self._styler;\n\n\tif (styler === undefined) {\n\t\treturn string;\n\t}\n\n\tconst {openAll, closeAll} = styler;\n\tif (string.indexOf('\\u001B') !== -1) {\n\t\twhile (styler !== undefined) {\n\t\t\t// Replace any instances already present with a re-opening code\n\t\t\t// otherwise only the part of the string until said closing code\n\t\t\t// will be colored, and the rest will simply be 'plain'.\n\t\t\tstring = stringReplaceAll(string, styler.close, styler.open);\n\n\t\t\tstyler = styler.parent;\n\t\t}\n\t}\n\n\t// We can move both next actions out of loop, because remaining actions in loop won't have\n\t// any/visible effect on parts we add here. Close the styling before a linebreak and reopen\n\t// after next line to fix a bleed issue on macOS: https://github.com/chalk/chalk/pull/92\n\tconst lfIndex = string.indexOf('\\n');\n\tif (lfIndex !== -1) {\n\t\tstring = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);\n\t}\n\n\treturn openAll + string + closeAll;\n};\n\nlet template;\nconst chalkTag = (chalk, ...strings) => {\n\tconst [firstString] = strings;\n\n\tif (!Array.isArray(firstString)) {\n\t\t// If chalk() was called by itself or with a string,\n\t\t// return the string itself as a string.\n\t\treturn strings.join(' ');\n\t}\n\n\tconst arguments_ = strings.slice(1);\n\tconst parts = [firstString.raw[0]];\n\n\tfor (let i = 1; i < firstString.length; i++) {\n\t\tparts.push(\n\t\t\tString(arguments_[i - 1]).replace(/[{}\\\\]/g, '\\\\$&'),\n\t\t\tString(firstString.raw[i])\n\t\t);\n\t}\n\n\tif (template === undefined) {\n\t\ttemplate = require('./templates');\n\t}\n\n\treturn template(chalk, parts.join(''));\n};\n\nObject.defineProperties(Chalk.prototype, styles);\n\nconst chalk = Chalk(); // eslint-disable-line new-cap\nchalk.supportsColor = stdoutColor;\nchalk.stderr = Chalk({level: stderrColor ? stderrColor.level : 0}); // eslint-disable-line new-cap\nchalk.stderr.supportsColor = stderrColor;\n\n// For TypeScript\nchalk.Level = {\n\tNone: 0,\n\tBasic: 1,\n\tAnsi256: 2,\n\tTrueColor: 3,\n\t0: 'None',\n\t1: 'Basic',\n\t2: 'Ansi256',\n\t3: 'TrueColor'\n};\n\nmodule.exports = chalk;\n","'use strict';\nconst TEMPLATE_REGEX = /(?:\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.))|(?:\\{(~)?(\\w+(?:\\([^)]*\\))?(?:\\.\\w+(?:\\([^)]*\\))?)*)(?:[ \\t]|(?=\\r?\\n)))|(\\})|((?:.|[\\r\\n\\f])+?)/gi;\nconst STYLE_REGEX = /(?:^|\\.)(\\w+)(?:\\(([^)]*)\\))?/g;\nconst STRING_REGEX = /^(['\"])((?:\\\\.|(?!\\1)[^\\\\])*)\\1$/;\nconst ESCAPE_REGEX = /\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.)|([^\\\\])/gi;\n\nconst ESCAPES = new Map([\n\t['n', '\\n'],\n\t['r', '\\r'],\n\t['t', '\\t'],\n\t['b', '\\b'],\n\t['f', '\\f'],\n\t['v', '\\v'],\n\t['0', '\\0'],\n\t['\\\\', '\\\\'],\n\t['e', '\\u001B'],\n\t['a', '\\u0007']\n]);\n\nfunction unescape(c) {\n\tconst u = c[0] === 'u';\n\tconst bracket = c[1] === '{';\n\n\tif ((u && !bracket && c.length === 5) || (c[0] === 'x' && c.length === 3)) {\n\t\treturn String.fromCharCode(parseInt(c.slice(1), 16));\n\t}\n\n\tif (u && bracket) {\n\t\treturn String.fromCodePoint(parseInt(c.slice(2, -1), 16));\n\t}\n\n\treturn ESCAPES.get(c) || c;\n}\n\nfunction parseArguments(name, arguments_) {\n\tconst results = [];\n\tconst chunks = arguments_.trim().split(/\\s*,\\s*/g);\n\tlet matches;\n\n\tfor (const chunk of chunks) {\n\t\tconst number = Number(chunk);\n\t\tif (!Number.isNaN(number)) {\n\t\t\tresults.push(number);\n\t\t} else if ((matches = chunk.match(STRING_REGEX))) {\n\t\t\tresults.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ? unescape(escape) : character));\n\t\t} else {\n\t\t\tthrow new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);\n\t\t}\n\t}\n\n\treturn results;\n}\n\nfunction parseStyle(style) {\n\tSTYLE_REGEX.lastIndex = 0;\n\n\tconst results = [];\n\tlet matches;\n\n\twhile ((matches = STYLE_REGEX.exec(style)) !== null) {\n\t\tconst name = matches[1];\n\n\t\tif (matches[2]) {\n\t\t\tconst args = parseArguments(name, matches[2]);\n\t\t\tresults.push([name].concat(args));\n\t\t} else {\n\t\t\tresults.push([name]);\n\t\t}\n\t}\n\n\treturn results;\n}\n\nfunction buildStyle(chalk, styles) {\n\tconst enabled = {};\n\n\tfor (const layer of styles) {\n\t\tfor (const style of layer.styles) {\n\t\t\tenabled[style[0]] = layer.inverse ? null : style.slice(1);\n\t\t}\n\t}\n\n\tlet current = chalk;\n\tfor (const [styleName, styles] of Object.entries(enabled)) {\n\t\tif (!Array.isArray(styles)) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tif (!(styleName in current)) {\n\t\t\tthrow new Error(`Unknown Chalk style: ${styleName}`);\n\t\t}\n\n\t\tcurrent = styles.length > 0 ? current[styleName](...styles) : current[styleName];\n\t}\n\n\treturn current;\n}\n\nmodule.exports = (chalk, temporary) => {\n\tconst styles = [];\n\tconst chunks = [];\n\tlet chunk = [];\n\n\t// eslint-disable-next-line max-params\n\ttemporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {\n\t\tif (escapeCharacter) {\n\t\t\tchunk.push(unescape(escapeCharacter));\n\t\t} else if (style) {\n\t\t\tconst string = chunk.join('');\n\t\t\tchunk = [];\n\t\t\tchunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string));\n\t\t\tstyles.push({inverse, styles: parseStyle(style)});\n\t\t} else if (close) {\n\t\t\tif (styles.length === 0) {\n\t\t\t\tthrow new Error('Found extraneous } in Chalk template literal');\n\t\t\t}\n\n\t\t\tchunks.push(buildStyle(chalk, styles)(chunk.join('')));\n\t\t\tchunk = [];\n\t\t\tstyles.pop();\n\t\t} else {\n\t\t\tchunk.push(character);\n\t\t}\n\t});\n\n\tchunks.push(chunk.join(''));\n\n\tif (styles.length > 0) {\n\t\tconst errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? '' : 's'} (\\`}\\`)`;\n\t\tthrow new Error(errMsg);\n\t}\n\n\treturn chunks.join('');\n};\n","'use strict';\n\nconst stringReplaceAll = (string, substring, replacer) => {\n\tlet index = string.indexOf(substring);\n\tif (index === -1) {\n\t\treturn string;\n\t}\n\n\tconst substringLength = substring.length;\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\treturnValue += string.substr(endIndex, index - endIndex) + substring + replacer;\n\t\tendIndex = index + substringLength;\n\t\tindex = string.indexOf(substring, endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.substr(endIndex);\n\treturn returnValue;\n};\n\nconst stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => {\n\tlet endIndex = 0;\n\tlet returnValue = '';\n\tdo {\n\t\tconst gotCR = string[index - 1] === '\\r';\n\t\treturnValue += string.substr(endIndex, (gotCR ? index - 1 : index) - endIndex) + prefix + (gotCR ? '\\r\\n' : '\\n') + postfix;\n\t\tendIndex = index + 1;\n\t\tindex = string.indexOf('\\n', endIndex);\n\t} while (index !== -1);\n\n\treturnValue += string.substr(endIndex);\n\treturn returnValue;\n};\n\nmodule.exports = {\n\tstringReplaceAll,\n\tstringEncaseCRLFWithFirstIndex\n};\n","/* MIT license */\n/* eslint-disable no-mixed-operators */\nconst cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nconst reverseKeywords = {};\nfor (const key of Object.keys(cssKeywords)) {\n\treverseKeywords[cssKeywords[key]] = key;\n}\n\nconst convert = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\nmodule.exports = convert;\n\n// Hide .channels and .labels properties\nfor (const model of Object.keys(convert)) {\n\tif (!('channels' in convert[model])) {\n\t\tthrow new Error('missing channels property: ' + model);\n\t}\n\n\tif (!('labels' in convert[model])) {\n\t\tthrow new Error('missing channel labels property: ' + model);\n\t}\n\n\tif (convert[model].labels.length !== convert[model].channels) {\n\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t}\n\n\tconst {channels, labels} = convert[model];\n\tdelete convert[model].channels;\n\tdelete convert[model].labels;\n\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\tObject.defineProperty(convert[model], 'labels', {value: labels});\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst min = Math.min(r, g, b);\n\tconst max = Math.max(r, g, b);\n\tconst delta = max - min;\n\tlet h;\n\tlet s;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst l = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tlet rdif;\n\tlet gdif;\n\tlet bdif;\n\tlet h;\n\tlet s;\n\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst v = Math.max(r, g, b);\n\tconst diff = v - Math.min(r, g, b);\n\tconst diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = 0;\n\t\ts = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tconst r = rgb[0];\n\tconst g = rgb[1];\n\tlet b = rgb[2];\n\tconst h = convert.rgb.hsl(rgb)[0];\n\tconst w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\n\tconst k = Math.min(1 - r, 1 - g, 1 - b);\n\tconst c = (1 - r - k) / (1 - k) || 0;\n\tconst m = (1 - g - k) / (1 - k) || 0;\n\tconst y = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\nfunction comparativeDistance(x, y) {\n\t/*\n\t\tSee https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n\t*/\n\treturn (\n\t\t((x[0] - y[0]) ** 2) +\n\t\t((x[1] - y[1]) ** 2) +\n\t\t((x[2] - y[2]) ** 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tconst reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tlet currentClosestDistance = Infinity;\n\tlet currentClosestKeyword;\n\n\tfor (const keyword of Object.keys(cssKeywords)) {\n\t\tconst value = cssKeywords[keyword];\n\n\t\t// Compute comparative distance\n\t\tconst distance = comparativeDistance(rgb, value);\n\n\t\t// Check if its less, if so set as closest\n\t\tif (distance < currentClosestDistance) {\n\t\t\tcurrentClosestDistance = distance;\n\t\t\tcurrentClosestKeyword = keyword;\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tlet r = rgb[0] / 255;\n\tlet g = rgb[1] / 255;\n\tlet b = rgb[2] / 255;\n\n\t// Assume sRGB\n\tr = r > 0.04045 ? (((r + 0.055) / 1.055) ** 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? (((g + 0.055) / 1.055) ** 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? (((b + 0.055) / 1.055) ** 2.4) : (b / 12.92);\n\n\tconst x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tconst y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tconst z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tconst xyz = convert.rgb.xyz(rgb);\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tconst h = hsl[0] / 360;\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\tlet t2;\n\tlet t3;\n\tlet val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tconst t1 = 2 * l - t2;\n\n\tconst rgb = [0, 0, 0];\n\tfor (let i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tconst h = hsl[0];\n\tlet s = hsl[1] / 100;\n\tlet l = hsl[2] / 100;\n\tlet smin = s;\n\tconst lmin = Math.max(l, 0.01);\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tconst v = (l + s) / 2;\n\tconst sv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tconst h = hsv[0] / 60;\n\tconst s = hsv[1] / 100;\n\tlet v = hsv[2] / 100;\n\tconst hi = Math.floor(h) % 6;\n\n\tconst f = h - Math.floor(h);\n\tconst p = 255 * v * (1 - s);\n\tconst q = 255 * v * (1 - (s * f));\n\tconst t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tconst h = hsv[0];\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\tconst vmin = Math.max(v, 0.01);\n\tlet sl;\n\tlet l;\n\n\tl = (2 - s) * v;\n\tconst lmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tconst h = hwb[0] / 360;\n\tlet wh = hwb[1] / 100;\n\tlet bl = hwb[2] / 100;\n\tconst ratio = wh + bl;\n\tlet f;\n\n\t// Wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\tconst i = Math.floor(6 * h);\n\tconst v = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tconst n = wh + f * (v - wh); // Linear interpolation\n\n\tlet r;\n\tlet g;\n\tlet b;\n\t/* eslint-disable max-statements-per-line,no-multi-spaces */\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\t/* eslint-enable max-statements-per-line,no-multi-spaces */\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tconst c = cmyk[0] / 100;\n\tconst m = cmyk[1] / 100;\n\tconst y = cmyk[2] / 100;\n\tconst k = cmyk[3] / 100;\n\n\tconst r = 1 - Math.min(1, c * (1 - k) + k);\n\tconst g = 1 - Math.min(1, m * (1 - k) + k);\n\tconst b = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tconst x = xyz[0] / 100;\n\tconst y = xyz[1] / 100;\n\tconst z = xyz[2] / 100;\n\tlet r;\n\tlet g;\n\tlet b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// Assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * (r ** (1.0 / 2.4))) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * (g ** (1.0 / 2.4))) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * (b ** (1.0 / 2.4))) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tlet x = xyz[0];\n\tlet y = xyz[1];\n\tlet z = xyz[2];\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? (x ** (1 / 3)) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? (y ** (1 / 3)) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? (z ** (1 / 3)) : (7.787 * z) + (16 / 116);\n\n\tconst l = (116 * y) - 16;\n\tconst a = 500 * (x - y);\n\tconst b = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet x;\n\tlet y;\n\tlet z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tconst y2 = y ** 3;\n\tconst x2 = x ** 3;\n\tconst z2 = z ** 3;\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tconst l = lab[0];\n\tconst a = lab[1];\n\tconst b = lab[2];\n\tlet h;\n\n\tconst hr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tconst c = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tconst l = lch[0];\n\tconst c = lch[1];\n\tconst h = lch[2];\n\n\tconst hr = h / 360 * 2 * Math.PI;\n\tconst a = c * Math.cos(hr);\n\tconst b = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args, saturation = null) {\n\tconst [r, g, b] = args;\n\tlet value = saturation === null ? convert.rgb.hsv(args)[2] : saturation; // Hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tlet ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// Optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tconst r = args[0];\n\tconst g = args[1];\n\tconst b = args[2];\n\n\t// We use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tconst ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tlet color = args % 10;\n\n\t// Handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tconst mult = (~~(args > 50) + 1) * 0.5;\n\tconst r = ((color & 1) * mult) * 255;\n\tconst g = (((color >> 1) & 1) * mult) * 255;\n\tconst b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// Handle greyscale\n\tif (args >= 232) {\n\t\tconst c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tlet rem;\n\tconst r = Math.floor(args / 36) / 5 * 255;\n\tconst g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tconst b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tconst integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tconst match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tlet colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(char => {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tconst integer = parseInt(colorString, 16);\n\tconst r = (integer >> 16) & 0xFF;\n\tconst g = (integer >> 8) & 0xFF;\n\tconst b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tconst r = rgb[0] / 255;\n\tconst g = rgb[1] / 255;\n\tconst b = rgb[2] / 255;\n\tconst max = Math.max(Math.max(r, g), b);\n\tconst min = Math.min(Math.min(r, g), b);\n\tconst chroma = (max - min);\n\tlet grayscale;\n\tlet hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tconst s = hsl[1] / 100;\n\tconst l = hsl[2] / 100;\n\n\tconst c = l < 0.5 ? (2.0 * s * l) : (2.0 * s * (1.0 - l));\n\n\tlet f = 0;\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tconst s = hsv[1] / 100;\n\tconst v = hsv[2] / 100;\n\n\tconst c = s * v;\n\tlet f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tconst h = hcg[0] / 360;\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tconst pure = [0, 0, 0];\n\tconst hi = (h % 1) * 6;\n\tconst v = hi % 1;\n\tconst w = 1 - v;\n\tlet mg = 0;\n\n\t/* eslint-disable max-statements-per-line */\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\t/* eslint-enable max-statements-per-line */\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst v = c + g * (1.0 - c);\n\tlet f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\n\tconst l = g * (1.0 - c) + 0.5 * c;\n\tlet s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tconst c = hcg[1] / 100;\n\tconst g = hcg[2] / 100;\n\tconst v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tconst w = hwb[1] / 100;\n\tconst b = hwb[2] / 100;\n\tconst v = 1 - b;\n\tconst c = v - w;\n\tlet g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hsv = convert.gray.hsl;\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tconst val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tconst integer = (val << 16) + (val << 8) + val;\n\n\tconst string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tconst val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n","const conversions = require('./conversions');\nconst route = require('./route');\n\nconst convert = {};\n\nconst models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tconst wrappedFn = function (...args) {\n\t\tconst arg0 = args[0];\n\n\t\tif (arg0 === undefined || arg0 === null) {\n\t\t\treturn arg0;\n\t\t}\n\n\t\tif (arg0.length > 1) {\n\t\t\targs = arg0;\n\t\t}\n\n\t\tconst result = fn(args);\n\n\t\t// We're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (let len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// Preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(fromModel => {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tconst routes = route(fromModel);\n\tconst routeModels = Object.keys(routes);\n\n\trouteModels.forEach(toModel => {\n\t\tconst fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n","const conversions = require('./conversions');\n\n/*\n\tThis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tconst graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tconst models = Object.keys(conversions);\n\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tconst graph = buildGraph();\n\tconst queue = [fromModel]; // Unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tconst current = queue.pop();\n\t\tconst adjacents = Object.keys(conversions[current]);\n\n\t\tfor (let len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tconst adjacent = adjacents[i];\n\t\t\tconst node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tconst path = [graph[toModel].parent, toModel];\n\tlet fn = conversions[graph[toModel].parent][toModel];\n\n\tlet cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tconst graph = deriveBFS(fromModel);\n\tconst conversion = {};\n\n\tconst models = Object.keys(graph);\n\tfor (let len = models.length, i = 0; i < len; i++) {\n\t\tconst toModel = models[i];\n\t\tconst node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// No possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n","'use strict'\r\n\r\nmodule.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\r\n","'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n","'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n allowSparse: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = {};\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n if (options.allowSparse === true) {\n return obj;\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar getSideChannel = require('side-channel');\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar split = String.prototype.split;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar sentinel = {};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n sideChannel\n) {\n var obj = object;\n\n var tmpSc = sideChannel;\n var step = 0;\n var findFlag = false;\n while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n // Where object last appeared in the ref tree\n var pos = tmpSc.get(object);\n step += 1;\n if (typeof pos !== 'undefined') {\n if (pos === step) {\n throw new RangeError('Cyclic object value');\n } else {\n findFlag = true; // Break while\n }\n }\n if (typeof tmpSc.get(sentinel) === 'undefined') {\n step = 0;\n }\n }\n\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n if (generateArrayPrefix === 'comma' && encodeValuesOnly) {\n var valuesArray = split.call(String(obj), ',');\n var valuesJoined = '';\n for (var i = 0; i < valuesArray.length; ++i) {\n valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));\n }\n return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];\n }\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix\n : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');\n\n sideChannel.set(object, step);\n var valueSideChannel = getSideChannel();\n valueSideChannel.set(sentinel, sideChannel);\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n commaRoundTrip,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset,\n valueSideChannel\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n }\n var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n var sideChannel = getSideChannel();\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n commaRoundTrip,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset,\n sideChannel\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","/* eslint-disable node/no-deprecated-api */\nvar buffer = require('buffer')\nvar Buffer = buffer.Buffer\n\n// alternative to using Object.keys for old browsers\nfunction copyProps (src, dst) {\n for (var key in src) {\n dst[key] = src[key]\n }\n}\nif (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {\n module.exports = buffer\n} else {\n // Copy properties from require('buffer')\n copyProps(buffer, exports)\n exports.Buffer = SafeBuffer\n}\n\nfunction SafeBuffer (arg, encodingOrOffset, length) {\n return Buffer(arg, encodingOrOffset, length)\n}\n\n// Copy static methods from Buffer\ncopyProps(Buffer, SafeBuffer)\n\nSafeBuffer.from = function (arg, encodingOrOffset, length) {\n if (typeof arg === 'number') {\n throw new TypeError('Argument must not be a number')\n }\n return Buffer(arg, encodingOrOffset, length)\n}\n\nSafeBuffer.alloc = function (size, fill, encoding) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n var buf = Buffer(size)\n if (fill !== undefined) {\n if (typeof encoding === 'string') {\n buf.fill(fill, encoding)\n } else {\n buf.fill(fill)\n }\n } else {\n buf.fill(0)\n }\n return buf\n}\n\nSafeBuffer.allocUnsafe = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return Buffer(size)\n}\n\nSafeBuffer.allocUnsafeSlow = function (size) {\n if (typeof size !== 'number') {\n throw new TypeError('Argument must be a number')\n }\n return buffer.SlowBuffer(size)\n}\n","'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\nvar callBound = require('call-bind/callBound');\nvar inspect = require('object-inspect');\n\nvar $TypeError = GetIntrinsic('%TypeError%');\nvar $WeakMap = GetIntrinsic('%WeakMap%', true);\nvar $Map = GetIntrinsic('%Map%', true);\n\nvar $weakMapGet = callBound('WeakMap.prototype.get', true);\nvar $weakMapSet = callBound('WeakMap.prototype.set', true);\nvar $weakMapHas = callBound('WeakMap.prototype.has', true);\nvar $mapGet = callBound('Map.prototype.get', true);\nvar $mapSet = callBound('Map.prototype.set', true);\nvar $mapHas = callBound('Map.prototype.has', true);\n\n/*\n * This function traverses the list returning the node corresponding to the\n * given key.\n *\n * That node is also moved to the head of the list, so that if it's accessed\n * again we don't need to traverse the whole list. By doing so, all the recently\n * used nodes can be accessed relatively quickly.\n */\nvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\tif (curr.key === key) {\n\t\t\tprev.next = curr.next;\n\t\t\tcurr.next = list.next;\n\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\treturn curr;\n\t\t}\n\t}\n};\n\nvar listGet = function (objects, key) {\n\tvar node = listGetNode(objects, key);\n\treturn node && node.value;\n};\nvar listSet = function (objects, key, value) {\n\tvar node = listGetNode(objects, key);\n\tif (node) {\n\t\tnode.value = value;\n\t} else {\n\t\t// Prepend the new node to the beginning of the list\n\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\tkey: key,\n\t\t\tnext: objects.next,\n\t\t\tvalue: value\n\t\t};\n\t}\n};\nvar listHas = function (objects, key) {\n\treturn !!listGetNode(objects, key);\n};\n\nmodule.exports = function getSideChannel() {\n\tvar $wm;\n\tvar $m;\n\tvar $o;\n\tvar channel = {\n\t\tassert: function (key) {\n\t\t\tif (!channel.has(key)) {\n\t\t\t\tthrow new $TypeError('Side channel does not contain ' + inspect(key));\n\t\t\t}\n\t\t},\n\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\thas: function (key) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif ($wm) {\n\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t}\n\t\t\t} else if ($Map) {\n\t\t\t\tif ($m) {\n\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\tset: function (key, value) {\n\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\tif (!$wm) {\n\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t}\n\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t} else if ($Map) {\n\t\t\t\tif (!$m) {\n\t\t\t\t\t$m = new $Map();\n\t\t\t\t}\n\t\t\t\t$mapSet($m, key, value);\n\t\t\t} else {\n\t\t\t\tif (!$o) {\n\t\t\t\t\t/*\n\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t */\n\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t}\n\t\t\t\tlistSet($o, key, value);\n\t\t\t}\n\t\t}\n\t};\n\treturn channel;\n};\n","'use strict';\nconst dotProp = require('dot-prop');\nconst arrify = require('arrify');\n\nconst dotPropGet = dotProp.get;\n\nmodule.exports = (array, property) => {\n\tif (!Array.isArray(array)) {\n\t\tthrow new TypeError(`Expected type \\`Array\\`, got \\`${typeof array}\\``);\n\t}\n\n\treturn array.slice().sort((a, b) => {\n\t\tlet returnValue = 0;\n\n\t\tarrify(property).some(element => {\n\t\t\tlet isDescending;\n\t\t\tlet x;\n\t\t\tlet y;\n\n\t\t\tif (typeof element === 'function') {\n\t\t\t\tx = element(a);\n\t\t\t\ty = element(b);\n\t\t\t} else if (typeof element === 'string') {\n\t\t\t\tisDescending = element.charAt(0) === '-';\n\t\t\t\telement = isDescending ? element.slice(1) : element;\n\t\t\t\tx = dotPropGet(a, element);\n\t\t\t\ty = dotPropGet(b, element);\n\t\t\t} else {\n\t\t\t\tx = a;\n\t\t\t\ty = b;\n\t\t\t}\n\n\t\t\tif (x === y) {\n\t\t\t\treturnValue = 0;\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tif (y !== 0 && !y) {\n\t\t\t\treturnValue = isDescending ? 1 : -1;\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif (x !== 0 && !x) {\n\t\t\t\treturnValue = isDescending ? -1 : 1;\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif (typeof x === 'string' && typeof y === 'string') {\n\t\t\t\treturnValue = isDescending ? y.localeCompare(x) : x.localeCompare(y);\n\t\t\t\treturn returnValue !== 0;\n\t\t\t}\n\n\t\t\tif (isDescending) {\n\t\t\t\treturnValue = x < y ? 1 : -1;\n\t\t\t} else {\n\t\t\t\treturnValue = x < y ? -1 : 1;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t});\n\n\t\treturn returnValue;\n\t});\n};\n","'use strict';\nconst os = require('os');\nconst hasFlag = require('has-flag');\n\nconst env = process.env;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false')) {\n\tforceColor = false;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = true;\n}\nif ('FORCE_COLOR' in env) {\n\tforceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(stream) {\n\tif (forceColor === false) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (stream && !stream.isTTY && forceColor !== true) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor ? 1 : 0;\n\n\tif (process.platform === 'win32') {\n\t\t// Node.js 7.5.0 is the first version of Node.js to include a patch to\n\t\t// libuv that enables 256 color output on Windows. Anything earlier and it\n\t\t// won't work. However, here we target Node.js 8 at minimum as it is an LTS\n\t\t// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows\n\t\t// release that supports 256 colors. Windows 10 build 14931 is the first release\n\t\t// that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(process.versions.node.split('.')[0]) >= 8 &&\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: getSupportLevel(process.stdout),\n\tstderr: getSupportLevel(process.stderr)\n};\n","'use strict';\nconst supportsColor = require('supports-color');\nconst hasFlag = require('has-flag');\n\nfunction parseVersion(versionString) {\n\tif (/^\\d{3,4}$/.test(versionString)) {\n\t\t// Env var doesn't always use dots. example: 4601 => 46.1.0\n\t\tconst m = /(\\d{1,2})(\\d{2})/.exec(versionString);\n\t\treturn {\n\t\t\tmajor: 0,\n\t\t\tminor: parseInt(m[1], 10),\n\t\t\tpatch: parseInt(m[2], 10)\n\t\t};\n\t}\n\n\tconst versions = (versionString || '').split('.').map(n => parseInt(n, 10));\n\treturn {\n\t\tmajor: versions[0],\n\t\tminor: versions[1],\n\t\tpatch: versions[2]\n\t};\n}\n\nfunction supportsHyperlink(stream) {\n\tconst {env} = process;\n\n\tif ('FORCE_HYPERLINK' in env) {\n\t\treturn !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0);\n\t}\n\n\tif (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) {\n\t\treturn false;\n\t}\n\n\tif (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) {\n\t\treturn true;\n\t}\n\n\t// If they specify no colors, they probably don't want hyperlinks.\n\tif (!supportsColor.supportsColor(stream)) {\n\t\treturn false;\n\t}\n\n\tif (stream && !stream.isTTY) {\n\t\treturn false;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\treturn false;\n\t}\n\n\tif ('NETLIFY' in env) {\n\t\treturn true;\n\t}\n\n\tif ('CI' in env) {\n\t\treturn false;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn false;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseVersion(env.TERM_PROGRAM_VERSION);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\tif (version.major === 3) {\n\t\t\t\t\treturn version.minor >= 1;\n\t\t\t\t}\n\n\t\t\t\treturn version.major > 3;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif ('VTE_VERSION' in env) {\n\t\t// 0.50.0 was supposed to support hyperlinks, but throws a segfault\n\t\tif (env.VTE_VERSION === '0.50.0') {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst version = parseVersion(env.VTE_VERSION);\n\t\treturn version.major > 0 || version.minor >= 50;\n\t}\n\n\treturn false;\n}\n\nmodule.exports = {\n\tsupportsHyperlink,\n\tstdout: supportsHyperlink(process.stdout),\n\tstderr: supportsHyperlink(process.stderr)\n};\n","'use strict';\n\nmodule.exports = (flag, argv = process.argv) => {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n};\n","'use strict';\nconst os = require('os');\nconst tty = require('tty');\nconst hasFlag = require('has-flag');\n\nconst {env} = process;\n\nlet forceColor;\nif (hasFlag('no-color') ||\n\thasFlag('no-colors') ||\n\thasFlag('color=false') ||\n\thasFlag('color=never')) {\n\tforceColor = 0;\n} else if (hasFlag('color') ||\n\thasFlag('colors') ||\n\thasFlag('color=true') ||\n\thasFlag('color=always')) {\n\tforceColor = 1;\n}\n\nif ('FORCE_COLOR' in env) {\n\tif (env.FORCE_COLOR === 'true') {\n\t\tforceColor = 1;\n\t} else if (env.FORCE_COLOR === 'false') {\n\t\tforceColor = 0;\n\t} else {\n\t\tforceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3\n\t};\n}\n\nfunction supportsColor(haveStream, streamIsTTY) {\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (hasFlag('color=16m') ||\n\t\thasFlag('color=full') ||\n\t\thasFlag('color=truecolor')) {\n\t\treturn 3;\n\t}\n\n\tif (hasFlag('color=256')) {\n\t\treturn 2;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10 &&\n\t\t\tNumber(osRelease[2]) >= 10586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app':\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\tcase 'Apple_Terminal':\n\t\t\t\treturn 2;\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nfunction getSupportLevel(stream) {\n\tconst level = supportsColor(stream, stream && stream.isTTY);\n\treturn translateLevel(level);\n}\n\nmodule.exports = {\n\tsupportsColor: getSupportLevel,\n\tstdout: translateLevel(supportsColor(true, tty.isatty(1))),\n\tstderr: translateLevel(supportsColor(true, tty.isatty(2)))\n};\n","'use strict';\nconst ansiEscapes = require('ansi-escapes');\nconst supportsHyperlinks = require('supports-hyperlinks');\n\nconst terminalLink = (text, url, {target = 'stdout', ...options} = {}) => {\n\tif (!supportsHyperlinks[target]) {\n\t\t// If the fallback has been explicitly disabled, don't modify the text itself.\n\t\tif (options.fallback === false) {\n\t\t\treturn text;\n\t\t}\n\n\t\treturn typeof options.fallback === 'function' ? options.fallback(text, url) : `${text} (\\u200B${url}\\u200B)`;\n\t}\n\n\treturn ansiEscapes.link(text, url);\n};\n\nmodule.exports = (text, url, options = {}) => terminalLink(text, url, options);\n\nmodule.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {target: 'stderr', ...options});\n\nmodule.exports.isSupported = supportsHyperlinks.stdout;\nmodule.exports.stderr.isSupported = supportsHyperlinks.stderr;\n","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","(function (root, factory) {\n if (typeof exports === 'object') {\n module.exports = factory();\n } else if (typeof define === 'function' && define.amd) {\n define([], factory);\n } else {\n root.urltemplate = factory();\n }\n}(this, function () {\n /**\n * @constructor\n */\n function UrlTemplate() {\n }\n\n /**\n * @private\n * @param {string} str\n * @return {string}\n */\n UrlTemplate.prototype.encodeReserved = function (str) {\n return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) {\n if (!/%[0-9A-Fa-f]/.test(part)) {\n part = encodeURI(part).replace(/%5B/g, '[').replace(/%5D/g, ']');\n }\n return part;\n }).join('');\n };\n\n /**\n * @private\n * @param {string} str\n * @return {string}\n */\n UrlTemplate.prototype.encodeUnreserved = function (str) {\n return encodeURIComponent(str).replace(/[!'()*]/g, function (c) {\n return '%' + c.charCodeAt(0).toString(16).toUpperCase();\n });\n }\n\n /**\n * @private\n * @param {string} operator\n * @param {string} value\n * @param {string} key\n * @return {string}\n */\n UrlTemplate.prototype.encodeValue = function (operator, value, key) {\n value = (operator === '+' || operator === '#') ? this.encodeReserved(value) : this.encodeUnreserved(value);\n\n if (key) {\n return this.encodeUnreserved(key) + '=' + value;\n } else {\n return value;\n }\n };\n\n /**\n * @private\n * @param {*} value\n * @return {boolean}\n */\n UrlTemplate.prototype.isDefined = function (value) {\n return value !== undefined && value !== null;\n };\n\n /**\n * @private\n * @param {string}\n * @return {boolean}\n */\n UrlTemplate.prototype.isKeyOperator = function (operator) {\n return operator === ';' || operator === '&' || operator === '?';\n };\n\n /**\n * @private\n * @param {Object} context\n * @param {string} operator\n * @param {string} key\n * @param {string} modifier\n */\n UrlTemplate.prototype.getValues = function (context, operator, key, modifier) {\n var value = context[key],\n result = [];\n\n if (this.isDefined(value) && value !== '') {\n if (typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean') {\n value = value.toString();\n\n if (modifier && modifier !== '*') {\n value = value.substring(0, parseInt(modifier, 10));\n }\n\n result.push(this.encodeValue(operator, value, this.isKeyOperator(operator) ? key : null));\n } else {\n if (modifier === '*') {\n if (Array.isArray(value)) {\n value.filter(this.isDefined).forEach(function (value) {\n result.push(this.encodeValue(operator, value, this.isKeyOperator(operator) ? key : null));\n }, this);\n } else {\n Object.keys(value).forEach(function (k) {\n if (this.isDefined(value[k])) {\n result.push(this.encodeValue(operator, value[k], k));\n }\n }, this);\n }\n } else {\n var tmp = [];\n\n if (Array.isArray(value)) {\n value.filter(this.isDefined).forEach(function (value) {\n tmp.push(this.encodeValue(operator, value));\n }, this);\n } else {\n Object.keys(value).forEach(function (k) {\n if (this.isDefined(value[k])) {\n tmp.push(this.encodeUnreserved(k));\n tmp.push(this.encodeValue(operator, value[k].toString()));\n }\n }, this);\n }\n\n if (this.isKeyOperator(operator)) {\n result.push(this.encodeUnreserved(key) + '=' + tmp.join(','));\n } else if (tmp.length !== 0) {\n result.push(tmp.join(','));\n }\n }\n }\n } else {\n if (operator === ';') {\n if (this.isDefined(value)) {\n result.push(this.encodeUnreserved(key));\n }\n } else if (value === '' && (operator === '&' || operator === '?')) {\n result.push(this.encodeUnreserved(key) + '=');\n } else if (value === '') {\n result.push('');\n }\n }\n return result;\n };\n\n /**\n * @param {string} template\n * @return {function(Object):string}\n */\n UrlTemplate.prototype.parse = function (template) {\n var that = this;\n var operators = ['+', '#', '.', '/', ';', '?', '&'];\n\n return {\n expand: function (context) {\n return template.replace(/\\{([^\\{\\}]+)\\}|([^\\{\\}]+)/g, function (_, expression, literal) {\n if (expression) {\n var operator = null,\n values = [];\n\n if (operators.indexOf(expression.charAt(0)) !== -1) {\n operator = expression.charAt(0);\n expression = expression.substr(1);\n }\n\n expression.split(/,/g).forEach(function (variable) {\n var tmp = /([^:\\*]*)(?::(\\d+)|(\\*))?/.exec(variable);\n values.push.apply(values, that.getValues(context, operator, tmp[1], tmp[2] || tmp[3]));\n });\n\n if (operator && operator !== '+') {\n var separator = ',';\n\n if (operator === '?') {\n separator = '&';\n } else if (operator !== '#') {\n separator = operator;\n }\n return (values.length !== 0 ? operator : '') + values.join(separator);\n } else {\n return values.join(',');\n }\n } else {\n return that.encodeReserved(literal);\n }\n });\n }\n };\n };\n\n return new UrlTemplate();\n}));\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.default)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\nexports.URL = exports.DNS = void 0;\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction _default(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nvar _default = version;\nexports.default = _default;",null,"module.exports = require(\"assert\");","module.exports = require(\"buffer\");","module.exports = require(\"child_process\");","module.exports = require(\"crypto\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"punycode\");","module.exports = require(\"querystring\");","module.exports = require(\"stream\");","module.exports = require(\"tls\");","module.exports = require(\"tty\");","module.exports = require(\"url\");","module.exports = require(\"util\");","module.exports = require(\"zlib\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(3109);\n",""],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/dist/licenses.txt b/dist/licenses.txt index e36f87a..a6b4a60 100644 --- a/dist/licenses.txt +++ b/dist/licenses.txt @@ -35,6 +35,2841 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +@vercel/ncc +MIT +Copyright 2018 ZEIT, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +agent-base +MIT + +ansi-escapes +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +ansi-styles +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +arrify +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +base64-js +MIT +The MIT License (MIT) + +Copyright (c) 2014 Jameson Little + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +bignumber.js +MIT +The MIT License (MIT) +===================== + +Copyright © `<2022>` `Michael Mclaughlin` + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the “Software”), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + + +buffer-equal-constant-time +BSD-3-Clause +Copyright (c) 2013, GoInstant Inc., a salesforce.com company +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +* Neither the name of salesforce.com, nor GoInstant, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +call-bind +MIT +MIT License + +Copyright (c) 2020 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +chalk +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +color-convert +MIT +Copyright (c) 2011-2016 Heather Arthur + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +color-name +MIT +The MIT License (MIT) +Copyright (c) 2015 Dmitry Ivanov + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +debug +MIT +(The MIT License) + +Copyright (c) 2014-2017 TJ Holowaychuk +Copyright (c) 2018-2021 Josh Junon + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +dot-prop +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +ecdsa-sig-formatter +Apache-2.0 +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2015 D2L Corporation + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +extend +MIT +The MIT License (MIT) + +Copyright (c) 2014 Stefan Thomas + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +fast-text-encoding +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +function-bind +MIT +Copyright (c) 2013 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + + +gaxios +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +gcp-metadata +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +get-intrinsic +MIT +MIT License + +Copyright (c) 2020 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +google-auth-library +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +google-p12-pem +MIT +The MIT License (MIT) + +Copyright (c) 2014 Ryan Seys + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +googleapis +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +googleapis-common +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +gtoken +MIT +The MIT License (MIT) + +Copyright (c) 2014 Ryan Seys + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +has +MIT +Copyright (c) 2013 Thiago de Arruda + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +has-flag +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +has-symbols +MIT +MIT License + +Copyright (c) 2016 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +https-proxy-agent +MIT + +humanize-url +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +is-obj +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +is-stream +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +json-bigint +MIT +The MIT License (MIT) + +Copyright (c) 2013 Andrey Sidorov + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +jwa +MIT +Copyright (c) 2013 Brian J. Brennan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +jws +MIT +Copyright (c) 2013 Brian J. Brennan + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the +Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, +INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE +FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +lru-cache +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +mime +MIT +The MIT License (MIT) + +Copyright (c) 2010 Benjamin Thomas, Robert Kieffer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +ms +MIT +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +node-fetch +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Frank + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +node-forge +(BSD-3-Clause OR GPL-2.0) +You may use the Forge project under the terms of either the BSD License or the +GNU General Public License (GPL) Version 2. + +The BSD License is recommended for most projects. It is simple and easy to +understand and it places almost no restrictions on what you can do with the +Forge project. + +If the GPL suits your project better you are also free to use Forge under +that license. + +You don't have to do anything special to choose one license or the other and +you don't have to notify anyone which license you are using. You are free to +use this project in commercial projects as long as the copyright header is +left intact. + +If you are a commercial entity and use this set of libraries in your +commercial software then reasonable payment to Digital Bazaar, if you can +afford it, is not required but is expected and would be appreciated. If this +library saves you time, then it's saving you money. The cost of developing +the Forge software was on the order of several hundred hours and tens of +thousands of dollars. We are attempting to strike a balance between helping +the development community while not being taken advantage of by lucrative +commercial entities for our efforts. + +------------------------------------------------------------------------------- +New BSD License (3-clause) +Copyright (c) 2010, Digital Bazaar, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Digital Bazaar, Inc. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL DIGITAL BAZAAR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------- + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + + +normalize-url +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +object-inspect +MIT +MIT License + +Copyright (c) 2013 James Halliday + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +parse-ms +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +pify +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +prepend-http +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +pretty-ms +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +psi +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright 2014 Google Inc + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +qs +BSD-3-Clause +BSD 3-Clause License + +Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors) +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +safe-buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +side-channel +MIT +MIT License + +Copyright (c) 2019 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +sort-on +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +supports-color +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +supports-hyperlinks +MIT +MIT License + +Copyright (c) James Talmage (github.com/jamestalmage) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +terminal-link +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +tr46 +MIT + tunnel MIT The MIT License (MIT) @@ -60,6 +2895,35 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +url-template +BSD +Copyright (c) 2012-2014, Bram Stein +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY +OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + uuid MIT The MIT License (MIT) @@ -71,3 +2935,63 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +webidl-conversions +BSD-2-Clause +# The BSD 2-Clause License + +Copyright (c) 2014, Domenic Denicola +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +whatwg-url +MIT +The MIT License (MIT) + +Copyright (c) 2015–2016 Sebastian Mayr + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +yallist +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/package-lock.json b/package-lock.json index d311a3c..b0047ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,20 @@ { - "name": "typescript-action", + "name": "psi-action", "version": "0.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "name": "typescript-action", + "name": "psi-action", "version": "0.0.0", "license": "MIT", "dependencies": { - "@actions/core": "^1.10.0" + "@actions/core": "^1.10.0", + "psi": "^4.1.0" }, "devDependencies": { "@types/node": "^16.18.10", + "@types/psi": "^4.1.2", "@typescript-eslint/parser": "^5.46.0", "@vercel/ncc": "^0.36.0", "eslint": "^8.29.0", @@ -42,6 +44,17 @@ "tunnel": "^0.0.6" } }, + "node_modules/@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dependencies": { + "@babel/highlight": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/compat-data": { "version": "7.15.0", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", @@ -81,18 +94,6 @@ "url": "https://opencollective.com/babel" } }, - "node_modules/@babel/core/node_modules/@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/core/node_modules/source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -224,15 +225,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/helper-module-transforms/node_modules/@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-optimise-call-expression": { "version": "7.15.4", "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", @@ -294,10 +286,9 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", - "dev": true, + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", "engines": { "node": ">=6.9.0" } @@ -326,12 +317,11 @@ } }, "node_modules/@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "dependencies": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" }, @@ -552,18 +542,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/template/node_modules/@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/traverse": { "version": "7.15.4", "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", @@ -584,18 +562,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/traverse/node_modules/@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/types": { "version": "7.15.6", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", @@ -609,15 +575,6 @@ "node": ">=6.9.0" } }, - "node_modules/@babel/types/node_modules/@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@bcoe/v8-coverage": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", @@ -1452,6 +1409,14 @@ "node": ">= 8" } }, + "node_modules/@sindresorhus/is": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==", + "engines": { + "node": ">=6" + } + }, "node_modules/@sinonjs/commons": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", @@ -1470,6 +1435,17 @@ "@sinonjs/commons": "^1.7.0" } }, + "node_modules/@szmarczak/http-timer": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "dependencies": { + "defer-to-connect": "^1.0.1" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -1565,18 +1541,34 @@ "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", "dev": true }, + "node_modules/@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" + }, "node_modules/@types/node": { "version": "16.18.10", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.10.tgz", "integrity": "sha512-XU1+v7h81p7145ddPfjv7jtWvkSilpcnON3mQ+bDi9Yuf7OI56efOglXRyXWgQ57xH3fEQgh7WOJMncRHVew5w==", "dev": true }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + }, "node_modules/@types/prettier": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.1.tgz", "integrity": "sha512-Fo79ojj3vdEZOHg3wR9ksAMRz4P3S5fDB5e/YWZiFnyFQI1WY2Vftu9XoXVVtJfxB7Bpce/QTqWSSntkz2Znrw==", "dev": true }, + "node_modules/@types/psi": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@types/psi/-/psi-4.1.2.tgz", + "integrity": "sha512-opxHl2Unr2Kqyh0YtjC/mZr8u2n9t1ScFLkFYKfPqoE//JDizg8ULjg9zhTy3V6SyIwUvpCWslBKWlFVf3ftKA==", + "dev": true + }, "node_modules/@types/semver": { "version": "7.3.13", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", @@ -1873,6 +1865,17 @@ "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", "dev": true }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, "node_modules/acorn": { "version": "7.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", @@ -1917,7 +1920,6 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, "dependencies": { "debug": "4" }, @@ -1941,11 +1943,18 @@ "url": "https://github.com/sponsors/epoberezkin" } }, + "node_modules/ansi-align": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "dependencies": { + "string-width": "^4.1.0" + } + }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, "dependencies": { "type-fest": "^0.21.3" }, @@ -1960,7 +1969,6 @@ "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, "engines": { "node": ">=10" }, @@ -1972,7 +1980,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, "engines": { "node": ">=8" } @@ -1981,7 +1988,6 @@ "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "dependencies": { "color-convert": "^1.9.0" }, @@ -2066,6 +2072,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "engines": { + "node": ">=8" + } + }, "node_modules/ast-types-flow": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", @@ -2261,6 +2275,123 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/bignumber.js": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==", + "engines": { + "node": "*" + } + }, + "node_modules/boxen": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", + "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", + "dependencies": { + "ansi-align": "^3.0.0", + "camelcase": "^5.3.1", + "chalk": "^3.0.0", + "cli-boxes": "^2.2.0", + "string-width": "^4.1.0", + "term-size": "^2.1.0", + "type-fest": "^0.8.1", + "widest-line": "^3.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/boxen/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/boxen/node_modules/chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/boxen/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/boxen/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/boxen/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/boxen/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/boxen/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "engines": { + "node": ">=8" + } + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -2338,17 +2469,60 @@ "node-int64": "^0.4.0" } }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, "node_modules/buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, + "node_modules/cacheable-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "dependencies": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cacheable-request/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cacheable-request/node_modules/lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", + "engines": { + "node": ">=8" + } + }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, "dependencies": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -2370,11 +2544,26 @@ "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, "engines": { "node": ">=6" } }, + "node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/caniuse-lite": { "version": "1.0.30001439", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001439.tgz", @@ -2395,7 +2584,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -2426,6 +2614,17 @@ "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", "dev": true }, + "node_modules/cli-boxes": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -2437,6 +2636,17 @@ "wrap-ansi": "^7.0.0" } }, + "node_modules/clone-response": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz", + "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==", + "dependencies": { + "mimic-response": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -2457,7 +2667,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "dependencies": { "color-name": "1.1.3" } @@ -2465,8 +2674,7 @@ "node_modules/color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "node_modules/combined-stream": { "version": "1.0.8", @@ -2486,6 +2694,22 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "node_modules/configstore": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "dependencies": { + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/convert-source-map": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", @@ -2520,6 +2744,14 @@ "node": ">= 8" } }, + "node_modules/crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "engines": { + "node": ">=8" + } + }, "node_modules/cssom": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", @@ -2568,7 +2800,6 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -2581,22 +2812,72 @@ } } }, - "node_modules/decimal.js": { - "version": "10.3.1", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", - "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", - "dev": true - }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", - "dev": true + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "node_modules/decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decimal.js": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", + "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", + "dev": true + }, + "node_modules/decompress-response": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", + "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", + "dependencies": { + "mimic-response": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "node_modules/deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", "dev": true }, "node_modules/deepmerge": { @@ -2608,6 +2889,11 @@ "node": ">=0.10.0" } }, + "node_modules/defer-to-connect": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + }, "node_modules/define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", @@ -2696,6 +2982,30 @@ "node": ">=8" } }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/duplexer3": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz", + "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==" + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, "node_modules/electron-to-chromium": { "version": "1.4.284", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", @@ -2717,8 +3027,23 @@ "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dependencies": { + "is-arrayish": "^0.2.1" + } }, "node_modules/es-abstract": { "version": "1.20.5", @@ -2785,11 +3110,18 @@ "node": ">=6" } }, + "node_modules/escape-goat": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", + "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==", + "engines": { + "node": ">=8" + } + }, "node_modules/escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true, "engines": { "node": ">=0.8.0" } @@ -3512,6 +3844,14 @@ "node": ">=0.10.0" } }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, "node_modules/execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -3573,6 +3913,11 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -3625,6 +3970,11 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "node_modules/fast-text-encoding": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz", + "integrity": "sha512-VhXlQgj9ioXCqGstD37E/HBeqEGV/qOD/kmbVG8h5xKBYvM1L3lR1Zn4555cQ8GkYbJa8aJSipLPndE1k6zK2w==" + }, "node_modules/fastq": { "version": "1.14.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.14.0.tgz", @@ -3735,8 +4085,7 @@ "node_modules/function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "node_modules/function.prototype.name": { "version": "1.1.5", @@ -3765,6 +4114,33 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/gaxios": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", + "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", + "dependencies": { + "abort-controller": "^3.0.0", + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.3.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/gcp-metadata": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", + "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", + "dependencies": { + "gaxios": "^2.1.0", + "json-bigint": "^0.3.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, "node_modules/gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -3787,7 +4163,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", - "dev": true, "dependencies": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -3866,6 +4241,20 @@ "node": ">=10.13.0" } }, + "node_modules/global-dirs": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz", + "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==", + "dependencies": { + "ini": "1.3.7" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -3895,6 +4284,88 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/google-auth-library": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", + "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", + "dependencies": { + "arrify": "^2.0.0", + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "fast-text-encoding": "^1.0.0", + "gaxios": "^2.1.0", + "gcp-metadata": "^3.4.0", + "gtoken": "^4.1.0", + "jws": "^4.0.0", + "lru-cache": "^5.0.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/google-auth-library/node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/google-auth-library/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + }, + "node_modules/google-p12-pem": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", + "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", + "dependencies": { + "node-forge": "^0.10.0" + }, + "bin": { + "gp12-pem": "build/src/bin/gp12-pem.js" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/googleapis": { + "version": "47.0.0", + "resolved": "https://registry.npmjs.org/googleapis/-/googleapis-47.0.0.tgz", + "integrity": "sha512-+Fnjgcc3Na/rk57dwxqW1V0HJXJFjnt3aqFlckULqAqsPkmex/AyJJe6MSlXHC37ZmlXEb9ZtPGUp5ZzRDXpHg==", + "dependencies": { + "google-auth-library": "^5.6.1", + "googleapis-common": "^3.2.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/googleapis-common": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/googleapis-common/-/googleapis-common-3.2.2.tgz", + "integrity": "sha512-sTEXlauVce4eMX0S6hVoiWgxVzQZ7dc16KcGF7eh+A+uIyDgXqnuwOMZw+svX4gOJv6w4ACecm23Qh9UDaldsw==", + "dependencies": { + "extend": "^3.0.2", + "gaxios": "^2.0.1", + "google-auth-library": "^5.6.1", + "qs": "^6.7.0", + "url-template": "^2.0.8", + "uuid": "^7.0.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/googleapis-common/node_modules/uuid": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz", + "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -3907,11 +4378,42 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/got": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "dependencies": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/got/node_modules/get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/graceful-fs": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "dev": true + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" }, "node_modules/grapheme-splitter": { "version": "1.0.4", @@ -3919,11 +4421,32 @@ "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", "dev": true }, + "node_modules/gtoken": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.1.4.tgz", + "integrity": "sha512-VxirzD0SWoFUo5p8RDP8Jt2AGyOmyYcT/pOUgDKJCK+iSw0TMqwrVfY37RXTNmoKwrzmDHSk0GMT9FsgVmnVSA==", + "dependencies": { + "gaxios": "^2.1.0", + "google-p12-pem": "^2.0.0", + "jws": "^4.0.0", + "mime": "^2.2.0" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "engines": { + "node": ">=6" + } + }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "dependencies": { "function-bind": "^1.1.1" }, @@ -3943,8 +4466,7 @@ "node_modules/has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true, + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "engines": { "node": ">=4" } @@ -3965,7 +4487,6 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, "engines": { "node": ">= 0.4" }, @@ -3988,6 +4509,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/has-yarn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", + "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + }, "node_modules/html-encoding-sniffer": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", @@ -4006,6 +4540,11 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, + "node_modules/http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + }, "node_modules/http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", @@ -4024,7 +4563,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, "dependencies": { "agent-base": "6", "debug": "4" @@ -4042,6 +4580,17 @@ "node": ">=10.17.0" } }, + "node_modules/humanize-url": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/humanize-url/-/humanize-url-2.1.1.tgz", + "integrity": "sha512-V4nxsPGNE7mPjr1qDp471YfW8nhBiTRWrG/4usZlpvFU8I7gsV7Jvrrzv/snbLm5dWO3dr1ennu2YqnhTWFmYA==", + "dependencies": { + "normalize-url": "^4.5.1" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -4079,6 +4628,14 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A==", + "engines": { + "node": ">=4" + } + }, "node_modules/import-local": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", @@ -4181,11 +4738,18 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true, "engines": { "node": ">=0.8.19" } }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "engines": { + "node": ">=8" + } + }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -4202,6 +4766,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, + "node_modules/ini": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", + "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==" + }, "node_modules/internal-slot": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", @@ -4216,6 +4785,11 @@ "node": ">= 0.4" } }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + }, "node_modules/is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", @@ -4272,7 +4846,6 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz", "integrity": "sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==", - "dev": true, "dependencies": { "has": "^1.0.3" }, @@ -4308,7 +4881,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, "engines": { "node": ">=8" } @@ -4334,6 +4906,21 @@ "node": ">=0.10.0" } }, + "node_modules/is-installed-globally": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", + "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", + "dependencies": { + "global-dirs": "^2.0.1", + "is-path-inside": "^3.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-negative-zero": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", @@ -4346,6 +4933,14 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-npm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", + "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -4370,15 +4965,30 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "engines": { + "node": ">=8" + } + }, "node_modules/is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, "engines": { "node": ">=8" } }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -4417,7 +5027,6 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, "engines": { "node": ">=8" }, @@ -4458,8 +5067,7 @@ "node_modules/is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, "node_modules/is-weakref": { "version": "1.0.2", @@ -4473,6 +5081,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-yarn-global": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", + "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" + }, "node_modules/isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -5284,18 +5897,6 @@ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" } }, - "node_modules/jest-message-util/node_modules/@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/jest-message-util/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -6304,8 +6905,7 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "node_modules/js-yaml": { "version": "4.1.0", @@ -6389,6 +6989,24 @@ "node": ">=4" } }, + "node_modules/json-bigint": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.1.tgz", + "integrity": "sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ==", + "dependencies": { + "bignumber.js": "^9.0.0" + } + }, + "node_modules/json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -6429,20 +7047,55 @@ "node": ">=4.0" } }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" + "node_modules/jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" } }, - "node_modules/language-subtag-registry": { - "version": "0.3.22", - "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", - "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==", - "dev": true + "node_modules/jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "dependencies": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keyv": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", + "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "dependencies": { + "json-buffer": "3.0.0" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/language-subtag-registry": { + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz", + "integrity": "sha512-tN0MCzyWnoz/4nHS6uxdlFWoUZT7ABptwKPQ52Ea7URk6vll88bWBVhodtnlfEuCcKWNGoc+uGbw1cwa9IKh/w==", + "dev": true }, "node_modules/language-tags": { "version": "1.0.7", @@ -6453,6 +7106,17 @@ "language-subtag-registry": "^0.3.20" } }, + "node_modules/latest-version": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", + "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "dependencies": { + "package-json": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -6475,6 +7139,11 @@ "node": ">= 0.8.0" } }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, "node_modules/locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", @@ -6530,6 +7199,14 @@ "integrity": "sha1-E2Xt9DFIBIHvDRxolXpe2Z1J984=", "dev": true }, + "node_modules/lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -6546,7 +7223,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, "dependencies": { "semver": "^6.0.0" }, @@ -6572,6 +7248,64 @@ "tmpl": "1.0.x" } }, + "node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-6.1.1.tgz", + "integrity": "sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==", + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "^4.0.2", + "normalize-package-data": "^2.5.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.13.1", + "yargs-parser": "^18.1.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/type-fest": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", + "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -6612,6 +7346,17 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/mime-db": { "version": "1.50.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz", @@ -6642,6 +7387,22 @@ "node": ">=6" } }, + "node_modules/mimic-response": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", + "engines": { + "node": ">=4" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "engines": { + "node": ">=4" + } + }, "node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -6657,14 +7418,33 @@ "node_modules/minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/minimist-options/node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "engines": { + "node": ">=0.10.0" + } }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/natural-compare": { "version": "1.4.0", @@ -6678,6 +7458,52 @@ "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", "dev": true }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "engines": { + "node": ">= 6.0.0" + } + }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -6699,6 +7525,25 @@ "integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==", "dev": true }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "bin": { + "semver": "bin/semver" + } + }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", @@ -6708,6 +7553,14 @@ "node": ">=0.10.0" } }, + "node_modules/normalize-url": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==", + "engines": { + "node": ">=8" + } + }, "node_modules/npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -6730,7 +7583,6 @@ "version": "1.12.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", - "dev": true, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -6783,7 +7635,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "dependencies": { "wrappy": "1" } @@ -6820,6 +7671,14 @@ "node": ">= 0.8.0" } }, + "node_modules/p-cancelable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "engines": { + "node": ">=6" + } + }, "node_modules/p-limit": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", @@ -6853,6 +7712,20 @@ "node": ">=4" } }, + "node_modules/package-json": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", + "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "dependencies": { + "got": "^9.6.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.0.0", + "semver": "^6.2.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -6865,6 +7738,31 @@ "node": ">=6" } }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", + "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==", + "engines": { + "node": ">=6" + } + }, "node_modules/parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", @@ -6901,8 +7799,7 @@ "node_modules/path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "node_modules/path-type": { "version": "4.0.0", @@ -6931,6 +7828,17 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/pify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", + "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/pirates": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", @@ -6964,6 +7872,14 @@ "node": ">= 0.8.0" } }, + "node_modules/prepend-http": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-3.0.1.tgz", + "integrity": "sha512-BLxfZh+m6UiAiCPZFJ4+vYoL7NrRs5XgCTRrjseATAggXhdZKKxn+JUNmuVYWY23bDHgaEHodxw8mnmtVEDtHw==", + "engines": { + "node": ">=8" + } + }, "node_modules/prettier": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz", @@ -7018,6 +7934,20 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/pretty-ms": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-6.0.1.tgz", + "integrity": "sha512-ke4njoVmlotekHlHyCZ3wI/c5AMT8peuHs8rKJqekj/oR5G8lND2dVpicFlUz5cbZgE290vvkMuDwfj/OcW1kw==", + "dependencies": { + "parse-ms": "^2.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/prompts": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", @@ -7031,12 +7961,105 @@ "node": ">= 6" } }, + "node_modules/psi": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/psi/-/psi-4.1.0.tgz", + "integrity": "sha512-g5vBp4ZspQ5SVR2D2m51jxAu8gYXr7/h5YRKa8G1keiGnEvuzy5TwTLRsKuVP0jlV+p4rsf4Rk9M1ewNUh8/zA==", + "dependencies": { + "chalk": "^3.0.0", + "googleapis": "^47.0.0", + "humanize-url": "^2.1.0", + "meow": "^6.0.1", + "pify": "^5.0.0", + "prepend-http": "^3.0.1", + "pretty-ms": "^6.0.1", + "sort-on": "^4.1.0", + "terminal-link": "^2.1.1", + "update-notifier": "^4.1.0" + }, + "bin": { + "psi": "cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/psi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/psi/node_modules/chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/psi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/psi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/psi/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/psi/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", "dev": true }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "node_modules/punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", @@ -7046,6 +8069,31 @@ "node": ">=6" } }, + "node_modules/pupa": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", + "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", + "dependencies": { + "escape-goat": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -7066,12 +8114,164 @@ } ] }, + "node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "engines": { + "node": ">=8" + } + }, + "node_modules/rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "dependencies": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "bin": { + "rc": "cli.js" + } + }, + "node_modules/rc/node_modules/strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, + "node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/regenerator-runtime": { "version": "0.13.11", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", @@ -7107,6 +8307,28 @@ "url": "https://github.com/sponsors/mysticatea" } }, + "node_modules/registry-auth-token": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.2.tgz", + "integrity": "sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg==", + "dependencies": { + "rc": "1.2.8" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/registry-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", + "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "dependencies": { + "rc": "^1.2.8" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -7120,7 +8342,6 @@ "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, "dependencies": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" @@ -7159,6 +8380,14 @@ "node": ">=4" } }, + "node_modules/responselike": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", + "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", + "dependencies": { + "lowercase-keys": "^1.0.0" + } + }, "node_modules/reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", @@ -7210,8 +8439,7 @@ "node_modules/safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "node_modules/safe-regex-test": { "version": "1.0.0", @@ -7249,11 +8477,21 @@ "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, "bin": { "semver": "bin/semver.js" } }, + "node_modules/semver-diff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", + "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "dependencies": { + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -7279,7 +8517,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, "dependencies": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -7292,8 +8529,7 @@ "node_modules/signal-exit": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", - "dev": true + "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==" }, "node_modules/sisteransi": { "version": "1.0.5", @@ -7310,6 +8546,18 @@ "node": ">=8" } }, + "node_modules/sort-on": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/sort-on/-/sort-on-4.1.1.tgz", + "integrity": "sha512-nj8myvTCEErLMMWnye61z1pV5osa7njoosoQNdylD8WyPYHoHCBQx/xn7mGJL6h4oThvGpYSIAxfm8VUr75qTQ==", + "dependencies": { + "arrify": "^2.0.1", + "dot-prop": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -7329,6 +8577,34 @@ "source-map": "^0.6.0" } }, + "node_modules/spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", + "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -7373,7 +8649,6 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -7415,7 +8690,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -7441,6 +8715,17 @@ "node": ">=6" } }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -7457,7 +8742,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "dependencies": { "has-flag": "^3.0.0" }, @@ -7469,7 +8753,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", - "dev": true, "dependencies": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" @@ -7482,7 +8765,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, "engines": { "node": ">=8" } @@ -7491,7 +8773,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -7515,11 +8796,21 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "node_modules/term-size": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", + "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/terminal-link": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", - "dev": true, "dependencies": { "ansi-escapes": "^4.2.1", "supports-hyperlinks": "^2.0.0" @@ -7572,6 +8863,14 @@ "node": ">=4" } }, + "node_modules/to-readable-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==", + "engines": { + "node": ">=6" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -7610,6 +8909,14 @@ "node": ">=8" } }, + "node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "engines": { + "node": ">=8" + } + }, "node_modules/ts-jest": { "version": "27.1.2", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.2.tgz", @@ -7759,7 +9066,6 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, "dependencies": { "is-typedarray": "^1.0.0" } @@ -7792,6 +9098,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "dependencies": { + "crypto-random-string": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -7827,6 +9144,109 @@ "browserslist": ">= 4.21.0" } }, + "node_modules/update-notifier": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", + "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", + "dependencies": { + "boxen": "^4.2.0", + "chalk": "^3.0.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.3.1", + "is-npm": "^4.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.0.0", + "pupa": "^2.0.1", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/yeoman/update-notifier?sponsor=1" + } + }, + "node_modules/update-notifier/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/update-notifier/node_modules/chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/update-notifier/node_modules/ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "node_modules/update-notifier/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/update-notifier/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/update-notifier/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/update-notifier/node_modules/is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "dependencies": { + "ci-info": "^2.0.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/update-notifier/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -7836,6 +9256,30 @@ "punycode": "^2.1.0" } }, + "node_modules/url-parse-lax": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", + "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", + "dependencies": { + "prepend-http": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/url-parse-lax/node_modules/prepend-http": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", + "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/url-template": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", + "integrity": "sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==" + }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -7867,6 +9311,15 @@ "node": ">= 8" } }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "node_modules/w3c-hr-time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", @@ -7966,6 +9419,17 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/widest-line": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", + "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", + "dependencies": { + "string-width": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -8028,14 +9492,12 @@ "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "node_modules/write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, "dependencies": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -8064,6 +9526,14 @@ } } }, + "node_modules/xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", + "engines": { + "node": ">=8" + } + }, "node_modules/xml-name-validator": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", @@ -8149,6 +9619,14 @@ "tunnel": "^0.0.6" } }, + "@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "requires": { + "@babel/highlight": "^7.18.6" + } + }, "@babel/compat-data": { "version": "7.15.0", "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", @@ -8178,15 +9656,6 @@ "source-map": "^0.5.0" }, "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -8287,14 +9756,6 @@ "@babel/template": "^7.15.4", "@babel/traverse": "^7.15.4", "@babel/types": "^7.15.6" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true - } } }, "@babel/helper-optimise-call-expression": { @@ -8343,10 +9804,9 @@ } }, "@babel/helper-validator-identifier": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz", - "integrity": "sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==", - "dev": true + "version": "7.19.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==" }, "@babel/helper-validator-option": { "version": "7.14.5", @@ -8366,12 +9826,11 @@ } }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", - "dev": true, + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } @@ -8527,17 +9986,6 @@ "@babel/code-frame": "^7.14.5", "@babel/parser": "^7.15.4", "@babel/types": "^7.15.4" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - } } }, "@babel/traverse": { @@ -8555,17 +10003,6 @@ "@babel/types": "^7.15.4", "debug": "^4.1.0", "globals": "^11.1.0" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - } } }, "@babel/types": { @@ -8576,14 +10013,6 @@ "requires": { "@babel/helper-validator-identifier": "^7.14.9", "to-fast-properties": "^2.0.0" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.15.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", - "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", - "dev": true - } } }, "@bcoe/v8-coverage": { @@ -9216,6 +10645,11 @@ "fastq": "^1.6.0" } }, + "@sindresorhus/is": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz", + "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ==" + }, "@sinonjs/commons": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", @@ -9234,6 +10668,14 @@ "@sinonjs/commons": "^1.7.0" } }, + "@szmarczak/http-timer": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz", + "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==", + "requires": { + "defer-to-connect": "^1.0.1" + } + }, "@tootallnate/once": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", @@ -9326,18 +10768,34 @@ "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", "dev": true }, + "@types/minimist": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", + "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==" + }, "@types/node": { "version": "16.18.10", "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.10.tgz", "integrity": "sha512-XU1+v7h81p7145ddPfjv7jtWvkSilpcnON3mQ+bDi9Yuf7OI56efOglXRyXWgQ57xH3fEQgh7WOJMncRHVew5w==", "dev": true }, + "@types/normalize-package-data": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", + "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==" + }, "@types/prettier": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.1.tgz", "integrity": "sha512-Fo79ojj3vdEZOHg3wR9ksAMRz4P3S5fDB5e/YWZiFnyFQI1WY2Vftu9XoXVVtJfxB7Bpce/QTqWSSntkz2Znrw==", "dev": true }, + "@types/psi": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@types/psi/-/psi-4.1.2.tgz", + "integrity": "sha512-opxHl2Unr2Kqyh0YtjC/mZr8u2n9t1ScFLkFYKfPqoE//JDizg8ULjg9zhTy3V6SyIwUvpCWslBKWlFVf3ftKA==", + "dev": true + }, "@types/semver": { "version": "7.3.13", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", @@ -9524,6 +10982,14 @@ "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", "dev": true }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, "acorn": { "version": "7.4.1", "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", @@ -9557,7 +11023,6 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, "requires": { "debug": "4" } @@ -9574,11 +11039,18 @@ "uri-js": "^4.2.2" } }, + "ansi-align": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz", + "integrity": "sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==", + "requires": { + "string-width": "^4.1.0" + } + }, "ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, "requires": { "type-fest": "^0.21.3" }, @@ -9586,22 +11058,19 @@ "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==" } } }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, "requires": { "color-convert": "^1.9.0" } @@ -9662,6 +11131,11 @@ "es-abstract": "^1.19.0" } }, + "arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==" + }, "ast-types-flow": { "version": "0.0.7", "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", @@ -9814,6 +11288,81 @@ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "dev": true }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "bignumber.js": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.1.tgz", + "integrity": "sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig==" + }, + "boxen": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-4.2.0.tgz", + "integrity": "sha512-eB4uT9RGzg2odpER62bBwSLvUeGC+WbRjjyyFhGsKnc8wp/m0+hQsMUvUe3H2V0D5vw0nBdO1hCJoZo5mKeuIQ==", + "requires": { + "ansi-align": "^3.0.0", + "camelcase": "^5.3.1", + "chalk": "^3.0.0", + "cli-boxes": "^2.2.0", + "string-width": "^4.1.0", + "term-size": "^2.1.0", + "type-fest": "^0.8.1", + "widest-line": "^3.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" + } + } + }, "brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -9869,17 +11418,50 @@ "node-int64": "^0.4.0" } }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, "buffer-from": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "dev": true }, + "cacheable-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz", + "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==", + "requires": { + "clone-response": "^1.0.2", + "get-stream": "^5.1.0", + "http-cache-semantics": "^4.0.0", + "keyv": "^3.0.0", + "lowercase-keys": "^2.0.0", + "normalize-url": "^4.1.0", + "responselike": "^1.0.2" + }, + "dependencies": { + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "requires": { + "pump": "^3.0.0" + } + }, + "lowercase-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", + "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==" + } + } + }, "call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, "requires": { "function-bind": "^1.1.1", "get-intrinsic": "^1.0.2" @@ -9894,8 +11476,17 @@ "camelcase": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==" + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + } }, "caniuse-lite": { "version": "1.0.30001439", @@ -9907,7 +11498,6 @@ "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", @@ -9932,6 +11522,11 @@ "integrity": "sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA==", "dev": true }, + "cli-boxes": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==" + }, "cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -9943,6 +11538,14 @@ "wrap-ansi": "^7.0.0" } }, + "clone-response": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz", + "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==", + "requires": { + "mimic-response": "^1.0.0" + } + }, "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", @@ -9959,7 +11562,6 @@ "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, "requires": { "color-name": "1.1.3" } @@ -9967,8 +11569,7 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "combined-stream": { "version": "1.0.8", @@ -9985,6 +11586,19 @@ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, + "configstore": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz", + "integrity": "sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA==", + "requires": { + "dot-prop": "^5.2.0", + "graceful-fs": "^4.1.2", + "make-dir": "^3.0.0", + "unique-string": "^2.0.0", + "write-file-atomic": "^3.0.0", + "xdg-basedir": "^4.0.0" + } + }, "convert-source-map": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", @@ -10011,6 +11625,11 @@ "which": "^2.0.1" } }, + "crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==" + }, "cssom": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", @@ -10055,23 +11674,56 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "requires": { "ms": "2.1.2" } }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==" + }, + "decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "requires": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "dependencies": { + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==" + } + } + }, "decimal.js": { "version": "10.3.1", "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.3.1.tgz", "integrity": "sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ==", "dev": true }, + "decompress-response": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", + "integrity": "sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA==", + "requires": { + "mimic-response": "^1.0.0" + } + }, "dedent": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", "dev": true }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -10084,6 +11736,11 @@ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", "dev": true }, + "defer-to-connect": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz", + "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==" + }, "define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", @@ -10147,6 +11804,27 @@ } } }, + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "requires": { + "is-obj": "^2.0.0" + } + }, + "duplexer3": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.5.tgz", + "integrity": "sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA==" + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, "electron-to-chromium": { "version": "1.4.284", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.284.tgz", @@ -10162,8 +11840,23 @@ "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "^1.4.0" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "requires": { + "is-arrayish": "^0.2.1" + } }, "es-abstract": { "version": "1.20.5", @@ -10215,11 +11908,15 @@ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", "dev": true }, + "escape-goat": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz", + "integrity": "sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q==" + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { "version": "2.0.0", @@ -10735,6 +12432,11 @@ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, "execa": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", @@ -10780,6 +12482,11 @@ } } }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, "fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", @@ -10828,6 +12535,11 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, + "fast-text-encoding": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/fast-text-encoding/-/fast-text-encoding-1.0.6.tgz", + "integrity": "sha512-VhXlQgj9ioXCqGstD37E/HBeqEGV/qOD/kmbVG8h5xKBYvM1L3lR1Zn4555cQ8GkYbJa8aJSipLPndE1k6zK2w==" + }, "fastq": { "version": "1.14.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.14.0.tgz", @@ -10916,8 +12628,7 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "function.prototype.name": { "version": "1.1.5", @@ -10937,6 +12648,27 @@ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", "dev": true }, + "gaxios": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-2.3.4.tgz", + "integrity": "sha512-US8UMj8C5pRnao3Zykc4AAVr+cffoNKRTg9Rsf2GiuZCW69vgJj38VK2PzlPuQU73FZ/nTk9/Av6/JGcE1N9vA==", + "requires": { + "abort-controller": "^3.0.0", + "extend": "^3.0.2", + "https-proxy-agent": "^5.0.0", + "is-stream": "^2.0.0", + "node-fetch": "^2.3.0" + } + }, + "gcp-metadata": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-3.5.0.tgz", + "integrity": "sha512-ZQf+DLZ5aKcRpLzYUyBS3yo3N0JSa82lNDO8rj3nMSlovLcz2riKFBsYgDzeXcv75oo5eqB2lx+B14UvPoCRnA==", + "requires": { + "gaxios": "^2.1.0", + "json-bigint": "^0.3.0" + } + }, "gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -10953,7 +12685,6 @@ "version": "1.1.3", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", "integrity": "sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==", - "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", @@ -11005,6 +12736,14 @@ "is-glob": "^4.0.3" } }, + "global-dirs": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.1.0.tgz", + "integrity": "sha512-MG6kdOUh/xBnyo9cJFeIKkLEc1AyFq42QTU4XiX51i2NEdxLxLWXIjEjmqKeSuKR7pAZjTqUVoT2b2huxVLgYQ==", + "requires": { + "ini": "1.3.7" + } + }, "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -11025,6 +12764,74 @@ "slash": "^3.0.0" } }, + "google-auth-library": { + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-5.10.1.tgz", + "integrity": "sha512-rOlaok5vlpV9rSiUu5EpR0vVpc+PhN62oF4RyX/6++DG1VsaulAFEMlDYBLjJDDPI6OcNOCGAKy9UVB/3NIDXg==", + "requires": { + "arrify": "^2.0.0", + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "fast-text-encoding": "^1.0.0", + "gaxios": "^2.1.0", + "gcp-metadata": "^3.4.0", + "gtoken": "^4.1.0", + "jws": "^4.0.0", + "lru-cache": "^5.0.0" + }, + "dependencies": { + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "requires": { + "yallist": "^3.0.2" + } + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + } + } + }, + "google-p12-pem": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.5.tgz", + "integrity": "sha512-7RLkxwSsMsYh9wQ5Vb2zRtkAHvqPvfoMGag+nugl1noYO7gf0844Yr9TIFA5NEBMAeVt2Z+Imu7CQMp3oNatzQ==", + "requires": { + "node-forge": "^0.10.0" + } + }, + "googleapis": { + "version": "47.0.0", + "resolved": "https://registry.npmjs.org/googleapis/-/googleapis-47.0.0.tgz", + "integrity": "sha512-+Fnjgcc3Na/rk57dwxqW1V0HJXJFjnt3aqFlckULqAqsPkmex/AyJJe6MSlXHC37ZmlXEb9ZtPGUp5ZzRDXpHg==", + "requires": { + "google-auth-library": "^5.6.1", + "googleapis-common": "^3.2.0" + } + }, + "googleapis-common": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/googleapis-common/-/googleapis-common-3.2.2.tgz", + "integrity": "sha512-sTEXlauVce4eMX0S6hVoiWgxVzQZ7dc16KcGF7eh+A+uIyDgXqnuwOMZw+svX4gOJv6w4ACecm23Qh9UDaldsw==", + "requires": { + "extend": "^3.0.2", + "gaxios": "^2.0.1", + "google-auth-library": "^5.6.1", + "qs": "^6.7.0", + "url-template": "^2.0.8", + "uuid": "^7.0.0" + }, + "dependencies": { + "uuid": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz", + "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==" + } + } + }, "gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -11034,11 +12841,38 @@ "get-intrinsic": "^1.1.3" } }, + "got": { + "version": "9.6.0", + "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", + "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==", + "requires": { + "@sindresorhus/is": "^0.14.0", + "@szmarczak/http-timer": "^1.1.2", + "cacheable-request": "^6.0.0", + "decompress-response": "^3.3.0", + "duplexer3": "^0.1.4", + "get-stream": "^4.1.0", + "lowercase-keys": "^1.0.1", + "mimic-response": "^1.0.1", + "p-cancelable": "^1.0.0", + "to-readable-stream": "^1.0.0", + "url-parse-lax": "^3.0.0" + }, + "dependencies": { + "get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "requires": { + "pump": "^3.0.0" + } + } + } + }, "graceful-fs": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", - "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", - "dev": true + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==" }, "grapheme-splitter": { "version": "1.0.4", @@ -11046,11 +12880,26 @@ "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", "dev": true }, + "gtoken": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-4.1.4.tgz", + "integrity": "sha512-VxirzD0SWoFUo5p8RDP8Jt2AGyOmyYcT/pOUgDKJCK+iSw0TMqwrVfY37RXTNmoKwrzmDHSk0GMT9FsgVmnVSA==", + "requires": { + "gaxios": "^2.1.0", + "google-p12-pem": "^2.0.0", + "jws": "^4.0.0", + "mime": "^2.2.0" + } + }, + "hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==" + }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, "requires": { "function-bind": "^1.1.1" } @@ -11064,8 +12913,7 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "dev": true + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" }, "has-property-descriptors": { "version": "1.0.0", @@ -11079,8 +12927,7 @@ "has-symbols": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" }, "has-tostringtag": { "version": "1.0.0", @@ -11091,6 +12938,16 @@ "has-symbols": "^1.0.2" } }, + "has-yarn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz", + "integrity": "sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw==" + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==" + }, "html-encoding-sniffer": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", @@ -11106,6 +12963,11 @@ "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", "dev": true }, + "http-cache-semantics": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz", + "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==" + }, "http-proxy-agent": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", @@ -11121,7 +12983,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", - "dev": true, "requires": { "agent-base": "6", "debug": "4" @@ -11133,6 +12994,14 @@ "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true }, + "humanize-url": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/humanize-url/-/humanize-url-2.1.1.tgz", + "integrity": "sha512-V4nxsPGNE7mPjr1qDp471YfW8nhBiTRWrG/4usZlpvFU8I7gsV7Jvrrzv/snbLm5dWO3dr1ennu2YqnhTWFmYA==", + "requires": { + "normalize-url": "^4.5.1" + } + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -11158,6 +13027,11 @@ "resolve-from": "^4.0.0" } }, + "import-lazy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", + "integrity": "sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A==" + }, "import-local": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.3.tgz", @@ -11231,8 +13105,12 @@ "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" }, "inflight": { "version": "1.0.6", @@ -11250,6 +13128,11 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, + "ini": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.7.tgz", + "integrity": "sha512-iKpRpXP+CrP2jyrxvg1kMUpXDyRUFDWurxbnVT1vQPx+Wz9uCYsMIqYuSBLV+PAaZG/d7kRLKRFc9oDMsH+mFQ==" + }, "internal-slot": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", @@ -11261,6 +13144,11 @@ "side-channel": "^1.0.4" } }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==" + }, "is-bigint": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", @@ -11299,7 +13187,6 @@ "version": "2.7.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.7.0.tgz", "integrity": "sha512-ByY+tjCciCr+9nLryBYcSD50EOGWt95c7tIsKTG1J2ixKKXPvF7Ej3AVd+UfDydAJom3biBGDBALaO79ktwgEQ==", - "dev": true, "requires": { "has": "^1.0.3" } @@ -11322,8 +13209,7 @@ "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, "is-generator-fn": { "version": "2.1.0", @@ -11340,12 +13226,26 @@ "is-extglob": "^2.1.1" } }, + "is-installed-globally": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.3.2.tgz", + "integrity": "sha512-wZ8x1js7Ia0kecP/CHM/3ABkAmujX7WPvQk6uu3Fly/Mk44pySulQpnHG46OMjHGXApINnV4QhY3SWnECO2z5g==", + "requires": { + "global-dirs": "^2.0.1", + "is-path-inside": "^3.0.1" + } + }, "is-negative-zero": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", "dev": true }, + "is-npm": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz", + "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==" + }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -11361,11 +13261,20 @@ "has-tostringtag": "^1.0.0" } }, + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==" + }, "is-path-inside": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==" + }, + "is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==" }, "is-potential-custom-element-name": { "version": "1.0.1", @@ -11395,8 +13304,7 @@ "is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" }, "is-string": { "version": "1.0.7", @@ -11419,8 +13327,7 @@ "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", - "dev": true + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" }, "is-weakref": { "version": "1.0.2", @@ -11431,6 +13338,11 @@ "call-bind": "^1.0.2" } }, + "is-yarn-global": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz", + "integrity": "sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw==" + }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", @@ -12114,15 +14026,6 @@ "stack-utils": "^2.0.3" }, "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -12797,8 +14700,7 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, "js-yaml": { "version": "4.1.0", @@ -12858,6 +14760,24 @@ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, + "json-bigint": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-0.3.1.tgz", + "integrity": "sha512-DGWnSzmusIreWlEupsUelHrhwmPPE+FiQvg+drKfk2p+bdEYa5mp4PJ8JsCWqae0M2jQNb0HPvnwvf1qOTThzQ==", + "requires": { + "bignumber.js": "^9.0.0" + } + }, + "json-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz", + "integrity": "sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ==" + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" + }, "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -12889,6 +14809,38 @@ "object.assign": "^4.1.3" } }, + "jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "requires": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "keyv": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz", + "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==", + "requires": { + "json-buffer": "3.0.0" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + }, "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", @@ -12910,6 +14862,14 @@ "language-subtag-registry": "^0.3.20" } }, + "latest-version": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz", + "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==", + "requires": { + "package-json": "^6.3.0" + } + }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -12926,6 +14886,11 @@ "type-check": "~0.3.2" } }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" + }, "locate-path": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", @@ -12978,6 +14943,11 @@ "integrity": "sha1-E2Xt9DFIBIHvDRxolXpe2Z1J984=", "dev": true }, + "lowercase-keys": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", + "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" + }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -12991,7 +14961,6 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, "requires": { "semver": "^6.0.0" } @@ -13011,6 +14980,45 @@ "tmpl": "1.0.x" } }, + "map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==" + }, + "meow": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-6.1.1.tgz", + "integrity": "sha512-3YffViIt2QWgTy6Pale5QpopX/IvU3LPL03jOTqp6pGj3VjesdO/U8CuHMKpnQr4shCNCM5fd5XFFvIIl6JBHg==", + "requires": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "^4.0.2", + "normalize-package-data": "^2.5.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.13.1", + "yargs-parser": "^18.1.3" + }, + "dependencies": { + "type-fest": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", + "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==" + }, + "yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } + }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -13041,6 +15049,11 @@ } } }, + "mime": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz", + "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==" + }, "mime-db": { "version": "1.50.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz", @@ -13062,6 +15075,16 @@ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true }, + "mimic-response": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", + "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==" + }, + "min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==" + }, "minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -13074,14 +15097,29 @@ "minimist": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==", - "dev": true + "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + }, + "minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "requires": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "dependencies": { + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==" + } + } }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "natural-compare": { "version": "1.4.0", @@ -13095,6 +15133,40 @@ "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", "dev": true }, + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "requires": { + "whatwg-url": "^5.0.0" + }, + "dependencies": { + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + } + } + }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==" + }, "node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", @@ -13113,12 +15185,35 @@ "integrity": "sha512-dFSmB8fFHEH/s81Xi+Y/15DQY6VHW81nXRj86EMSL3lmuTmK1e+aT4wrFCkTbm+gSwkw4KpX+rT/pMM2c1mF+A==", "dev": true }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + } + } + }, "normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true }, + "normalize-url": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz", + "integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==" + }, "npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -13137,8 +15232,7 @@ "object-inspect": { "version": "1.12.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", - "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", - "dev": true + "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==" }, "object-keys": { "version": "1.1.1", @@ -13173,7 +15267,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, "requires": { "wrappy": "1" } @@ -13201,6 +15294,11 @@ "word-wrap": "~1.2.3" } }, + "p-cancelable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==" + }, "p-limit": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", @@ -13225,6 +15323,17 @@ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", "dev": true }, + "package-json": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz", + "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==", + "requires": { + "got": "^9.6.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.0.0", + "semver": "^6.2.0" + } + }, "parent-module": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", @@ -13234,6 +15343,22 @@ "callsites": "^3.0.0" } }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "parse-ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", + "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==" + }, "parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", @@ -13261,8 +15386,7 @@ "path-parse": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" }, "path-type": { "version": "4.0.0", @@ -13282,6 +15406,11 @@ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", "dev": true }, + "pify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", + "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==" + }, "pirates": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", @@ -13306,6 +15435,11 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, + "prepend-http": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-3.0.1.tgz", + "integrity": "sha512-BLxfZh+m6UiAiCPZFJ4+vYoL7NrRs5XgCTRrjseATAggXhdZKKxn+JUNmuVYWY23bDHgaEHodxw8mnmtVEDtHw==" + }, "prettier": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz", @@ -13341,40 +15475,245 @@ } } }, - "prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "requires": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - } - }, + "pretty-ms": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-6.0.1.tgz", + "integrity": "sha512-ke4njoVmlotekHlHyCZ3wI/c5AMT8peuHs8rKJqekj/oR5G8lND2dVpicFlUz5cbZgE290vvkMuDwfj/OcW1kw==", + "requires": { + "parse-ms": "^2.1.0" + } + }, + "prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "requires": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + } + }, + "psi": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/psi/-/psi-4.1.0.tgz", + "integrity": "sha512-g5vBp4ZspQ5SVR2D2m51jxAu8gYXr7/h5YRKa8G1keiGnEvuzy5TwTLRsKuVP0jlV+p4rsf4Rk9M1ewNUh8/zA==", + "requires": { + "chalk": "^3.0.0", + "googleapis": "^47.0.0", + "humanize-url": "^2.1.0", + "meow": "^6.0.1", + "pify": "^5.0.0", + "prepend-http": "^3.0.1", + "pretty-ms": "^6.0.1", + "sort-on": "^4.1.0", + "terminal-link": "^2.1.1", + "update-notifier": "^4.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "psl": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", "dev": true }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, + "pupa": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz", + "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==", + "requires": { + "escape-goat": "^2.0.0" + } + }, + "qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "requires": { + "side-channel": "^1.0.4" + } + }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "dev": true }, + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==" + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + }, + "dependencies": { + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==" + } + } + }, "react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==" + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==" + } + } + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "requires": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, "regenerator-runtime": { "version": "0.13.11", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz", @@ -13398,6 +15737,22 @@ "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", "dev": true }, + "registry-auth-token": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.2.tgz", + "integrity": "sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg==", + "requires": { + "rc": "1.2.8" + } + }, + "registry-url": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz", + "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==", + "requires": { + "rc": "^1.2.8" + } + }, "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", @@ -13408,7 +15763,6 @@ "version": "1.20.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dev": true, "requires": { "is-core-module": "^2.2.0", "path-parse": "^1.0.6" @@ -13437,6 +15791,14 @@ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", "dev": true }, + "responselike": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", + "integrity": "sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ==", + "requires": { + "lowercase-keys": "^1.0.0" + } + }, "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", @@ -13464,8 +15826,7 @@ "safe-buffer": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" }, "safe-regex-test": { "version": "1.0.0", @@ -13496,8 +15857,15 @@ "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + }, + "semver-diff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", + "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "requires": { + "semver": "^6.3.0" + } }, "shebang-command": { "version": "2.0.0", @@ -13518,7 +15886,6 @@ "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, "requires": { "call-bind": "^1.0.0", "get-intrinsic": "^1.0.2", @@ -13528,8 +15895,7 @@ "signal-exit": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.5.tgz", - "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==", - "dev": true + "integrity": "sha512-KWcOiKeQj6ZyXx7zq4YxSMgHRlod4czeBQZrPb8OKcohcqAXShm7E20kEMle9WBt26hFcAf0qLOcp5zmY7kOqQ==" }, "sisteransi": { "version": "1.0.5", @@ -13543,6 +15909,15 @@ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, + "sort-on": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/sort-on/-/sort-on-4.1.1.tgz", + "integrity": "sha512-nj8myvTCEErLMMWnye61z1pV5osa7njoosoQNdylD8WyPYHoHCBQx/xn7mGJL6h4oThvGpYSIAxfm8VUr75qTQ==", + "requires": { + "arrify": "^2.0.1", + "dot-prop": "^5.0.0" + } + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -13559,6 +15934,34 @@ "source-map": "^0.6.0" } }, + "spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz", + "integrity": "sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA==" + }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -13596,7 +15999,6 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", - "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -13629,7 +16031,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -13646,6 +16047,14 @@ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "requires": { + "min-indent": "^1.0.0" + } + }, "strip-json-comments": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", @@ -13656,7 +16065,6 @@ "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, "requires": { "has-flag": "^3.0.0" } @@ -13665,7 +16073,6 @@ "version": "2.2.0", "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz", "integrity": "sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ==", - "dev": true, "requires": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" @@ -13674,14 +16081,12 @@ "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -13700,11 +16105,15 @@ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, + "term-size": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", + "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==" + }, "terminal-link": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", - "dev": true, "requires": { "ansi-escapes": "^4.2.1", "supports-hyperlinks": "^2.0.0" @@ -13745,6 +16154,11 @@ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true }, + "to-readable-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz", + "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q==" + }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -13774,6 +16188,11 @@ "punycode": "^2.1.1" } }, + "trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==" + }, "ts-jest": { "version": "27.1.2", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.2.tgz", @@ -13869,7 +16288,6 @@ "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dev": true, "requires": { "is-typedarray": "^1.0.0" } @@ -13892,6 +16310,14 @@ "which-boxed-primitive": "^1.0.2" } }, + "unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "requires": { + "crypto-random-string": "^2.0.0" + } + }, "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -13908,6 +16334,84 @@ "picocolors": "^1.0.0" } }, + "update-notifier": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz", + "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==", + "requires": { + "boxen": "^4.2.0", + "chalk": "^3.0.0", + "configstore": "^5.0.1", + "has-yarn": "^2.1.0", + "import-lazy": "^2.1.0", + "is-ci": "^2.0.0", + "is-installed-globally": "^0.3.1", + "is-npm": "^4.0.0", + "is-yarn-global": "^0.3.0", + "latest-version": "^5.0.0", + "pupa": "^2.0.1", + "semver-diff": "^3.1.1", + "xdg-basedir": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==" + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + }, + "is-ci": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", + "requires": { + "ci-info": "^2.0.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -13917,6 +16421,26 @@ "punycode": "^2.1.0" } }, + "url-parse-lax": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz", + "integrity": "sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==", + "requires": { + "prepend-http": "^2.0.0" + }, + "dependencies": { + "prepend-http": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", + "integrity": "sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA==" + } + } + }, + "url-template": { + "version": "2.0.8", + "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", + "integrity": "sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==" + }, "uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -13941,6 +16465,15 @@ } } }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, "w3c-hr-time": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", @@ -14022,6 +16555,14 @@ "is-symbol": "^1.0.3" } }, + "widest-line": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz", + "integrity": "sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==", + "requires": { + "string-width": "^4.0.0" + } + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", @@ -14068,14 +16609,12 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, "write-file-atomic": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", - "dev": true, "requires": { "imurmurhash": "^0.1.4", "is-typedarray": "^1.0.0", @@ -14090,6 +16629,11 @@ "dev": true, "requires": {} }, + "xdg-basedir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", + "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==" + }, "xml-name-validator": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", diff --git a/package.json b/package.json index b241a3b..0a4038e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "psi-action", "version": "0.0.0", "private": true, - "description": "Action for PageSpeedInsights", + "description": "PageSpeed Insights Action", "main": "lib/main.js", "scripts": { "build": "tsc", @@ -10,7 +10,7 @@ "format-check": "prettier --check '**/*.ts'", "lint": "eslint src/**/*.ts", "package": "ncc build --source-map --license licenses.txt", - "test": "jest", + "test": "jest --passWithNoTests", "all": "npm run build && npm run format && npm run lint && npm run package && npm test" }, "repository": { @@ -22,15 +22,18 @@ "psi", "page", "speed", + "pagespeed", "insights" ], "author": "stefafafan", "license": "MIT", "dependencies": { - "@actions/core": "^1.10.0" + "@actions/core": "^1.10.0", + "psi": "^4.1.0" }, "devDependencies": { "@types/node": "^16.18.10", + "@types/psi": "^4.1.2", "@typescript-eslint/parser": "^5.46.0", "@vercel/ncc": "^0.36.0", "eslint": "^8.29.0", diff --git a/src/main.test.ts b/src/main.test.ts deleted file mode 100644 index aa137c2..0000000 --- a/src/main.test.ts +++ /dev/null @@ -1,15 +0,0 @@ -import {wait} from './wait' -import {expect, test} from '@jest/globals' - -test('throws invalid number', async () => { - const input = parseInt('foo', 10) - await expect(wait(input)).rejects.toThrow('milliseconds not a number') -}) - -test('wait 500 ms', async () => { - const start = new Date() - await wait(500) - const end = new Date() - const delta = Math.abs(end.getTime() - start.getTime()) - expect(delta).toBeGreaterThan(450) -}) diff --git a/src/main.ts b/src/main.ts index 98325c4..321a923 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,16 +1,48 @@ import * as core from '@actions/core' -import {wait} from './wait' +import psi from 'psi' async function run(): Promise { try { - const ms: string = core.getInput('milliseconds') - core.debug(`Waiting ${ms} milliseconds ...`) // debug is only output if you set the secret `ACTIONS_STEP_DEBUG` to true + const url: string = core.getInput('url') + const key: string = core.getInput('key') - core.debug(new Date().toTimeString()) - await wait(parseInt(ms, 10)) - core.debug(new Date().toTimeString()) + const strategyInput: string = core.getInput('strategy') + let strategy: 'desktop' | 'mobile' = 'desktop' + if (strategyInput === 'mobile') strategy = strategyInput - core.setOutput('time', new Date().toTimeString()) + const data = await psi(url, { + key, + strategy + }) + const lighthouseResult = data.data.lighthouseResult + const fieldData = data.data.loadingExperience.metrics + + const score: number = Math.round( + (lighthouseResult.categories.performance.score as unknown as number) * 100 + ) + const fcp = fieldData.FIRST_CONTENTFUL_PAINT_MS?.percentile || 0 + const fid = fieldData.FIRST_INPUT_DELAY_MS?.percentile || 0 + const cls = fieldData.CUMULATIVE_LAYOUT_SHIFT_SCORE?.percentile || 0 + const lcp = fieldData.LARGEST_CONTENTFUL_PAINT_MS?.percentile || 0 + + const si = + (lighthouseResult.audits['speed-index']?.score as unknown as number) * + 100 || 0 + const tti = + (lighthouseResult.audits['time-to-interactive'] + ?.score as unknown as number) * 100 || 0 + const tbt = + (lighthouseResult.audits['total-blocking-time'] + ?.score as unknown as number) * 100 || 0 + + core.setOutput('score', score) + core.setOutput('first-contentful-paint', fcp) + core.setOutput('first-input-delay', fid) + core.setOutput('cumulative-layout-shift', cls) + core.setOutput('largest-contentful-paint', lcp) + core.setOutput('speed-index', si) + core.setOutput('time-to-interactive', tti) + core.setOutput('total-blocking-time', tbt) } catch (error) { if (error instanceof Error) core.setFailed(error.message) } diff --git a/src/wait.ts b/src/wait.ts deleted file mode 100644 index b169d9a..0000000 --- a/src/wait.ts +++ /dev/null @@ -1,9 +0,0 @@ -export async function wait(milliseconds: number): Promise { - return new Promise(resolve => { - if (isNaN(milliseconds)) { - throw new Error('milliseconds not a number') - } - - setTimeout(() => resolve('done!'), milliseconds) - }) -}